joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f9d0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x43fab3
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x43fa6e
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x43fa57
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x43fa6c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [eax], 0x3fd52a42
jmp 0x43fab1
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push 0x3f44
push dword [ebp - 0x54]
push 0x3c7d
push 0
push 0
push dword [ebp - 0x58]
call fcn.0043074b
add esp, 0x24
jmp 0x43fb26
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x43fad9
push 1
call fcn.0042f52b
pop ecx
jmp 0x43fb26
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x43fb0f
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x43fb0d
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
jmp 0x43fb26
mov byte [ebp - 1], 0
push 0x5ff6
lea eax, [ebp - 1]
push eax
push 0
call fcn.004369d8
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x43ff0d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x440018
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x43ffc3
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x43ff9e
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, dword [ecx]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [ecx + 4], eax
jmp 0x43ffc1
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x43ffc1
push 0
push 0x2588
call dword [sym.imp.GDI32.dll_CreateHatchBrush]
jmp 0x440016
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x43ffdd
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x440016
mov byte [ebp - 1], 0
push 0x58ff
push 1
push 0x7317
push 0
push 0x7284
push 0x20d
push 0x50c
lea eax, [ebp - 1]
push eax
push 1
push 0x56d4
push 0x112
call fcn.0043f4bd
add esp, 0x2c
jmp 0x44003b
push 0
push 0x5be9
push 0x5924
push 0x7a03
push 0x3e2a
push 0x1c24
call fcn.00431bdd
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x4400af
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x44015a
lea eax, [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x4400f7
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
push 0x720f
push 1
push dword [ebp - 0x10]
call fcn.00440194
add esp, 0xc
jmp 0x440158
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x440150
mov byte [ebp - 1], 0
push 1
push 0x388f
push 0x3ad9
push 0xef
push 0
push 0x7744
push 1
push 0xda3
push 1
push 0x7f15
push 0x437
lea eax, [ebp - 1]
push eax
push 1
push 0x29fe
push 0x1818
call fcn.0043e6f6
add esp, 0x3c
jmp 0x440158
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
jmp 0x440190
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
push 0x7d45
push 0x5476
push dword [ebp - 0x1c]
push 0x6add
push 0x2bd
push 0x3466
push 0
push 0x1213
push 0x3822
call fcn.0042a1c0
add esp, 0x24
mov esp, ebp
pop ebp
ret
Function at 0x46f603
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x47d5df
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x490484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0046d464
mov dword [ebp - 0x14], eax
cmp dword [0xa8a230], esi
jne 0x47d6d2
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x47d65f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x47d7b2
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x47d7b2
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47d7b2
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xa8a230], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xa8a234], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xa8a238], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa8a240], eax
test eax, eax
je 0x47d6cf
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa8a23c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x47d6f7
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x47d6ea
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x47d70c
push 4
pop eax
jmp 0x47d7b4
cmp dword [ebp - 0x14], esi
je 0x47d70c
push dword [0xa8a230]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x47d6f1
mov eax, dword [0xa8a23c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x47d76a
cmp dword [0xa8a240], edi
je 0x47d76a
push eax
call ebx
push dword [0xa8a240]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x47d76a
test eax, eax
je 0x47d76a
call ecx
test eax, eax
je 0x47d75f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x47d75f
test byte [ebp - 8], 1
jne 0x47d76a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x47d79a
mov eax, dword [0xa8a234]
cmp eax, edi
je 0x47d797
push eax
call ebx
test eax, eax
je 0x47d797
call eax
mov esi, eax
test esi, esi
je 0x47d797
mov eax, dword [0xa8a238]
cmp eax, edi
je 0x47d797
push eax
call ebx
test eax, eax
je 0x47d797
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xa8a230]
call ebx
test eax, eax
je 0x47d7b2
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x47d7b4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046c90b
mov esp, ebp
pop ebp
ret
Function at 0x401030
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401049
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401084
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401080
lea ebx, [ebx]
cmp esi, eax
jae 0x401084
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401070
cmp esi, eax
jb 0x40108a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x403500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43e7c8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x451530]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x30], 0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x40354d
mov eax, dword [eax]
jmp 0x40354f
xor eax, eax
mov ecx, dword [esi]
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0xb0]
push esi
call eax
test eax, eax
jge 0x403570
push 0x446400
push esi
push eax
call fcn.0043cad0
push 0x10
lea ecx, [esp + 0x10]
push ecx
push 0x10
push ebx
call fcn.00428d36
mov esi, dword [esp + 0x44]
xor edx, edx
add esp, 0x10
mov word [esp + 0xc], dx
test esi, esi
je 0x4035c9
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4035c9
test esi, esi
je 0x4035c9
mov eax, dword [esi]
test eax, eax
je 0x4035b0
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4035c0
push eax
call fcn.0040a6f1
add esp, 4
push esi
call fcn.0040a6f1
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 4
Function at 0x404860
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
sub esp, 0x40c
mov eax, dword [0x451530]
xor eax, esp
mov dword [esp + 0x408], eax
push esi
mov esi, ecx
mov ecx, edi
call fcn.004027b0
push 0
push 0
push 0
push 0
push str.UrlTest
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esp + 8], eax
test eax, eax
je 0x404948
push 0
push 0x4000000
push 0
push 0
push esi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
je 0x40492d
push ebp
mov ebp, dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [esp + 8], 1
lea eax, [esp + 8]
push eax
push 0x3ff
lea ecx, [esp + 0x18]
push ecx
push esi
call ebp
mov edx, dword [esp + 8]
lea eax, [esp + 0x10]
mov byte [esp + edx + 0x10], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4048e7
sub eax, edx
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.00405790
cmp dword [esp + 8], 0
ja 0x4048c5
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop ebp
xor eax, eax
pop esi
mov ecx, dword [esp + 0x408]
xor ecx, esp
call fcn.004286dd
add esp, 0x40c
ret
mov eax, 0x19a
pop esi
mov ecx, dword [esp + 0x408]
xor ecx, esp
call fcn.004286dd
add esp, 0x40c
ret
mov ecx, dword [esp + 0x40c]
pop esi
xor ecx, esp
mov eax, 0x1a0
call fcn.004286dd
add esp, 0x40c
ret
Function at 0x408ec0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43ee51
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x451530]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], 0
mov eax, dword [eax]
push 0x8020
push eax
lea ecx, [esp + 0x18]
call fcn.00418c13
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x28], 1
call fcn.00408f50
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
mov byte [esp + 0x28], 0
call fcn.0041871f
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret

Function at 0x408f50
Capabilities:
Hash data with md5

Disassembly:
push ebp
lea ebp, [esp - 0x460]
sub esp, 0x460
push 0xffffffffffffffff
push 0x43ee08
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x451530]
xor eax, ebp
mov dword [ebp + 0x45c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
push 0x40
lea eax, [ebp + 4]
push edi
mov dword [ebp - 4], edi
push eax
mov ebx, ecx
mov esi, edx
mov dword [ebp - 0x1c], edi
mov dword [ebp], vtable.CMD5Checksum.0
call fcn.0042afc0
add esp, 0xc
mov dword [ebp + 0x48], edi
mov dword [ebp + 0x44], edi
mov dword [ebp + 0x4c], 0x67452301
mov dword [ebp + 0x50], 0xefcdab89
mov dword [ebp + 0x54], 0x98badcfe
mov dword [ebp + 0x58], 0x10325476
mov byte [ebp - 4], 1
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
push 0x400
lea eax, [ebp + 0x5c]
push eax
mov ecx, esi
call edx
cmp eax, edi
jle 0x408ff8
lea ecx, [ebp + 0x5c]
push ecx
lea ecx, [ebp]
call fcn.004099b0
jmp 0x408fd4
push ebx
lea ecx, [ebp]
call fcn.00409730
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x45c]
xor ecx, ebp
call fcn.004286dd
add ebp, 0x460
mov esp, ebp
pop ebp
ret

