joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411a20
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
cmp eax, 0x129
je 0x411a6d
cmp eax, 0x1388
jne 0x411af1
push eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x411a5b
lea esi, [edi + 0x514]
call fcn.00412060
lea eax, [edi + 0x514]
call fcn.0040a800
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0x129
push ecx
call esi
xor eax, eax
lea edx, [ebp - 8]
push edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [edi + 4]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x18], eax
jg 0x411ad3
cmp eax, dword [ebp - 0x10]
jge 0x411ad3
mov ecx, dword [ebp - 4]
cmp dword [ebp - 0x14], ecx
jg 0x411ad3
cmp ecx, dword [ebp - 0xc]
jge 0x411ad3
push ecx
push eax
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, dword [edi + 4]
je 0x411af1
mov edx, dword [edi + 4]
push 0
push 0
push 0x5867
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [edi + 4]
push 0x129
push eax
call esi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x411dc0
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp dword [ebx + 0x50c], edi
jne 0x411de4
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [ebx + 0x55c]
cmp ecx, eax
je 0x411e08
cmp eax, dword [ebx + 4]
jne 0x411e02
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x411e08
mov dword [ebx + 0x55c], eax
mov ecx, ebx
call fcn.004120f0
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x411e25
lea esi, [ebx + 0x4f8]
call fcn.00412060
lea eax, [ebx + 0x4f8]
call fcn.0040a800
mov esi, dword [sym.imp.USER32.dll_SendInput]
xor eax, eax
push 0x1c
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
push edx
mov eax, 0x11
xor ecx, ecx
push 1
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], ax
mov word [ebp - 0x16], cx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], edi
call esi
mov ecx, 0x56
mov word [ebp - 0x18], cx
push 0x1c
mov eax, 1
lea ecx, [ebp - 0x1c]
push ecx
xor edx, edx
push eax
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x16], dx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], edi
call esi
push 0x1c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, 0x56
xor eax, eax
push 1
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], dx
mov word [ebp - 0x16], ax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], 3
mov dword [ebp - 0xc], edi
call esi
push 0x1c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, 0x11
xor eax, eax
push 1
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], dx
mov word [ebp - 0x16], ax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], 2
mov dword [ebp - 0xc], edi
call esi
mov edx, dword [ebx + 4]
push edi
push 0x1f4
push 0x1388
push edx
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x411f60
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f0cb
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x46e320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, 7
xor esi, esi
xor eax, eax
xor edx, edx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x90], esi
mov word [ebp - 0xa0], ax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], esi
mov word [ebp - 0x84], dx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], esi
mov word [ebp - 0x68], ax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], esi
mov word [ebp - 0x44], dx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0xa4]
push ecx
mov dword [ebp - 4], esi
call fcn.00406590
mov ecx, eax
call fcn.0042d6f0
cmp dword [ebp - 0x58], esi
jne 0x41200c
lea esi, [ebp - 0xa4]
call fcn.00409ab0
mov eax, 0x80004005
jmp 0x412039
push edi
call fcn.00406590
mov ecx, eax
call fcn.0042d5b0
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x41202c
lea esi, [ebp - 0x6c]
call fcn.00412060
lea esi, [ebp - 0xa4]
call fcn.00409ab0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00441af5
mov esp, ebp
pop ebp
ret 4

Function at 0x412060
Capabilities:
Write clipboard data

