joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cc90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427726
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x4361b0]
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 edi, ecx
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x418], ecx
mov byte [ebp - 4], 1
push 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x420], esi
test esi, esi
jne 0x40cd0c
call fcn.0040ad30
mov edi, eax
jmp 0x40ce33
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x40cd25
call fcn.0040ad30
jmp 0x40ce2a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x40cd43
call fcn.0040ad30
jmp 0x40ce2a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x40cd64
mov edi, 0x8007000e
jmp 0x40ce2c
mov byte [ebp - 4], 2
xor ecx, ecx
shld ecx, eax, 1
mov dword [ebp - 0x434], ecx
add eax, eax
mov dword [ebp - 0x438], eax
test ecx, ecx
jne 0x40cd85
cmp eax, 0xffffffff
jbe 0x40cd8f
push 0x80070216
call fcn.0040d7b0
cmp eax, 0x400
jbe 0x40cdab
lea ecx, [ebp - 0x418]
push ecx
call fcn.0040b530
mov dword [ebp - 4], 1
jmp 0x40cddf
lea edx, [ebp - 0x414]
mov dword [ebp - 0x418], edx
mov dword [ebp - 4], 1
jmp 0x40cddf
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x40cdf0
mov edi, 0x8007000e
jmp 0x40ce2c
push edi
push eax
push edi
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x40ce09
call fcn.0040ad30
jmp 0x40ce2a
xor ecx, ecx
mov edx, dword [ebp - 0x418]
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.0040caf0
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x414]
cmp dword [ebp - 0x418], ecx
je 0x40ce50
lea eax, [ebp - 0x418]
call fcn.0040b510
mov dword [ebp - 4], 0xffffffff
mov eax, edi
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.0042391e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40ef50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
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 0x40ef68
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40ef9a
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x40ef96
cmp esi, eax
jae 0x40ef9a
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x40ef88
cmp esi, eax
jb 0x40efa0
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x40efb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push esi
push 0x40
lea eax, [ebp - 0x58]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x5c]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push eax
push 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x5c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40f017
mov ecx, dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x10]
push edx
call esi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x410b80
Capabilities:
Create process on windows

Disassembly:
add eax, 0xffff7ff7
push edi
mov edi, ecx
cmp eax, 0xb
ja case.0x410b8d.32779
jmp dword [eax*4 + 0x410c28]
mov eax, dword [edi + 0x840]
test eax, eax
je 0x410bac
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne case.0x410b8d.32779
push 1
call fcn.00410cc0
test eax, eax
je case.0x410b8d.32779
push 0
push 0
push 0
push 1
push str.DAILY.SF_QUITBYRIGHTBUTTON
call dword [sym.imp.crt.dll_Ordinal_58]
mov ecx, dword [edi + 4]
add esp, 0x14
push 0
push 0xf060
push 0x112
push ecx
mov dword [edi + 0x844], 1
mov dword [edi + 0x78c], 2
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
ret
pop edi
jmp fcn.00410c60
mov edx, dword [edi + 4]
push 5
push 0
push 0
push str.http:__www.baofeng.com
push 0x42b9c4
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
ret
pop edi
jmp fcn.0040f130
pop edi
jmp fcn.0040eac0
Function at 0x410e40
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427b98
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4361b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x437fb0]
push 0x6f
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov edx, dword [0x43617c]
mov eax, dword [edx + 0xc]
mov ecx, 0x43617c
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
push ecx
push 1
push 0x42b7d0
lea edi, [ebp - 0x10]
call fcn.0040d850
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edi, dword [esi + 0x6ac]
lea ebx, [esi + 0x6ac]
lea eax, [ecx - 0x10]
sub edi, 0x10
add esp, 0xc
mov dword [ebp + 8], eax
cmp eax, edi
je 0x410f0c
cmp dword [edi + 0xc], 0
jl 0x410eff
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x410eff
call fcn.004114a0
mov dword [ebp - 0x14], eax
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410ef5
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
mov dword [ebx], ecx
jmp 0x410f09
push ecx
push ebx
mov ebx, dword [ecx - 0xc]
call fcn.0040e3d0
mov eax, dword [ebp + 8]
cmp dword [esi + 0x6a4], 0
jne 0x410f39
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi - 0x188]
push 0
push 0x12c
push eax
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x6a4], eax
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], 0x64
jne 0x410f91
mov ecx, dword [esi + 0x6a4]
test ecx, ecx
je 0x410f91
mov eax, dword [esi - 0x188]
push ecx
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [0x437fb0]
push 0x6c
push ecx
mov dword [esi + 0x6a4], 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x410f8e
mov ecx, dword [esi + 0x6ac]
mov edx, dword [esi - 0x164]
add esi, 0xfffffe9c
push ecx
push eax
mov eax, dword [edx + 0x10]
push esi
call eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410fb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x410fd0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
test eax, eax
jne 0x41104a
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x6a4]
test eax, eax
je 0x411098
push eax
mov eax, dword [esi - 0x188]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [0x437fb0]
push 0x6c
push ecx
mov dword [esi + 0x6a4], 0
call dword [sym.imp.USER32.dll_LoadIconW]
mov ebx, eax
test ebx, ebx
je 0x411098
lea edi, [esi + 0x6ac]
mov edx, 0x42b5cc
call fcn.0040e2d0
mov ecx, dword [edi]
mov edx, dword [esi - 0x164]
mov edx, dword [edx + 0x10]
lea eax, [esi - 0x164]
push ecx
push ebx
push eax
call edx
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc
cmp eax, 1
jne 0x411098
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add edi, 0x6b0
test edx, edx
jne 0x411073
xor eax, eax
push edx
push edi
mov ebx, eax
call fcn.0040e3d0
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc
mov eax, edx
lea esi, [eax + 2]
jmp 0x411080
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411080
sub eax, esi
sar eax, 1
push edx
push edi
mov ebx, eax
call fcn.0040e3d0
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc
Function at 0x411190
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4275b1
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x4361b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call sub.MSVCR100.dll_memset
mov esi, dword [sym.imp.crt.dll_Ordinal_18]
push 0x208
lea edx, [ebp - 0x218]
push edx
push 0x42b30c
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun360Disabled
push reloc.OLEAUT32.dll_SysReAllocString
call esi
add esp, 0x20
cmp word [ebp - 0x218], 0
jne 0x41135b
push 0x208
lea eax, [ebp - 0x218]
push eax
push 0x42b30c
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call esi
add esp, 0x14
cmp word [ebp - 0x218], 0
jne 0x41135b
push 0x208
lea ecx, [ebp - 0x218]
push ecx
push 0x42b30c
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push Ordinal_4
call esi
add esp, 0x14
cmp word [ebp - 0x218], 0
jne 0x41135b
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x41e]
push eax
mov word [ebp - 0x420], dx
call sub.MSVCR100.dll_memset
mov edx, dword [0x43617c]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x43617c
call eax
add eax, 0x10
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 1
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x420]
push edx
push str.__s___AutoRun
lea edi, [ebp - 0x424]
call fcn.0040d850
mov edi, dword [ebp - 0x424]
mov ebx, dword [sym.imp.crt.dll_Ordinal_19]
push edi
push 0x42b30c
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
push 0x208
lea ecx, [ebp - 0x218]
push ecx
push 0x42b30c
xor eax, eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
mov word [ebp - 0x218], ax
call esi
add esp, 0x2c
cmp word [ebp - 0x218], 0
jne 0x411338
push edi
push 0x42b30c
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push Ordinal_4
call ebx
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41135b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042391e
mov esp, ebp
pop ebp
ret
Function at 0x411c90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4361b0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
push 0x206
mov edi, ecx
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call sub.MSVCR100.dll_memset
mov eax, dword [0x437be4]
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...BaofengPlatform.resource
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411d49
push esi
lea eax, [ebp - 0x20c]
push eax
lea esi, [edi + 0x6c]
push esi
call fcn.0041b550
test al, al
jne 0x411d26
pop esi
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042391e
mov esp, ebp
pop ebp
ret
add edi, 0x2c
push edi
push esi
call fcn.0041bb80
xor ecx, ecx
test al, al
setne cl
pop esi
pop edi
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042391e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop edi
call fcn.0042391e
mov esp, ebp
pop ebp
ret

Function at 0x411e51
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x100]
push edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
mov edi, dword [sym.imp.USER32.dll_SetParent]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x411e88
mov ecx, dword [esi + 0x100]
push 0
push ecx
call edi
mov edx, dword [esi + 0x100]
push 0
push edx
call ebx
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x411ea8
mov eax, dword [eax + 4]
push 0
push eax
call edi
mov ecx, dword [esi + 0xf8]
mov edx, dword [ecx + 4]
push 0
push edx
call ebx
pop edi
pop esi
pop ebx
ret 4
Function at 0x4154e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426b4d
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4361b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 4], edi
mov dword [ebp - 0x10], eax
mov dword [eax + 0xc], edi
mov dword [ebp - 4], 1
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 3
mov dword [esi], vtable.CSkinWindowImpl_class_CPluginManager__class_ATL::CWindow__class_ATL::CWinTraits_1442840576__0__.0
mov dword [ebp - 4], 4
lea eax, [esi + 0x44]
mov dword [esi], vtable.CPluginManager.0
mov dword [ebp - 0x10], eax
mov dword [eax], edi
mov byte [ebp - 4], 6
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov byte [ebp - 4], 7
lea eax, [esi + 0x90]
mov dword [ebp - 0x10], eax
mov dword [eax], edi
mov byte [ebp - 4], 9
lea eax, [esi + 0x94]
mov dword [ebp - 0x10], eax
mov dword [eax], edi
mov byte [ebp - 4], 0xb
lea eax, [esi + 0x98]
mov dword [ebp - 0x10], eax
mov dword [eax], edi
mov byte [ebp - 4], 0xd
lea eax, [esi + 0x9c]
mov dword [ebp - 0x10], eax
mov dword [eax], edi
mov byte [ebp - 4], 0xf
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov byte [ebp - 4], 0x10
lea ecx, [esi + 0x58]
push ecx
mov dword [esi + 0x34], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x8c], edi
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x416d60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4361b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x218], eax
xor eax, eax
push 0x206
mov dword [ebp - 0x214], ecx
mov esi, edx
mov edx, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x210], edx
mov word [ebp - 0x20c], ax
call sub.MSVCR100.dll_memset
mov eax, dword [0x437fb0]
push 0
push 0
push 0
push 0x104
lea edx, [ebp - 0x20c]
push edx
push esi
push eax
call dword [sym.imp.crt.dll_Ordinal_33]
add esp, 0x28
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416e05
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042391e
mov esp, ebp
pop ebp
ret 0x10
call fcn.00416cb0
mov edx, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x210]
mov esi, eax
mov eax, dword [ebp - 0x214]
mov dword [esi + 4], edi
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
lea edx, [ebp - 0x21c]
mov dword [esi + 0x10], ecx
call fcn.00417320
test eax, eax
je 0x416e5c
mov edx, dword [0x42bbb0]
mov eax, dword [0x42bbb4]
mov ecx, dword [0x42bbb8]
mov dword [esi + 4], edx
mov edx, dword [0x42bbbc]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
lea eax, [ebp - 0x20c]
lea edx, [esi + 0x14]
lea edi, [eax + 2]
jmp 0x416e70
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416e70
sub eax, edi
lea ecx, [ebp - 0x20c]
sar eax, 1
push ecx
push edx
mov ebx, eax
call fcn.0040e3d0
mov edx, dword [ebp - 0x220]
push edx
call fcn.00416ec0
test al, al
jne 0x416ea6
push esi
call fcn.00415e30
xor esi, esi
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042391e
mov esp, ebp
pop ebp
ret 0x10

Function at 0x417630
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov dword [esi + 0x58], eax
cmp dword [esi + 0x5c], edi
je 0x417659
test edi, edi
je 0x417647
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x417656
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x5c], edi
push 0
push 0
push 0
push 0
mov dword [esi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x10]
push eax
push 0
push esi
push 0x417450
push 0
push 0
call dword [sym.imp.MSVCR100.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 8], eax
test eax, eax
je 0x4176a1
mov esi, dword [esi + 0xc]
test esi, esi
je 0x4176a1
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
ret
Function at 0x4176b0
Capabilities:
Terminate thread

Disassembly:
cmp dword [esi + 0xc0], 0
jne 0x417708
mov eax, dword [esi + 0x1c]
mov dword [esi + 0xc0], 1
test eax, eax
je 0x4176dd
push 0
push 0xf060
push 0x112
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 8]
push 0x4e20
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4176ff
mov ecx, dword [esi + 8]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
jmp eax
ret

Function at 0x4188a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
test eax, eax
jne 0x4188ac
mov esp, ebp
pop ebp
ret
push esi
push 0
push 0x80
push 3
push 0
push 0
push Ordinal_4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4188d4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x418925
push 0
lea eax, [ebp - 4]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x418925
cmp dword [ebp - 4], edi
jne 0x418925
mov ecx, dword [ebp + 8]
push esi
mov dword [ecx], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x419120
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42715c
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x4361b0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 4]
xor ebx, ebx
mov dword [esp + 0x14], ecx
cmp byte [eax + 0x35], bl
jne 0x41917d
mov edx, dword [esi]
cmp dword [eax + 0xc], edx
jge 0x41916e
mov eax, dword [eax + 8]
jmp 0x419178
mov dword [esp + 0x14], eax
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
cmp byte [eax + 0x35], bl
je 0x419164
cmp ecx, dword [edi + 4]
je 0x41918d
mov eax, dword [esi]
cmp eax, dword [ecx + 0xc]
jge 0x4192ac
mov edx, dword [0x43617c]
mov eax, dword [edx + 0xc]
mov ecx, 0x43617c
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov ecx, 1
mov dword [esp + 0x78], ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x28], ecx
mov byte [esp + 0x30], bl
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x78], 2
mov ecx, dword [esi]
lea edx, [esp + 0x48]
add eax, 0xfffffff0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
call fcn.004114a0
add eax, 0x10
mov dword [esp + 0x48], eax
mov byte [esp + 0x78], 4
mov eax, dword [esp + 0x24]
mov ecx, 7
lea esi, [esp + 0x28]
lea edi, [esp + 0x50]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0x78], 7
mov edi, dword [ebp + 8]
lea ecx, [esp + 0x44]
mov edx, edi
call fcn.0041adc0
mov ecx, dword [esp + 0x14]
push ecx
lea esi, [esp + 0x18]
mov ecx, edi
call fcn.0041a280
mov esi, dword [esp + 0x14]
mov byte [esp + 0x78], 2
lea edx, [esp + 0x48]
mov dword [esp + 0x1c], edx
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41926f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x18]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419294
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi + 0x10]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ecx + 0x10]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41ec80
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x4361b0]
xor eax, esp
mov dword [esp + 0x48], eax
push esi
push 0x3c
lea eax, [esp + 0x10]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x40
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
mov eax, dword [esp + 0xc]
jne 0x41ecc5
mov eax, esi
mov ecx, dword [esp + 0x4c]
pop esi
xor ecx, esp
call fcn.0042391e
mov esp, ebp
pop ebp
ret 4

Function at 0x41ee70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4267ef
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4361b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
lea edx, [eax + 8]
mov dword [eax + 4], ecx
mov dword [ebp - 0x10], edx
mov dword [edx + 0xc], ecx
mov dword [ebp - 4], 1
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [ebp - 4], 2
mov edx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [eax + 0x20], edx
mov dword [ebp - 4], 3
mov dword [eax], vtable.CSkinWindowImpl_class_CUserWnd__class_ATL::CWindow__class_ATL::CWinTraits_1442840576__0__.0
mov dword [ebp - 4], 4
mov dword [eax + 0x28], vtable.CSkinCmdTarget.0
mov byte [ebp - 4], 5
mov dword [eax], vtable.CUserWnd.0
mov dword [eax + 0x28], vtable.CUserWnd.1.0
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
lea edx, [eax + 0x44]
mov dword [eax + 0x40], ecx
mov dword [ebp - 0x10], edx
mov dword [edx], ecx
mov byte [ebp - 4], 7
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov byte [ebp - 4], 8
mov dword [eax + 0x30], ecx
mov byte [eax + 0x34], cl
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4