joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003690
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x14], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x14], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 4], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 4], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + edx + 4], 0x98badcfe
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp - 4]
mov dword [eax + edx + 4], 0x10325476
mov ecx, dword [ebp + 8]
call fcn.10002a90
push eax
mov ecx, dword [ebp + 8]
call fcn.10002ab0
push eax
mov ecx, dword [ebp - 4]
call fcn.10003860
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x10006840
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x10045068]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x10006860
xor al, al
jmp 0x10006968
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x444], eax
push 0x22c
push 0
lea eax, [ebp - 0x438]
push eax
call fcn.10016500
add esp, 0xc
mov dword [ebp - 0x438], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0xffffffff
jne 0x100068ac
xor al, al
jmp 0x10006968
lea ecx, [ebp - 0x438]
push ecx
mov edx, dword [ebp - 0x43c]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
je 0x10006959
mov eax, dword [ebp - 0x430]
cmp eax, dword [ebp - 0x444]
je 0x1000693a
push 0x208
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.10016500
add esp, 0xc
lea edx, [ebp - 0x414]
push edx
push 0x103
lea eax, [ebp - 0x20c]
push eax
call fcn.10019440
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.100191a9
add esp, 8
test eax, eax
jne 0x1000693a
mov eax, dword [ebp - 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x10006968
lea ecx, [ebp - 0x438]
push ecx
mov edx, dword [ebp - 0x43c]
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x440], eax
jmp 0x100068c6
mov eax, dword [ebp - 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001412e
mov esp, ebp
pop ebp
ret
Function at 0x10006980
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
mov eax, dword [0x10045068]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x44c], eax
push 0x22c
push 0
lea eax, [ebp - 0x438]
push eax
call fcn.10016500
add esp, 0xc
mov dword [ebp - 0x438], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0xffffffff
jne 0x100069df
xor al, al
jmp 0x10006b25
lea ecx, [ebp - 0x438]
push ecx
mov edx, dword [ebp - 0x440]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0
je 0x10006aed
mov eax, dword [ebp - 0x430]
cmp eax, dword [ebp - 0x44c]
je 0x10006ace
push 0x208
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.10016500
add esp, 0xc
lea edx, [ebp - 0x414]
push edx
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.10019440
add esp, 0xc
mov dword [ebp - 0x43c], 0
jmp 0x10006a64
mov ecx, dword [ebp - 0x43c]
add ecx, 1
mov dword [ebp - 0x43c], ecx
mov ecx, dword [ebp + 8]
call fcn.100071a0
cmp dword [ebp - 0x43c], eax
jae 0x10006ace
mov edx, dword [ebp - 0x43c]
push edx
mov ecx, dword [ebp + 8]
call fcn.10007180
mov ecx, eax
call fcn.10007330
movzx eax, al
test eax, eax
je 0x10006a93
jmp 0x10006a55
mov ecx, dword [ebp - 0x43c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10007180
mov ecx, eax
call fcn.10005a40
push eax
lea edx, [ebp - 0x20c]
push edx
call fcn.100191a9
add esp, 8
test eax, eax
jne 0x10006acc
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.10006ff0
jmp 0x10006a55
lea ecx, [ebp - 0x438]
push ecx
mov edx, dword [ebp - 0x440]
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x444], eax
jmp 0x100069f9
mov eax, dword [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0xc]
call fcn.10006ef0
movzx ecx, al
test ecx, ecx
jne 0x10006b15
mov dword [ebp - 0x448], 1
jmp 0x10006b1f
mov dword [ebp - 0x448], 0
mov al, byte [ebp - 0x448]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001412e
mov esp, ebp
pop ebp
ret
Function at 0x10006b40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002f6f8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10045068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x30]
call fcn.10007140
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10006980
add esp, 8
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x30]
call fcn.10006f30
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x30]
call fcn.10006f90
jmp 0x10006bad
lea ecx, [ebp - 0x14]
call fcn.10006eb0
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.10006e70
movzx edx, al
test edx, edx
je 0x10006c1b
lea ecx, [ebp - 0x14]
call fcn.10006ed0
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10006c19
push 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x10006c0f
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
push 0xbb8
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10006ba5
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10007100
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1000fb20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002ffe9
mov eax, dword fs:[0]
push eax
sub esp, 0x3a4
mov eax, dword [0x10045068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.10016500
add esp, 0xc
push 0
push 0x10
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x260]
call fcn.10005bc0
mov byte [ebp - 4], 1
push str..lnk
lea ecx, [ebp - 0x260]
call fcn.10010380
lea ecx, [ebp - 0x248]
call fcn.10004eb0
mov byte [ebp - 4], 2
push 0
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x260]
call fcn.10005a40
push eax
call fcn.100056d0
add esp, 0xc
lea ecx, [ebp - 0x230]
call fcn.10004eb0
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x230]
push ecx
lea ecx, [ebp + 8]
call fcn.10005a40
push eax
call fcn.100056d0
add esp, 0xc
lea edx, [ebp - 0x3a0]
push edx
lea ecx, [ebp - 0x248]
call fcn.10002ab0
push eax
call fcn.1001ae72
add esp, 8
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0xffffffff
jne 0x1000fc71
mov dword [ebp - 0x3a8], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x230]
call fcn.10002b00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.10002b00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.10005af0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10005af0
mov eax, dword [ebp - 0x3a8]
jmp 0x1000fd87
lea eax, [ebp - 0x37c]
push eax
lea ecx, [ebp - 0x278]
call fcn.10002bd0
lea ecx, [ebp - 0x278]
call fcn.10002ab0
push eax
lea ecx, [ebp - 0x230]
call fcn.10002ab0
push eax
call fcn.1001e8c5
add esp, 8
test eax, eax
jne 0x1000fd03
mov dword [ebp - 0x3ac], 1
lea ecx, [ebp - 0x278]
call fcn.10002b00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x230]
call fcn.10002b00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.10002b00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.10005af0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10005af0
mov eax, dword [ebp - 0x3ac]
jmp 0x1000fd87
lea ecx, [ebp - 0x278]
call fcn.10002b00
lea ecx, [ebp - 0x3a0]
push ecx
mov edx, dword [ebp - 0x3a4]
push edx
call fcn.1001ae7d
add esp, 8
test eax, eax
je 0x1000fc71
mov eax, dword [ebp - 0x3a4]
push eax
call fcn.1001ae4c
add esp, 4
mov dword [ebp - 0x3b0], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x230]
call fcn.10002b00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.10002b00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.10005af0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10005af0
mov eax, dword [ebp - 0x3b0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001412e
mov esp, ebp
pop ebp
ret
Function at 0x1000fda0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10030057
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x10045068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x260]
call fcn.10005bc0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x278]
call fcn.10005bc0
mov byte [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x28c], esp
mov edx, dword [ebp + 8]
push edx
call fcn.10005bc0
call fcn.1000fb20
add esp, 0x18
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
je 0x1000ff59
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.10016500
add esp, 0xc
push 0
push 0x10
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x230]
call fcn.10005bc0
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x248]
call fcn.10005bc0
mov byte [ebp - 4], 3
push 0x10040c4c
lea ecx, [ebp - 0x230]
call fcn.10010380
lea ecx, [ebp - 0x260]
push ecx
lea ecx, [ebp - 0x230]
call fcn.100103b0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x290], esp
lea edx, [ebp - 0x248]
push edx
call fcn.10010480
mov dword [ebp - 0x294], eax
mov byte [ebp - 4], 4
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x298], esp
lea eax, [ebp - 0x230]
push eax
call fcn.10010480
mov byte [ebp - 4], 3
call fcn.1000f9f0
add esp, 0x30
mov dword [ebp - 0x280], eax
cmp dword [ebp - 0x280], 0
je 0x1000ff3b
mov dword [ebp - 0x284], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.10005af0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.10005af0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x278]
call fcn.10005af0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.10005af0
mov eax, dword [ebp - 0x284]
jmp 0x1000ff8a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.10005af0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.10005af0
mov dword [ebp - 0x288], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x278]
call fcn.10005af0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.10005af0
mov eax, dword [ebp - 0x288]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001412e
mov esp, ebp
pop ebp
ret
Function at 0x1000ffb0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10045068]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10010035
mov edx, 0xc
imul eax, edx, 0
lea ecx, [ebp + eax - 0x10]
push ecx
push 0x10040c50
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1001002b
mov dword [ebp - 0x14], 1
mov edx, 0xc
imul eax, edx, 0
mov dword [ebp + eax - 8], 2
push 0
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001412e
mov esp, ebp
pop ebp
ret

Function at 0x10010150
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x10045068]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [0x10046da0], eax
mov ecx, dword [ebp + 0xc]
mov dword [0x10046de8], ecx
mov edx, dword [ebp + 0x14]
mov dword [0x10046dec], edx
mov eax, dword [ebp + 0x10]
mov dword [0x10046de4], eax
push 0x208
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.10016500
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
call fcn.100084b0
call fcn.1000ffb0
push 0
push 0
push 0x1000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x224]
call fcn.10005bc0
push str.ie4uinit.exe
lea ecx, [ebp - 0x224]
call fcn.10010380
push 0x44
push 0
lea ecx, [ebp - 0x27c]
push ecx
call fcn.10016500
add esp, 0xc
mov dword [ebp - 0x27c], 0x44
xor edx, edx
mov word [ebp - 0x24c], dx
xor eax, eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x27c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push str.__show
lea ecx, [ebp - 0x224]
call fcn.10005a40
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jne 0x10010279
lea ecx, [ebp - 0x224]
call fcn.10005af0
jmp 0x100102ad
push 0xffffffffffffffff
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x224]
call fcn.10005af0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001412e
mov esp, ebp
pop ebp
ret
Function at 0x10010c20
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, dword [ebp + 8]
call fcn.10005cd0
mov dword [ebp - 8], 0x288
mov eax, dword [ebp - 8]
push eax
call fcn.1001aeda
add esp, 4
mov dword [ebp - 4], eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x6f
jne 0x10010c76
mov eax, dword [ebp - 4]
push eax
call fcn.1001a958
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
call fcn.1001aeda
add esp, 4
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10010c9d
mov ecx, dword [ebp - 4]
push ecx
call fcn.1001a958
add esp, 4
xor al, al
jmp 0x10010d04
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
je 0x10010cd6
mov ecx, dword [ebp + 8]
call fcn.10007330
movzx eax, al
test eax, eax
je 0x10010ccc
mov ecx, dword [ebp - 0xc]
add ecx, 0x1b0
push ecx
mov ecx, dword [ebp + 8]
call fcn.10005410
jmp 0x10010cd6
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0xc], eax
jmp 0x10010ca3
mov ecx, dword [ebp - 4]
push ecx
call fcn.1001a958
add esp, 4
mov ecx, dword [ebp + 8]
call fcn.10007330
movzx edx, al
test edx, edx
jne 0x10010cfa
mov dword [ebp - 0x14], 1
jmp 0x10010d01
mov dword [ebp - 0x14], 0
mov al, byte [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x100242dd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1002415c

Function at 0x10029063
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10028d23
Function at 0x401800
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, ecx
nop dword [eax + eax]
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x40181a
mov eax, dword [esi]
push eax
push dword [esi + 0x1c]
push dword [esi + 0x18]
push dword [ebp + 0x10]
push ebx
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, dword [esi + 0x1c]
mov ecx, ebx
mov edx, dword [esi + 0x18]
neg ecx
sbb ecx, ecx
add ecx, 2
add eax, ecx
cmp eax, edi
jb 0x40185e
add edi, edi
push edx
mov dword [esi + 0x1c], edi
call fcn.00427378
push edi
call fcn.00427578
add esp, 8
mov dword [esi + 0x18], eax
jmp 0x401810
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401863
sub ecx, esi
push ecx
mov ecx, dword [ebp + 0x14]
push edx
call fcn.00401370
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x4054c0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x47b06c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov esi, ecx
push edi
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x4054e3
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4055df
mov edi, dword [esi + 0x10]
test edi, edi
je 0x405625
xor ebx, ebx
mov eax, 0x46eed8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405508
sub eax, edx
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x40551b
mov ecx, dword [esi]
push dword [esp + 0x10]
mov edx, edi
push eax
push ecx
push ebx
call fcn.00412970
add esp, 0x10
mov dword [esp + 0x24], 0
cmp eax, 0xffffffff
mov dword [esp + 0x28], 0xf
mov ebx, edi
mov byte [esp + 0x14], 0
cmovne ebx, eax
mov eax, esi
cmp edi, ebx
mov ecx, ebx
cmovb ecx, edi
cmp dword [esi + 0x14], 0x10
jb 0x40555a
mov eax, dword [esi]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00401370
cmp dword [esp + 0x24], 0
je 0x4055a1
cmp dword [esp + 0x28], 0x10
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4055a1
cmp dword [esp + 0x28], 0x10
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push eax
call fcn.00445eed
add esp, 4
test eax, eax
jne 0x4055f3
mov edx, dword [esp + 0x28]
inc ebx
cmp edx, 0x10
jb 0x4055d4
mov ecx, dword [esp + 0x14]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4055ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405639
push edx
push ecx
call fcn.0042736a
add esp, 8
mov edi, dword [esi + 0x10]
cmp ebx, edi
jb 0x405500
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00427329
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x28]
cmp edx, 0x10
jb 0x405625
mov ecx, dword [esp + 0x14]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40561b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405639
push edx
push ecx
call fcn.0042736a
add esp, 8
mov ecx, dword [esp + 0x2c]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00427329
mov esp, ebp
pop ebp
ret
call fcn.004421bc
int3
Function at 0x4064f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45cc8d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 8
push esi
push edi
mov eax, dword [0x47b06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
movups xmm0, xmmword [ebx + 0xc]
lea esi, [edi + 4]
mov dword [edi], vtable.spdlog::pattern_formatter.0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov byte [ebx + 0xc], 0
movq xmm0, qword [ebx + 0x1c]
movq qword [esi + 0x10], xmm0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0xf
movups xmm0, xmmword [ebx + 0x24]
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
movups xmmword [edi + 0x1c], xmm0
mov byte [ebx + 0x24], 0
movq xmm0, qword [ebx + 0x34]
movq qword [edi + 0x2c], xmm0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0xf
mov eax, dword [ebx + 8]
mov dword [edi + 0x34], eax
mov byte [edi + 0x38], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
lea eax, [ebx + 0x3c]
mov byte [ebp - 4], 5
push eax
lea ecx, [edi + 0x74]
call fcn.0040e670
mov byte [ebp - 4], 6
xorps xmm0, xmm0
movups xmmword [edi + 0x3c], xmm0
push esi
movups xmmword [edi + 0x4c], xmm0
mov ecx, edi
mov dword [edi + 0x5c], 0
call fcn.00406d10
mov edx, dword [ebx + 0x20]
cmp edx, 0x10
jb 0x406631
mov ecx, dword [ebx + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406627
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4066a5
push edx
push ecx
call fcn.0042736a
add esp, 8
mov edx, dword [ebx + 0x38]
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0xf
mov byte [ebx + 0xc], 0
cmp edx, 0x10
jb 0x406673
mov ecx, dword [ebx + 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406669
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4066aa
push edx
push ecx
call fcn.0042736a
add esp, 8
lea ecx, [ebx + 0x3c]
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0xf
mov byte [ebx + 0x24], 0
call fcn.00405c00
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x54
call fcn.004421bc
call fcn.004421bc
int3