joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445140
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x445173
push esi
call fcn.00453500
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44516c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4451f9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4451e2
mov eax, dword [esi + 8]
test eax, eax
je 0x445197
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4451de
cmp eax, 2
je 0x4451e2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44518a
cmp eax, 3
je 0x4451bd
cmp eax, 1
jne 0x44518a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44518a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44518a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00445220
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x445208
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00445220
add esp, 4
pop esi
ret

Function at 0x445aa0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x445ac1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x445ac1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x445ac1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x462ed0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5c1de8]
xor edx, edx
cmp eax, edx
jne 0x462ef6
xor eax, eax
mov byte [eax + 0x5c1ce8], al
inc eax
cmp eax, 0x100
jl 0x462ede
mov dword [0x5c1de8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5c1ce8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x462f87
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x462f5a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x462f28
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x462f90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x462fe3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x462fca
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x469990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x495b0e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0046a2b0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x58ee44
call fcn.00487a76
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x469a23
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00487a76
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x469a1c
push 0
mov ecx, eax
call fcn.00460b10
mov dword [esi + 0xc], eax
jmp 0x469a25
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x469a25
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x48a0bf
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48a0f7
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00488190
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00488168
jmp 0x48a103
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48b7b6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48b7f8
call fcn.0049112d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48b7f8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48b7ef
xor eax, eax
jmp 0x48b800
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048b806
pop edi
pop esi
pop ebx
ret 4
Function at 0x49165d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x49168b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4916a9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004915c3
jmp 0x4916a9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4916a9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004915c3
test edi, edi
mov eax, edi
jne 0x491693
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402870
Capabilities:
Get graphical window text

Disassembly:
push ebx
push ebp
push esi
push 0
push str.QufPanelWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov ebp, dword [sym.imp.USER32.dll_FindWindowExA]
push 0
mov ebx, eax
push str.ComboBox
push 0
push ebx
call ebp
mov esi, eax
test esi, esi
je 0x4028cb
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x14]
push eax
push 0
push 0xc
push esi
call edi
push 0
push 0xd
push 0x100
push esi
call edi
push 0
push str.ComboBox
push esi
push ebx
call ebp
mov esi, eax
test esi, esi
jne 0x4028a1
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x40b620
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
lea esi, [ecx + 8]
push edi
mov dword [esi], ecx
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov ebx, dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
push 0x416d04
mov dword [esi + 4], eax
call ebx
mov eax, dword [0x416d38]
mov edi, dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov dword [esi + 8], eax
push 0x416d04
mov dword [0x416d38], esi
call edi
mov esi, dword [0x416cd8]
push 0x416d04
call ebx
mov ebx, dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push str.WM_ATLGETHOST
call ebx
push str.WM_ATLGETCONTROL
mov dword [0x416cc4], eax
call ebx
lea ecx, [esp + 0x20]
mov dword [0x416cc0], eax
mov eax, dword [0x416cd4]
push ecx
mov ebx, 0x30
push str.AtlAxWin
push eax
mov dword [esp + 0x2c], ebx
call dword [sym.imp.USER32.dll_GetClassInfoExA]
test eax, eax
jne 0x40b708
mov edx, dword [0x416cd4]
xor ebp, ebp
push 0x7f00
push ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], 0x403c40
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ebp
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x44], 6
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], str.AtlAxWin
mov dword [esp + 0x50], ebp
call dword [sym.imp.USER32.dll_RegisterClassExA]
jmp 0x40b70a
xor ebp, ebp
push 0x416d04
call edi
mov edi, dword [sym.imp.KERNEL32.DLL_FindResourceA]
push 5
push 0x232b
push esi
call edi
push 0xf0
push 0x232b
push esi
mov ebx, eax
call edi
mov edi, eax
mov dword [esp + 0x14], ebp
test edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], 0
je 0x40b75b
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebp, eax
test ebx, ebx
je 0x40b7bc
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
push ebp
push ebx
call fcn.0040b7e0
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
add esp, 8
mov edi, eax
push ecx
push 0x40c010
push edx
push edi
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
cmp edi, ebx
mov dword [esp + 0x10], eax
je 0x40b7ad
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov edi, dword [esp + 0x1c]
test ebp, ebp
je 0x40b7cf
test edi, edi
je 0x40b7cf
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 8
Function at 0x40eec0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x412578
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push 0x2fd
mov dword [esp + 8], 0x2fd
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x2c]
mov ebp, eax
lea eax, [esp + 8]
push eax
push ebp
push ecx
call fcn.00411f60
add esp, 0x10
test eax, eax
je 0x40f035
mov dl, byte [esp + 0x28]
push ebx
xor ebx, ebx
push esi
push edi
mov byte [esp + 0x14], dl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x14]
push 0x3b
push eax
push ebp
mov dword [esp + 0x38], ebx
call fcn.004113b0
add esp, 0xc
mov ecx, 0x416da0
push ebx
push str.usecount
push str.main
call fcn.00411eb0
mov edi, dword [esp + 0x18]
mov esi, eax
cmp edi, ebx
jne 0x40ef58
xor ecx, ecx
jmp 0x40ef61
mov ecx, dword [esp + 0x1c]
sub ecx, edi
sar ecx, 4
mov eax, esi
xor edx, edx
div ecx
shl edx, 4
add edx, edi
mov edx, dword [edx + 4]
cmp edx, ebx
jne 0x40ef79
mov edx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push 7
push edx
push str.http:__
call dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
jne 0x40efc9
mov edi, dword [esp + 0x18]
cmp edi, ebx
jne 0x40ef97
xor ecx, ecx
jmp 0x40efa0
mov ecx, dword [esp + 0x1c]
sub ecx, edi
sar ecx, 4
mov eax, esi
xor edx, edx
div ecx
shl edx, 4
add edx, edi
mov edx, dword [edx + 4]
cmp edx, ebx
jne 0x40efb8
mov edx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push 3
push ebx
push ebx
push edx
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
inc esi
mov ecx, 0x416da0
push esi
push str.usecount
push str.main
call fcn.00411f10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
mov edi, eax
je 0x40f029
lea esi, [ecx + 4]
mov eax, dword [esi]
cmp eax, ebx
je 0x40f013
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x40f00a
cmp al, 0xff
je 0x40f00a
dec al
mov byte [ecx], al
jmp 0x40f013
push ecx
call fcn.00412022
add esp, 4
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
add esi, 0x10
lea ecx, [esi - 4]
cmp ecx, edi
jne 0x40eff0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00412022
add esp, 4
pop edi
pop esi
pop ebx
push ebp
call fcn.00412022
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword fs:[0], ecx
pop ebp
add esp, 0x20
ret
Function at 0x40f8d0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x412650
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x20]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x34]
xor ebx, ebx
lea esi, [edi + 0x18]
mov dword [edi + 0x54], eax
mov word [esp + 0x10], bx
mov dword [esi], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
lea edx, [esp + 0x34]
mov ecx, esi
push edx
push 0x416bd8
mov byte [esp + 0x30], 1
call fcn.0040fe80
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x30]
mov ecx, esi
push eax
push 0x4133f8
mov byte [esp + 0x30], 2
call fcn.0040ff60
cmp eax, ebx
jl 0x40f94c
mov eax, dword [esp + 0x30]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x30]
mov byte [esp + 0x28], 1
cmp eax, ebx
je 0x40f95f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ebp, dword [esp + 0x38]
push ebx
push ebx
push 0xffffffffffffffff
push ebp
push ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
call ebx
mov esi, eax
dec esi
push esi
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
test edi, edi
je 0x40f98f
push esi
push edi
push 0xffffffffffffffff
push ebp
push 0
push 0
call ebx
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x34]
mov byte [esp + 0x28], 3
test eax, eax
je 0x40f9bb
lea edx, [esp + 0x10]
mov ecx, dword [eax]
push edx
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x1c]
push edx
push edi
push eax
call dword [ecx + 0x2c]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
test eax, eax
mov byte [esp + 0x1c], 0
pop ebx
je 0x40f9d9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edx, [esp]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc

Function at 0x410800
Capabilities:
Enumerate process modules

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0x18]
push eax
push 8
mov dword [esp + 0x10], 0
mov dword [edi], 0x224
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x41082e
pop edi
xor eax, eax
pop esi
pop ecx
ret
push ebx
push ebp
push edi
push esi
call sub.KERNEL32.DLL_Module32First
test eax, eax
je 0x410872
mov ebp, dword [esp + 0x1c]
lea ebx, [edi + 0x20]
push ebx
push ebp
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x41086a
push edi
push esi
call sub.KERNEL32.DLL_Module32Next
test eax, eax
jne 0x410842
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
pop edi
pop esi
pop ecx
ret
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
pop edi
pop esi
pop ecx
ret
Function at 0x410890
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
xor eax, eax
push edi
mov dword [esp + 4], eax
mov ecx, 0x11
mov dword [esp + 8], eax
lea edi, [esp + 0x14]
mov dword [esp + 0xc], eax
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 4]
mov dword [esp + 0x10], eax
push ecx
push edx
push eax
push eax
push eax
push 1
push eax
push eax
mov eax, dword [esp + 0x7c]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, dword [esp + 4]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
pop edi
add esp, 0x54
ret

Function at 0x4108f0
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x1108
call fcn.00412290
mov eax, dword [esp + 0x110c]
push ebx
push ebp
push esi
push edi
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x41098d
lea ecx, [esp + 0x10]
lea edx, [esp + 0x118]
push ecx
push 0x1000
push edx
push ebx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x410986
mov eax, dword [esp + 0x10]
xor edi, edi
test eax, 0xfffffffc
jbe 0x410986
mov ebp, dword [esp + 0x1120]
lea esi, [esp + 0x118]
mov ecx, dword [esi]
lea eax, [esp + 0x14]
push 0x104
push eax
push ecx
push ebx
call sub.PSAPI.DLL_GetModuleBaseNameA
test eax, eax
je 0x410977
lea edx, [esp + 0x14]
push ebp
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcmpiA]
test eax, eax
je 0x41099a
mov eax, dword [esp + 0x10]
inc edi
shr eax, 2
add esi, 4
cmp edi, eax
jb 0x410950
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1108
ret
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + edi*4 + 0x118]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1108
ret