Function at 0x40d247
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x40d28f
call fcn.0041674a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40d28f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x40d2d2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x40d2bb
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x40d2bb
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x40d2cf
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x40ee30
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x43d74d
call fcn.0042b63b
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40ee55
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x40ee9b
lea ecx, [ebp - 0x10]
call fcn.00401ea0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040cbe5
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004010e0
mov eax, esi
call fcn.0042b713
ret 8

Function at 0x4146ed
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x414734
call fcn.0041674a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x414734
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x414750
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00414267
mov esi, eax
test edi, edi
je 0x41474e
test ebx, ebx
je 0x41474e
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x415d7c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x415da0
cmp dword [edi + 0x54], 0
jne 0x415da0
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0041674a
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00415d3d
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x417671
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x41769c
call fcn.0041674a
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]
mov dword [esi + 8], eax
test eax, eax
jne 0x4176bf
push eax
push dword [esi + 4]
call fcn.004175f7
push esi
push eax
mov ecx, 0x455870
call fcn.004172ab
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x4286dd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x451530]
jne 0x4286e7
repz ret
jmp fcn.0042e92f
Function at 0x438edd
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042fb6c
and dword [ebp - 4], 0
cmp dword [0x456644], 0
mov ebx, eax
jne 0x438f8e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43903f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x445510
push edi
call esi
test eax, eax
je 0x43903f
push eax
call fcn.0042fafa
mov dword [esp], 0x445500
push edi
mov dword [0x456644], eax
call esi
push eax
call fcn.0042fafa
mov dword [esp], 0x4454ec
push edi
mov dword [0x456648], eax
call esi
push eax
call fcn.0042fafa
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45664c], eax
call esi
push eax
call fcn.0042fafa
pop ecx
mov dword [0x456654], eax
test eax, eax
je 0x438f8e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042fafa
pop ecx
mov dword [0x456650], eax
mov eax, dword [0x456650]
cmp eax, ebx
je 0x438fe6
cmp dword [0x456654], ebx
je 0x438fe6
push eax
call fcn.0042fb75
push dword [0x456654]
mov esi, eax
call fcn.0042fb75
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x438fe6
test edi, edi
je 0x438fe6
call esi
test eax, eax
je 0x438fdd
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x438fdd
test byte [ebp - 0xc], 1
jne 0x438fe6
or dword [ebp + 0x10], 0x200000
jmp 0x43901f
mov eax, dword [0x456648]
cmp eax, ebx
je 0x43901f
push eax
call fcn.0042fb75
pop ecx
test eax, eax
je 0x43901f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43901f
mov eax, dword [0x45664c]
cmp eax, ebx
je 0x43901f
push eax
call fcn.0042fb75
pop ecx
test eax, eax
je 0x43901f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x456644]
call fcn.0042fb75
pop ecx
test eax, eax
je 0x43903f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x439041
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10002893
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor esi, esi
push esi
push 4
push dword [ebp + 0x1c]
mov dword [ebp - 8], esi
push dword [ebp + 0x18]
push 0x100000
push dword [ebp + 0x10]
call fcn.10006912
mov edi, eax
add esp, 0x18
mov dword [ebp - 4], edi
test edi, edi
jne 0x100028f9
cmp dword [ebp + 0x14], 2
jne 0x10002959
lea eax, [ebp - 4]
mov dword [ebp - 8], 1
push eax
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.10002963
add esp, 0x10
test eax, eax
je 0x100028f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 4]
jmp 0x1000293f
mov edi, dword [ebp - 4]
cmp dword [ebp + 8], esi
je 0x1000292d
cmp dword [ebp + 0xc], esi
je 0x1000292d
push dword [ebp - 8]
push 0x20196
push dword [ebp + 0xc]
call fcn.100037e2
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call fcn.10003cf0
add esp, 0x18
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x10002941
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test edi, edi
je 0x1000294c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
mov eax, esi
pop esi
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1000294c