joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404de0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45c558
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x10]
push 2
push 0
push 0
push eax
push 0x474190
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
mov dword [esp + 8], 0xffffffff
lea ecx, [esp + 0x10]
jae 0x404e36
call fcn.0044b9d9
xor al, al
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret 4
call fcn.0044b9d9
mov ecx, dword [esp]
mov al, 1
mov dword fs:[0], ecx
add esp, 0xc
ret 4
Function at 0x41a970
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [sym.imp.user32.dll_SendMessageA]
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
push 0x40000
mov eax, dword [esi + 0x74]
push edi
push 0x445
push eax
call ebx
mov ecx, dword [esi + 0x1c]
push edi
push edi
push 0x419
push ecx
mov dword [esi + 0x98], edi
mov dword [esi + 0x94], edi
mov dword [esp + 0x24], edi
call ebx
cmp eax, edi
jge 0x41a9ba
push edi
call dword [sym.imp.user32.dll_GetSystemMetrics]
mov dword [esp + 0x10], edi
lea ebp, [eax + eax]
mov edx, dword [esp + 0x14]
push 1
push 1
lea ecx, [esi + 0x58]
lea eax, [edx + ebp]
mov dword [esp + 0x2c], 1
cdq
sub eax, edx
mov edi, eax
xor eax, eax
sar edi, 1
push edi
push eax
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edi
call fcn.0044b060
mov ecx, dword [esi + 0x74]
lea eax, [esp + 0x18]
push eax
push 0
push 0xb3
push ecx
call ebx
mov edx, dword [esi + 0x74]
push 0
push 0
push 0x441
push edx
call ebx
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x41aa27
mov eax, dword [esi + 0x98]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x98]
cmp eax, ecx
jle 0x41aa3c
inc edi
mov dword [esp + 0x14], edi
jmp 0x41aa3f
lea ebp, [edi - 1]
cmp dword [esp + 0x14], ebp
jl 0x41a9c1
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x98]
cmp eax, edx
jle 0x41aa9b
xor edi, edi
inc ebp
push 1
push 1
push ebp
push edi
push edi
lea ecx, [esi + 0x58]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], 1
call fcn.0044b060
mov ecx, dword [esi + 0x74]
lea eax, [esp + 0x18]
push eax
push edi
push 0xb3
push ecx
call ebx
mov edx, dword [esi + 0x74]
push edi
push edi
push 0x441
push edx
call ebx
mov ebp, dword [esi + 0x98]
mov eax, dword [esi + 0x94]
mov ecx, 2
push 1
add ebp, ecx
add eax, ecx
mov ecx, ebp
mov dword [esi + 0x94], eax
push ecx
push eax
push 0
push 0
lea ecx, [esi + 0x58]
mov dword [esi + 0x98], ebp
call fcn.0044b060
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x94]
pop edi
mov dword [eax], ecx
mov edx, dword [esi + 0x98]
pop esi
pop ebp
mov dword [eax + 4], edx
pop ebx
add esp, 0x18
ret 4
Function at 0x4227ba
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x4227ca
xor eax, eax
jmp 0x422993
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x42294b
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x462900]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x462900]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x462900]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x462900]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x462900]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x462900]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x462900]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x462900]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0x4227d3
cmp dword [ebp + 0x10], 0
je 0x42298d
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0x462900]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0x422951
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x432c7f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x432c9f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.00434381
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x432cc2
test byte [esp + 8], 2
je 0x432cc2
call fcn.004343f4
mov dword [eax], 0xd
call fcn.004343fd
mov dword [eax], 5
jmp 0x432c9b
xor eax, eax
ret

