joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416bd0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x45bdab
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x47aab0]
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.00459764
push 4
mov dword [esp + 0x20], 0
call fcn.0041b237
mov edi, eax
add esp, 4
test edi, edi
je 0x416c50
call fcn.00459437
mov dword [edi], eax
call fcn.0045926b
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00459573
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x416c45
add eax, 1
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00459594
jmp 0x416c52
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 0x417460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45c768
mov eax, dword fs:[0]
push eax
sub esp, 8
push edi
mov eax, dword [0x47aab0]
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 0x4174f7
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 0x4174e2
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 0x417508
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.00401d30
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 0x417544
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 0x417560
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 0x4175ac
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 0x4175a3
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 0x41760c
mov esi, dword [esp + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417602
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 0x41761f
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 0x417630
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x45cd50
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x47aab0]
xor eax, esp
mov dword [esp + 0x210], eax
push ebp
push esi
push edi
mov eax, dword [0x47aab0]
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.00401f70
add eax, 0x10
mov dword [ebp], eax
add esp, 4
mov eax, edi
call fcn.00417560
cmp eax, 1
mov dword [esp + 0x18], eax
je 0x41772b
cmp eax, 2
je 0x41772b
mov edi, dword [esp + 0x238]
add edi, 0xfffffff0
push edi
call fcn.00401f70
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 0x4176fe
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 0x4177ef
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
jmp 0x4177ef
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 0x4176c5
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 0x41777d
xor edi, edi
jmp 0x417781
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x4176c5
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call fcn.00407310
mov byte [esp + 0x22c], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4177c1
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 0x4177ef
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.0043f428
add esp, 0x220
ret 8
Function at 0x417820
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 0x417865
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
jmp 0x4178ad
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 0x41788f
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 0x4178bb
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 0x418cf0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x324
mov eax, dword [0x47aab0]
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 0x46759c
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 0x418d30
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00401e80
mov ecx, dword [esp + 0x324]
mov eax, edi
pop edi
xor ecx, esp
call fcn.0043f428
add esp, 0x324
ret 4
Function at 0x418fd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bd10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x47aab0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov dword [edi + 0x64], 0xff
mov dword [edi + 0x6c], 0
call fcn.00424e33
mov esi, dword [eax + 0xc]
movzx eax, word [ebp + 0xc]
push 0x469420
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x4191ab
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push esi
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4191ab
mov ecx, dword [ebp + 0xc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [ebp + 0xc]
push edx
push esi
push eax
call fcn.00449b10
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x4190a3
mov dword [ebp - 4], 0
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x60], 0
mov ecx, dword [ebp - 0x14]
push 0x10
mov dword [ebp + 8], ecx
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x4190e2
mov edx, dword [ebp + 8]
lea eax, [esi + 4]
push eax
push edx
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [esi + 8], eax
jmp 0x4190e4
xor esi, esi
mov dword [edi + 0x60], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [edi + 0x60]
xor ebx, ebx
cmp esi, ebx
je 0x4191ab
cmp dword [edi + 0x5c], ebx
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x68], eax
je 0x41913f
push 0x1c
call fcn.00407be0
xor edx, edx
div dword [edi + 0x68]
mov esi, dword [edi + 0x60]
push eax
call fcn.00407bb0
push eax
push 0xfffffbaa
push 0xfffffbaa
push ebx
mov ecx, edi
call fcn.00423aee
mov esi, dword [edi + 0x60]
mov edx, dword [esi + 4]
lea ecx, [ebp + 8]
push ecx
push edx
mov dword [ebp + 8], ebx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebx
je 0x419159
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
xor edx, edx
div dword [edi + 0x68]
mov esi, dword [edi + 0x60]
mov dword [ebp + 8], ebx
mov dword [edi + 0x7c], eax
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push ecx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x41917e
mov dword [esi + 8], eax
mov edx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x80], edx
call esi
mov eax, dword [edi]
mov edx, dword [eax + 0x134]
push 1
mov ecx, edi
call edx
call esi
mov eax, dword [edi]
mov edx, dword [eax + 0x13c]
mov ecx, edi
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41a3b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bc80
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x47aab0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
call fcn.00424e33
mov ebx, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
movzx ecx, word [ebp + 8]
push eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x41a558
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 0xc]
push edx
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x41a558
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp + 0xc]
push edi
push ecx
push eax
call fcn.00449b10
add esp, 0xc
lea edx, [ebp - 0x14]
push edx
push 0
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x41a477
mov dword [ebp - 4], 0
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x7c], 0
mov eax, dword [ebp - 0x14]
push 0x10
mov dword [ebp + 0xc], eax
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
test edi, edi
je 0x41a4b6
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 4]
push eax
push ecx
mov dword [edi], vtable.Gdiplus::Image.0
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [edi + 8], eax
jmp 0x41a4b8
xor edi, edi
mov dword [esi + 0x7c], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov edi, dword [esi + 0x7c]
test edi, edi
je 0x41a558
mov edx, dword [edi + 4]
lea ecx, [ebp + 0xc]
push ecx
push edx
mov dword [ebp + 0xc], 0
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x41a4f5
mov dword [edi + 8], eax
mov edi, dword [esi + 0x7c]
mov ecx, dword [edi + 4]
mov ebx, dword [ebp + 0xc]
lea eax, [ebp + 8]
push eax
push ecx
mov dword [ebp + 8], 0
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x41a516
mov dword [edi + 8], eax
mov edx, dword [ebp + 8]
push 0x1e
push ebx
push edx
push 0
push 0
push 0
mov ecx, esi
call fcn.00423aee
mov eax, dword [ebp + 0x10]
mov edx, dword [esi]
mov dword [esi + 0x80], eax
mov eax, dword [edx + 0x164]
mov ecx, esi
call eax
mov eax, 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 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41ab70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
call fcn.00424e33
mov esi, dword [eax + 0xc]
movzx eax, word [esp + 0x10]
push 0x469420
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x41ab9d
pop edi
pop esi
pop ebp
ret 8
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 0x41abbd
pop ebx
pop edi
pop esi
pop ebp
ret 8
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.00449b10
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, dword [esp + 0x18]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x41ac14
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 0x41ac16
xor esi, esi
push edi
mov dword [ebp], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
pop ebx
xor eax, eax
cmp dword [ebp], eax
pop edi
pop esi
setne al
pop ebp
ret 8

Function at 0x41c762
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00424e33
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41c799
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0041c384
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x42194a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x421983
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0041b9e9
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0041b9c4
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x42367e
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 0x4236c1
call fcn.00424e33
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4236c1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4236dc
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00423238
test ebx, ebx
mov esi, eax
je 0x4236da
test edi, edi
je 0x4236da
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x429e19
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 0x429e42
call fcn.00424e33
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 0x429e65
push eax
push dword [esi + 4]
call fcn.00429da4
push esi
push eax
mov ecx, 0x47e170
call fcn.00429a53
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x42a89e
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x45a700
call fcn.00444b71
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.0042a860
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00401b10
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 0x42a904
push eax
push dword [esi + 8]
call fcn.00429da4
push dword [esi + 0xc]
mov ecx, 0x47e170
push eax
call fcn.00429a53
mov eax, esi
call fcn.00444c49
ret 0x18
Function at 0x438c85
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 0x438ccb
call fcn.00424e33
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x438ccb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x438d0e
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 0x438cf7
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 0x438cf7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x438d0b
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 0x43a4d0
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x43a4d9
xor eax, eax
jmp 0x43a542
cmp dword [esp + 8], 0
jne 0x43a4e5
call fcn.0041bcda
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.00446961
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x43a520
push dword [esi + 0x10]
call fcn.004466a6
test eax, eax
pop ecx
jne 0x43a520
mov esi, dword [esi + 0xc]
call fcn.0043fa63
push esi
push dword [eax]
push 1
call fcn.0043b1bc
push dword [esi + 0x10]
call fcn.004466d5
test eax, eax
pop ecx
je 0x43a53f
push dword [esi + 0x10]
call fcn.004465fa
push eax
call fcn.00401000
pop ecx
pop ecx
jmp 0x43a50e
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x43a54b
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x43a555
call fcn.0041bcda
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00442c91
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x43a582
mov esi, dword [esi + 0xc]
call fcn.0043fa63
push esi
push dword [eax]
push 1
call fcn.0043b1bc
pop esi
ret 8

Function at 0x43f428
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47aab0]
jne 0x43f432
repz ret
jmp fcn.0044809c
Function at 0x441cc8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x441cf5
call fcn.0043fa63
mov dword [eax], esi
call fcn.0043fa50
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004427e3
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x441cd1
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x441d24
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043fa76
pop ecx
call fcn.0043fa50
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x441d4b
test al, 1
je 0x441d4b
test byte [esp + 0xc], 2
je 0x441d4b
call fcn.0043fa63
mov dword [eax], 5
call fcn.0043fa50
mov dword [eax], 0xd
jmp 0x441d1b
xor eax, eax
pop esi
ret