joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a5c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x417440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
push eax
push str.open
push 0
mov dword [ebp - 0x418], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
cmp esi, 0x20
jg 0x40a70d
lea edx, [ebp - 0x414]
push edx
push str..htm
push SysReAllocString
mov ecx, edi
call fcn.00409dc0
test eax, eax
jne 0x40a70b
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str._shellopencommand
lea eax, [ebp - 0x414]
push eax
call ebx
lea ecx, [ebp - 0x414]
push ecx
mov edx, ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.00409dc0
test eax, eax
jne 0x40a70b
mov edi, dword [sym.imp.MSVCR80.dll_wcsstr]
lea eax, [ebp - 0x414]
push str.__1_
push eax
call edi
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a69e
lea ecx, [ebp - 0x414]
push 0x412654
push ecx
call edi
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a69e
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [ebp + eax*2 - 0x416]
jmp 0x40a6a3
mov word [esi], 0
push 0x412650
push esi
call ebx
mov eax, dword [ebp - 0x418]
push eax
push esi
call ebx
call dword [0x4174a4]
lea ecx, [ebp - 0x414]
push ecx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x40a6e3
mov ecx, dword [ebp + 0xc]
xor eax, eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x40a70d
lea esi, [eax + eax]
mov eax, esi
call fcn.0040cff0
mov eax, esp
push edi
push esi
lea edx, [ebp - 0x414]
push edx
push eax
call fcn.00409e70
mov ecx, dword [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x40a70d
mov eax, esi
lea esp, [ebp - 0x424]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040ceac
mov esp, ebp
pop ebp
ret 8
Function at 0x40b110
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x40eed9
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push esi
push edi
mov eax, dword [0x417440]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
call sub.MFC80U.DLL_Ordinal_3927
test al, al
je 0x40b184
push 0x44
lea eax, [esp + 0x28]
push 0
push eax
call fcn.0040cf04
mov eax, dword [esp + 0x84]
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
mov dword [esp + 0x4c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
jmp 0x40b249
call dword [0x4174a4]
push 0x44
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.0040cf04
mov eax, SysReAllocString
add esp, 0xc
push str.AdvAPI32.dll
lea ecx, [esp + 0x10]
mov word [esp + 0x58], 5
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], 7
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea ecx, [esp + 0xc]
mov dword [esp + 0x70], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x40b23f
push str.CreateProcessWithLogonW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x14]
push edx
mov edi, eax
lea eax, [esp + 0x28]
push eax
push 0x412c78
push 0
push 0
push ecx
push 0
push 1
mov ecx, esi
call fcn.0040c070
mov ecx, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
push 0
mov ecx, esi
call fcn.0040c060
mov ecx, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40b2a6
cmp eax, 0x669
je 0x40b2a6
cmp eax, 0xbc2
je 0x40b2a6
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x68
ret 4
mov eax, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x68
ret 4
Function at 0x40b930
Capabilities:
Parse url

Disassembly:
push 0xffffffffffffffff
push 0x40f05e
mov eax, dword fs:[0]
push eax
mov eax, 0x6404
call fcn.0040d020
mov eax, dword [0x417440]
xor eax, esp
mov dword [esp + 0x6400], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x417440]
xor eax, esp
push eax
lea eax, [esp + 0x6418]
mov dword fs:[0], eax
mov eax, dword [esp + 0x642c]
mov esi, dword [esp + 0x6428]
mov edi, ecx
xor ebx, ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
call fcn.0040bfc0
lea ebp, [edi + 4]
mov ecx, ebp
mov dword [esp + 0x6420], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_3927]
test al, al
jne 0x40b9ff
push 0x206
lea ecx, [esp + 0x6212]
push ebx
push ecx
mov word [esp + 0x6218], bx
call fcn.0040cf04
add esp, 0xc
mov ecx, ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
mov edx, dword [esp + 0x18]
push eax
push edx
lea eax, [esp + 0x6214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x620c]
push ecx
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
jmp 0x40bac8
lea edx, [esp + 0x20]
push edx
push ebx
push ebx
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
push 0x206
mov word [esp + 0x6210], bx
push ebx
je 0x40ba63
lea eax, [esp + 0x6216]
push eax
call fcn.0040cf04
add esp, 0xc
lea ecx, [esp + 0x417c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, dword [esp + 0x18]
push eax
push edx
lea eax, [esp + 0x6214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x620c]
push ecx
jmp 0x40bac0
lea edx, [esp + 0x6216]
push edx
call fcn.0040cf04
add esp, 0xc
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40ba80
sub eax, edx
sar eax, 1
push eax
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea eax, [esp + 0x6214]
push eax
call dword [sym.imp.MSVCR80.dll_wcsncpy]
add esp, 0xc
lea ecx, [esp + 0x620c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea edx, [esp + 0x620c]
push edx
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 1
mov byte [esp + 0x6420], bl
call fcn.0040c020
mov eax, esi
mov ecx, dword [esp + 0x6418]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6400]
xor ecx, esp
call fcn.0040ceac
add esp, 0x6410
ret 8
Function at 0x40bbf0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x40f0a2
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x417440]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x417440]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [0x412fd8]
mov edx, dword [0x412fdc]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x412fe0]
mov dword [esp + 0x20], edx
mov edx, dword [0x412fe4]
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], edx
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push 0x24
push 1
lea eax, [esp + 0x20]
xor ebx, ebx
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x44], ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_4101]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push 0x64
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.RPCRT4.dll_UuidFromStringW]
test eax, eax
lea ecx, [esp + 0x14]
jne 0x40bcc2
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
jmp 0x40bcda
mov esi, dword [0x412fd8]
mov edi, dword [0x412fdc]
mov ebx, dword [0x412fe0]
mov ebp, dword [0x412fe4]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [esp + 0x40]
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0040ceac
add esp, 0x28
ret
Function at 0x40c450
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x40f15b
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x417440]
xor eax, esp
mov dword [esp + 0x21c], eax
push esi
mov eax, dword [0x417440]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
push 0x206
lea eax, [esp + 0x22]
push 0
push eax
mov esi, ecx
mov word [esp + 0x28], 0
call fcn.0040cf04
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x40c4cc
push 0x412f38
lea edx, [esp + 0x20]
push edx
mov eax, edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x14]
call fcn.0040c3c0
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
lea eax, [esp + 8]
push eax
push 0x7001
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
mov dword [esp + 0x23c], 0
call edx
test eax, eax
je 0x40c515
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push 2
push 0
push 0
mov ecx, esi
call edx
mov byte [esi + 0x14], 1
lea ecx, [esp + 0x18]
mov dword [esp + 8], vtable.CFileException.0
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0040ceac
add esp, 0x22c
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x431008]
jne 0x40100a
repz ret
jmp fcn.00401828

Function at 0x406403
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.00403380
and dword [ebp - 4], 0
cmp dword [0x433250], 0
mov ebx, eax
jne 0x4064b4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406565
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406565
push eax
call fcn.0040330e
mov dword [esp], 0x42e9a8
push edi
mov dword [0x433250], eax
call esi
push eax
call fcn.0040330e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x433254], eax
call esi
push eax
call fcn.0040330e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x433258], eax
call esi
push eax
call fcn.0040330e
pop ecx
mov dword [0x433260], eax
test eax, eax
je 0x4064b4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040330e
pop ecx
mov dword [0x43325c], eax
mov eax, dword [0x43325c]
cmp eax, ebx
je 0x40650c
cmp dword [0x433260], ebx
je 0x40650c
push eax
call fcn.00403389
push dword [0x433260]
mov esi, eax
call fcn.00403389
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40650c
test edi, edi
je 0x40650c
call esi
test eax, eax
je 0x406503
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406503
test byte [ebp - 0xc], 1
jne 0x40650c
or dword [ebp + 0x10], 0x200000
jmp 0x406545
mov eax, dword [0x433254]
cmp eax, ebx
je 0x406545
push eax
call fcn.00403389
pop ecx
test eax, eax
je 0x406545
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406545
mov eax, dword [0x433258]
cmp eax, ebx
je 0x406545
push eax
call fcn.00403389
pop ecx
test eax, eax
je 0x406545
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x433250]
call fcn.00403389
pop ecx
test eax, eax
je 0x406565
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406567
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42ccc0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x431008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x528dfc]
push ebx
push esi
mov esi, dword [0x528c44]
mov ebx, eax
cmp eax, 0x5dd
jne 0x42ccfd
push 0
lea eax, [ebp - 0x804]
push eax
push str.zuhivajomenewahiyayipaxelojevinaziciremagoyipiwiduyen
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov eax, dword [0x432000]
call fcn.0042cba0
cmp dword [0x528dfc], 0x2f
jne 0x42cd18
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
call fcn.0042cbe0
add esp, 4
cmp dword [0x528dfc], 0x568
pop esi
pop ebx
jne 0x42cd4a
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ecx, dword [ebp - 0x808]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x402680
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x402711
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x402711
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi], 0x4550
jne 0x402711
cmp dword [eax + edi + 0x7c], 0
je 0x402711
mov eax, dword [eax + edi + 0x78]
xor esi, esi
add eax, edi
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
add ecx, edi
mov ebx, dword [eax + 0x18]
add edx, edi
mov dword [ebp - 4], ecx
mov ecx, dword [eax + 0x1c]
add ecx, edi
mov dword [ebp + 8], edx
mov dword [ebp - 8], ecx
test ebx, ebx
je 0x402711
mov eax, dword [edx + esi*4]
mov ecx, dword [ebp + 0xc]
add eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402700
test dl, dl
je 0x4026fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402700
add eax, 2
add ecx, 2
test dl, dl
jne 0x4026e0
xor eax, eax
jmp 0x402705
sbb eax, eax
or eax, 1
test eax, eax
je 0x40271a
mov edx, dword [ebp + 8]
inc esi
cmp esi, ebx
jb 0x4026d8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + esi*2]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4096c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x442500]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x44396c]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24c], ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4434b0]
cmp eax, dword [ecx + 4]
jg 0x409887
cmp dword [0x4424a0], 0
jne 0x40986a
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call fcn.0040a060
test al, al
jne 0x409779
push esi
lea eax, [ebp - 0x1c]
push str._05d
push eax
call fcn.00405f90
mov esi, eax
add esp, 0xc
cmp esi, 0x442490
je 0x409861
mov ecx, dword [0x4424a4]
cmp ecx, 0xf
jbe 0x40981e
mov edx, dword [0x442490]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409814
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4098bd
jmp 0x409814
push edi
push 0
push 2
mov dword [ebp - 0x24c], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x228
mov edi, eax
lea eax, [ebp - 0x244]
push 0
push eax
call fcn.00414b20
add esp, 0xc
mov dword [ebp - 0x248], 0x22c
lea eax, [ebp - 0x248]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4097e7
cmp dword [ebp - 0x240], esi
je 0x4097db
lea eax, [ebp - 0x248]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4097c0
jmp 0x4097e7
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x24c], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push dword [ebp - 0x24c]
lea eax, [ebp - 0x1c]
push str._05d__05d
push eax
call fcn.00405f90
add esp, 0x10
mov esi, eax
cmp esi, 0x442490
pop edi
jmp 0x409736
push ecx
push edx
call fcn.00412e0f
add esp, 8
mov dword [0x4424a0], 0
mov dword [0x4424a4], 0xf
mov byte [0x442490], 0
movups xmm0, xmmword [esi]
movups xmmword [0x442490], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x4424a0], xmm0
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [esi + 0x14], 0xf
lea ecx, [ebp - 0x1c]
call fcn.004022e0
pop esi
push 0x442490
mov ecx, ebx
call fcn.00401c00
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00412e1d
mov esp, ebp
pop ebp
ret
push 0x4434b0
call fcn.004130f0
add esp, 4
cmp dword [0x4434b0], 0xffffffff
jne 0x4096fd
push 0x434a00
call fcn.0041308a
push 0x4434b0
call fcn.0041309f
add esp, 8
jmp 0x4096fd
call fcn.00417a0f
int3
Function at 0x4098d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433b16
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x442500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x24c], esi
call fcn.00414b20
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x218]
push 0x7e
push eax
call fcn.00414820
lea ecx, [ebp - 0x218]
add esp, 8
mov edx, eax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409955
sub ecx, edi
mov dword [ebp - 0x220], 0
sar ecx, 1
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 0
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x230]
movups xmmword [ebp - 0x230], xmm0
push eax
test edx, edx
je 0x409a4e
call fcn.00405390
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0040e630
push eax
push esi
mov byte [ebp - 4], 1
call fcn.00409aa0
mov ecx, dword [ebp - 0x234]
add esp, 0x10
cmp ecx, 0xf
jbe 0x4099ff
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4099f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409a93
push ecx
push edx
call fcn.00412e0f
add esp, 8
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x409a76
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409a6c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409a93
jmp 0x409a6c
call fcn.00405390
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 2
push eax
push esi
call fcn.0040e630
add esp, 8
jmp 0x409a1a
push ecx
push edx
call fcn.00412e0f
add esp, 8
mov eax, esi
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.00412e1d
mov esp, ebp
pop ebp
ret
call fcn.00417a0f
int3
Function at 0x4138a8
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4138e7
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4138e7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4138e7
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4138e7
cmp dword [ecx + 0x74], 0xe
jbe 0x4138e7
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41e663
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00413380
mov eax, dword [0x442500]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00425896
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41e6a5
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41e801
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00413160
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x444108]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00428c60
mov ecx, dword [esi*4 + 0x444108]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41e7fa
cmp eax, dword [edi + ecx + 0x24]
jne 0x41e7fa
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41e7fa
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00428c60
add esp, 0x14
test edx, edx
jl 0x41e7fa
jg 0x41e770
test eax, eax
jb 0x41e7fa
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41e7fa
jl 0x41e78a
cmp dword [ebp - 0x1008], eax
ja 0x41e7fa
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41e7a8
test ebx, ebx
je 0x41e7e1
cmp ecx, edi
jae 0x41e7e1
mov al, byte [ecx]
cmp al, 0xd
jne 0x41e7c2
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41e7ce
cmp byte [ecx + 1], 0xa
jne 0x41e7ce
inc ecx
jmp 0x41e7ce
movzx eax, al
movsx eax, byte [eax + 0x4427d0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41e7a8
cmp edx, ebx
jne 0x41e7a8
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41e7ff
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00412e1d
leave
ret

Function at 0x424a3e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x439fa8
push 0x439fa0
push str.FlsAlloc
push 0x1e
call fcn.00424888
mov esi, eax
add esp, 0x10
test esi, esi
je 0x424a72
push dword [ebp + 8]
mov ecx, esi
call dword [0x4351f4]
call esi
jmp 0x424a78
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4