joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52c5dc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x52c5ee
add esp, 0xfffffff0
call fcn.00405610
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00458e80
mov eax, dword [0x5b1404]
mov dword [eax + 4], ebx
mov dword [eax], 0x52ca1c
mov eax, dword [0x5b1414]
mov dword [eax + 4], ebx
mov dword [eax], 0x52ca28
mov eax, ebx
call fcn.0052ca34
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x43aa18]
call fcn.00404fd4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x43aa18]
call fcn.00404fd4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x43aa18]
call fcn.00404fd4
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x43aa18]
call fcn.00404fd4
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x43aa18]
call fcn.00404fd4
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x48], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x60]
push eax
mov eax, 0x527398
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x468598]
call fcn.0046e810
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x468598]
call fcn.0046e810
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x468598]
call fcn.0046e810
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x468598]
call fcn.0046e810
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x468598]
call fcn.0046e810
mov dword [ebx + 0x90], eax
mov eax, ebx
call fcn.0052d02c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x52ce48
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x52ce48
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x52ce48
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x52ce48
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x52ce48
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x52c76b
call fcn.00405668
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x52cbe8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x52cd93
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x52cd74
mov dl, 1
mov eax, dword [0x43e18c]
call fcn.0044d348
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00406d50
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x52cd63
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0049e7d4
test al, al
je 0x52cd56
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x52cda4
lea eax, [ebp - 0x394]
call fcn.00420af4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x52cd56
xor eax, eax
push ebp
push 0x52cd4f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x52ce14
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x52cd38
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407ccc
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x44]
jne 0x52cd38
mov eax, dword [ebp - 4]
add eax, 0x40
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407ccc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52cd56
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x52cc59
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.0044d284
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52cd9a
lea eax, [ebp - 0x3a0]
call fcn.00406d50
ret