Function at 0x4111b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x20
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_GetTickCount]
push esi
call ebp
mov esi, eax
mov dword [esp + 8], esi
call ebp
mov ecx, dword [esp + 0x2c]
sub eax, esi
cmp eax, ecx
jae 0x411231
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push 1
push 0
push 0
lea eax, [esp + 0x20]
push 0
push eax
call esi
test eax, eax
je 0x411217
lea ecx, [esp + 0x14]
push ecx
call edi
lea edx, [esp + 0x14]
push edx
call ebx
push 1
push 0
push 0
lea eax, [esp + 0x20]
push 0
push eax
call esi
test eax, eax
jne 0x4111f6
push 1
call dword [sym.imp.KERNEL32.DLL_Sleep]
call ebp
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
sub eax, edx
cmp eax, ecx
jb 0x4111e3
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x20
ret
Function at 0x411240
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp]
push esi
push eax
push 0xf003f
push 0
push ecx
push edx
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4112b1
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 4]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4112a6
test esi, esi
je 0x41129e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
pop ecx
ret
test esi, esi
je 0x4112b1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
pop ecx
ret

Function at 0x4112c0
Capabilities:
Get file version info

Disassembly:
sub esp, 8
lea eax, [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x41136d
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x41136d
mov ecx, dword [esp + 0x18]
push esi
push edi
push ecx
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x411363
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
push eax
push 0x416bf4
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x411363
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
push esi
mov ecx, dword [eax + 8]
shr ecx, 0x10
mov word [edx], cx
mov edx, dword [esp + 0x24]
mov cx, word [eax + 8]
mov word [edx], cx
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x28]
shr ecx, 0x10
mov word [edx], cx
mov ecx, dword [esp + 0x2c]
mov ax, word [eax + 0xc]
mov word [ecx], ax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 8
ret
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret

Function at 0x411380
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 8]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
jne 0x41139c
pop esi
ret
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
pop esi
ret

Function at 0x4115b0
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push 0
push 4
push 0
push 0
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4115d6
xor eax, eax
pop esi
ret
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, edi
pop edi
pop esi
ret
Function at 0x4115f0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push 0
push 4
push 0
push 0
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x411616
xor eax, eax
pop esi
ret
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 8]
push 0
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 8]
pop esi
ret