joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5205f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x560dc9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x660038]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x28], esi
mov ecx, ebp
mov dword [esp + 0x14], esi
call fcn.004949f0
mov dword [esp + 0x28], esi
or edi, 0xffffffff
mov eax, 0x60df64
lea esi, [esp + 0x1c]
mov dword [esp + 0x14], 1
call fcn.00494af0
mov esi, eax
mov dword [esp + 0x28], 1
mov ecx, dword [ebx]
lea eax, [esp + 0x18]
push eax
call fcn.00521270
mov byte [esp + 0x2c], 2
push esi
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.0049c4d0
add esp, 0x10
mov byte [esp + 0x28], 3
push eax
mov edi, ebp
call fcn.00494c90
mov byte [esp + 0x28], 2
lea ecx, [esp + 0x34]
call fcn.00494b70
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x18]
call fcn.00494b70
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x1c]
call fcn.00494b70
push 0x67ba14
call fcn.00494c90
lea ecx, [esp + 0x34]
call fcn.004949f0
mov dword [esp + 0x28], 4
or edi, 0xffffffff
mov eax, 0x60df64
lea esi, [esp + 0x18]
call fcn.00494af0
mov byte [esp + 0x28], 5
push eax
lea edx, [ebx + 8]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.0049c4d0
add esp, 0xc
mov byte [esp + 0x28], 6
lea edi, [esp + 0x34]
call fcn.00494c50
mov byte [esp + 0x28], 5
lea ecx, [esp + 0x1c]
call fcn.00494b70
mov byte [esp + 0x28], 4
mov ecx, esi
call fcn.00494b70
push 0x62187c
push 0x5f78c0
mov ecx, edi
push ecx
call fcn.00495580
mov edx, edi
push edx
mov edi, ebp
call fcn.00494c90
push 0x67ba14
call fcn.00494c90
or edi, 0xffffffff
mov eax, 0x60df64
lea esi, [esp + 0x18]
call fcn.00494af0
mov byte [esp + 0x28], 7
push eax
lea eax, [ebx + 0xc]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.0049c4d0
add esp, 0xc
mov byte [esp + 0x28], 8
push eax
mov edi, ebp
call fcn.00494c90
mov byte [esp + 0x28], 7
lea ecx, [esp + 0x1c]
call fcn.00494b70
mov byte [esp + 0x28], 4
mov ecx, esi
call fcn.00494b70
push 0x67ba14
call fcn.00494c90
or edi, 0xffffffff
mov eax, 0x60df64
lea esi, [esp + 0x18]
call fcn.00494af0
mov byte [esp + 0x28], 9
push eax
lea edx, [ebx + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.0049c4d0
add esp, 0xc
mov byte [esp + 0x28], 0xa
push eax
mov edi, ebp
call fcn.00494c90
mov byte [esp + 0x28], 9
lea ecx, [esp + 0x1c]
call fcn.00494b70
mov byte [esp + 0x28], 4
mov ecx, esi
call fcn.00494b70
push 0x67ba14
call fcn.00494c90
or edi, 0xffffffff
mov eax, 0x60df64
lea esi, [esp + 0x18]
call fcn.00494af0
mov byte [esp + 0x28], 0xb
push eax
add ebx, 0x14
lea ecx, [esp + 0x20]
push ebx
push ecx
call fcn.0049c4d0
add esp, 0xc
mov byte [esp + 0x28], 0xc
push eax
mov edi, ebp
call fcn.00494c90
mov byte [esp + 0x28], 0xb
lea ecx, [esp + 0x1c]
call fcn.00494b70
mov byte [esp + 0x28], 4
mov ecx, esi
call fcn.00494b70
push 0x67ba14
call fcn.00494c90
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x34]
call fcn.00494b70
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
Function at 0x5378a0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x564efc
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x660038]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x660038]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x198]
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0x70], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor ebx, ebx
cmp dword [esp + 0x70], 6
jb 0x5379cb
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x24]
lea ecx, [esp + 0x20]
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], str.SHGetKnownFolderPath
mov byte [esp + 0x64], 1
mov byte [esp + 0x65], 1
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x70], 1
mov byte [esp + 0x71], bl
call fcn.004c0910
add esp, 8
mov dword [esp + 0x190], ebx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov esi, eax
mov dword [esp + 0x190], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.004978f0
cmp esi, ebx
jne 0x5379cb
mov eax, 0x660dc4
cmp byte [esp + 0x19c], bl
jne 0x537980
mov eax, 0x660dd4
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x54], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x18]
push eax
push ebx
mov dword [esp + 0x64], ecx
push ebx
lea ecx, [esp + 0x60]
push ecx
mov dword [esp + 0x70], edx
call dword [esp + 0x2c]
cmp eax, ebx
jne 0x5379cb
mov edx, dword [esp + 0x18]
push edx
mov eax, ebp
call fcn.00494c30
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x537a7d
call fcn.004a6cb0
test al, al
je 0x5379fa
push ebx
or edi, 0xffffffff
mov eax, 0x5ffeac
lea esi, [esp + 0x1c]
call fcn.00494ae0
mov dword [esp + 0x190], 1
mov edi, ebp
call fcn.00494c50
jmp 0x537a69
mov esi, ebp
call fcn.004a38f0
test al, al
jne 0x537a7d
lea ecx, [esp + 0x18]
push ecx
call fcn.004a7b20
add esp, 4
mov dword [esp + 0x190], 2
mov edi, ebp
call fcn.00494c50
or edi, 0xffffffff
mov dword [esp + 0x190], edi
lea ecx, [esp + 0x18]
call fcn.00494b70
mov eax, str.download
cmp byte [esp + 0x19c], bl
jne 0x537a4a
mov eax, str.upload
push ebx
lea esi, [esp + 0x1c]
call fcn.00494ae0
mov dword [esp + 0x190], 3
mov edx, esi
push edx
mov edi, ebp
call fcn.00494c90
mov dword [esp + 0x190], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00494b70
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.0054904e
add esp, 0x180
ret 8
Function at 0x537cd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x553de3
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push edi
mov eax, dword [0x660038]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, dword [esp + 0x38]
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov ecx, edi
mov dword [esp + 0xc], ebx
call fcn.004949f0
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x10], 1
call fcn.00434310
mov dword [esp + 0x30], 1
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x1c]
call fcn.0043cd30
lea ecx, [esp + 0x10]
push ecx
lea eax, [esp + 0x20]
call fcn.004346a0
test al, al
je 0x537da4
xor eax, eax
cmp byte [esp + 0x10], bl
mov ecx, edi
setne al
add eax, 0x30
call fcn.00494d20
mov eax, 0x1f
mov ecx, edi
call fcn.00494d20
lea edx, [esp + 0x14]
push edx
call fcn.00494c90
mov eax, 0x1f
mov ecx, edi
call fcn.00494d20
lea eax, [esp + 0x18]
push eax
call fcn.00494c90
mov eax, 0x1f
mov ecx, edi
call fcn.00494d20
lea ecx, [esp + 0x10]
push ecx
lea eax, [esp + 0x20]
call fcn.004346a0
test al, al
jne 0x537d47
mov byte [esp + 0x30], bl
lea edx, [esp + 0x10]
push edx
call fcn.00434370
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x28
ret 8
Function at 0x53b360
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x564e68
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x660038]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x88]
mov eax, edi
call fcn.00495350
test al, al
je 0x53b470
lea eax, [esi + 0xa8]
mov dword [esp + 0x18], eax
call fcn.00495350
test al, al
je 0x53b470
push esi
call fcn.0053b200
shl eax, 4
cmp byte [eax + 0x660ba4], 0
je 0x53b470
lea eax, [esp + 0x1c]
push eax
call fcn.004959b0
mov dword [esp + 0x30], 0
mov ecx, dword [esi + 0xb0]
push ecx
lea edx, [esp + 0x1a]
push edx
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x22], 0
call sub.ClientConfigUI66U.dll_bool___cdecl_LaunchFirewallUsernameDialog_class_IString___bool___class_IParentable__
add esp, 0xc
cmp byte [esp + 0x16], 0
mov bl, al
lea eax, [esp + 0x20]
je 0x53b429
lea ecx, [esi + 0x7c]
call fcn.00407e50
push 0
lea ecx, [esp + 0x1b]
push ecx
call fcn.0051e010
push esi
call fcn.0051f510
jmp 0x53b432
mov edi, dword [esp + 0x18]
call fcn.00494c50
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push 0
lea eax, [esp + 0x24]
call fcn.00407eb0
push eax
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00495b00
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esi + 0xa8]
mov eax, ecx
call fcn.00495350
test al, al
je 0x53b48c
lea eax, [esi + 0x7c]
neg eax
sbb eax, eax
and eax, edi
jmp 0x53b48e
mov eax, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push 0
call fcn.00407eb0
push eax
mov eax, dword [edx + 0xc]
call eax
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x53b4c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x564e68
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x660038]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x9c]
mov eax, edi
call fcn.00495350
test al, al
je 0x53b5d9
lea eax, [esi + 0xac]
mov dword [esp + 0x18], eax
call fcn.00495350
test al, al
je 0x53b5d9
push esi
call fcn.0053b200
shl eax, 4
cmp byte [eax + 0x660ba4], 0
je 0x53b5d9
lea eax, [esp + 0x1c]
push eax
call fcn.004959b0
mov dword [esp + 0x30], 0
mov ecx, dword [esi + 0xb0]
push ecx
lea edx, [esp + 0x1a]
push edx
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x22], 0
call sub.ClientConfigUI66U.dll_bool___cdecl_LaunchFirewallPasswordDialog_class_IString___bool___class_IParentable__
add esp, 0xc
cmp byte [esp + 0x16], 0
mov bl, al
lea eax, [esp + 0x20]
je 0x53b592
call fcn.00407eb0
lea ecx, [esi + 0x90]
push ecx
call fcn.005427a0
push 0
lea edx, [esp + 0x1b]
push edx
call fcn.0051e010
push esi
call fcn.0051f510
jmp 0x53b59b
mov edi, dword [esp + 0x18]
call fcn.00494c50
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push 0
lea eax, [esp + 0x24]
call fcn.00407eb0
push eax
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00495b00
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esi + 0xac]
mov eax, ecx
call fcn.00495350
test al, al
je 0x53b5f8
lea eax, [esi + 0x90]
neg eax
sbb eax, eax
and eax, edi
jmp 0x53b5fa
mov eax, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push 0
call fcn.00407eb0
push eax
mov eax, dword [edx + 0xc]
call eax
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x53ed50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55e7c2
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x660038]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
push ebp
push esi
call fcn.0049cd90
mov dword [esp + 0x1c], 0
lea ebx, [esi + 0xc]
push ebx
mov dword [esi], vtable.ConnectConfigPtr.0
call fcn.004878d0
mov byte [esp + 0x1c], 1
lea eax, [esi + 0x30]
push eax
call fcn.0053fb60
mov byte [esp + 0x1c], 2
lea eax, [ebp + 0xc]
test eax, eax
je 0x53edb9
add eax, 0xc
jmp 0x53edbb
xor eax, eax
lea edi, [ebx + 0xc]
call fcn.00494c50
lea eax, [ebp + 0xc]
mov ecx, ebx
call fcn.0049ce00
mov cl, byte [ebp + 0x4c]
mov byte [esi + 0x4c], cl
mov edx, dword [ebp + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x20], eax
mov ecx, dword [ebp + 0x24]
mov dword [esi + 0x24], ecx
call sub.ClientConfigUI66U.dll_class_ConnectProtocolTable____cdecl_GetConnectProtocolTable_void_
mov ebx, dword [eax + 4]
xor ecx, ecx
mov eax, ebx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.mfc90u.dll_new_1
add esp, 4
xor edi, edi
mov dword [esi + 0x28], eax
test ebx, ebx
jle 0x53ee42
mov eax, dword [ebp + 0x28]
cmp dword [eax + edi*4], 0
je 0x53ee33
mov ecx, eax
mov ecx, dword [ecx + edi*4]
mov edx, dword [ecx]
mov eax, dword [esp + 0x2c]
mov edx, dword [edx + 0x54]
push eax
call edx
mov ecx, dword [esi + 0x28]
mov dword [ecx + edi*4], eax
jmp 0x53ee3d
mov edx, dword [esi + 0x28]
mov dword [edx + edi*4], 0
inc edi
cmp edi, ebx
jl 0x53ee11
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc

Function at 0x53ee70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x553c3a
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x660038]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esi], vtable.ConnectConfigPtr.0
mov dword [esp + 0x20], 2
call sub.ClientConfigUI66U.dll_class_ConnectProtocolTable____cdecl_GetConnectProtocolTable_void_
mov ebp, dword [eax + 4]
xor edi, edi
test ebp, ebp
jle 0x53eedb
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + edi*4]
lea eax, [eax + edi*4]
test ecx, ecx
je 0x53eed6
mov dword [eax], 0
lea eax, [ecx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
inc edi
cmp edi, ebp
jl 0x53eeb8
mov eax, dword [esi + 0x28]
push eax
call sub.mfc90u.dll_delete_1
add esp, 4
mov byte [esp + 0x20], 1
lea edi, [esi + 0x30]
mov dword [esp + 0x14], edi
mov byte [esp + 0x20], 3
push edi
call fcn.0053f410
mov byte [esp + 0x20], 1
mov edi, dword [edi + 8]
push edi
call sub.mfc90u.dll_delete_1
add esp, 4
mov byte [esp + 0x20], 0
lea eax, [esi + 0xc]
push eax
call fcn.00485fe0
mov dword [esp + 0x20], 0xffffffff
mov ecx, esi
call fcn.0049cd40
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
Function at 0x53f1b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x553bf0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x660038]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x30]
mov edi, ecx
lea esi, [edi + 0xc]
test esi, esi
je 0x53f1e9
lea eax, [edi + 0x18]
jmp 0x53f1eb
xor eax, eax
mov edx, ebx
call fcn.00495cf0
test al, al
jne 0x53f2b5
mov eax, ebx
mov ecx, esi
call fcn.00407e50
mov eax, dword [edi + 0x20]
test eax, eax
jl 0x53f21d
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx + eax*4]
mov edx, dword [eax]
mov edx, dword [edx + 0x58]
lea ecx, [edi + 0x30]
push ecx
mov ecx, eax
call edx
mov dword [edi + 0x20], 0xffffffff
call sub.ClientConfigUI66U.dll_class_ConnectProtocolTable____cdecl_GetConnectProtocolTable_void_
mov eax, dword [eax + 4]
xor ebp, ebp
mov dword [esp + 0x1c], eax
test eax, eax
jle 0x53f2b5
xor ebx, ebx
call sub.ClientConfigUI66U.dll_class_ConnectProtocolTable____cdecl_GetConnectProtocolTable_void_
test ebx, ebx
jl 0x53f31d
cmp ebp, dword [eax + 4]
jge 0x53f31d
mov eax, dword [eax + 8]
add eax, ebx
lea esi, [esp + 0x18]
call fcn.00494a10
mov dword [esp + 0x28], 0
lea eax, [edi + 0xc]
test eax, eax
je 0x53f270
lea eax, [edi + 0x18]
jmp 0x53f272
xor eax, eax
lea esi, [esp + 0x14]
call fcn.00494a10
mov byte [esp + 0x28], 1
mov edx, esi
lea eax, [esp + 0x18]
call fcn.00495cf0
test al, al
jne 0x53f2cb
mov byte [esp + 0x28], al
mov ecx, esi
call fcn.00494b70
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00494b70
inc ebp
add ebx, 0x54
cmp ebp, dword [esp + 0x1c]
jl 0x53f238
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
mov eax, dword [edi + 0x28]
mov dword [edi + 0x20], ebp
cmp dword [eax + ebp*4], 0
jne 0x53f2eb
mov ecx, dword [esp + 0x34]
push ecx
push 0
mov esi, ebp
call fcn.0053f340
mov edx, dword [edi + 0x28]
mov dword [edx + ebp*4], eax
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + ebp*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
add edi, 0x30
push edi
call eax
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x14]
call fcn.00494b70
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00494b70
jmp 0x53f2b5
push 0x636734
lea ecx, [esp + 0x34]
xor al, al
push ecx
mov byte [esp + 0x38], al
call sub.MSVCR90.dll__CxxThrowException
int3
Function at 0x5458a0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x55397c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x660038]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
xor ebx, ebx
mov eax, edx
mov dword [esp + 0x14], ebx
lea edi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x5458e0
sub eax, edi
sar eax, 1
mov dword [esp + 0x18], eax
jne 0x54590e
push ebx
or edi, 0xffffffff
mov eax, edx
call fcn.00494ae0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], 1
jmp 0x545989
push 0x18
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], 1
cmp eax, ebx
je 0x545938
push ebx
push eax
mov edi, 0x400
call fcn.00499ed0
mov ebp, eax
jmp 0x54593a
xor ebp, ebp
mov byte [esp + 0x28], bl
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], 2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
push eax
push ecx
mov edi, ebp
call fcn.005457b0
mov edx, dword [ebp]
mov eax, dword [edx + 0x10]
add esp, 8
mov ecx, ebp
call eax
or edi, 0xffffffff
call fcn.00494af0
mov dword [esp + 0x14], 1
mov byte [esp + 0x28], bl
mov ecx, dword [ebp]
mov edx, dword [ecx + 8]
push ebp
mov dword [esp + 0x20], ebx
call edx
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret

Function at 0x5460a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
lea edi, [edx + 4]
mov dword [esp + 0x10], 0x10
mov edi, edi
xor ecx, dword [edi]
add edi, 4
mov eax, ecx
shr eax, 8
movzx ebx, cl
mov dword [esp + 0x14], ecx
movzx ebp, al
shr eax, 8
mov ecx, eax
shr ecx, 8
and ecx, 0xff
mov ecx, dword [edx + ecx*4 + 0x4c]
movzx eax, al
add ecx, dword [edx + eax*4 + 0x44c]
movzx eax, bp
xor ecx, dword [edx + eax*4 + 0x84c]
movzx eax, bx
add ecx, dword [edx + eax*4 + 0xc4c]
xor ecx, esi
sub dword [esp + 0x10], 1
mov esi, dword [esp + 0x14]
jne 0x5460c0
mov eax, dword [edx + 0x44]
xor eax, ecx
mov ecx, dword [edx + 0x48]
mov edx, dword [esp + 0x1c]
pop edi
xor ecx, esi
pop esi
mov dword [edx], ecx
mov ecx, dword [esp + 0x18]
pop ebp
mov dword [ecx], eax
pop ebx
add esp, 8
ret 8
Function at 0x546140
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
lea edi, [edx + 0x48]
mov dword [esp + 0x10], 0x10
mov edi, edi
xor ecx, dword [edi]
sub edi, 4
mov eax, ecx
shr eax, 8
movzx ebx, cl
mov dword [esp + 0x14], ecx
movzx ebp, al
shr eax, 8
mov ecx, eax
shr ecx, 8
and ecx, 0xff
mov ecx, dword [edx + ecx*4 + 0x4c]
movzx eax, al
add ecx, dword [edx + eax*4 + 0x44c]
movzx eax, bp
xor ecx, dword [edx + eax*4 + 0x84c]
movzx eax, bx
add ecx, dword [edx + eax*4 + 0xc4c]
xor ecx, esi
sub dword [esp + 0x10], 1
mov esi, dword [esp + 0x14]
jne 0x546160
mov eax, dword [edx + 8]
xor eax, ecx
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0x1c]
pop edi
xor ecx, esi
pop esi
mov dword [edx], ecx
mov ecx, dword [esp + 0x18]
pop ebp
mov dword [ecx], eax
pop ebx
add esp, 8
ret 8