Function at 0x52d94c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x5b732c]
cmp byte [eax + 0xb1], 0
jne 0x52d9be
cmp dword [0x5b734c], 0
jne 0x52d97e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x5b0878]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5b734c], eax
cmp dword [0x5b7348], 0
jne 0x52d999
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x5b7348], eax
cmp dword [0x5b7350], 0
jne 0x52d9be
push esp
push 0
push 0
mov eax, dword [0x5b0874]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5b7350], eax
pop edx
ret
Function at 0x52dcd8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x52dcef
add esp, 0xfffffff0
call fcn.00405610
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00458e80
mov eax, dword [0x5b127c]
cmp byte [eax], 0
jne 0x52dd1c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x184], al
mov eax, dword [0x5b1638]
cmp word [eax + 2], 0
jne 0x52dd36
mov eax, dword [0x5b1638]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0052fecc
mov eax, dword [0x5b1798]
cmp word [eax + 2], 0
jne 0x52dd50
mov eax, dword [0x5b1798]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005300d0
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x468598]
call fcn.0046e810
mov esi, eax
mov dword [ebx + 0x40], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x530648
mov dl, 1
mov eax, dword [0x43aa18]
call fcn.00404fd4
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x43aa18]
call fcn.00404fd4
mov dword [ebx + 0xb4], eax
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x60], 0xff000018
mov dword [ebx + 0x7c], 0x1f4
mov byte [ebx + 0x80], 1
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x78], 0x9c4
mov byte [ebx + 0x8c], 0
mov byte [ebx + 0xa9], 1
mov byte [ebx + 0xc0], 1
mov dl, 1
mov eax, dword [0x46d0f0]
call fcn.004781a8
mov esi, eax
mov dword [ebx + 0xa4], esi
push 0x52df34
mov eax, dword [0x5b14bc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00478638
mov eax, dword [ebx + 0xa4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x530930
mov dl, 1
mov eax, dword [0x43aa18]
call fcn.00404fd4
mov dword [ebx + 0x9c], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x5b14bc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00420908
test eax, eax
je 0x52de64
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.004206b8
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004208ec
test eax, eax
je 0x52de7c
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x90]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00407ccc
push ebx
push 0x52f8a4
call fcn.00523890
mov dword [ebx + 0x180], eax
mov byte [ebx + 0xd4], 0
mov eax, dword [0x5b127c]
cmp byte [eax], 0
jne 0x52decd
mov eax, ebx
call fcn.0052e0f4
mov byte [ebx + 0x5d], 1
mov byte [ebx + 0x5e], 1
mov byte [ebx + 0x5f], 1
mov byte [ebx + 0xaa], 1
mov byte [ebx + 0xd5], 0
mov byte [ebx + 0xe0], 0
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xd7], 0
xor eax, eax
mov dword [ebx + 0xac], eax
mov eax, ebx
call fcn.00530b78
mov eax, ebx
call fcn.005317a4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x52df2a
call fcn.00405668
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x52e42c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x178]
test eax, eax
je 0x52e4d8
cmp dword [ebx + 0x98], 0
jne 0x52e4d2
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x52e364
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x94]
cmp dword [eax + 8], 0
je 0x52e4d2
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x52e498
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x94]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x52e4d2
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x94]
call fcn.00448cd4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x52e4a7
inc dword [ebx + 0x98]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x52e6f8
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5b732c]
cmp dword [eax + 0x178], 0
je 0x52e85d
test bl, bl
jne 0x52e7ab
cmp dword [esi + 0xa0], 0
jne 0x52e7a0
mov eax, esi
call fcn.005315f4
push eax
push 0x52e604
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x48], 0
je 0x52e771
mov eax, dword [0x5b732c]
cmp byte [eax + 0xd7], 0
je 0x52e771
mov eax, dword [esi + 0xdc]
call fcn.00408f78
mov edi, eax
cmp edi, 0
jl 0x52e771
push 0
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x52e75a
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x52e7a0
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.00448cd4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x52e780
inc dword [esi + 0xa0]
jmp 0x52e85d
cmp dword [esi + 0xa0], 0
jle 0x52e85d
dec dword [esi + 0xa0]
cmp dword [esi + 0xa0], 0
jne 0x52e85d
cmp dword [esi + 0x48], 0
je 0x52e808
mov eax, dword [0x5b732c]
cmp byte [eax + 0xd7], 0
je 0x52e808
mov eax, dword [esi + 0xdc]
call fcn.00408f78
mov edi, eax
cmp edi, 0
jl 0x52e808
push 5
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x52e7f1
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x52e837
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.00448cd4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x52e817
mov eax, dword [esi + 0x9c]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xdc]
mov ecx, 1
mov edx, dword [0x520230]
call fcn.00409124
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x52f4b0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xb0], 0
je 0x52f51b
cmp byte [ebx + 0xd7], 0
jne 0x52f51b
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x178]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406ed8
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x52f508
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x52f528
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00407130
jmp 0x52f528
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00407130
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x530d60
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x530dce
mov eax, esi
call fcn.004987ac
test al, al
je 0x530dce
mov eax, dword [ebx + 0x88]
call fcn.004983f8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x530dce
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x108]
test al, al
je 0x530dc2
push 0
mov eax, dword [ebx + 0x88]
call fcn.004983f8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.0048f1dc
jmp 0x530dce
mov cl, 1
mov edx, dword [ebx + 0x78]
mov eax, ebx
call fcn.00530b98
pop esi
pop ebx
ret
Function at 0x53fa58
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x53fa70
add esp, 0xfffffff0
call fcn.00405610
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x53fb8a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.00404574
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x53fb74
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.004be900
xor eax, eax
push ebp
push 0x53fb61
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.004be900
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.00407d08
jmp 0x53fb32
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call fcn.00408034
mov eax, dword [ebx + 4]
call fcn.00407248
dec eax
jle 0x53fb46
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x53fb20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53fb68
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53fb91
lea eax, [ebp - 4]
call fcn.00406d98
ret

Function at 0x543b28
Capabilities:
Query or enumerate registry value

