joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c860
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5496fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x248
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x10], esp
push 0x5ba440
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00537c8d
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp + 8]
push eax
push 0xf003f
push 0
push str.SOFTWARENetscapeNetscape
push 0x80000002
call esi
test eax, eax
jne 0x40ca29
lea ecx, [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x48]
push ecx
push edx
push eax
push eax
mov eax, dword [ebp + 8]
push str.CurrentVersion
push eax
mov dword [ebp - 0x14], 0x32
call edi
test eax, eax
jne 0x40ca29
lea ecx, [ebp + 8]
lea edx, [ebp - 0x48]
push ecx
push 0xf003f
push eax
mov eax, dword [ebp + 8]
push edx
push eax
call esi
test eax, eax
jne 0x40ca29
mov edx, dword [ebp + 8]
lea ecx, [ebp + 8]
push ecx
push 0xf003f
push eax
push str.Main
push edx
call esi
test eax, eax
jne 0x40ca29
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x14c]
push eax
push ecx
push 0
push 0
push str.Install_Directory
push edx
mov dword [ebp - 0x14], 0x104
call edi
test eax, eax
jne 0x40ca29
lea edi, [ebp - 0x14c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ebp + ecx - 0x14d], 0x5c
je 0x40c993
mov edi, 0x598f5c
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x14c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Plugins_
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x14c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x14c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00537c8d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40d030
Capabilities:
Set registry value

Disassembly:
sub esp, 0x11c
lea eax, [esp]
push ebx
push ebp
push esi
push edi
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerMenuExt_
mov ebx, ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40d093
lea ecx, [esp + 0x10]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0x5ba440
push 0
push str.SoftwareMicrosoftInternet_ExplorerMenuExt_
push 0x80000001
call esi
test eax, eax
jne 0x40d12e
lea edx, [esp + 0x28]
push str.IEExt.htm
push edx
mov ecx, ebx
call fcn.0040d2c0
test eax, eax
je 0x40d121
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x599454
push ecx
call esi
test eax, eax
jne 0x40d114
lea edi, [esp + 0x28]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x28]
push ecx
push edx
push 1
push eax
push eax
mov eax, dword [esp + 0x24]
push eax
call ebp
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push 4
push ecx
push 4
push 0
push str.contexts
push edx
mov dword [esp + 0x3c], 0xf3
call ebp
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40d13b
push eax
push str.Error__ld_creating_MenuExt_key_during_CBIr::IntIE___r_n
mov ecx, ebx
call fcn.0040d210
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40d13b
push eax
push str.Error__ld_opening_IEMenuKey_during_CBIr::IntIE___r_n
mov ecx, ebx
call fcn.0040d210
lea ecx, [esp + 0x14]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0x5ba440
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push 0x80000002
call esi
test eax, eax
jne 0x40d185
lea edx, [esp + 0x10]
push eax
push edx
push eax
push 0xf003f
push eax
push 0x5ba440
push eax
mov eax, dword [esp + 0x30]
push str.0055C089_8582_441B_A0BF_17B458C2A3A8
push eax
call esi
test eax, eax
je 0x40d19d
push eax
push str.Err__ld_opening_IDMBHO_KEY_in_CBIr::IntIE_n
mov ecx, ebx
call fcn.0040d210
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret
mov ecx, dword [str.IDM_Helper]
mov ax, word [0x5993ac]
mov edx, dword [0x5993a8]
mov dword [esp + 0x18], ecx
mov cl, byte [0x5993ae]
mov word [esp + 0x20], ax
mov byte [esp + 0x22], cl
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
push eax
mov eax, dword [esp + 0x24]
push eax
call ebp
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret
Function at 0x40e110
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x5ba8bc]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.intAOFRWE
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40e150
mov eax, dword [esp + 4]
test eax, eax
je 0x40e150
mov eax, 1
add esp, 8
ret
xor eax, eax
add esp, 8
ret
Function at 0x40e5e0
Capabilities:
Delete file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x549896
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x178
mov eax, dword [esp + 0x18c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
push str.shlwapi
mov dword [eax], 0
mov dword [esp + 0x1c], 0x168
xor ebx, ebx
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x40e643
push str.shlwapi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov ebp, 1
test esi, esi
je 0x40e6b3
push str.AssocQueryStringA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e6a0
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
push edx
push str.open
push 0x598034
push 2
push 0
call eax
test eax, eax
jl 0x40e6a0
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40e6a0
mov ecx, dword [esp + 0x198]
lea eax, [esp + 0x20]
push eax
push 0x597ddc
push ecx
call fcn.0053091a
add esp, 0xc
mov ebx, 1
test ebp, ebp
je 0x40e6ab
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
jne 0x40e786
mov edx, dword [0x5b5ecc]
mov dword [esp + 0x10], edx
mov eax, dword [0x5ba8a4]
lea ecx, [esp + 0x10]
push eax
push str._stmp_test.html
push ecx
mov dword [esp + 0x19c], 0
call fcn.0053091a
mov edx, dword [esp + 0x1c]
add esp, 0xc
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40e76e
lea eax, [esp + 0x14]
push 0
push eax
push 0xd
push str._HTML___HTML_
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_FindExecutableA]
cmp eax, 0x20
jle 0x40e763
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40e763
mov ecx, dword [esp + 0x198]
lea eax, [esp + 0x20]
push eax
push 0x597ddc
push ecx
call fcn.0053091a
add esp, 0xc
mov ebx, 1
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x190], 0xffffffff
call fcn.00537b04
test ebx, ebx
je 0x40e7ff
mov esi, dword [esp + 0x198]
push 0x7e
mov eax, dword [esi]
push eax
call fcn.0051c7f0
add esp, 8
test eax, eax
je 0x40e7ea
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push esi
call fcn.00537879
lea eax, [esp + 0x18]
push eax
call fcn.00426b90
add esp, 8
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x190], 1
push ecx
push 0x597ddc
push esi
call fcn.0053091a
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [esp + 0x190], 0xffffffff
call fcn.00537b04
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.0040e820
mov edx, dword [esp + 0x19c]
mov dword [edx], eax
mov ecx, dword [esp + 0x188]
pop edi
pop esi
mov eax, ebx
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x184
ret 8
Function at 0x40e960
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5498ab
push eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x178
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push ebp
xor ebp, ebp
push eax
push 0x20019
push ebp
push ecx
push 0x80000002
call ebx
test eax, eax
jne 0x40ead8
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push eax
push ebp
push ebp
push str.CurrentVersion
push ecx
mov dword [esp + 0x28], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40eacd
lea edx, [esp + 0x18]
push esi
mov esi, dword [esp + 0x19c]
push edx
push 0x597ddc
push esi
call fcn.0053091a
mov eax, dword [esi]
push 0x20
push eax
call fcn.0051c7f0
add esp, 0x14
test eax, eax
je 0x40ea1d
mov byte [eax], 0
mov edx, dword [esi]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
cmp byte [edx + ecx - 1], 0x2e
jne 0x40ea1d
dec ecx
push ebp
push ecx
mov ecx, esi
call fcn.00538038
mov eax, dword [0x5b5ecc]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
push str._sMain
push edx
mov dword [esp + 0x198], 0
call fcn.0053091a
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
push ecx
push edx
call ebx
test eax, eax
pop esi
jne 0x40eab9
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x7c]
push eax
push ecx
push 0
push 0
push str.PathToExe
push edx
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40eaae
mov ecx, dword [esp + 0x194]
lea eax, [esp + 0x7c]
push eax
push 0x597ddc
push ecx
call fcn.0053091a
add esp, 0xc
mov ebp, 1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
mov dword [esp + 0x188], 0xffffffff
call fcn.00537b04
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x180]
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x184
ret 0xc
Function at 0x410df0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x549b30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
xor ebp, ebp
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [edi + 0x28]
cmp eax, esi
jle 0x410fb3
mov eax, dword [edi + 0x24]
mov eax, dword [eax + ebp*4]
cmp dword [eax + 0xc], esi
je 0x410fa7
cmp dword [eax + 0x10], esi
je 0x410fa7
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x20], esi
cmp ecx, esi
jle 0x410fa7
xor ebx, ebx
mov ecx, dword [eax + 0x18]
cmp dword [ecx + ebx + 8], esi
jne 0x410f8c
cmp dword [esp + 0x14], 0xffffffff
jne 0x410e91
lea ecx, [esp + 0x24]
call fcn.00497d70
lea ecx, [esp + 0x24]
mov dword [esp + 0x58], esi
call fcn.004989e0
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], edx
mov dword [esp + 0x58], 0xffffffff
call fcn.004987d0
mov eax, dword [0x5b5ecc]
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 0x24]
mov esi, 1
mov dword [esp + 0x58], esi
mov edx, dword [ecx + ebp*4]
mov eax, dword [edx + 0x18]
lea edx, [esp + 0x10]
mov ecx, dword [eax + ebx]
push ecx
push 0x597ddc
push edx
call fcn.0053091a
mov eax, dword [esp + 0x1c]
push 0x5c
push eax
call fcn.0051c7b0
add esp, 0x14
test eax, eax
je 0x410ed6
mov byte [eax + 1], 0
mov ecx, dword [0x5b5ecc]
mov dword [esp + 0x1c], ecx
mov edx, dword [edi + 0x24]
mov byte [esp + 0x58], 2
mov eax, dword [edx + ebp*4]
mov ecx, dword [eax + 8]
mov eax, str.ProgramPlugins_
cmp ecx, 3
je 0x410efd
mov eax, str.Plugins_
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x24]
push 0x598a7c
push edx
call fcn.0053091a
mov eax, dword [0x5b5ecc]
add esp, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x58], 3
cmp eax, 1
jl 0x410f5d
mov ecx, dword [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x20]
push str._sNP_IDM_d.dll
push edx
call fcn.0053091a
mov eax, dword [esp + 0x28]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x410fcb
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jle 0x410f2c
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 2
call fcn.00537b04
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 1
call fcn.00537b04
lea ecx, [esp + 0x10]
mov dword [esp + 0x58], 0xffffffff
call fcn.00537b04
xor esi, esi
mov edx, dword [edi + 0x24]
mov ecx, dword [esp + 0x20]
inc ecx
add ebx, 0x24
mov eax, dword [edx + ebp*4]
mov dword [esp + 0x20], ecx
cmp ecx, dword [eax + 0x1c]
jl 0x410e4e
mov eax, dword [edi + 0x28]
inc ebp
cmp ebp, eax
jl 0x410e25
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 2
call fcn.00537b04
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 1
call fcn.00537b04
lea ecx, [esp + 0x10]
mov dword [esp + 0x58], 0xffffffff
call fcn.00537b04
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret
Function at 0x4123b0
Capabilities:
Access peb ldr_data
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x549ee8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x5b5ecc]
push ebx
push ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov ebp, dword [esp + 0x48]
lea eax, [esp + 8]
lea ebx, [ecx + 8]
push eax
push ebp
mov ecx, ebx
mov dword [esp + 0x48], 0
call fcn.0050ffb0
test eax, eax
je 0x412548
mov al, byte [esp + 0x58]
test al, al
je 0x41244e
mov al, byte [esp + 0x30]
test al, al
je 0x41244e
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 4
call fcn.00537b04
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call fcn.00537b04
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.00537b04
mov byte [esp + 0x40], 1
jmp 0x41257a
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x41248a
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
je 0x412481
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x412548
push edx
push eax
call fcn.0051c942
add esp, 8
jmp 0x412491
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 8]
jmp 0x412491
mov edx, dword [esp + 8]
mov eax, dword [edx - 8]
test eax, eax
sete al
test al, al
je 0x412548
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x54]
push eax
push 0x597ddc
push esi
call fcn.0053091a
mov esi, dword [esi]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
pop esi
je 0x412540
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
push ecx
push 0x597ddc
push edx
call fcn.0053091a
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 8
call fcn.00537b04
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 7
call fcn.00537b04
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 6
call fcn.00537b04
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 5
call fcn.00537b04
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0xffffffff
call fcn.00537b04
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x14
push ebp
mov ecx, ebx
call fcn.004b2ac0
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0xc
call fcn.00537b04
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 0xb
call fcn.00537b04
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 0xa
call fcn.00537b04
mov byte [esp + 0x40], 9
lea ecx, [esp + 0xc]
call fcn.00537b04
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0xffffffff
call fcn.00537b04
mov ecx, dword [esp + 0x38]
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x14
Function at 0x4125c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x549f10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x5b5ecc]
push esi
push edi
mov esi, ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 8]
push eax
push 0x597ddc
push ecx
mov dword [esp + 0x34], 0
call fcn.0053091a
mov eax, dword [esp + 0x44]
add esp, 0xc
test eax, eax
je 0x412623
push eax
lea edx, [esp + 0x10]
push 0x597ddc
push edx
call fcn.0053091a
add esp, 0xc
mov ecx, dword [esp + 0x30]
mov edi, dword [esi + 0x88]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
add esi, 0x80
mov dword [esp + 0x14], ecx
lea ecx, [edi + 1]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
push 0xffffffffffffffff
push ecx
mov ecx, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
call fcn.00412b90
mov eax, dword [esi + 4]
lea edx, [edi + edi*2]
lea ecx, [esp + 8]
lea esi, [eax + edx*8]
push ecx
mov ecx, esi
call fcn.00537c3d
lea edx, [esp + 0xc]
lea ecx, [esi + 4]
push edx
call fcn.00537c3d
mov eax, dword [esp + 0x10]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0x18]
mov dword [esi + 0x10], edx
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x14], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 1
call fcn.00537b04
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.00537b04
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 0x18

Function at 0x412720
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x18]
lea ebx, [ecx + 8]
push esi
push ebp
mov ecx, ebx
call fcn.0050ffb0
test eax, eax
je 0x4127ab
mov al, byte [esp + 0x1c]
test al, al
je 0x41274a
mov al, byte [esi + 0x28]
test al, al
jne 0x4127ab
mov edx, dword [esp + 0x14]
test edx, edx
je 0x41277b
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esi]
pop edi
not ecx
dec ecx
mov ecx, dword [eax - 8]
je 0x412777
test ecx, ecx
je 0x4127ab
push edx
push eax
call fcn.0051c942
add esp, 8
jmp 0x412780
test ecx, ecx
jmp 0x412782
mov ecx, dword [esi]
mov eax, dword [ecx - 8]
test eax, eax
sete al
test al, al
je 0x4127ab
mov esi, dword [esi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4127a3
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x10
push ebp
mov ecx, ebx
call fcn.004b2ac0
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
Function at 0x4171e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a7b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x41c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x320]
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
call fcn.0049a7f0
mov eax, dword [esi + 0xf8]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 2
push 0xffffffffffffffff
push 0x100c
push eax
mov byte [ebp - 4], 1
call ebx
inc eax
test eax, eax
jne 0x4172ff
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xc
call fcn.0053f876
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0xb
call fcn.0053f9c6
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xa
call fcn.0053f9c6
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 9
call fcn.0053f9c6
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 8
call fcn.0053f9c6
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 7
call fcn.0053f9c6
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 6
call fcn.0053f876
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 5
call fcn.0053f83e
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 4
call fcn.0053f83e
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 3
call fcn.0053f876
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2b0]
call fcn.0053f9c6
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 0
call fcn.00533726
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0xf8]
lea edi, [eax - 1]
push 2
push edi
push 0x100c
push ecx
call ebx
lea ebx, [esi + 0xdc]
push edi
mov ecx, ebx
call fcn.00531e51
mov edx, dword [esi + 0x60]
shl eax, 4
mov ecx, dword [edx + 4]
mov esi, dword [ecx + eax]
lea ecx, [ebp - 0x320]
mov dword [ebp - 0x2c4], esi
call fcn.00533ae5
mov edx, dword [0x5b5ecc]
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x14]
push 0
push eax
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 0xd
call fcn.004e1180
mov ecx, dword [ebp - 0x14]
push ecx
push 0
push edi
mov ecx, ebx
call fcn.00531d81
mov edx, dword [esi + 0x54]
mov ecx, ebx
push edx
push 1
push edi
call fcn.00531d81
mov ecx, ebx
call fcn.0053726f
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00537b04
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x18
call fcn.0053f876
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x17
call fcn.0053f9c6
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x16
call fcn.0053f9c6
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0x15
call fcn.0053f9c6
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0x14
call fcn.0053f9c6
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 0x13
call fcn.0053f9c6
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 0x12
call fcn.0053f876
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 0x11
call fcn.0053f83e
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x238]
call fcn.0053f83e
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0xf
call fcn.0053f876
mov byte [ebp - 4], 0xe
jmp 0x4172d4
Function at 0x418700
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x54a911
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
mov dword [esi], 0x55e9d8
lea ecx, [esi + 4]
push 0xffffffffffffffff
push 0
mov dword [esp + 0x30], 2
mov dword [esp + 0x1c], ecx
call fcn.00418e20
lea ebp, [esi + 0x18]
push 0xffffffffffffffff
push 0
mov ecx, ebp
call fcn.00418e20
lea edi, [esi + 0x2c]
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.00418e20
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea eax, [esi + 0x40]
push eax
call ebx
add esi, 0x58
push esi
call ebx
mov dword [esp + 0x1c], edi
mov dword [edi], method.CCommandLineInfo.virtual_0
mov esi, dword [edi + 4]
mov byte [esp + 0x28], 3
test esi, esi
je 0x4187c4
mov eax, dword [edi + 8]
mov dword [esp + 0x10], esi
mov ecx, eax
dec eax
test ecx, ecx
je 0x4187b8
lea ebx, [eax + 1]
lea ecx, [esi + 4]
mov byte [esp + 0x28], 4
call fcn.00537b04
mov ecx, esi
mov byte [esp + 0x28], 3
call fcn.00537b04
add esi, 0xc
dec ebx
mov dword [esp + 0x10], esi
jne 0x418795
mov edi, dword [edi + 4]
push edi
call fcn.005380ca
add esp, 4
mov dword [esp + 0x1c], ebp
mov dword [ebp], method.CCommandLineInfo.virtual_0
mov esi, dword [ebp + 4]
mov byte [esp + 0x28], 5
test esi, esi
je 0x41881c
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], esi
mov edx, eax
dec eax
test edx, edx
je 0x418810
lea edi, [eax + 1]
mov bl, 6
lea ecx, [esi + 4]
mov byte [esp + 0x28], bl
call fcn.00537b04
mov ecx, esi
mov byte [esp + 0x28], 5
call fcn.00537b04
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x4187ee
mov ebp, dword [ebp + 4]
push ebp
call fcn.005380ca
add esp, 4
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1c], edi
mov dword [edi], method.CCommandLineInfo.virtual_0
mov esi, dword [edi + 4]
mov dword [esp + 0x28], 7
test esi, esi
je 0x41887a
mov eax, dword [edi + 8]
mov dword [esp + 0x14], esi
mov ecx, eax
dec eax
test ecx, ecx
je 0x41886e
lea ebp, [eax + 1]
mov bl, 8
lea ecx, [esi + 4]
mov byte [esp + 0x28], bl
call fcn.00537b04
mov ecx, esi
mov byte [esp + 0x28], 7
call fcn.00537b04
add esi, 0xc
dec ebp
mov dword [esp + 0x14], esi
jne 0x41884c
mov edx, dword [edi + 4]
push edx
call fcn.005380ca
add esp, 4
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret