joyce8/EMBER2024-capa huggingface dataset:
Function at 0x633250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x647808
push 0x637288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x633329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x633329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.006361d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x633329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x633329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x63332c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00633351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x633d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x633d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x633d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x633d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x633d94
push eax
push esi
call fcn.0063620b
add esp, 8
pop esi
ret 0x10

Function at 0x633da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x633e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x633e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x64c320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00635dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x633dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x633e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x633ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x633eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x64c320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00635dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x633eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x633e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x634000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x634131
push esi
call fcn.00637145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00626080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x634131
push 0
push ebp
call fcn.006263a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00626260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x63408b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.006262f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x634121
push 0x64c918
push edi
call fcn.006353f0
push eax
push ebx
push esi
call fcn.00633f60
push 0x64c8f8
push edi
call fcn.006353f0
push eax
push ebx
push esi
call fcn.00633f60
push 0x64c8d8
push edi
call fcn.006353f0
push eax
push ebx
push esi
call fcn.00633f60
push 0x64c8c0
push edi
call fcn.006353f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00633f60
push 0x64c8a0
push edi
call fcn.006353f0
push eax
push ebx
push esi
call fcn.00633f60
push 0x64c888
push edi
call fcn.006353f0
push eax
push ebx
push esi
call fcn.00633f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x6351b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00635140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00635140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00635140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00635140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x635bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x635c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x64787c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x635c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x635c52
xor eax, eax
pop esi
leave
ret 4

Function at 0x76f13f
Capabilities:
Authenticate hmac

