joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5b1760
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x5b17da
mov eax, dword [ebx + 8]
call fcn.00526470
mov ecx, eax
mov dl, 1
mov eax, dword [0x532648]
call fcn.0052079c
mov esi, eax
mov dword [ebx + 0x8c], esi
xor edx, edx
mov eax, esi
call fcn.00536f1c
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2b8], 0x5b1058
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.00526470
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.00526470
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x5b1850
mov eax, dword [ebx + 8]
call fcn.00526470
mov ecx, eax
mov dl, 1
mov eax, dword [0x532648]
call fcn.0052079c
mov esi, eax
mov dword [ebx + 0x9c], esi
mov dl, 1
mov eax, esi
call fcn.00536f1c
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2b8], 0x5b10a4
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.00526470
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.00526470
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x5b18bc
mov eax, dword [ebx + 8]
call fcn.00526470
mov ecx, eax
mov dl, 1
mov eax, dword [0x5330b8]
call fcn.0052079c
mov esi, eax
mov dword [ebx + 0x94], esi
mov eax, esi
mov byte [eax + 0x290], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.00526470
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.00526470
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x34fc4c7b
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
je 0x4310d2
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0xbd13e8d
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x404bef
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40db60]
jne 0x404bf9
repz ret
jmp fcn.0040883b

Function at 0x4060f3
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.004029c4
and dword [ebp - 4], 0
cmp dword [0x40e54c], 0
mov ebx, eax
jne 0x4061a4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406255
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40aa14
push edi
call esi
test eax, eax
je 0x406255
push eax
call fcn.00402952
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40e54c], eax
call esi
push eax
call fcn.00402952
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40e550], eax
call esi
push eax
call fcn.00402952
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40e554], eax
call esi
push eax
call fcn.00402952
pop ecx
mov dword [0x40e55c], eax
test eax, eax
je 0x4061a4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402952
pop ecx
mov dword [0x40e558], eax
mov eax, dword [0x40e558]
cmp eax, ebx
je 0x4061fc
cmp dword [0x40e55c], ebx
je 0x4061fc
push eax
call fcn.004029cd
push dword [0x40e55c]
mov esi, eax
call fcn.004029cd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061fc
test edi, edi
je 0x4061fc
call esi
test eax, eax
je 0x4061f3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061f3
test byte [ebp - 0xc], 1
jne 0x4061fc
or dword [ebp + 0x10], 0x200000
jmp 0x406235
mov eax, dword [0x40e550]
cmp eax, ebx
je 0x406235
push eax
call fcn.004029cd
pop ecx
test eax, eax
je 0x406235
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406235
mov eax, dword [0x40e554]
cmp eax, ebx
je 0x406235
push eax
call fcn.004029cd
pop ecx
test eax, eax
je 0x406235
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40e54c]
call fcn.004029cd
pop ecx
test eax, eax
je 0x406255
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406257
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0x10002570
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x1a8]
test ecx, ecx
jne 0x100025c2
mov edx, dword [ebp - 4]
add edx, 0xa4
push edx
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jge 0x100025b8
push str.c:DWGTOOLCommon
mov eax, dword [ebp - 4]
add eax, 0xa4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1a8], 1
mov eax, dword [ebp - 4]
add eax, 0xa4
mov esp, ebp
pop ebp
ret

Function at 0x10006710
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x10006719
xor ecx, ecx
jne 0x10006719
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1000675e
mov eax, dword [ebp - 0xc]
jmp 0x100067b4
cmp dword [ebp - 4], 1
je 0x10006771
cmp dword [ebp - 4], 2
je 0x10006771
mov eax, 0xd
jmp 0x100067b4
cmp dword [ebp + 0xc], 0
je 0x100067aa
cmp dword [ebp - 8], 0
je 0x100067a4
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 1
div ecx
test edx, edx
jne 0x1000679b
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 8]
movsx eax, byte [edx - 1]
test eax, eax
je 0x100067a2
mov eax, 0xd
jmp 0x100067b4
jmp 0x100067aa
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
mov dword [edx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100067f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
xor eax, eax
jne 0x100067f9
xor ecx, ecx
jne 0x100067f9
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x1000681a
mov eax, 0xd
jmp 0x10006846
xor eax, eax
jne 0x10006801
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10008f30
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x100cdbe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x100a8812]
mov byte [ebp - 0x110], al
push 0x103
push 0
lea ecx, [ebp - 0x10f]
push ecx
call fcn.10082470
add esp, 0xc
mov dword [ebp - 0x114], 0
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x114]
movsx eax, byte [edx]
test eax, eax
je 0x10009027
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x114]
mov edx, dword [ebp - 0x114]
mov al, byte [ecx]
mov byte [ebp + edx - 0x110], al
mov ecx, dword [ebp - 0x114]
movsx edx, byte [ebp + ecx - 0x110]
cmp edx, 0x5c
jne 0x10009013
mov eax, dword [ebp - 0x114]
mov byte [ebp + eax - 0x110], 0
mov ecx, dword [ebp - 0x114]
movsx edx, byte [ebp + ecx - 0x111]
cmp edx, 0x3a
je 0x10008ffb
lea eax, [ebp - 0x110]
push eax
call fcn.10008e00
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x10008ffb
push 0
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x10008ffb
xor al, al
jmp 0x1000906b
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x114]
mov dl, byte [eax]
mov byte [ebp + ecx - 0x110], dl
mov eax, dword [ebp - 0x114]
add eax, 1
mov dword [ebp - 0x114], eax
jmp 0x10008f6e
cmp dword [ebp - 0x114], 0
jle 0x10009069
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x114]
movsx edx, byte [ecx - 1]
cmp edx, 0x5c
je 0x10009069
mov eax, dword [ebp + 8]
push eax
call fcn.10008e00
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x10009069
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
neg eax
sbb eax, eax
neg eax
jmp 0x1000906b
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10081238
mov esp, ebp
pop ebp
ret
Function at 0x1000db30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea ecx, [ebp - 8]
call fcn.10006510
push 0
push 0
push 0x2001f
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push SysReAllocStringLen
lea ecx, [ebp - 8]
call fcn.100065e0
test eax, eax
jne 0x1000dc77
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
neg edx
sbb edx, edx
neg edx
push edx
push str.UsePlotStyle
lea ecx, [ebp - 8]
call fcn.100067c0
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 1]
neg ecx
sbb ecx, ecx
neg ecx
push ecx
push str.UsePenSet
lea ecx, [ebp - 8]
call fcn.100067c0
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 2]
neg eax
sbb eax, eax
neg eax
push eax
push str.ModelSpaceOnly
lea ecx, [ebp - 8]
call fcn.100067c0
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 3]
neg edx
sbb edx, edx
neg edx
push edx
push str.ScaleLineWeight
lea ecx, [ebp - 8]
call fcn.100067c0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
push ecx
push str.ColorMode
lea ecx, [ebp - 8]
call fcn.100067c0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x1c]
push eax
push str.BkColorForAllLayouts
lea ecx, [ebp - 8]
call fcn.100067c0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
push edx
push str.BkColor
lea ecx, [ebp - 8]
call fcn.100067c0
push 8
mov eax, dword [ebp + 0xc]
add eax, 8
push eax
push 3
push 0
push str.LineWeightScale
lea ecx, [ebp - 8]
call fcn.1000a250
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
mov ecx, dword [ebp + 0xc]
add ecx, 0x14
push ecx
push 3
push 0
push str.MinPenWidth
lea ecx, [ebp - 8]
call fcn.1000a250
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 8]
call fcn.10006590
mov esi, dword [ebp + 0xc]
mov ecx, 8
mov edi, 0x100cf380
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 9], 1
lea ecx, [ebp - 8]
call fcn.10006540
mov al, byte [ebp - 9]
jmp 0x1000dc86
mov byte [ebp - 0xa], 0
lea ecx, [ebp - 8]
call fcn.10006540
mov al, byte [ebp - 0xa]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000eb50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009f549
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100cdbe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x14]
call fcn.10006510
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x100d0494
call fcn.10002ae0
mov ecx, dword [ebp - 0x24]
call sym.GsUI.dll_public:_void___thiscall_GsUI::PrintPenSet::CheckMinWidth_void_
push 0
push 0
push 0x2001f
push 0
push 0
push 0x100a9cec
push SysReAllocStringLen
lea ecx, [ebp - 0x14]
call fcn.100065e0
test eax, eax
jne 0x1000ed2b
lea ecx, [ebp - 0x1c]
call fcn.10009d80
mov byte [ebp - 4], 1
push 8
push 0x100cf3a0
push 3
push 0
push 0x100a9d10
lea ecx, [ebp - 0x14]
call fcn.1000a250
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, 0x100d0494
call fcn.10005060
movzx ecx, al
test ecx, ecx
je 0x1000ec0f
push 0x100a9d1c
mov ecx, 0x100d0494
call fcn.10002ae0
push 1
mov ecx, 0x100d0494
call fcn.1000a250
push eax
push str.CurPenWidthColorSets
lea ecx, [ebp - 0x14]
call fcn.100067f0
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x14]
call fcn.10006590
cmp dword [ebp - 0x18], 0
jne 0x1000ed1f
push str.SoftwareDWGToolCommonPenWidths_
lea ecx, [ebp - 0x1c]
call fcn.10002ae0
push 0x100d0494
lea ecx, [ebp - 0x1c]
call fcn.1000feb0
push 0
push 0
push 0x2001f
push 0
push 0
lea ecx, [ebp - 0x1c]
call fcn.1000a250
push eax
push SysReAllocStringLen
lea ecx, [ebp - 0x14]
call fcn.100065e0
test eax, eax
jne 0x1000ed1f
mov dword [ebp - 0x20], 0
jmp 0x1000ec95
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0x100
jge 0x1000ed17
mov eax, dword [ebp - 0x20]
push eax
push 0x100a9d60
lea ecx, [ebp - 0x1c]
push ecx
call fcn.10007300
add esp, 0xc
push 8
mov edx, dword [ebp - 0x20]
shl edx, 4
add edx, 0x100cf3a8
push edx
push 3
push 0
lea ecx, [ebp - 0x1c]
call fcn.1000a250
push eax
lea ecx, [ebp - 0x14]
call fcn.1000a250
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x20]
push eax
push 0x100a9d64
lea ecx, [ebp - 0x1c]
push ecx
call fcn.10007300
add esp, 0xc
mov edx, dword [ebp - 0x20]
shl edx, 4
movsx eax, word [edx + 0x100cf3b4]
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000a250
push eax
lea ecx, [ebp - 0x14]
call fcn.100067c0
jmp 0x1000ec8c
lea ecx, [ebp - 0x14]
call fcn.10006590
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10009da0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10006540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000f1c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009f5c0
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x100cdbe8]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x230], ecx
mov ecx, dword [ebp + 8]
call fcn.10011060
lea ecx, [ebp - 0x14]
call fcn.10006510
mov dword [ebp - 4], 0
push 0x2001f
push 0x100a9d84
push SysReAllocStringLen
lea ecx, [ebp - 0x14]
call fcn.10006650
test eax, eax
jne 0x1000f293
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0x200
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x234], eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
test eax, eax
jne 0x1000f28b
cmp dword [ebp - 0x20], 0
jbe 0x1000f282
lea edx, [ebp - 0x22c]
push edx
mov ecx, dword [ebp + 8]
call fcn.10011080
mov dword [ebp - 0x20], 0x200
jmp 0x1000f231
lea ecx, [ebp - 0x14]
call fcn.10006590
mov ecx, dword [ebp + 8]
call fcn.10058310
test eax, eax
jne 0x1000f2ac
push str.Default
mov ecx, dword [ebp + 8]
call fcn.10011080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10006540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.10081238
mov esp, ebp
pop ebp
ret 4
Function at 0x10018d70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a0056
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x40
mov eax, dword [0x100cdbe8]
xor eax, ebp
mov dword [ebp - 0x28], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, 0x1c
mov word [ebp - 0x24], ax
push 0x100abb38
mov ecx, dword [ebp + 8]
push ecx
call fcn.10083f23
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x10018dc9
xor al, al
jmp 0x10018f3f
mov edx, dword [ebp - 0x1c]
push edx
movzx eax, word [ebp - 0x24]
push eax
push 1
lea ecx, [ebp - 0x48]
push ecx
call fcn.10083e42
add esp, 0x10
mov edx, dword [ebp - 0x1c]
push edx
push 2
push 1
lea eax, [ebp - 0x14]
push eax
call fcn.10083e42
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.10083b6e
add esp, 4
test eax, eax
jne 0x10018e0c
movsx edx, word [ebp - 0x14]
test edx, edx
jg 0x10018e1f
mov eax, dword [ebp - 0x1c]
push eax
call fcn.10083af2
add esp, 4
xor al, al
jmp 0x10018f3f
mov ecx, dword [ebp - 0x1c]
push ecx
push 2
push 1
lea edx, [ebp - 0x18]
push edx
call fcn.10083e42
add esp, 0x10
movzx eax, word [ebp - 0x18]
test eax, eax
je 0x10018e4e
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.10083af2
add esp, 4
xor al, al
jmp 0x10018f3f
mov dword [ebp - 4], 0
movsx edx, word [ebp - 0x14]
lea eax, [edx*4 - 2]
mov dword [ebp - 0x20], eax
push 1
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.100839f6
add esp, 0xc
mov eax, dword [ebp - 0x1c]
push eax
push 1
push 1
lea ecx, [ebp - 0x4c]
push ecx
call fcn.10083e42
add esp, 0x10
movsx edx, byte [ebp - 0x4c]
test edx, edx
jne 0x10018e93
jmp 0x10018e95
jmp 0x10018e75
mov eax, dword [ebp - 0x1c]
push eax
push 1
push 1
lea ecx, [ebp - 0x49]
push ecx
call fcn.10083e42
add esp, 0x10
mov edx, dword [ebp - 0x1c]
push edx
push 1
push 1
lea eax, [ebp - 0x4a]
push eax
call fcn.10083e42
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
push ecx
push 1
push 1
lea edx, [ebp - 0x4b]
push edx
call fcn.10083e42
add esp, 0x10
movzx eax, byte [ebp - 0x4b]
cmp eax, 2
jg 0x10018eee
movzx ecx, byte [ebp - 0x4a]
movzx edx, byte [ebp - 0x49]
cmp ecx, edx
jg 0x10018eee
movzx eax, byte [ebp - 0x49]
test eax, eax
jne 0x10018efe
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.10083af2
add esp, 4
xor al, al
jmp 0x10018f3f
jmp 0x10018f23
mov dword [ebp - 4], 0xffffffff
jmp 0x10018f31
mov eax, dword [ebp - 0x1c]
push eax
call fcn.10083af2
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.10081238
mov esp, ebp
pop ebp
ret
Function at 0x10018f60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x100cdbe8]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov eax, 0x19
mov word [ebp - 0x14], ax
push 0x100abb3c
mov ecx, dword [ebp + 8]
push ecx
call fcn.10083f23
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10018f9a
xor al, al
jmp 0x100190e6
mov edx, dword [ebp - 0xc]
push edx
movzx eax, word [ebp - 0x14]
push eax
push 1
lea ecx, [ebp - 0x3c]
push ecx
call fcn.10083e42
add esp, 0x10
mov edx, dword [ebp - 0xc]
push edx
push 1
push 2
lea eax, [ebp - 4]
push eax
call fcn.10083e42
add esp, 0x10
mov ecx, dword [ebp - 0xc]
push ecx
push 1
push 2
lea edx, [ebp - 8]
push edx
call fcn.10083e42
add esp, 0x10
mov eax, dword [ebp - 0xc]
push eax
call fcn.10083b6e
add esp, 4
test eax, eax
jne 0x10018ff9
movsx ecx, word [ebp - 4]
test ecx, ecx
jle 0x10018ff9
movzx edx, word [ebp - 8]
test edx, edx
je 0x1001900c
mov eax, dword [ebp - 0xc]
push eax
call fcn.10083af2
add esp, 4
xor al, al
jmp 0x100190e6
push 1
push 2
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.100839f6
add esp, 0xc
mov edx, dword [ebp - 0xc]
push edx
push 1
push 1
lea eax, [ebp - 0x3d]
push eax
call fcn.10083e42
add esp, 0x10
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.10083b6e
add esp, 4
test eax, eax
je 0x10019053
mov edx, dword [ebp - 0xc]
push edx
call fcn.10083af2
add esp, 4
xor al, al
jmp 0x100190e6
movsx eax, byte [ebp - 0x3d]
test eax, eax
jne 0x1001905d
jmp 0x1001905f
jmp 0x1001901c
mov ecx, dword [ebp - 0xc]
push ecx
push 1
push 1
lea edx, [ebp - 0xd]
push edx
call fcn.10083e42
add esp, 0x10
mov eax, dword [ebp - 0xc]
push eax
push 1
push 1
lea ecx, [ebp - 0x15]
push ecx
call fcn.10083e42
add esp, 0x10
mov edx, dword [ebp - 0xc]
push edx
push 1
push 1
lea eax, [ebp - 0x16]
push eax
call fcn.10083e42
add esp, 0x10
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.10083b6e
add esp, 4
test eax, eax
jne 0x100190c8
movzx edx, byte [ebp - 0x16]
cmp edx, 2
jg 0x100190c8
movzx eax, byte [ebp - 0xd]
movzx ecx, byte [ebp - 0x15]
cmp eax, ecx
jl 0x100190c8
movzx edx, byte [ebp - 0xd]
test edx, edx
jne 0x100190d8
mov eax, dword [ebp - 0xc]
push eax
call fcn.10083af2
add esp, 4
xor al, al
jmp 0x100190e6
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.10083af2
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10081238
mov esp, ebp
pop ebp
ret