joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d050
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x20
push edi
mov edi, ecx
mov eax, dword [edi + 0x10]
cmp eax, 2
jne 0x43d15f
mov eax, dword [edi + 0x4018]
test eax, eax
push esi
lea esi, [edi + 0x4014]
je 0x43d14a
mov ecx, dword [esi + 8]
sub ecx, eax
je 0x43d14a
test eax, eax
push ebx
jne 0x43d08b
xor ebx, ebx
jmp 0x43d090
mov ebx, dword [esi + 8]
sub ebx, eax
test eax, eax
je 0x43d09b
mov edx, dword [esi + 8]
sub edx, eax
jne 0x43d0a0
call fcn.00460956
mov eax, dword [edi + 0xc]
cmp eax, 0xffffffff
mov ecx, dword [esi + 4]
je 0x43d0b8
push 0
push ebx
push ecx
push eax
call dword [sym.imp.WS2_32.dll_send]
jmp 0x43d0bb
or eax, 0xffffffff
mov edx, dword [esi + 4]
test edx, edx
pop ebx
jne 0x43d0c7
xor ecx, ecx
jmp 0x43d0cc
mov ecx, dword [esi + 8]
sub ecx, edx
cmp eax, ecx
jne 0x43d0f0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
push edi
push eax
call fcn.0043a280
push 0
push 0
mov ecx, esi
call fcn.0044bf50
pop esi
pop edi
add esp, 0x20
ret 4
test eax, eax
jle 0x43d0e8
test edx, edx
je 0x43d0e8
mov ecx, dword [esi + 8]
sub ecx, edx
cmp eax, ecx
jae 0x43d0e8
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.0044a8b0
mov ecx, eax
call fcn.0040b590
mov edi, eax
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.0044a8b0
mov ecx, dword [edi + 4]
mov edx, dword [edi]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.0040b630
pop esi
pop edi
add esp, 0x20
ret 4
mov ecx, dword [edi + 0xc]
push edi
push ecx
mov ecx, dword [edi + 4]
call fcn.0043a280
pop esi
pop edi
add esp, 0x20
ret 4
cmp eax, 1
jne 0x43d0e9
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
push edi
push edx
mov dword [edi + 0x10], 2
call fcn.0043a280
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
push edi
push eax
call fcn.0043aba0
push 0
push 1
push 1
mov ecx, edi
call fcn.0043c3b0
pop edi
add esp, 0x20
ret 4
Function at 0x43e5b0
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x4940ff
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x194], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x1ac]
mov dword fs:[0], eax
mov ebp, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, ecx
lea eax, [esi + 8]
mov dword [esi], 0x49bcf8
push eax
mov dword [esp + 0x18], esi
mov dword [esi + 4], 0x49baf8
call ebp
lea edi, [esi + 0x20]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x1b4], ebx
call fcn.0041df30
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x2c]
mov ecx, edi
mov byte [esp + 0x1b4], 1
call fcn.0041df30
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x38]
mov ecx, edi
mov byte [esp + 0x1b4], 2
call fcn.0041df30
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x350], ebx
mov byte [esi + 0x354], bl
mov dword [esi + 0x35c], ebx
mov dword [esi + 0x360], ebx
mov dword [esi + 0x364], ebx
mov dword [esi + 0x36c], ebx
mov dword [esi + 0x370], ebx
mov dword [esi + 0x374], ebx
mov dword [esi + 0x37c], ebx
mov dword [esi + 0x380], ebx
mov dword [esi + 0x384], ebx
lea ecx, [esi + 0x38c]
push ecx
mov dword [esi + 0x388], 0x49baf8
call ebp
lea edi, [esi + 0x3a4]
mov ecx, edi
mov byte [esp + 0x1b4], 7
call fcn.00438d80
mov dword [edi + 4], eax
mov byte [eax + 0x21], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov eax, dword [esp + 0x1bc]
mov dword [esi + 0x3b0], eax
mov eax, dword [eax + 0x10]
add eax, 2
push eax
lea ecx, [esi + 0x3b4]
mov byte [esp + 0x1b8], 8
call fcn.00438ca0
lea edi, [esi + 0x3cc]
mov byte [esi + 0x3c8], bl
mov eax, 0x43e470
mov dword [edi], 0x49bafc
mov dword [edi + 4], ebx
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], eax
mov byte [edi + 0x18], 1
mov dword [esi + 0x3e8], ebx
lea edx, [esi + 0x400]
mov dword [esi + 0x3f0], ebx
mov dword [esi + 0x3f4], ebx
mov dword [esi + 0x3f8], ebx
push edx
mov dword [esi + 0x3fc], 0x49baf8
call ebp
lea eax, [esp + 0x18]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
push ebx
mov ecx, edi
mov dword [esi + 0x44], ebx
mov dword [esi + 0x148], ebx
mov dword [esi + 0x24c], ebx
call fcn.00438b90
mov eax, esi
mov ecx, dword [esp + 0x1ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004604af
add esp, 0x1a4
ret 4
Function at 0x43fc70
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
ret
Function at 0x440b00
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x49440c
mov eax, dword fs:[0]
push eax
sub esp, 0x140
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x154]
mov dword fs:[0], eax
mov edi, ecx
push 1
xor ebx, ebx
push 2
lea ecx, [esp + 0xdc]
mov byte [esp + 0x1f], bl
call fcn.00407f10
push ebx
lea eax, [esp + 0x20]
push eax
mov ecx, edi
mov dword [esp + 0x164], ebx
call fcn.00440530
push str.Global.db
push eax
lea ecx, [esp + 0xdc]
push ecx
mov byte [esp + 0x168], 1
call fcn.00407c90
add esp, 8
push eax
call fcn.0042d5c0
mov ebp, 0x10
add esp, 8
cmp dword [esp + 0x34], ebp
mov byte [esp + 0x15c], bl
jb 0x440b9f
mov edx, dword [esp + 0x20]
push edx
call fcn.004604e8
add esp, 4
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xd8]
call fcn.00405710
cmp dword [eax + 0x18], ebp
jb 0x440bba
mov eax, dword [eax + 4]
jmp 0x440bbd
add eax, 4
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp dword [esp + 0x50], ebp
mov esi, eax
jb 0x440be5
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004604e8
add esp, 4
cmp esi, 0xffffffff
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
jne 0x440ce6
push 1
push 2
lea ecx, [esp + 0x5c]
call fcn.00407f10
push 1
lea edx, [esp + 0x20]
push edx
mov ecx, edi
mov byte [esp + 0x164], 2
call fcn.00440530
push str.Global.db
push eax
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x168], 3
call fcn.00407c90
add esp, 8
push eax
call fcn.0042d5c0
add esp, 8
cmp dword [esp + 0x34], ebp
mov byte [esp + 0x15c], 2
jb 0x440c60
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004604e8
add esp, 4
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x58]
call fcn.00405710
cmp dword [eax + 0x18], ebp
jb 0x440c78
mov eax, dword [eax + 4]
jmp 0x440c7b
add eax, 4
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp dword [esp + 0x34], ebp
mov esi, eax
jb 0x440ca3
mov eax, dword [esp + 0x20]
push eax
call fcn.004604e8
add esp, 4
lea ecx, [esp + 0xa0]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov byte [esp + 0x15c], bl
call fcn.00403ad0
lea ecx, [esp + 0xa0]
push ecx
mov dword [esp + 0xa4], 0x49a288
call fcn.0047bd82
add esp, 4
cmp esi, 0xffffffff
je 0x440d12
mov eax, dword [esp + 0x164]
push ebx
lea edx, [esp + 0x1c]
push edx
push ebp
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x440d0b
cmp dword [esp + 0x18], ebp
jne 0x440d0b
mov byte [esp + 0x17], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x120]
mov dword [esp + 0x15c], 0xffffffff
call fcn.00403ad0
lea ecx, [esp + 0x120]
push ecx
mov dword [esp + 0x124], 0x49a288
call fcn.0047bd82
mov al, byte [esp + 0x1b]
add esp, 4
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14c
ret 4
Function at 0x441fc0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x5c], ecx
ret