Disassembly:
test ecx, ecx
sub cl, ah
xlatb
mov bl, 0x69
insd dword es:[edi], dx
add ebx, dword [edx + 0x2ab5a5cb]
xor byte [eax], ch
dec ecx
invalid
Function at 0x4049b0
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x51d06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
call fcn.004038e0
push 0
push 0
push 0
mov eax, dword [eax + 0xec]
push 0
push 0x5055b0
call eax
mov dword [esi], eax
test eax, eax
je 0x404b99
lea ecx, [esi + 0x74]
cmp ecx, edi
je 0x404a25
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
jb 0x404a1c
mov eax, dword [eax]
push dword [edi + 0x14]
push eax
call fcn.00409dd0
cmp dword [ebx + 0x18], 0x10
lea edi, [ebx + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], 1
jb 0x404a81
mov edi, dword [edi]
call fcn.004038e0
lea ecx, [ebp - 0x4c]
push ecx
push 0
mov eax, dword [eax + 0xf8]
push 0
push edi
call eax
push dword [ebp - 0x38]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x58], eax
push dword [ebp - 0x3c]
call fcn.00409480
mov ebx, eax
lea edi, [esi + 0xc]
cmp edi, ebx
je 0x404ac7
mov ecx, edi
call fcn.00409d10
mov byte [ebp - 0x50], 0
mov ecx, edi
push dword [ebp - 0x50]
push ebx
call fcn.0040a190
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.00409d10
lea ecx, [ebp - 0x74]
call fcn.0040a3a0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x74]
push dword [ebp - 0x20]
call fcn.00409480
mov ebx, eax
lea edi, [esi + 0x28]
cmp edi, ebx
je 0x404b0b
mov ecx, edi
call fcn.00409d10
mov byte [ebp - 0x50], 0
mov ecx, edi
push dword [ebp - 0x50]
push ebx
call fcn.0040a190
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.00409d10
lea ecx, [ebp - 0x74]
call fcn.0040a3a0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x90]
push dword [ebp - 0x18]
call fcn.00409480
mov dword [ebp - 0x54], eax
lea ebx, [esi + 0x44]
cmp ebx, eax
je 0x404b55
mov ecx, ebx
call fcn.00409d10
mov byte [ebp - 0x50], 0
mov ecx, ebx
push dword [ebp - 0x50]
push dword [ebp - 0x54]
call fcn.0040a190
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], 0xffffffff
call fcn.00409d10
lea ecx, [ebp - 0x90]
call fcn.0040a3a0
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x60], eax
mov ax, word [ebp - 0x34]
mov word [esi + 0x64], ax
lea eax, [esi + 0x48]
cmp dword [esi + 0x5c], 0x10
jb 0x404b8b
mov eax, dword [eax]
push dword [esi + 0x58]
mov ecx, edi
push eax
call fcn.0040a020
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ad990
mov esp, ebp
pop ebp
ret 8
Function at 0x408ff0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8710
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x51d06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [edi], 0
lea esi, [edi + 0x10]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [edi + 0xc], 0
mov dword [ebp - 4], 0
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.0040bc00
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov eax, edi
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov byte [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov byte [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov byte [edi + 0x70], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41da20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea167
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x51d06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
mov dword [esi], 0x50fe5c
mov dword [esi + 0x10], 0x50fdcc
mov dword [esi + 0x68], 0x50fe00
push ecx
lea edi, [esi + 0x18]
mov dword [ebp - 4], 0
push edi
mov dword [ebp - 0x10], 1
call fcn.0041f460
mov dword [ebp - 4], 1
mov eax, dword [esi]
push 0x4b
push 0x504fc8
push 2
mov eax, dword [eax + 4]
push 8
mov dword [ebp - 0x18], edi
mov dword [esi + eax], 0x50fe50
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ecx + esi - 4], eax
mov dword [edi], 0x50fd6c
call fcn.004b7950
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x41db61
xorps xmm0, xmm0
movq qword [ebx], xmm0
push 1
mov byte [ebp - 4], 2
call fcn.004ab420
mov dword [ebx + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], ebx
mov dword [edi + 0xc], eax
add esp, 4
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, esi
mov dword [edi], 0x50fe10
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.004abbe0
int3
Function at 0x41f460
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea2a3
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x51d06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
push 0
push 0
mov dword [ebp - 0x14], 0
mov eax, dword [eax + 4]
mov dword [edi + eax], 0x50fe58
mov eax, dword [edi]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.0041c0b0
push 0x4b
push 0x504fc8
push 2
push 8
call fcn.004b7950
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x41f614
xorps xmm0, xmm0
movq qword [ebx], xmm0
push 1
mov dword [ebp - 4], 2
call fcn.004ab420
mov dword [ebx + 4], eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov dword [ebp - 4], 3
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x18], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 4
push eax
call fcn.0040aea0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov bl, al
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x41f5ab
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x41f5ab
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov byte [ebp - 4], 1
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x41f5c8
mov eax, dword [esi + 0xc]
mov ecx, esi
push 0
or eax, 4
push eax
call fcn.0041c0b0
lea edx, [edi + 0x10]
mov dword [ebp + 8], edx
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], 0x50fe68
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx - 4], eax
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], 0x50fe08
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + edi - 4], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.004abbe0
int3
Function at 0x4559a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
push 0
push 0x14
mov dword [ebx], 0
call fcn.00425f90
mov esi, eax
add esp, 8
test esi, esi
jne 0x4559d0
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x51d8dc], 0
mov edi, dword [ebp + 8]
je 0x455a1a
mov eax, dword [0x51d9dc]
test eax, eax
je 0x4559f3
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x455a1a
mov eax, dword [ebp - 4]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x428c70
push 0
push 0
mov dword [esi + 0xc], edi
call fcn.004bf430
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x455a27
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x455a40
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push edi
mov dword [esi + 4], eax
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x10], eax
pop edi
mov dword [ebx], esi
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4626e0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push dword [ebp + 8]
mov edi, edx
mov ebx, ecx
push edi
push 0x511ac8
push edi
push 0x512290
push ebx
call fcn.00467570
add esp, 0x18
cmp dword [ebp + 8], 0
jne 0x46271b
push edi
push 0x511ac8
push 0x512320
push ebx
call fcn.00467570
add esp, 0x10
pop edi
pop ebx
pop ebp
ret