Disassembly:
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x4120e4
mov eax, dword [esi + 0x14]
lea eax, [eax + eax + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4120cb
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [esi + 0x18], 8
jb 0x412094
mov ebx, dword [esi + 4]
jmp 0x412097
lea ebx, [esi + 4]
mov ecx, dword [esi + 0x14]
add ecx, 1
je 0x4120af
cmp ecx, 0x7fffffff
ja 0x4120af
push ebx
mov edx, eax
call fcn.0040a550
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
pop ebx
push edi
test eax, eax
jne 0x4120d8
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 0x80004005
pop edi
ret
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
pop edi
ret
Function at 0x4120f0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45be85
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x46e320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x528], 0
jne 0x412183
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x412183
push 0xd
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x41217d
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
add edi, 0x514
push edi
mov edx, eax
call fcn.00412dd0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b0eb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x46e320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004407b6
push 4
mov dword [ebp - 4], 0
call fcn.00441bf8
mov edi, eax
add esp, 4
test edi, edi
je 0x41631c
call fcn.00440a68
mov dword [edi], eax
call fcn.00440896
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00440777
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x416312
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0044079f
jmp 0x41631e
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 [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4182a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4182bd
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4182f4
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x4182f0
lea ecx, [ecx]
cmp esi, eax
jae 0x4182f4
sub edi, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4182e0
cmp esi, eax
jb 0x4182fb
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x41d790
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push esi
lea eax, [ebp + 8]
push eax
push 0x41d760
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp + 0x18]
mov esi, eax
test ecx, ecx
je 0x41d7c1
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [ebp + 8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
mov eax, esi
pop esi
pop ebp
ret

Function at 0x41ea40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x41ea53
lea eax, [esi + 0xd]
pop esi
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
xor edi, edi
lea ecx, [ecx]
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x41ea60
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push edi
push eax
mov eax, dword [edx]
push 7
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x41efb0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x46e320]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ecx + 4]
push edi
mov dword [ebp - 0x220], ecx
lea ecx, [ebp - 0x21c]
push ecx
xor ebx, ebx
or esi, 0x2001f
push esi
push ebx
push edx
push eax
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x21c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x214]
mov edi, eax
cmp edi, ebx
jne 0x41f03c
xor eax, eax
cmp ecx, ebx
je 0x41f01e
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x21c]
and esi, 0x300
mov edi, eax
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], esi
cmp eax, ebx
je 0x41f05c
cmp ecx, ebx
je 0x41f047
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00441af5
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [ebp - 0x22c]
push edx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x218]
push eax
lea edx, [ebp - 0x20c]
push edx
push ebx
push ecx
mov dword [ebp - 0x218], 0x100
call esi
test eax, eax
jne 0x41f0dc
lea esp, [esp]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.0041efb0
mov edi, eax
cmp edi, ebx
jne 0x41f132
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, dword [ebp - 0x214]
push ebx
push ebx
push ebx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x20c]
push eax
push ebx
push ecx
mov dword [ebp - 0x218], 0x100
call esi
test eax, eax
je 0x41f090
mov eax, dword [ebp - 0x214]
cmp eax, ebx
je 0x41f0f3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x214], ebx
mov edi, dword [ebp - 0x224]
mov esi, dword [ebp - 0x220]
mov dword [ebp - 0x210], ebx
call fcn.0041f1d0
mov esi, eax
mov eax, dword [ebp - 0x214]
cmp eax, ebx
je 0x41f11d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00441af5
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x214]
cmp eax, ebx
je 0x41f143
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441af5
mov esp, ebp
pop ebp
ret 4
Function at 0x41fd40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45cd96
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x46e320]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x424], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x420], edi
cmp edi, ebx
jne 0x41fdc0
call fcn.0041e360
mov esi, eax
jmp 0x41fecc
mov eax, dword [ebp - 0x41c]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x41fddf
call fcn.0041e360
jmp 0x41fec3
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x428], eax
cmp eax, ebx
jne 0x41fdfb
call fcn.0041e360
jmp 0x41fec3
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [eax + 1]
mov dword [ebp - 0x41c], eax
cmp ecx, eax
jae 0x41fe3e
lea ecx, [ebp - 0x414]
cmp dword [ebp - 0x418], ecx
je 0x41fe29
lea eax, [ebp - 0x418]
call fcn.0041eab0
lea esi, [ebp - 0x424]
call fcn.0041ea90
mov eax, 0x8007000e
jmp 0x41fef2
mov eax, ecx
lea esi, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0041e320
mov dword [ebp - 4], 1
jmp 0x41fe6d
mov ecx, dword [ebp - 0x418]
cmp ecx, ebx
jne 0x41fe7e
mov esi, 0x8007000e
jmp 0x41fec5
mov eax, dword [ebp - 0x41c]
mov edx, dword [ebp - 0x428]
push eax
push ecx
push eax
push edx
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x41fea2
call fcn.0041e360
jmp 0x41fec3
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x418]
push eax
lea edx, [ebp - 0x430]
call fcn.0041fbf0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x414]
cmp dword [ebp - 0x418], ecx
je 0x41fef0
lea eax, [ebp - 0x418]
call fcn.0041eab0
jmp 0x41fef0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00441af5
mov esp, ebp
pop ebp
ret 0xc