Disassembly:
add esp, 0xfffffecc
cmp byte [0x5b0960], 0
jne 0x543c05
mov byte [0x5b0960], 1
xor eax, eax
mov dword [0x5b0950], eax
mov dword [esp + 0xc], 0x114
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetVersionExW
cmp dword [esp + 0x10], 3
ja 0x543b70
cmp dword [esp + 0x10], 3
jne 0x543bdb
cmp dword [esp + 0x14], 0x33
jbe 0x543bdb
mov dword [esp + 4], 0x12
push esp
push 0x20019
push 0
push 0x543c0c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x543c05
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x10]
push eax
push 0
push 0x543c6c
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x543c05
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp word [esp + 0x120], 0x31
jne 0x543c05
cmp word [esp + 0x122], 0
jne 0x543c05
jmp 0x543bf0
push 0
push 0x543c6c
push 0x543c78
call sub.kernel32.dll_GetProfileIntW
test eax, eax
je 0x543c05
mov eax, dword [0x5b094c]
call fcn.00407c20
push eax
call sub.kernel32.dll_LoadLibraryW
mov dword [0x5b0950], eax
add esp, 0x134
ret
Function at 0x543e24
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde0
push ebx
xor edx, edx
mov dword [ebp - 0x220], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x543fc6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push ebx
call sub.ole32.dll_ProgIDFromCLSID
test eax, eax
sete byte [ebp - 9]
cmp byte [ebp - 9], 0
je 0x543fa0
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0041eac0
push 0x20019
xor ecx, ecx
mov dl, 1
mov eax, dword [0x462b10]
call fcn.00464e10
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x543f99
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000000
mov eax, dword [ebp - 0x14]
call fcn.004632ec
mov edx, 0x543fe4
mov eax, dword [ebp - 0x14]
call fcn.00463578
test al, al
je 0x543ec1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.00463578
test al, al
jne 0x543ec5
xor eax, eax
jmp 0x543ec7
mov al, 1
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x543eda
call fcn.0040653c
jmp 0x543fa0
mov eax, dword [0x5b185c]
mov eax, dword [eax]
push eax
lea eax, [ebp - 8]
push eax
xor ecx, ecx
mov edx, 0x543ffc
mov eax, dword [ebp - 0x14]
call fcn.00464e68
mov eax, dword [ebp - 8]
mov edx, dword [0x5b185c]
mov edx, dword [edx]
call fcn.00407fb4
jne 0x543f22
mov eax, dword [0x5b185c]
mov eax, dword [eax]
push eax
lea eax, [ebp - 8]
push eax
xor ecx, ecx
mov edx, 0x544028
mov eax, dword [ebp - 0x14]
call fcn.00464e68
mov eax, dword [ebp - 8]
mov edx, dword [0x5b185c]
mov edx, dword [edx]
call fcn.00407fb4
setne byte [ebp - 9]
cmp byte [ebp - 9], 0
jne 0x543f43
call fcn.0040653c
jmp 0x543fa0
push 0x104
lea eax, [ebp - 0x21c]
push eax
mov eax, dword [ebp - 8]
call fcn.00407c20
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsW
lea eax, [ebp - 0x220]
lea edx, [ebp - 0x21c]
mov ecx, 0x104
call fcn.00407ccc
mov eax, dword [ebp - 0x220]
mov dl, 1
call fcn.00420270
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x543fa0
mov eax, dword [ebp - 0x14]
call fcn.00405004
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x543fcd
lea eax, [ebp - 0x220]
call fcn.00406d50
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406db0
ret