Function at 0x5461e0
Capabilities:
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov esi, eax
mov edi, ecx
mov eax, 0x5f7b38
lea ecx, [ebp + 0x4c]
mov edx, 0x100
lea esp, [esp]
mov ebx, dword [eax]
mov dword [ecx], ebx
add eax, 4
add ecx, 4
sub edx, 1
jne 0x546200
cmp eax, 0x5f8b38
jl 0x5461f7
xor eax, eax
mov ebx, 0x5f7af0
add ebp, 4
movzx ecx, byte [eax + edi]
inc eax
cmp eax, esi
jl 0x54622b
xor eax, eax
movzx edx, byte [eax + edi]
shl ecx, 8
inc eax
or edx, ecx
cmp eax, esi
jl 0x54623b
xor eax, eax
movzx ecx, byte [eax + edi]
shl edx, 8
inc eax
or ecx, edx
cmp eax, esi
jl 0x54624b
xor eax, eax
movzx edx, byte [eax + edi]
shl ecx, 8
inc eax
or edx, ecx
cmp eax, esi
jl 0x54625b
xor eax, eax
mov ecx, dword [ebx]
xor ecx, edx
mov dword [ebp], ecx
add ebx, 4
add ebp, 4
cmp ebx, 0x5f7b38
jl 0x546220
mov ebp, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea esi, [ebp + 8]
lea edi, [eax + 9]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
mov edx, ebp
call fcn.005460a0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esi - 4], ecx
mov dword [esi], edx
add esi, 8
sub edi, 1
jne 0x546284
lea esi, [ebp + 0x50]
lea ebx, [edi + 4]
mov edi, 0x80
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
mov edx, ebp
call fcn.005460a0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esi - 4], edx
mov dword [esi], eax
add esi, 8
sub edi, 1
jne 0x5462b5
sub ebx, 1
jne 0x5462b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
Function at 0x546659
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x660038]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x10c]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x54672e
push edi
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push esi
push dword [ebp - 0x10c]
mov edi, 0x104
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x54671d
cmp dword [ebp - 0x114], 2
mov byte [ebp - 5], al
lea eax, [ebp - 0x108]
jne 0x546707
push edi
push dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
dec eax
lea ecx, [edi - 1]
cmp ecx, eax
sbb esi, esi
inc esi
jmp 0x54671d
push eax
push edi
push dword [ebp - 0x110]
call fcn.005465f6
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
jmp 0x546730
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0054904e
leave
ret 4

Function at 0x54904e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x660038]
jne 0x549058
repz ret
jmp fcn.005495fe
Function at 0x10002560
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x10002570
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x10002580
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc