joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406c86
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x4094]
mov eax, 0x4114
call fcn.00449ab0
mov eax, dword [0x47d88c]
xor eax, ebp
mov dword [ebp + 0x4090], eax
mov eax, dword [ebp + 0x409c]
push ebx
push esi
push edi
xor edi, edi
push edi
mov ebx, ecx
mov esi, 0x8000
push esi
push ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x78], eax
call fcn.00442398
add esp, 0xc
mov dword [ebp - 0x74], eax
cmp eax, 0xffffffff
jne 0x406cf6
push ebx
lea eax, [ebp + 0x3f90]
push str.Could_not_open_file__s_to_read
push eax
call fcn.0044535f
lea eax, [ebp + 0x3f90]
push eax
call fcn.00405082
add esp, 0x10
jmp 0x406da3
push 0
push esi
push dword [ebp - 0x78]
call fcn.00442398
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
jne 0x406d10
push dword [ebp - 0x78]
jmp 0x406cd1
xor eax, eax
cmp dword [ebp + 0x40a4], eax
mov dword [ebp - 0x7c], eax
jl 0x406d8c
jg 0x406d27
cmp dword [ebp + 0x40a0], eax
jbe 0x406d8c
mov esi, 0x2000
push esi
lea eax, [ebp + 0x1f90]
push eax
push dword [ebp - 0x74]
call fcn.00442af0
add esp, 0xc
test eax, eax
jbe 0x406dbb
push esi
lea eax, [ebp - 0x70]
push eax
push ebx
call fcn.00442af0
add esp, 0xc
test eax, eax
jbe 0x406de8
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x1f90]
push eax
call fcn.00442bed
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x406d8c
add dword [ebp - 0x7c], esi
mov eax, dword [ebp - 0x7c]
cdq
cmp edx, dword [ebp + 0x40a4]
jl 0x406d2c
jg 0x406d8c
cmp eax, dword [ebp + 0x40a0]
jb 0x406d2c
push dword [ebp - 0x74]
call fcn.00442461
push ebx
call fcn.00442461
xor eax, eax
pop ecx
test edi, edi
pop ecx
setne al
mov ecx, dword [ebp + 0x4090]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044111a
add ebp, 0x4094
leave
ret
push dword [ebp - 0x80]
lea eax, [ebp + 0x3f90]
push str.Could_not_read_from_file__s
push eax
call fcn.0044535f
push dword [ebp - 0x74]
call fcn.00442461
lea eax, [ebp + 0x3f90]
push eax
call fcn.00405082
add esp, 0x14
jmp 0x406da3
push dword [ebp - 0x78]
lea eax, [ebp + 0x3f90]
push str.Could_not_read_from_file__s
push eax
call fcn.0044535f
push ebx
jmp 0x406dd2
Function at 0x409561
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
mov eax, dword [0x47d88c]
xor eax, esp
mov dword [esp], eax
mov eax, dword [esp + 8]
push esi
push dword [eax]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x409581
inc esi
mov ecx, dword [esp + 4]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0044111a
pop ecx
ret
Function at 0x409d6a
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x108
lea ebp, [esp - 4]
mov eax, dword [0x47d88c]
xor eax, ebp
mov dword [ebp + 0x108], eax
push 0xc
mov eax, 0x461287
call fcn.004497b9
and dword [ebp - 0x18], 0
lea eax, [ebp]
push eax
push 0x104
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
xor ebx, ebx
inc ebx
test eax, eax
je 0x409dcf
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401a7a
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], ebx
call fcn.00409561
pop ecx
mov byte [ebp - 0xd], 0
test eax, eax
jne 0x409dd2
mov byte [ebp - 0xd], bl
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x18], bl
je 0x409de6
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401b3a
cmp byte [ebp - 0xd], 0
je 0x409e2e
call fcn.00421f68
push eax
lea ecx, [ebp - 0x14]
call fcn.00401abe
lea eax, [ebp]
push eax
mov dword [ebp - 4], ebx
push dword [esi + 0x50]
lea eax, [ebp - 0x14]
push str._s_requires_that_a_temporary_directory_exist_on_your_computer._The_directory_designated_by_environment_variables_as_temporary___s__does_not_exist.
push eax
call fcn.0040190e
mov esi, dword [ebp - 0x14]
add esp, 0x10
push 0
push 0
push esi
call fcn.0042c44a
lea ecx, [esi - 0x10]
call fcn.00401b3a
xor eax, eax
jmp 0x409e30
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x108]
xor ecx, ebp
call fcn.0044111a
add ebp, 0x10c
leave
ret

Function at 0x40ad09
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
mov edi, eax
xor eax, eax
lea ecx, [ebp - 8]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
mov eax, dword [edi]
push ecx
push eax
mov dword [esi + 8], 2
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ad90
push ebx
call fcn.00421415
mov edi, dword [edi]
pop ecx
push eax
push ebx
push dword [ebp - 8]
mov dword [ebp - 4], eax
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40ad81
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x46b7e4
push dword [ebp - 4]
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov dword [esi + 8], 1
cmp dword [ebp - 4], 0
je 0x40ad90
push dword [ebp - 4]
call fcn.00421420
pop ecx
pop edi
mov eax, esi
pop ebx
leave
ret
Function at 0x41489d
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xa0
mov eax, dword [0x47d88c]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, 0x9c
push esi
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00442290
add esp, 0xc
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x4148eb
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x94
call esi
test eax, eax
je 0x4148fb
mov eax, dword [ebp - 0x18]
dec eax
dec eax
jne 0x4148fb
cmp dword [ebp - 0x24], 5
jb 0x4148fb
inc eax
jmp 0x4148fd
xor eax, eax
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop esi
call fcn.0044111a
add ebp, 0x78
leave
ret

Function at 0x4166d8
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x47d88c]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push esi
push 5
xor esi, esi
push esi
push esi
push eax
push str.open
push esi
mov dword [ebp - 0x80], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0x7c], eax
cmp eax, 0x20
ja 0x4167e5
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [ebp - 0x78]
push eax
push 1
push esi
push str..htm
push 0x80000000
call ebx
cmp eax, esi
jne 0x4167e3
lea eax, [ebp - 0x78]
push eax
lea edi, [ebp - 0x74]
call fcn.00416560
pop ecx
cmp eax, esi
jne 0x4167e3
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str._shellopencommand
mov eax, edi
push eax
call esi
lea eax, [ebp - 0x78]
push eax
push 1
push 0
mov eax, edi
push eax
push 0x80000000
call ebx
test eax, eax
jne 0x4167e3
lea eax, [ebp - 0x78]
push eax
call fcn.00416560
pop ecx
test eax, eax
jne 0x4167e3
mov eax, edi
push str.__1_
push eax
call fcn.00448109
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x4167c3
lea eax, [ebp - 0x74]
push 0x46e020
push eax
call fcn.00446ed0
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x4167c3
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [ebp + eax - 0x75]
jmp 0x4167c6
mov byte [edi], 0
push 0x46c5ac
push edi
call esi
push dword [ebp - 0x80]
push edi
call esi
push 5
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 0x7c], eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x7c]
xor ecx, ebp
pop esi
call fcn.0044111a
add ebp, 0x198
leave
ret
Function at 0x41688c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push 0x34
lea edi, [ebx + 4]
mov eax, 0x4e4
push 0
push edi
mov word [ebx + 0x3e], ax
mov dword [ebp - 0xc], edi
call fcn.00442290
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x4168c6
xor eax, eax
jmp 0x416936
push esi
call fcn.00421415
pop ecx
push eax
push esi
push 0
push dword [ebp + 8]
mov dword [ebx + 0x38], eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4168c2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x46b7e4
push dword [ebx + 0x38]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4168c2
mov esi, dword [ebp - 4]
push 0xd
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push str.VarFileInfoTranslation
rep movsd dword es:[edi], dword [esi]
push dword [ebx + 0x38]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x416928
cmp dword [ebp - 8], 4
jb 0x416928
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebx + 0x3c], eax
mov ecx, dword [ebp - 0xc]
xor eax, eax
cmp dword [ecx], 0xfeef04bd
sete al
pop edi
pop esi
leave
ret 4
Function at 0x41bcf6
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 4
mov eax, 0x4613d1
call fcn.004497b9
mov edi, ecx
cmp dword [edi + 0x164], 0
je 0x41bdb5
call fcn.0042ac69
mov ecx, dword [eax + 4]
call fcn.0042978b
and dword [ebp - 4], 0
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0041b9b0
mov byte [ebp - 4], 1
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x41bd9e
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
inc eax
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x41bd98
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
mov eax, dword [ebp - 0x10]
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00401c37
push eax
push edi
call fcn.00445c10
pop ecx
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004143f6
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401b3a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xb]
call fcn.0041dfa1
call fcn.00449891
ret 4

Function at 0x41ce3b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x47d88c]
xor eax, ebp
mov dword [ebp + 0x8c], eax
mov eax, dword [ebp + 0x98]
push esi
add eax, 0x208
xor esi, esi
cmp dword [eax], esi
jne 0x41cf82
mov dword [eax], 1
cmp word [0x482504], si
jne 0x41cf2a
push str.MSH_SCROLL_LINES_MSG
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x482500], eax
cmp eax, esi
jne 0x41cf21
xor eax, eax
inc eax
mov word [0x482504], ax
mov dword [0x4824fc], 3
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
shr ecx, 0x1f
cmp al, 4
jae 0x41cf6f
lea eax, [ebp - 0x78]
push eax
push 1
push esi
push str.Control_PanelDesktop
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41cf82
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push str.WheelScrollLines
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41cf16
push 0xa
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.00449033
add esp, 0xc
mov dword [0x4824fc], eax
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41cf82
push 2
pop eax
mov word [0x482504], ax
cmp word [0x482504], 2
jne 0x41cea0
push str.Magellan_MSWHEEL
push str.MouseZ
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, esi
je 0x41cea0
mov ecx, dword [0x482500]
cmp ecx, esi
je 0x41cea0
push esi
push esi
push ecx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x4824fc], eax
jmp 0x41cf87
cmp ecx, esi
jne 0x41cf82
push esi
push 0x4824fc
push esi
push 0x68
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [0x4824fc]
mov ecx, dword [ebp + 0x8c]
xor ecx, ebp
pop esi
call fcn.0044111a
add ebp, 0x90
leave
ret 4
Function at 0x420670
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
push 0x47c114
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4206f8
push str.GetFileSizeEx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4206b9
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xc]
mov dword [ebp - 8], eax
jmp 0x4206ee
cmp dword [ebp + 0xc], 0
je 0x4206ee
mov eax, dword [ebp + 0xc]
add eax, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0xffffffff
jne 0x4206e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4206ee
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8

Function at 0x422f1e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x422f42
cmp dword [edi + 0x54], 0
jne 0x422f42
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0042ac69
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00422edf
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x429350
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x429397
call fcn.0042ac69
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x429397
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4293b3
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00428eca
mov esi, eax
test edi, edi
je 0x4293b1
test ebx, ebx
je 0x4293b1
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x429fe3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.0042ac69
mov esi, dword [eax + 0xc]
test esi, esi
jne 0x429ffd
xor eax, eax
jmp 0x42a046
push ebx
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x42a045
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push esi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.00429f81
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x42fb06
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x42fb1e
mov edi, dword [esi + 0xc]
jmp 0x42fb5e
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x42fb37
call fcn.0042b273
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x42fb4c
call fcn.0042b273
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x42fb5e
call fcn.0042b273
call fcn.0042ac69
cmp dword [eax + 0x3c], 0
je 0x42fb73
push edi
mov ecx, ebx
call fcn.0042ea13
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0042fa2c
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x42fb91
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x42fb9d
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x436c58
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x47d88c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x436cf6
push 0x465df4
push 4
push eax
call fcn.00449be9
push eax
call fcn.0040a56b
add esp, 0x10
push ebx
push edi
call fcn.00444343
mov edi, dword [eax]
call fcn.00444343
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.004453fa
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.00444343
cmp dword [eax], ebx
je 0x436d0d
call fcn.00444343
push dword [eax]
call fcn.00421783
pop ecx
jmp 0x436d14
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x436c9e
jmp 0x436d9b
call fcn.00444343
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
je 0x436d97
cmp dword [ebp - 0x11c], esi
jae 0x436d97
lea eax, [ebp - 0x118]
push eax
call dword [0x47c044]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x15c]
push ebx
push eax
mov dword [ebp - 0x160], 0x40
call fcn.00442290
add esp, 0xc
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x436d86
push str.FindActCtxSectionStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x436d86
lea ecx, [ebp - 0x160]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x436d86
push ebx
push ebx
push esi
jmp 0x436d8f
push ebx
push ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x436d99
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0044111a
leave
ret

Function at 0x44111a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47d88c]
jne 0x441124
repz ret
jmp fcn.0044b25f
Function at 0x457dce
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0044e722
and dword [ebp - 4], 0
cmp dword [0x481e88], 0
mov ebx, eax
jne 0x457e7f
push 0x46a700
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x457f30
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x46a6f4
push edi
call esi
test eax, eax
je 0x457f30
push eax
call fcn.0044e6b0
mov dword [esp], 0x46a6e4
push edi
mov dword [0x481e88], eax
call esi
push eax
call fcn.0044e6b0
mov dword [esp], 0x46a6d0
push edi
mov dword [0x481e8c], eax
call esi
push eax
call fcn.0044e6b0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x481e90], eax
call esi
push eax
call fcn.0044e6b0
pop ecx
mov dword [0x481e98], eax
test eax, eax
je 0x457e7f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044e6b0
pop ecx
mov dword [0x481e94], eax
mov eax, dword [0x481e94]
cmp eax, ebx
je 0x457ed7
cmp dword [0x481e98], ebx
je 0x457ed7
push eax
call fcn.0044e72b
push dword [0x481e98]
mov esi, eax
call fcn.0044e72b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x457ed7
test edi, edi
je 0x457ed7
call esi
test eax, eax
je 0x457ece
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x457ece
test byte [ebp - 0xc], 1
jne 0x457ed7
or dword [ebp + 0x10], 0x200000
jmp 0x457f10
mov eax, dword [0x481e8c]
cmp eax, ebx
je 0x457f10
push eax
call fcn.0044e72b
pop ecx
test eax, eax
je 0x457f10
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x457f10
mov eax, dword [0x481e90]
cmp eax, ebx
je 0x457f10
push eax
call fcn.0044e72b
pop ecx
test eax, eax
je 0x457f10
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x481e88]
call fcn.0044e72b
pop ecx
test eax, eax
je 0x457f30
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x457f32
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100021f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003d40b
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x10052198]
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]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
mov byte [ebp - 0x470], 0
mov dword [ebp - 0x46c], 4
mov dword [ebp - 0x468], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x18], xmm0
lea eax, [edi + 0x294]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x428]
push 0x1f4
push eax
call fcn.10034e20
lea eax, [edi + 0x258]
push eax
lea eax, [ebp - 0x464]
push 0x3c
push eax
call fcn.10034ec0
mov eax, dword [esi + 0x10]
xor ecx, ecx
movups xmm0, xmmword [edi + 0x68]
inc eax
mov edx, 2
mul edx
movups xmmword [ebp - 0x40], xmm0
movups xmm0, xmmword [edi + 0x78]
movups xmmword [ebp - 0x30], xmm0
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1003358d
add esp, 0x1c
mov ecx, eax
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x20], ecx
jb 0x100022c3
mov esi, dword [esi]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x100022c3
push 0
lea eax, [ebp - 0x474]
push eax
push 0x460
lea eax, [ebp - 0x470]
push eax
push dword [0x100549bc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov al, 1
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.10033596
mov esp, ebp
pop ebp
ret 8

Function at 0x10002320
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x10052198]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov byte [ebp - 0x464], 0
mov dword [ebp - 0x460], 3
mov dword [ebp - 0x45c], 0
lea eax, [esi + 0x294]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x41c]
movlpd qword [ebp - 0xc], xmm0
push 0x1f4
push eax
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call fcn.10034e20
lea eax, [esi + 0x258]
push eax
lea eax, [ebp - 0x458]
push 0x3c
push eax
call fcn.10034ec0
movups xmm0, xmmword [esi + 0x68]
add esp, 0x18
lea eax, [ebp - 0x468]
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [esi + 0x78]
push 0
push eax
push 0x460
lea eax, [ebp - 0x464]
push eax
push dword [0x100549bc]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10033596
mov esp, ebp
pop ebp
ret 4