joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003b350
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x1010a4b8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x1003b38c
mov eax, dword [esi]
jmp 0x1003b38e
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x1003b3a0
mov al, 1
jmp 0x1003b42d
xor eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov dword [esp + 0x30], eax
lea edx, [esp + 0xc]
mov ecx, esi
call fcn.1003bb80
test al, al
je 0x1003b3f7
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x1003b3f7
mov bl, 1
jmp 0x1003b3f9
xor bl, bl
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x1003b414
push dword [esp + 0xc]
call fcn.1005d7c6
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
mov al, bl
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.1005d006
add esp, 0x28
ret

Function at 0x1003b450
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x1010a4b8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x1003b48c
mov eax, dword [esi]
jmp 0x1003b48e
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1003b4a2
mov al, 1
jmp 0x1003b531
xor eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov dword [esp + 0x30], eax
lea edx, [esp + 0xc]
mov ecx, esi
call fcn.1003bb80
test al, al
je 0x1003b4fb
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
push 0
cmovae eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1003b4fb
mov bl, 1
jmp 0x1003b4fd
xor bl, bl
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x1003b518
push dword [esp + 0xc]
call fcn.1005d7c6
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
mov al, bl
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.1005d006
add esp, 0x28
ret
Function at 0x1003b550
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x1010a540
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x1003b58d
mov eax, dword [esi]
jmp 0x1003b58f
mov eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
je 0x1003b5a3
mov al, 1
jmp 0x1003b71b
cmp dword [esi + 0x14], 8
jb 0x1003b5ad
mov eax, dword [esi]
jmp 0x1003b5af
mov eax, esi
push eax
lea ecx, [esp + 0x30]
call fcn.10008b50
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x2c]
call fcn.1003b0b0
mov ebx, eax
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x1003b5e7
push dword [esp + 0x2c]
call fcn.1005d7c6
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
cmp ebx, 0xffffffff
jne 0x1003b60a
xor al, al
jmp 0x1003b71b
cmp dword [esi + 0x14], 8
jb 0x1003b614
mov eax, dword [esi]
jmp 0x1003b616
mov eax, esi
push eax
lea ecx, [esp + 0x30]
call fcn.10008b50
mov dword [esp + 0x50], 1
xor edx, edx
lea ecx, [esp + 0x2c]
call fcn.1003afa0
test al, al
sete al
mov byte [esp + 0x13], al
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x1003b65b
push dword [esp + 0x2c]
call fcn.1005d7c6
mov al, byte [esp + 0x17]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], cx
test al, al
jne 0x1003b603
cmp dword [esi + 0x14], 8
jb 0x1003b680
mov eax, dword [esi]
jmp 0x1003b682
mov eax, esi
push eax
call edi
test eax, eax
jne 0x1003b59c
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], eax
mov word [esp + 0x2c], ax
mov dword [esp + 0x50], 2
lea edx, [esp + 0x2c]
mov ecx, esi
call fcn.1003bb80
test al, al
je 0x1003b6d6
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
push eax
call edi
test eax, eax
je 0x1003b6d6
mov bl, 1
jmp 0x1003b708
cmp dword [esi + 0x14], 8
jb 0x1003b6de
mov esi, dword [esi]
push esi
lea ecx, [esp + 0x18]
call fcn.10008b50
mov byte [esp + 0x50], 3
mov edx, ebx
lea ecx, [esp + 0x14]
call fcn.1003afa0
mov byte [esp + 0x50], 2
lea ecx, [esp + 0x14]
call fcn.10005fe0
xor bl, bl
mov dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.10005fe0
mov al, bl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1005d006
add esp, 0x44
ret
Function at 0x1003b740
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1010a57b
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x624], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x630]
mov dword fs:[0], eax
mov esi, ecx
push 0x10169a48
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.1000d430
mov dword [esp + 0x638], 0
cmp dword [0x10161430], 0
je 0x1003b7d7
cmp esi, 0x10161420
je 0x1003b7bc
push 0xffffffffffffffff
push 0
push 0x10161420
mov ecx, esi
call fcn.10006240
mov dword [esp + 0x638], 0xffffffff
lea ecx, [esp + 8]
call fcn.1000d460
mov al, 1
jmp 0x1003b8ab
xor eax, eax
push 0x20a
push eax
mov word [esp + 0x14], ax
lea eax, [esp + 0x16]
push eax
call fcn.100639b0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x1003b895
xor eax, eax
push 0x410
push eax
mov word [esp + 0x21e], ax
mov word [esp + 0x220], ax
lea eax, [esp + 0x222]
push eax
call fcn.100639b0
add esp, 0xc
lea eax, [esp + 0x218]
push 0x208
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x1003b884
test eax, eax
je 0x1003b884
add eax, eax
cmp eax, 0x412
jae 0x1003b87f
xor ecx, ecx
mov word [esp + eax + 0x218], cx
lea eax, [esp + 0x218]
push eax
mov ecx, esi
call fcn.10006010
jmp 0x1003b7bc
call fcn.1005db2e
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.10006010
jmp 0x1003b7bc
mov dword [esp + 0x638], 0xffffffff
lea ecx, [esp + 8]
call fcn.1000d460
xor al, al
mov ecx, dword [esp + 0x630]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x624]
xor ecx, esp
call fcn.1005d006
add esp, 0x634
ret

Function at 0x1003b8d0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x218]
xor eax, eax
push esi
push edi
push 0x20a
push eax
mov word [esp + 0x14], ax
mov edi, edx
lea eax, [esp + 0x16]
mov esi, ecx
push eax
call fcn.100639b0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x1003b914
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x1003b91c
mov esi, dword [esi]
lea eax, [esp + 0xc]
push eax
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x1003b9a6
xor eax, eax
mov word [esp + 0x216], ax
cmp word [esp + 0xc], ax
jne 0x1003b969
xor ecx, ecx
lea eax, [esp + 0xc]
push ecx
push eax
mov ecx, ebx
call fcn.100067c0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.1005d006
add esp, 0x210
ret
lea ecx, [esp + 0xc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003b970
sub ecx, edx
lea eax, [esp + 0xc]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.100067c0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.1005d006
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1005d006
add esp, 0x210
ret
Function at 0x1003c640
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x1010a77e
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x120], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov esi, ecx
push 1
mov dword [esp + 0xc], esi
call fcn.1005d83c
mov dword [esi + 4], eax
push 0x11c
push 0
mov byte [eax], 0
lea eax, [esp + 0x18]
push eax
call fcn.100639b0
add esp, 0x10
mov dword [esp + 0xc], 0x11c
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1003c6c3
cmp dword [esp + 0x10], 6
mov ecx, dword [esi + 4]
setae dl
mov byte [ecx], dl
mov dword [esp + 0x134], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.1005d006
add esp, 0x130
ret
Function at 0x1003d950
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x1010aa48
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov ebx, dword [esp + 0x2c]
test eax, eax
je 0x1003d99b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
push ecx
lea ecx, [esp + 0x18]
mov word [edi + 4], 0
mov dword [esp + 0x18], 0
call fcn.1003f6c0
mov dword [esp + 0x24], 0
mov esi, dword [esp + 0x14]
cmp dword [esi], 0
je 0x1003d9c9
lea ebp, [esi + 8]
jmp 0x1003d9cb
xor ebp, ebp
cmp dword [ebx + 0x10], 0
je 0x1003d9df
cmp dword [ebx + 0x14], 8
jb 0x1003d9db
mov eax, dword [ebx]
jmp 0x1003d9e1
mov eax, ebx
jmp 0x1003d9e1
xor eax, eax
push eax
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x1003da2d
call eax
cmp eax, 5
jne 0x1003da23
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebx + 0x10], 0
je 0x1003da15
cmp dword [ebx + 0x14], 8
jb 0x1003da17
mov ebx, dword [ebx]
jmp 0x1003da17
xor ebx, ebx
push ebx
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
cmp dword [edi], 0
je 0x1003da44
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
cmp eax, 0xb7
jne 0x1003da3a
mov byte [edi + 5], 1
mov ecx, dword [edi]
call fcn.10021440
cmp dword [edi], 0
setne bl
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x1003da6b
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1003da80
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push esi
call fcn.1005d7c6
add esp, 4
mov dword [esp + 0x14], 0
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.1005d006
add esp, 0x14
ret 4
Function at 0x1003fb50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1010ae9b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
xchg dword [esi], eax
lea ecx, [esi + 4]
call fcn.10036cc0
mov dword [esp + 0x18], 0
lea ecx, [esi + 0x24]
call fcn.100383c0
mov byte [esp + 0x18], 1
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov byte [esp + 0x18], 2
lea eax, [esi + 0xa8]
xor ecx, ecx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
mov dword [esp + 0xc], eax
mov word [eax], cx
mov byte [esp + 0x18], 3
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov byte [esp + 0x18], 4
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov byte [esp + 0x18], 5
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov byte [esp + 0x18], 7
lea edx, [esi + 0xe4]
mov dword [edx], ecx
xchg dword [edx], ecx
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x1003fc70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1010aee9
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 2
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x1003fcd4
push dword [esp + 8]
mov edx, dword [esi + 0x34]
push ecx
call fcn.10040770
push dword [esi + 0x30]
call fcn.1005d7c6
add esp, 0xc
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [esp + 0x14], 1
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x1003fd0d
push dword [esp + 8]
mov edx, dword [esi + 0x28]
push ecx
call fcn.10037190
push dword [esi + 0x24]
call fcn.1005d7c6
add esp, 0xc
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esp + 0x14], 0
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x1003fd46
push dword [esp + 8]
mov edx, dword [esi + 0x1c]
push ecx
call fcn.10037190
push dword [esi + 0x18]
call fcn.1005d7c6
add esp, 0xc
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esp + 0x14], 0xffffffff
cmp dword [esi + 0x14], 8
jb 0x1003fd5e
push dword [esi]
call fcn.1005d7c6
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x10040b50
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x1010b136
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x828], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x840]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea eax, [esp + 0x3c]
push eax
push 0x3fe
call edi
mov ebp, eax
test ebp, ebp
je 0x10040c19
lea eax, [esp + 0x3c]
xor esi, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x848], esi
cmp ebp, 0x3fe
jbe 0x10040c43
xor ecx, ecx
lea eax, [ebp + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1005d9bc
add esp, 4
mov ebx, eax
mov esi, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], esi
push ebx
push ebp
call edi
test eax, eax
je 0x10040c01
cmp eax, ebp
ja 0x10040c01
xor ecx, ecx
mov ebp, eax
mov dword [ebx + eax*2], ecx
jmp 0x10040c6f
mov dword [esp + 0x848], 0xffffffff
test ebx, ebx
je 0x10040c19
push ebx
call fcn.1005d9b7
add esp, 4
xor al, al
mov ecx, dword [esp + 0x840]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x828]
xor ecx, esp
call fcn.1005d006
add esp, 0x838
ret
lea eax, [ebp*2]
cmp eax, 0x800
jae 0x10040d0f
xor ecx, ecx
mov word [esp + eax + 0x3c], cx
add eax, 2
cmp eax, 0x800
jae 0x10040d0f
mov word [esp + eax + 0x3c], cx
xor eax, eax
xor edi, edi
test ebp, ebp
je 0x10040cf0
mov esi, dword [esp + 0x18]
mov ebx, 2
cmp word [esi + ebx - 2], 0
jne 0x10040ce4
cmp eax, edi
je 0x10040ce4
lea eax, [esi + eax*2]
push eax
lea ecx, [esp + 0x24]
call fcn.10008b50
mov byte [esp + 0x848], 1
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.100255c0
mov byte [esp + 0x848], 0
cmp dword [esp + 0x34], 8
jb 0x10040cca
push dword [esp + 0x20]
call fcn.1005d7c6
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov word [esp + 0x20], ax
lea eax, [edi + 1]
mov dword [esp + 0x30], 0
inc edi
add ebx, 2
cmp edi, ebp
jb 0x10040c80
mov esi, dword [esp + 0x38]
mov dword [esp + 0x848], 0xffffffff
test esi, esi
je 0x10040d08
push esi
call fcn.1005d9b7
add esp, 4
mov al, 1
jmp 0x10040c1b
call fcn.1005db2e
int3
Function at 0x100430f0
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x170
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0x184]
push ebx
mov ebx, dword [esp + 0x17c]
push ebp
mov ebp, dword [esp + 0x188]
push esi
mov esi, dword [esp + 0x180]
push edi
mov edi, dword [esp + 0x18c]
push 0x118
mov dword [esp + 0x18], eax
lea eax, [esp + 0x60]
push 0
push eax
mov dword [esp + 0x64], 0x11c
call fcn.100639b0
add esp, 0xc
lea ecx, [esp + 0x58]
call fcn.1001e640
test al, al
je 0x100431bd
push dword [esp + 0x60]
push dword [esp + 0x60]
push str._u._u
push esi
call fcn.1001c2e0
call fcn.1001e5c0
test al, al
mov edx, 0x40
mov ecx, 0x20
cmovne ecx, edx
push ecx
push 0x101373a8
push edi
call fcn.1001c2e0
add esp, 0x1c
cmp word [esp + 0x6c], 0
jne 0x1004319a
xor ecx, ecx
jmp 0x100431b0
lea ecx, [esp + 0x6c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100431a1
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x70]
mov ecx, ebx
push eax
call fcn.100067c0
push 0x40
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.100639b0
add esp, 0xc
mov dword [esp + 0x18], 0x40
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
push ecx
push 0x101373a8
push dword [esp + 0x20]
call fcn.1001c2e0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
push 0x101373a8
push ebp
call fcn.1001c2e0
mov ecx, dword [esp + 0x188]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1005d006
add esp, 0x170
ret 0x14
Function at 0x10045f00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1010bd82
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x34]
push 0
mov dword [esp + 0x10], esi
call fcn.100e9832
mov dword [esp + 0x2c], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [esp + 0x2c], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [esp + 0x2c], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [esp + 0x2c], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [esp + 0x2c], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [esp + 0x2c], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [esp + 0x2c], 6
test edi, edi
jne 0x10045fd8
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], str.bad_locale_name
push eax
lea ecx, [esp + 0x14]
call fcn.1005f903
mov byte [esp + 0x2c], 7
mov dword [esp + 0x10], vtable.std::runtime_error.0
mov byte [esp + 0x2c], 6
lea eax, [esp + 0x10]
push 0x1015ac1c
push eax
call fcn.1005fa74
push edi
push esi
call fcn.100e9633
add esp, 8
mov dword [esp + 0x2c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.1005d006
add esp, 0x24
ret 4

Function at 0x10046d30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1010c199
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 8], 0
mov eax, dword [ecx + 0x30]
mov esi, dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [ecx]
call dword [edx + 4]
mov dword [esp + 0x14], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x1004b680
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101062c9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
cmp byte [edx], 0
jne 0x1004b6bc
xor esi, esi
jmp 0x1004b6ca
mov esi, edx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1004b6c1
sub esi, ecx
push esi
push edx
push ecx
mov ecx, dword [esp + 0x30]
call fcn.1004bba0
push eax
mov ecx, edi
call fcn.100153f0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 1
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x1004ea10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1010d32b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0xc], 0
jne 0x1004ea83
push 0x10
call fcn.1005d9bc
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
test eax, eax
je 0x1004ea76
push 0x1004c7b0
push 0x1004c7a0
push 3
lea esi, [eax + 4]
mov dword [eax], 3
push 4
push esi
call fcn.100df7c8
jmp 0x1004ea78
xor esi, esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [edi + 0xc], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
test eax, eax
je 0x1004ea97
cmp byte [ecx + eax - 1], 0xa
jne 0x1004ea97
dec eax
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [edi + 0xc]
lea ecx, [ecx + eax*4]
call fcn.1004c7c0
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0xc
Function at 0x100529a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1010da10
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esp + 0x4c]
xorps xmm0, xmm0
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
movdqu xmmword [esp + 0x1c], xmm0
mov dword [esp + 0x28], 0
movq qword [esp + 0x2c], xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
mov dword [esp + 0x44], 1
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
movq qword [esp + 0xc], xmm0
cmp eax, edx
je 0x10052a45
push 0xffffffffffffffff
push 0
push edx
mov ecx, eax
call fcn.100060b0
lea eax, [esp + 0xc]
mov dword [esp + 0x30], edi
push eax
lea ecx, [esi + 0x14]
call fcn.10052dd0
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.10015f40
xor al, al
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1005d006
add esp, 0x3c
ret 0xc