Function at 0x421020
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi - 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x42103e
mov eax, 0x80004005
pop esi
pop ebp
ret 4
cmp dword [ebp + 8], 0
je 0x421057
mov ecx, dword [esi - 0x1c]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
mov edx, dword [esi - 0x1c]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x4210c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [edi + 0x5c]
mov eax, dword [edi + 4]
mov dword [edi + 0x58], eax
test ecx, ecx
je 0x4210db
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [edi + 0x48]
push eax
call edx
mov eax, dword [edi + 4]
push ebx
push esi
push 0x3ef
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push esi
lea ebx, [edi + 0x7c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x421117
push esi
mov esi, ebx
call fcn.00409520
test eax, eax
je 0x421117
push 0
add ebx, 0xf4
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [edi + 4]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [edi + 0x80]
push 0
push edx
mov dword [edi + 0x178], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 8]
pop esi
mov dword [eax], 0
xor eax, eax
pop ebx
pop ebp
ret 4
Function at 0x4250b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0044e500
mov eax, dword [0x46e320]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, ecx
xor ecx, ecx
push 0xffa
mov edi, edx
push ecx
lea edx, [ebp - 0xffe]
push edx
mov dword [ebp - 0x1004], eax
mov dword [ebp - 0x1008], 0
mov word [ebp - 0x1000], cx
call fcn.004480d0
mov ecx, 8
add esp, 0xc
cmp dword [edi + 0x18], ecx
jb 0x425111
mov edi, dword [edi + 4]
jmp 0x425114
add edi, 4
cmp dword [ebx + 0x18], ecx
jb 0x42511e
mov ebx, dword [ebx + 4]
jmp 0x425121
add ebx, 4
mov eax, dword [ebp - 0x1004]
cmp dword [eax + 0x18], ecx
jb 0x425131
mov eax, dword [eax + 4]
jmp 0x425134
add eax, 4
push edi
push 0x7fe
lea ecx, [ebp - 0x1000]
push ecx
push 0x462cac
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
lea eax, [ebp - 0x1000]
mov word [esi + 4], dx
lea edx, [eax + 2]
jmp 0x425170
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x425170
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x1000]
push eax
call fcn.00407860
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441af5
mov esp, ebp
pop ebp
ret
Function at 0x429580
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e5d7
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x46e320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [edi], 0x463968
mov dword [edi + 0x58], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 8]
push esi
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x10], 1
call fcn.0042a440
mov dword [ebp - 4], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
call fcn.0042b0c0
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 [0x473c40]
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 [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42b0c0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b0eb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x46e320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004407b6
push 4
mov dword [ebp - 4], 0
call fcn.00441bf8
mov edi, eax
add esp, 4
test edi, edi
je 0x42b13c
call fcn.00440a68
mov dword [edi], eax
call fcn.00440896
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00440777
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x42b132
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0044079f
jmp 0x42b13e
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 [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x430660
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bb88
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x46e320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x4306b7
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x4306d2
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
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
push ebx
push eax
call fcn.004304c0
add esp, 8
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431110
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x46e320]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x471ee4]
cmp eax, 0xffffffff
jne 0x43117a
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.004480d0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jb 0x431173
cmp dword [ebp - 0x114], 6
jb 0x431173
mov eax, 1
jmp 0x431175
xor eax, eax
mov dword [0x471ee4], eax
mov ecx, dword [ebp - 4]
cmp eax, 1
sete al
xor ecx, ebp
call fcn.00441af5
mov esp, ebp
pop ebp
ret