Function at 0x4420c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x14]
mov dword [esp + 0x10], eax
mov eax, ebx
shr eax, 3
and eax, 0x3f
mov byte [eax + esi + 0x1c], 0x80
add eax, 1
cmp eax, 0x38
lea edx, [eax + esi + 0x1c]
jle 0x442112
mov ecx, 0x40
sub ecx, eax
push ecx
push 0
push edx
call fcn.00460a00
mov eax, esi
call fcn.004411e0
push 0x38
lea eax, [esi + 0x1c]
push 0
push eax
call fcn.00460a00
add esp, 0x18
jmp 0x442125
mov ecx, 0x38
sub ecx, eax
push ecx
push 0
push edx
call fcn.00460a00
add esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, eax
shr ecx, 0x18
mov byte [esi + 0x54], cl
mov edx, eax
mov ecx, eax
shr edx, 0x10
shr ecx, 8
mov byte [esi + 0x57], al
mov byte [esi + 0x55], dl
mov byte [esi + 0x56], cl
mov eax, ebx
shr eax, 0x10
mov edx, ebx
mov ecx, ebx
shr edx, 0x18
mov byte [esi + 0x59], al
shr ecx, 8
mov eax, esi
mov byte [esi + 0x58], dl
mov byte [esi + 0x5a], cl
mov byte [esi + 0x5b], bl
call fcn.004411e0
movzx edx, byte [esi + 3]
mov eax, dword [esp + 0xc]
mov byte [eax], dl
movzx ecx, byte [esi + 2]
mov byte [eax + 1], cl
movzx edx, byte [esi + 1]
mov byte [eax + 2], dl
movzx ecx, byte [esi]
mov byte [eax + 3], cl
movzx edx, byte [esi + 7]
mov byte [eax + 4], dl
movzx ecx, byte [esi + 6]
mov byte [eax + 5], cl
movzx edx, byte [esi + 5]
mov byte [eax + 6], dl
movzx ecx, byte [esi + 4]
mov byte [eax + 7], cl
movzx edx, byte [esi + 0xb]
mov byte [eax + 8], dl
movzx ecx, byte [esi + 0xa]
mov byte [eax + 9], cl
movzx edx, byte [esi + 9]
mov byte [eax + 0xa], dl
movzx ecx, byte [esi + 8]
mov byte [eax + 0xb], cl
movzx edx, byte [esi + 0xf]
mov byte [eax + 0xc], dl
movzx ecx, byte [esi + 0xe]
mov byte [eax + 0xd], cl
movzx edx, byte [esi + 0xd]
mov byte [eax + 0xe], dl
movzx ecx, byte [esi + 0xc]
mov byte [eax + 0xf], cl
movzx edx, byte [esi + 0x13]
mov byte [eax + 0x10], dl
movzx ecx, byte [esi + 0x12]
mov byte [eax + 0x11], cl
movzx edx, byte [esi + 0x11]
mov byte [eax + 0x12], dl
movzx ecx, byte [esi + 0x10]
pop esi
mov byte [eax + 0x13], cl
pop ebx
ret
Function at 0x444ba0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ebp, dword [esi + 4]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
xor bl, bl
call fcn.0041ea30
mov edi, eax
cmp esi, dword [edi]
je 0x444bca
call fcn.00460956
cmp ebp, dword [edi + 4]
je 0x444d11
mov ebp, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
lea edi, [esi + 0xc]
push eax
mov ecx, edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
call fcn.00443780
mov eax, dword [esp + 0x10]
test eax, eax
mov ecx, dword [edi + 4]
mov dword [esp + 0x1c], ecx
je 0x444c0a
cmp eax, edi
je 0x444c13
call fcn.00460956
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x1c]
je 0x444c60
test eax, eax
jne 0x444c2a
call fcn.00460956
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 4]
jne 0x444c38
call fcn.00460956
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x444d05
pop edi
pop esi
pop ebp
mov dword [ecx + 0x1c], eax
mov al, 1
pop ebx
add esp, 0x38
ret 0x10
cmp byte [esi + 0x19], 0
je 0x444cb2
mov edi, dword [esp + 0x54]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dl, byte [esp + 0x58]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x28], dl
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x28]
push ecx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], eax
mov byte [esp + 0x44], 1
call fcn.00444720
pop edi
mov byte [esi + 0x18], 1
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x38
ret 0x10
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dl, byte [esp + 0x58]
mov ecx, ebp
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x54]
mov byte [esp + 0x28], dl
mov dword [esp + 0x3c], ecx
mov edx, ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], edx
push ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], eax
call fcn.00443fe0
mov byte [esi + 0x18], 1
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x38
ret 0x10
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x38
ret 0x10
Function at 0x447e20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x494ad3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.std::locale::_Locimp.0
push esi
mov dword [esp + 0x18], 1
call fcn.0047bb37
add esp, 4
cmp dword [esi + 0x30], 0x10
jb 0x447e71
mov eax, dword [esi + 0x1c]
push eax
call fcn.004604e8
add esp, 4
xor eax, eax
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], eax
mov byte [esi + 0x1c], al
mov dword [esi], vtable.std::locale::facet.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x44a000
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x44a021
cmp byte [eax], 0
je 0x44a021
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x44a021
and al, 0x10
cmp al, 0x10
sete al
ret
xor al, al
ret