Function at 0x467710
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, edx
mov edx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], esi
mov dword [ebp - 8], edx
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [edx + 0x14], eax
jle 0x4677a9
mov ebx, eax
xor ebx, 1
cmp eax, 2
cmovge ebx, eax
test edi, edi
je 0x4677f4
mov eax, dword [edx + 0x10]
mov ecx, ebx
add ecx, ecx
mov esi, edi
mov edx, dword [eax + ecx*8]
mov al, byte [edi]
movzx ecx, al
movzx edi, byte [ecx + 0x50c230]
movzx ecx, byte [edx]
movzx ecx, byte [ecx + 0x50c230]
sub edi, ecx
jne 0x467794
sub edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
nop
test al, al
je 0x4677ea
movzx ecx, byte [edx + esi + 1]
inc esi
movzx edx, byte [ecx + 0x50c230]
mov al, byte [esi]
movzx ecx, al
movzx edi, byte [ecx + 0x50c230]
sub edi, edx
mov edx, dword [ebp - 0x10]
je 0x467770
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
inc eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], eax
cmp eax, dword [edx + 0x14]
jl 0x467730
mov dl, byte [esi]
movzx eax, dl
cmp byte [eax + 0x50c230], 0x73
jne 0x4677e1
mov edi, 0x511ac8
sub edi, esi
nop
test dl, dl
je 0x467815
movzx eax, byte [edi + esi + 1]
inc esi
movzx ecx, byte [eax + 0x50c230]
mov dl, byte [esi]
movzx eax, dl
movzx eax, byte [eax + 0x50c230]
sub eax, ecx
je 0x4677c0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x467794
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
add ebx, ebx
push 0
mov edx, esi
mov ecx, dword [eax + ebx*8 + 0xc]
add ecx, 8
call fcn.0042aa50
add esp, 4
mov eax, dword [eax + 8]
test eax, eax
jne 0x4677e3
jmp 0x467797
mov edx, dword [ebp - 8]
mov edi, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 0x10]
test edi, edi
jne 0x46782b
neg eax
sbb eax, eax
jmp 0x46783b
test eax, eax
je 0x4677e1
mov edx, eax
mov ecx, edi
call fcn.00429650
mov edx, dword [ebp - 8]
test eax, eax
jne 0x4677e1
mov esi, 0x512d98
mov dword [ebp - 4], esi
jmp 0x467726
Function at 0x467b90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, ecx
mov dword [ebp - 0xc], edx
xor edx, edx
mov dword [ebp - 0x10], eax
push edi
xor edi, edi
mov dword [ebp - 4], edx
cmp dword [eax + 0x14], edx
jle 0x467c49
push ebx
push esi
mov eax, dword [eax + 0x10]
mov ecx, edi
xor ecx, 1
cmp edi, 2
cmovge ecx, edi
add ecx, ecx
mov edx, dword [eax + ecx*8 + 0xc]
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
test edx, edx
je 0x467c2a
mov ebx, dword [eax + ecx*8]
mov esi, edx
mov al, byte [edx]
movzx ecx, byte [ebx]
movzx edx, byte [ecx + 0x50c230]
movzx ecx, al
movzx ecx, byte [ecx + 0x50c230]
sub ecx, edx
jne 0x467c11
sub ebx, esi
test al, al
je 0x467c26
movzx ecx, byte [ebx + esi + 1]
inc esi
movzx edx, byte [ecx + 0x50c230]
mov al, byte [esi]
movzx ecx, al
movzx ecx, byte [ecx + 0x50c230]
sub ecx, edx
je 0x467bf0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
inc edi
cmp edi, dword [eax + 0x14]
jl 0x467bb1
pop esi
pop ebx
mov eax, edx
pop edi
mov esp, ebp
pop ebp
ret
test ecx, ecx
jne 0x467c11
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
add ecx, 0x18
push 0
call fcn.0042aa50
add esp, 4
mov edx, dword [eax + 8]
mov dword [ebp - 4], edx
test edx, edx
jne 0x467c1d
jmp 0x467c14
mov eax, edx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4b4240
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call fcn.004b3e20
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4b426c
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call dword [0x4ec1fc]
call dword [ebp - 8]
jmp 0x4b4276
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov esp, ebp
pop ebp
ret

Function at 0x4d775e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp 0x4e7500
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x51fb84], 1
jge 0x4e756f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x4e7545
mov edx, dword [ebx + 8]
movzx eax, word [edx]
movzx ecx, word [ebx + 0xc]
cmp eax, ecx
je 0x4e7545
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x4e7522
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x4e755b
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
jmp 0x4e7562
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x4e765f
movzx ecx, word [ebx + 0xc]
movd xmm0, ecx
movaps xmmword [ebp - 0x30], xmm0
pshuflw xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
pshufd xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebx + 8]
and edx, 0xfff
cmp edx, 0xff0
ja 0x4e7630
mov eax, dword [ebx + 8]
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pxor xmm0, xmmword [ebp - 0x20]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pcmpeqw xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x40]
pcmpeqw xmm0, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
por xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pmovmskb ecx, xmm0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x4e7625
bsf edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
movzx edx, word [ecx]
movzx eax, word [ebx + 0xc]
cmp edx, eax
jne 0x4e7619
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
jmp 0x4e7620
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
jmp 0x4e765f
mov edx, dword [ebx + 8]
add edx, 0x10
mov dword [ebx + 8], edx
jmp 0x4e765a
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x4e7643
mov eax, dword [ebx + 8]
jmp 0x4e765f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x4e7651
xor eax, eax
jmp 0x4e765f
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x4e758f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret