joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406d40
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b850
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x461978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
xor edi, edi
push 0x40
mov word [esi + 0xaa], di
mov byte [esi + 0xa8], 1
mov word [esi + 0x324], di
mov dword [ebp - 4], edi
call fcn.00411875
add esp, 4
mov dword [esi + 0x94], eax
jmp 0x406dc8
mov eax, dword [esi + 0x94]
mov dword [esi + 0x90], eax
mov dword [esi + 0x2b8], edi
mov dword [esi + 0x2bc], edi
mov dword [esi + 0x98], 0x67452301
mov dword [esi + 0x9c], 0xefcdab89
mov dword [esi + 0xa0], 0x98badcfe
mov dword [esi + 0xa4], 0x10325476
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x407b10
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x44c5b7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x461978]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [edi], 0x454a30
mov dword [edi + 8], 0x454a38
mov dword [edi + 0x5c], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 0xc]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x18], 1
call fcn.00408d50
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
call fcn.00409550
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
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], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x4660c4]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x409550
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x44ba3b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x461978]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00449a50
push 4
mov dword [esp + 0x20], 0
call fcn.0041184a
mov edi, eax
add esp, 4
test edi, edi
je 0x4095d0
call fcn.00449803
mov dword [edi], eax
call fcn.00449637
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00449ad5
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4095c5
add eax, 1
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00449af6
jmp 0x4095d2
xor edi, 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
mov dword [esi + 0x38], edi
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 eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x409df0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44c318
mov eax, dword fs:[0]
push eax
sub esp, 8
push edi
mov eax, dword [0x461978]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
push 0xf003f
push 0
push 0
mov dword [esp + 0x30], 0
mov edi, dword [esp + 0x38]
mov edx, dword [esi + 4]
push 0
push edi
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x409e87
lea eax, [edi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409e72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x14
ret 4
cmp dword [esi + 8], 0
jne 0x409e98
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x20]
lea ecx, [esi + 0xc]
push eax
call fcn.00403670
lea eax, [edi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409ed4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x14
ret 4
Function at 0x409ef0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
lea ecx, [esp + 4]
push ecx
push 1
mov esi, eax
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov dword [esi], eax
je 0x409f3c
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409f33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop esi
add esp, 8
ret 4
mov edx, dword [esp + 4]
push edi
mov edi, dword [esp + 0x14]
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push edi
push edx
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esi], eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi - 0x10]
or edx, 0xffffffff
cmp dword [esi], 0
lea ecx, [eax + 0xc]
jne 0x409f9c
mov esi, dword [esp + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409f92
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, esi
pop esi
add esp, 8
ret 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409faf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
xor eax, eax
pop esi
add esp, 8
ret 4
Function at 0x409fc0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x44c2e0
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x461978]
xor eax, esp
mov dword [esp + 0x210], eax
push ebp
push esi
push edi
mov eax, dword [0x461978]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], 0
mov eax, 1
mov dword [esp + 0x22c], eax
mov esi, dword [esp + 0x234]
push ecx
mov dword [esp + 0x14], esp
add esi, 0xfffffff0
mov ebp, esp
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0xff
mov dword [esp + 0x1c], eax
call fcn.004036f0
add eax, 0x10
mov dword [ebp], eax
add esp, 4
mov eax, edi
call fcn.00409ef0
cmp eax, 1
mov dword [esp + 0x18], eax
je 0x40a0bb
cmp eax, 2
je 0x40a0bb
mov edi, dword [esp + 0x238]
add edi, 0xfffffff0
push edi
call fcn.004036f0
add eax, 0x10
mov dword [ebx], eax
add esp, 4
mov byte [esp + 0x22c], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a08e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [esp + 0x22c], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a17f
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
jmp 0x40a17f
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 4]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov dword [edi], eax
jne 0x40a055
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x238]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov dword [edi], eax
je 0x40a10d
xor edi, edi
jmp 0x40a111
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x40a055
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call fcn.00403410
mov byte [esp + 0x22c], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a151
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [esp + 0x22c], 0xffffffff
mov eax, dword [esp + 0x238]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a17f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.004306d1
add esp, 0x220
ret 8
Function at 0x40a1b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push edi
lea edx, [esp + 4]
push edx
mov edi, ecx
mov ecx, 4
push 0x20019
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 4]
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40a1f5
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
jmp 0x40a23d
push esi
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40a21f
mov dword [esp + 0xc], edi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0xc]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop esi
test edx, edx
jg 0x40a24b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
pop edi
add esp, 0x10
ret 4

Function at 0x40a310
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x324
mov eax, dword [0x461978]
xor eax, esp
mov dword [esp + 0x320], eax
mov eax, dword [esp + 0x328]
mov eax, dword [eax]
push edi
push eax
push 0x190
lea eax, [esp + 0xc]
push eax
push 0x4541d4
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, eax
lea eax, [esp + 4]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40a350
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00403170
mov ecx, dword [esp + 0x324]
mov eax, edi
pop edi
xor ecx, esp
call fcn.004306d1
add esp, 0x324
ret 4

Function at 0x40a390
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x54
mov eax, dword [0x461978]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
push ebp
mov ebp, dword [esp + 0x5c]
push esi
push eax
push 0x4541cc
lea edx, [esp + 0x10]
mov esi, ecx
call fcn.0040a400
mov esi, dword [esi]
add esp, 8
push esi
push 0x64
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x14]
push edx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, eax
lea eax, [esp + 0x30]
push eax
call fcn.00431f7a
mov ecx, dword [esp + 0x5c]
add esp, 4
mov dword [ebp], eax
mov eax, esi
pop esi
pop ebp
xor ecx, esp
call fcn.004306d1
add esp, 0x54
ret 8
Function at 0x411330
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
call fcn.0041e245
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x14]
movzx ecx, word [esp + 0x10]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x41135d
pop edi
pop esi
pop ebp
ret 0xc
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x41137d
pop ebx
pop edi
pop esi
pop ebp
ret 0xc
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push esi
push eax
call fcn.004377b0
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, dword [esp + 0x1c]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x4113d4
lea eax, [esi + 4]
push eax
push ebx
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [esi + 8], eax
jmp 0x4113d6
xor esi, esi
push edi
mov dword [ebp], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop ebx
xor eax, eax
cmp dword [ebp], eax
pop edi
pop esi
setne al
pop ebp
ret 0xc
Function at 0x41285d
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x1f4]
sub esp, 0x274
mov eax, dword [0x461978]
xor eax, ebp
mov dword [ebp + 0x1f0], eax
cmp dword [ebp + 0x200], 0x800
mov eax, dword [ebp + 0x1fc]
push esi
mov dword [ebp - 0x40], eax
mov esi, ecx
lea eax, [ebp + 0x1e8]
jne 0x4128fb
push 0x44dcac
push 4
push eax
call fcn.00432a16
push eax
call fcn.00402f20
add esp, 0x10
push ebx
push edi
call fcn.00432ad3
mov edi, dword [eax]
call fcn.00432ad3
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp + 0x1e8]
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00431b7c
add esp, 0x18
mov dword [ebp - 0x40], eax
call fcn.00432ad3
cmp dword [eax], ebx
je 0x412912
call fcn.00432ad3
push dword [eax]
call fcn.00412807
pop ecx
jmp 0x412919
push 4
push eax
push 3
push dword [ebp + 0x200]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4128ac
jmp 0x41298b
call fcn.00432ad3
mov dword [eax], edi
cmp dword [ebp - 0x40], 0xffffffff
je 0x412987
cmp dword [ebp - 0x40], esi
jae 0x412987
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], 0x40
call fcn.00432680
add esp, 0xc
push 0x44da0c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x412979
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x412979
lea ecx, [ebp - 0x80]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x412979
push ebx
push ebx
push esi
jmp 0x41297f
push ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x412989
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x1f0]
xor ecx, ebp
pop esi
call fcn.004306d1
add ebp, 0x1f4
leave
ret
Function at 0x413593
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x4135d9
call fcn.0041e245
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4135d9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41361c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x413605
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 0x413605
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x413619
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 0x4148ff
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x44a303
call fcn.004323f9
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.0041e245
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x41494a
call fcn.0041e245
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x41495b
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x414968
or eax, 0xffffffff
jmp 0x414ac4
mov ecx, esi
call fcn.00414446
mov dword [ebp - 0x14], eax
call fcn.00419308
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x4149e6
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x4149e6
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4149e6
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00411ba1
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x4149e6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x4149e6
mov ecx, ebx
call fcn.0041bf3c
test eax, eax
je 0x4149e6
push 0
mov ecx, ebx
call fcn.0041bf57
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0041ac30
push dword [ebp - 0x14]
call fcn.00419260
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.00414707
xor edi, edi
cmp eax, edi
je 0x414a43
test byte [esi + 0x3c], 0x10
je 0x414a2d
push 4
pop edi
mov ecx, esi
call fcn.0041be23
test ax, 0x100
je 0x414a23
push 5
pop edi
push edi
mov ecx, esi
call fcn.00418df6
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x414a43
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0041c105
or dword [ebp - 4], 0xffffffff
jmp 0x414a6e
cmp dword [ebp - 0x28], edi
je 0x414a7c
push 1
mov ecx, ebx
call fcn.0041bf57
cmp dword [ebp - 0x2c], edi
je 0x414a8c
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x414aa5
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x414aa5
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.00414480
cmp dword [esi + 0x58], edi
je 0x414ac1
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.0043249e
ret
Function at 0x41bd4a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x41bd8d
call fcn.0041e245
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41bd8d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41bda8
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0041b904
test ebx, ebx
mov esi, eax
je 0x41bda6
test edi, edi
je 0x41bda6
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x41e8c1
Capabilities:
Create http request

Disassembly:
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]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x41e8ea
call fcn.0041e245
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_InternetOpenW]
test eax, eax
mov dword [esi + 8], eax
jne 0x41e90d
push eax
push dword [esi + 4]
call fcn.0041e84c
push esi
push eax
mov ecx, 0x464ef4
call fcn.0041e4fb
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x41f099
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x44a83d
call fcn.004323c6
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0041f05b
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00403760
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
test eax, eax
mov dword [esi + 4], eax
jne 0x41f0ff
push eax
push dword [esi + 8]
call fcn.0041e84c
push dword [esi + 0xc]
mov ecx, 0x464ef4
push eax
call fcn.0041e4fb
mov eax, esi
call fcn.0043249e
ret 0x18

Function at 0x42c01a
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x42c023
xor eax, eax
jmp 0x42c08c
cmp dword [esp + 8], 0
jne 0x42c02f
call fcn.00415e46
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.00435f93
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x42c06a
push dword [esi + 0x10]
call fcn.00435c99
test eax, eax
pop ecx
jne 0x42c06a
mov esi, dword [esi + 0xc]
call fcn.00432ae6
push esi
push dword [eax]
push 1
call fcn.0042a8e6
push dword [esi + 0x10]
call fcn.00435cc8
test eax, eax
pop ecx
je 0x42c089
push dword [esi + 0x10]
call fcn.00435bed
push eax
call fcn.00402f20
pop ecx
pop ecx
jmp 0x42c058
mov eax, edi
pop edi
pop esi
ret 8
Function at 0x42c095
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x42c09f
call fcn.00415e46
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00430f29
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x42c0cc
mov esi, dword [esi + 0xc]
call fcn.00432ae6
push esi
push dword [eax]
push 1
call fcn.0042a8e6
pop esi
ret 8

Function at 0x4306d1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x461978]
jne 0x4306db
repz ret
jmp fcn.0043aad3