Function at 0x44a780
Capabilities:
Resolve dns

Disassembly:
mov ax, word [esp + 8]
push ebx
push edi
mov edi, dword [esp + 0xc]
mov ebx, ecx
push 1
push 0
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [ebx], 0
mov word [ebx + 4], ax
mov byte [esp + 0x1c], 0x2e
call fcn.00413280
cmp eax, 0xffffffff
je 0x44a80b
cmp dword [edi + 0x18], 0x10
push esi
lea esi, [edi + 4]
jb 0x44a7bf
mov eax, dword [esi]
jmp 0x44a7c1
mov eax, esi
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_inet_addr]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x44a7f5
cmp dword [edi + 0x18], 0x10
jb 0x44a7d8
mov esi, dword [esi]
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x44a7ec
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebx], ecx
pop ebp
pop esi
pop edi
mov eax, ebx
pop ebx
ret 8
cmp dword [edi + 0x18], 0x10
jb 0x44a7fd
mov esi, dword [esi]
push esi
call ebp
pop ebp
pop esi
mov dword [ebx], eax
pop edi
mov eax, ebx
pop ebx
ret 8
pop edi
mov dword [ebx], 0xffffffff
mov eax, ebx
pop ebx
ret 8

Function at 0x44aa00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x494dc8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
mov ecx, dword [esi]
test ecx, ecx
mov dword [esp + 0x30], 0
je 0x44aa73
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
push eax
mov ecx, 0x4b04f8
call fcn.004609da
test al, al
je 0x44aa73
mov esi, dword [esi]
add esi, 4
jmp 0x44aa75
xor esi, esi
cmp dword [esp + 0x20], 0x10
jb 0x44aa89
mov eax, dword [esp + 0xc]
push eax
call fcn.004604e8
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004604af
add esp, 0x2c
ret
Function at 0x44c840
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4950b8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov ebp, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 4], 0x49c190
mov dword [esi + 8], 0x49a968
lea eax, [esi + 0x10]
mov dword [esi], 0x49c1ec
mov dword [esi + 4], 0x49c1dc
mov dword [esi + 8], 0x49c1d8
push eax
mov dword [esi + 0xc], 0x49baf8
call ebp
xor ebx, ebx
lea ecx, [esi + 0x34]
mov dword [esp + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.00430230
lea ecx, [esi + 0x1f4]
mov byte [esp + 0x20], 1
call fcn.004045f0
lea edi, [esi + 0x384]
mov dword [esi + 0x370], ebx
mov dword [esi + 0x374], ebx
mov dword [esi + 0x378], ebx
mov dword [esi + 0x37c], ebx
mov dword [esi + 0x380], 1
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [esi + 0x394], ebx
mov word [esi + 0x398], bx
mov dword [esi + 0x39a], ebx
mov word [esi + 0x39e], bx
mov dword [esi + 0x3a0], ebx
mov byte [esi + 0x3a4], bl
mov dword [esi + 0x3a8], ebx
mov eax, 0xf
mov dword [esi + 0x3c4], eax
mov dword [esi + 0x3c0], ebx
mov byte [esi + 0x3b0], bl
mov dword [esi + 0x3e0], eax
mov dword [esi + 0x3dc], ebx
mov byte [esi + 0x3cc], bl
lea ecx, [esi + 0x3ec]
mov dword [esi + 0x3e4], 0x49c1d4
push ecx
mov dword [esi + 0x3e8], 0x49baf8
call ebp
mov eax, 0xf
mov dword [esi + 0x41c], eax
mov dword [esi + 0x418], ebx
mov byte [esi + 0x408], bl
mov dword [esi + 0x420], 3
mov dword [esi + 0x43c], eax
mov dword [esi + 0x438], ebx
mov byte [esi + 0x428], bl
push 0x408
lea ebp, [esi + 0x441]
push ebx
push ebp
mov byte [esi + 0x440], bl
call fcn.00460a00
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov byte [esi + 0x849], bl
mov byte [esi + 0x84a], bl
add esp, 0xc
mov dword [esi + 0x850], ebx
mov dword [esi + 0x854], ebx
mov dword [esi + 0x858], ebx
mov byte [esp + 0x20], 8
mov byte [esi + 0x85c], bl
push ebx
push 0x10
mov ecx, edi
mov dword [esi + 0x860], ebx
mov dword [esi + 0x864], ebx
mov dword [esi + 0x868], ebx
mov byte [esi + 0x86c], bl
call fcn.0044bf50
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x4544b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x495bce
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi], 0x49c658
mov dword [esp + 0x18], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 2
call fcn.0045b420
mov dword [esi + 0x78], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x454bd0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x454c38
mov ecx, dword [esi + 4]
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push ecx
call edi
mov eax, dword [esi + 0x2c]
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
je 0x454c13
mov edx, dword [eax + 4]
push edx
call ebx
test eax, eax
je 0x454c13
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 4]
push 0
push ecx
call edi
mov eax, dword [esi + 0x28]
test eax, eax
je 0x454c2f
mov edx, dword [eax + 4]
push edx
call ebx
test eax, eax
je 0x454c2f
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + 4]
push 0
push ecx
call edi
add dword [0x4b2d24], 1
pop edi
pop ebx
xor eax, eax
pop esi
ret 0x10