Function at 0x439c51
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x479a90
cmp edx, dword [eax]
je 0x439c73
add eax, 8
inc ecx
cmp eax, 0x479b20
jl 0x439c64
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x479a90]
jne 0x439da1
mov eax, dword [0x47c920]
cmp eax, 1
je 0x439d7b
test eax, eax
jne 0x439ca4
cmp dword [0x479034], 1
je 0x439d7b
cmp edx, 0xfc
je 0x439da1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x439cdb
lea eax, [ebp - 0x1a4]
push 0x467598
push eax
call fcn.004332d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004333c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x439d1e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004333c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x467594
push edi
call fcn.00432500
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x467578
push eax
call fcn.004332d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004332e0
lea eax, [ebp - 0xa0]
push 0x467574
push eax
call fcn.004332e0
push dword [esi + 0x479a94]
lea eax, [ebp - 0xa0]
push eax
call fcn.004332e0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x46754c
push eax
call fcn.0043c298
add esp, 0x2c
pop edi
jmp 0x439da1
lea eax, [ebp + 8]
lea esi, [esi + 0x479a94]
push 0
push eax
push dword [esi]
call fcn.004333c0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop esi
leave
ret
Function at 0x43dc30
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4603bb
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
mov ebx, ecx
push ebp
push esi
mov esi, dword [ebx + 0xc]
xor ebp, ebp
mov eax, esi
dec esi
test eax, eax
push edi
je 0x43dc9d
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + esi*4]
mov edi, dword [edx + 4]
test edi, edi
je 0x43dc8e
mov eax, dword [edi + 0x1c]
push eax
call dword [sym.imp.user32.dll_IsWindow]
test eax, eax
je 0x43dc8e
mov ecx, edi
call fcn.0044b045
cmp eax, dword [esp + 0xcc]
jne 0x43dc8e
mov ecx, dword [ebx + 8]
mov ebp, dword [ecx + esi*4]
mov edx, esi
dec esi
test edx, edx
jne 0x43dc5d
test ebp, ebp
jne 0x43de23
mov esi, dword [esp + 0xd0]
test esi, esi
je 0x43dcae
mov dword [esp + 0x10], esi
jmp 0x43dcc9
mov ecx, dword [ebx + 0x18]
mov eax, dword [esp + 0xcc]
push eax
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 0x10], eax
mov esi, eax
push esi
call fcn.00448837
mov ebp, eax
xor eax, eax
test ebp, ebp
setne al
mov edi, eax
test edi, edi
jne 0x43dd17
push 0x3c
call fcn.0044b71a
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0xc4], edi
je 0x43dd00
mov ecx, eax
call fcn.004483ef
jmp 0x43dd02
xor eax, eax
push esi
mov ecx, eax
mov dword [esp + 0xc8], 0xffffffff
mov ebp, eax
call fcn.00448855
mov edx, dword [ebp + 0x1c]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.user32.dll_GetWindowRect]
mov ecx, dword [ebx + 0x18]
lea eax, [esp + 0x1c]
push eax
call fcn.0044f418
push 0x40
call fcn.0044b71a
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov dword [esp + 0xc4], 1
je 0x43dd83
mov ecx, dword [esp + 0xd4]
push ecx
lea ecx, [esp + 0x30]
call fcn.0043eba0
xor edx, edx
lea eax, [esp + 0x1c]
test edi, edi
sete dl
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
push ebp
mov ecx, esi
call fcn.0043e520
mov dword [esp + 0x14], eax
jmp 0x43dd8b
mov dword [esp + 0x14], 0
mov edi, dword [ebx + 0xc]
lea esi, [ebx + 4]
push 0xffffffffffffffff
mov ecx, esi
lea edx, [edi + 1]
mov dword [esp + 0xc8], 0xffffffff
push edx
call fcn.0043e7f0
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x3c]
mov dword [eax + edi*4], ecx
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x3c]
push 0x80
push edx
rep stosd dword es:[edi], eax
push esi
call dword [sym.imp.user32.dll_GetWindowTextA]
test byte [ebx + 0x1c], 0x20
jne 0x43de33
lea eax, [esp + 0x14]
push 8
push eax
push esi
call dword [sym.imp.user32.dll_GetClassNameA]
mov ecx, ebp
call fcn.0044af59
lea ecx, [esp + 0x14]
push 0x47a0fc
push ecx
mov ebx, eax
call fcn.0043ac10
add esp, 8
test eax, eax
jne 0x43de33
test bl, 7
je 0x43de33
test ebx, 0x10000
jne 0x43de33
push 0x17
push 0x20
push eax
mov ecx, ebp
call fcn.0044afbe
jmp 0x43de33
mov edx, dword [esp + 0xd4]
lea ecx, [ebp + 8]
push edx
call fcn.0043ebc0
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb8
ret 0xc
Function at 0x4448b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.user32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004323a0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x44497b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.user32.dll_GetWindowTextA]
test eax, eax
je 0x44497b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x44492e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x444939
or bh, 8
and edi, 0x8000000
je 0x444954
mov eax, dword [0x47e53c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.user32.dll_DrawTextA]
test edi, edi
je 0x44497b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x444d50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov edi, eax
test edi, edi
jne 0x444d7b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov esi, eax
test esi, esi
jne 0x444d9f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x444dba
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.user32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.user32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x4491be
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4491f6
push dword [esi + 0x1c]
call dword [sym.imp.user32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0044be80
push eax
push dword [esi + 0x1c]
call dword [sym.imp.user32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0044be58
jmp 0x449202
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x44a7d3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x44a815
call fcn.00453ab5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, edi
je 0x44a815
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
jne 0x44a80c
xor eax, eax
jmp 0x44a81d
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource_1]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0044a823
pop edi
pop esi
pop ebx
ret 4

Function at 0x45201c
Capabilities:
Create http request

Disassembly:
mov eax, 0x45f304
call fcn.00433b64
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], 0x464a5c
jne 0x452054
call fcn.00453ab5
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.wininet.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x452079
push eax
push dword [esi + 4]
call fcn.00453113
push esi
push eax
mov ecx, 0x47c3a0
call fcn.00452096
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x4523ab
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x45f377
call fcn.00433b64
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0044e4a1
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x477f70]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], 0x464a74
call fcn.0044bb62
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.0044bb62
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x452447
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x45f39f
call fcn.00433b64
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0044e4a1
mov eax, dword [0x477f70]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], 0x464a74
mov ecx, 0x47c3a0
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.00452096
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.0044bb62
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.00429cbf
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.0044bb12
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.0044b9d9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x406440
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x41d68b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x404194
call fcn.00408fb4
push 4
mov dword [esp + 0x18], 0
call fcn.0040a773
mov edi, eax
add esp, 4
test edi, edi
je 0x4064b4
push ebx
call fcn.00408daf
mov dword [edi], eax
call fcn.00408b6e
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00408f75
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4064a8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00408f9d
pop ebx
jmp 0x4064b6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x40b26b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4203ec]
jne 0x40b275
repz ret
jmp fcn.004120cc
Function at 0x4177f4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4203ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00410ce7
and dword [ebp - 0x14], 0
cmp dword [0x437fb0], 0
mov dword [ebp - 0x18], eax
jne 0x4178a7
push 0x403f30
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41794f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403f24
push ebx
call edi
test eax, eax
je 0x41794f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403f14
push ebx
mov dword [0x437fb0], eax
call edi
push eax
call esi
push 0x403f00
push ebx
mov dword [0x437fb4], eax
call edi
push eax
call esi
push 0x403ee4
push ebx
mov dword [0x437fb8], eax
call edi
push eax
call esi
mov dword [0x437fc0], eax
test eax, eax
je 0x4178a7
push 0x403ecc
push ebx
call edi
push eax
call esi
mov dword [0x437fbc], eax
mov eax, dword [0x437fbc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x417900
cmp dword [0x437fc0], ecx
je 0x417900
push eax
call esi
push dword [0x437fc0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x417900
test ebx, ebx
je 0x417900
call edi
test eax, eax
je 0x4178f7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4178f7
test byte [ebp - 8], 1
jne 0x417900
or dword [ebp + 0x10], 0x200000
jmp 0x417933
mov eax, dword [0x437fb4]
cmp eax, dword [ebp - 0x18]
je 0x417933
push eax
call esi
test eax, eax
je 0x417933
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x417933
mov eax, dword [0x437fb8]
cmp eax, dword [ebp - 0x18]
je 0x417933
push eax
call esi
test eax, eax
je 0x417933
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x437fb0]
call esi
test eax, eax
je 0x41794f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x417951
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b26b
leave
ret