Function at 0x544220
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00544d74
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x54d680
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push ecx
mov ebx, edx
mov esi, eax
cmp dword [esi + 0x18], 0
je 0x54d694
mov eax, esi
call fcn.0054d750
mov eax, dword [esi + 4]
mov dword [esi + 0x18], eax
test bl, bl
je 0x54d6b6
mov eax, dword [esi + 4]
cmp word [eax], 0x25ff
jne 0x54d6b6
add dword [esi + 0x18], 2
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0x18]
jno 0x54d6c3
call fcn.00404e5c
sub eax, 5
jno 0x54d6cd
call fcn.00404e5c
mov byte [esi + 0xc], 0xe9
mov edx, 0xff
and edx, eax
mov byte [esi + 0xd], dl
mov edx, eax
shr edx, 8
and edx, 0xff
mov byte [esi + 0xe], dl
mov edx, eax
shr edx, 0x10
and edx, 0xff
mov byte [esi + 0xf], dl
shr eax, 0x18
and eax, 0xff
mov byte [esi + 0x10], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax]
mov byte [esi + 0x11], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax + 1]
mov byte [esi + 0x12], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax + 2]
mov byte [esi + 0x13], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax + 3]
mov byte [esi + 0x14], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax + 4]
mov byte [esi + 0x15], al
push esp
push 0x40
push 5
mov eax, dword [esi + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x54d74a
call fcn.0042701c
pop edx
pop esi
pop ebx
ret
Function at 0x57857c
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5786a4
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x578668
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.00404b18
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x28], 1
mov dword [ebp - 0xc], 1
mov eax, esi
call fcn.00407c20
mov edi, eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push edi
call sub.wininet.dll_InternetCrackUrlW
mov eax, dword [ebp - 0x30]
add eax, 0xfffffffd
sub eax, 2
jb 0x578622
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x40], 0x11
lea eax, [ebp - 0x44]
push eax
push 0
lea edx, [ebp - 0x48]
mov eax, 0x577c24
call fcn.0040af74
mov ecx, dword [ebp - 0x48]
mov dl, 1
mov eax, dword [0x419ec0]
call fcn.0042529c
call fcn.00406448
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x30], eax
movzx eax, word [ebp - 0x24]
mov word [ebx + 0x3c], ax
lea eax, [ebx + 0x38]
push eax
mov edx, dword [ebp - 0x2c]
sub edx, edi
sar edx, 1
jns 0x578640
adc edx, 0
inc edx
mov ecx, dword [ebp - 0x28]
mov eax, esi
call fcn.00407fec
lea eax, [ebx + 0x34]
push eax
mov edx, dword [ebp - 0x10]
sub edx, edi
sar edx, 1
jns 0x57865b
adc edx, 0
inc edx
mov ecx, dword [ebp - 0xc]
mov eax, esi
call fcn.00407fec
jmp 0x578689
lea edx, [ebp - 0x4c]
mov eax, 0x577c24
call fcn.0040af74
mov ecx, dword [ebp - 0x4c]
mov dl, 1
mov eax, dword [0x419ec0]
call fcn.00425260
call fcn.00406448
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5786ab
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.00406db0
ret
Function at 0x5813ac
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
test dl, dl
je 0x5813c0
add esp, 0xfffffff0
call fcn.00405610
mov dword [ebp - 4], ecx
mov byte [ebp - 5], dl
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040a980
xor eax, eax
push ebp
push 0x581461
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, ebx
call fcn.00583dbc
lea eax, [ebx + 0x24]
call fcn.0040a90c
mov dword [ebx + 0x28], 0xffffffff
mov dl, 1
mov eax, dword [0x54f630]
call fcn.00404fd4
mov esi, eax
mov dword [ebx + 0x2c], esi
lea eax, [esi + 4]
call fcn.00406d50
mov eax, dword [ebx + 0x2c]
add eax, 8
call fcn.00406d50
mov eax, dword [ebx + 0x2c]
add eax, 0xc
call fcn.00406d50
mov eax, dword [ebx + 0x2c]
mov byte [eax + 0x10], 0
mov byte [eax + 0x11], 1
mov byte [eax + 0x12], 1
xor eax, eax
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x43e18c]
call fcn.0044d348
mov dword [ebx + 0x34], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x581468
lea eax, [ebp - 4]
call fcn.0040a90c
ret

Function at 0x583fec
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x583ffe
add esp, 0xfffffff0
call fcn.00405610
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040a980
xor eax, eax
push ebp
push 0x5840a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00583dbc
mov dl, 1
mov eax, dword [0x54f630]
call fcn.00404fd4
mov dword [esi + 0x20], eax
mov dl, 1
mov eax, dword [0x54f630]
call fcn.00404fd4
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x20]
add eax, 4
call fcn.00406d50
mov eax, dword [esi + 0x20]
add eax, 8
call fcn.00406d50
mov eax, dword [esi + 0x20]
add eax, 0xc
call fcn.00406d50
mov eax, dword [esi + 0x20]
mov byte [eax + 0x10], 0
mov byte [eax + 0x11], 1
mov byte [eax + 0x12], 1
mov edx, eax
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
call dword [ecx]
mov dl, 1
mov eax, dword [0x43aa18]
call fcn.00404fd4
mov dword [esi + 0x28], eax
mov byte [esi + 0x30], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5840ae
lea eax, [ebp - 4]
call fcn.0040a90c
ret