Function at 0x455220
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ebx, ebx
push ebx
mov ebp, ecx
call edi
push 1
mov esi, eax
call edi
push ebx
push str.Shell_TrayWnd
mov edi, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, ebx
je 0x455268
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x10]
cmp eax, ebx
jle 0x455283
sub eax, dword [esp + 0x18]
lea ecx, [edi - 0x100]
lea eax, [eax + esi - 0xcf]
jmp 0x4552b3
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
jle 0x455293
add ecx, 0xffffff00
jmp 0x4552ad
mov eax, dword [esp + 0x18]
cmp eax, edi
jge 0x4552a6
add eax, 3
lea ecx, [edi - 0x100]
jmp 0x4552b3
mov ecx, dword [esp + 0x1c]
add ecx, 1
lea eax, [esi - 0xcf]
mov edx, dword [ebp + 4]
push 0x10
push 0xff
push 0xcc
push ecx
push eax
push 0xfffffffffffffffe
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x455730
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5cc
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x5c8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, ecx
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x455776
mov ecx, dword [edi + 0x40]
sub ecx, eax
mov eax, 0x28c1979
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x45577b
call fcn.00460956
imul esi, esi, 0x324
add esi, dword [edi + 0x3c]
mov ecx, 0xc9
lea edi, [esp + 0x1a0]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x1a0]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4557de
push 0x104
lea ecx, [esp + 0x4cc]
push ecx
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExA
lea edx, [esp + 0x4c8]
push edx
push 0x49c764
call fcn.0046440e
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x100
push 0x160
lea eax, [esp + 0x48]
push eax
push 0
lea ecx, [esp + 0x4d8]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
jl 0x455809
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetIconInfo]
mov eax, dword [ebx]
mov edi, dword [esp + 0x3c]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebx]
push edx
mov esi, eax
call dword [sym.imp.GDI32.dll_SaveDC]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push 0x18
push edi
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push 3
push 0
push 0
push 0x10
push 0x10
push ecx
mov ecx, dword [ebx]
add edx, 0xc
push edx
add eax, 0xe
push eax
push ecx
call dword [sym.imp.USER32.dll_DrawIconEx]
push 0xffffffffffffffff
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
test esi, esi
je 0x4558a8
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x4558a8
xor esi, esi
mov edx, dword [ebx]
push 0xffffffffffffffff
push edx
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [esp + 0x3c]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call ebx
mov ecx, dword [esp + 0x38]
push ecx
call ebx
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
test esi, esi
je 0x4558dd
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
test edi, edi
je 0x4558e4
push edi
call ebx
mov ecx, dword [esp + 0x5d4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004604af
mov esp, ebp
pop ebp
ret 0x18