joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015980
Capabilities:
Acquire credentials from windows credential manager

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10071d45
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x10093054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x28]
call fcn.10008210
mov dword [ebp - 4], 0
push 0x34
push 0
lea eax, [ebp - 0xac]
push eax
call fcn.1004ee40
add esp, 0xc
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.qianxin__llx_
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.100160c0
add esp, 0x14
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
push edx
lea ecx, [ebp - 0x28]
call fcn.10008100
lea ecx, [ebp - 0x40]
call fcn.100080b0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x50]
push ecx
push 0
lea ecx, [ebp - 0x28]
call fcn.10007db0
push eax
call dword [sym.imp.ADVAPI32.dll_CredEnumerateA]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x10015a48
cmp dword [ebp - 0x44], 0
jne 0x10015ac6
lea ecx, [ebp - 0x28]
call fcn.10007db0
push eax
push str.Query_key_info_fail:
push 0xc4
push str.e:jenkinsworkspace_skylar_win_clientdataisoci.ztsandboxpluginCommonLibztnaSandboxPluginCCredentials.cpp
lea ecx, [ebp - 0x78]
call fcn.10005640
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x60]
call fcn.10005c50
push eax
call fcn.1000ade0
add esp, 8
push eax
call fcn.1000ade0
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.10005be0
cmp dword [ebp - 0x44], 0
je 0x10015aab
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.ADVAPI32.dll_CredFree]
mov dword [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100080b0
mov eax, dword [ebp - 0x64]
jmp 0x10015b2a
mov dword [ebp - 0x48], 0
jmp 0x10015ad8
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x50]
jae 0x10015b02
lfence
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x68], edx
push 0
push 1
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CredDeleteA]
jmp 0x10015acf
cmp dword [ebp - 0x44], 0
je 0x10015b12
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.ADVAPI32.dll_CredFree]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100080b0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004ce45
mov esp, ebp
pop ebp
ret 8
Function at 0x1001b260
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0x208
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1001b2a5
cmp dword [ebp - 4], 0
jbe 0x1001b2a5
mov al, 1
jmp 0x1001b2a7
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x1001fba0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072287
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10093054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.10020060
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.10012bf0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.1000d7d0
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x10], 0
jne 0x1001fc63
push 0x14
call fcn.1004ce07
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x14], 0
je 0x1001fc40
push 0
push 0x10000
mov ecx, dword [ebp - 0x14]
call fcn.10020230
mov dword [ebp - 0x18], eax
jmp 0x1001fc47
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x14], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10024c20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x5c], 0x44
push 0x40
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.1004ee40
add esp, 0xc
mov dword [ebp - 0x30], 1
mov ecx, 1
mov word [ebp - 0x2c], cx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 0x10
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10024c9e
movzx edx, byte [ebp + 0xc]
test edx, edx
je 0x10024c8a
push 0xffffffffffffffff
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0
je 0x10024caa
mov byte [ebp - 1], 1
jmp 0x10024cae
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x10024d90
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10093054]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10007db0
push eax
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jne 0x10024dd5
mov eax, 0x10078af8
jmp 0x10024e05
cmp dword [ebp - 0x18], 0
jne 0x10024e00
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp + 8]
call fcn.10007db0
push eax
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jne 0x10024e00
mov eax, 0x10078afc
jmp 0x10024e05
mov eax, 0x10078b00
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004ce45
mov esp, ebp
pop ebp
ret

Function at 0x100251f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x10093054]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x41c], 1
lea eax, [ebp - 0x418]
push eax
push 0x20119
push 0
push 0x10078a90
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100252b6
push 0x410
push 0
lea ecx, [ebp - 0x414]
push ecx
call fcn.1004ee40
add esp, 0xc
mov dword [ebp - 0x424], 1
mov dword [ebp - 0x420], 0x410
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x424]
push ecx
push 0
push str.SecSpacePath
mov edx, dword [ebp - 0x418]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100252a9
mov dword [ebp - 0x41c], 1
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp + 8]
call fcn.10019020
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004ce45
mov esp, ebp
pop ebp
ret

Function at 0x100252d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10093054]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x21c], 1
lea eax, [ebp - 0x210]
push eax
push 0x20119
push 0
push str.SOFTWAREqaxsandbox
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10025396
push 0x208
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.1004ee40
add esp, 0xc
mov dword [ebp - 0x218], 1
mov dword [ebp - 0x214], 0x208
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0
push str.SandboxStatus
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10025389
mov dword [ebp - 0x21c], 1
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10008080
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004ce45
mov esp, ebp
pop ebp
ret
Function at 0x10025990
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072540
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x10093054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x238], 0
push 0x10078b04
lea ecx, [ebp - 0x230]
call fcn.100081d0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x230]
call fcn.10008010
lea ecx, [ebp - 0x234]
push ecx
push 0x20119
push 0
lea ecx, [ebp - 0x230]
call fcn.10007db0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10025a8c
push 0x208
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.1004ee40
add esp, 0xc
mov dword [ebp - 0x240], 1
mov dword [ebp - 0x23c], 0x208
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x240]
push edx
push 0
push str.ImagePath
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10025a7f
mov dword [ebp - 0x238], 1
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x244], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.100080b0
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004ce45
mov esp, ebp
pop ebp
ret

Function at 0x100284a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007266d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10093054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.1000b030
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1000b030
add esp, 4
push eax
lea edx, [ebp - 0x1c]
push edx
call fcn.10028690
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000cbd0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10028da0
mov dword [ebp - 0x20], 0x10028400
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
push 0
lea ecx, [ebp - 0x14]
call fcn.1000db30
push eax
mov edx, dword [ebp - 0x20]
push edx
push 0
push 0
call fcn.10055fab
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
je 0x1002854c
lea ecx, [ebp - 0x14]
call fcn.1000ecf0
jmp 0x1002855d
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
push 6
call fcn.1004bd75
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10028da0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x10029b00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072980
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x10093054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x254], 0
push 0x22c
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.1004ee40
add esp, 0xc
mov dword [ebp - 0x244], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0xffffffff
jne 0x10029be8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetExplorerToken_FAIL:
push 2
push 0x73
push 0x10078c50
lea ecx, [ebp - 0x25c]
call fcn.10005670
mov dword [ebp - 0x24c], eax
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x250], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x250]
call fcn.10005c50
push eax
call fcn.1000ade0
add esp, 8
mov ecx, eax
call fcn.10014670
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call fcn.10005be0
mov eax, dword [ebp - 0x244]
jmp 0x10029c83
mov dword [ebp - 0x23c], 0x22c
lea edx, [ebp - 0x23c]
push edx
mov eax, dword [ebp - 0x240]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10029c66
push 0x10078cc0
lea ecx, [ebp - 0x218]
push ecx
call fcn.1005eefd
add esp, 8
test eax, eax
jne 0x10029c4d
mov dword [ebp - 0x248], 0
lea edx, [ebp - 0x248]
push edx
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x244], ecx
jmp 0x10029c64
lea edx, [ebp - 0x23c]
push edx
mov eax, dword [ebp - 0x240]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10029c09
jmp 0x10029c70
mov dword [ebp - 0x254], 0
mov ecx, dword [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004ce45
mov esp, ebp
pop ebp
ret
Function at 0x10029e90
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10093054]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x30], 1
push 4
push str.ServicesActive
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10029ee6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.essOpenSCManager_fail:_d
call fcn.10048210
add esp, 8
jmp 0x10029f80
push 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x10029f15
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.essOpenService_fail:_d
call fcn.10048210
add esp, 8
jmp 0x10029f80
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x10029f3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.essQueryServiceStatus_fail:_d
call fcn.10048210
add esp, 8
jmp 0x10029f80
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.essService:_s_state:_d
call fcn.10048210
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
sub ecx, 1
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 6
ja case.0x10029f6a.3
mov edx, dword [ebp - 0x2c]
jmp dword [edx*4 + 0x10029fb4]
mov dword [ebp - 0x30], 0
xor eax, eax
jne 0x10029eb5
cmp dword [ebp - 0x24], 0
je 0x10029f90
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x28], 0
je 0x10029fa0
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004ce45
mov esp, ebp
pop ebp
ret
Function at 0x1002cc80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072f3d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10093054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x14]
push eax
call fcn.1000b030
add esp, 4
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1000b030
add esp, 4
push eax
mov edx, dword [ebp + 0xc]
push edx
call fcn.1000b030
add esp, 4
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.1000b030
add esp, 4
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.1002d2c0
add esp, 0x14
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.1000cbd0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.1002df50
mov dword [ebp - 0x20], 0x1002ca30
mov eax, dword [ebp - 0x10]
add eax, 4
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.1000db30
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0
push 0
call fcn.10055fab
add esp, 0x18
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x1002cd46
lea ecx, [ebp - 0x14]
call fcn.1000ecf0
jmp 0x1002cd57
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
push 6
call fcn.1004bd75
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1002df50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10033b60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x10093054]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov dword [ebp - 0x2c], ecx
call fcn.100075b0
mov dword [ebp - 0x44], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.10009750
add esp, 8
movzx edx, al
test edx, edx
je 0x10033ba5
lea eax, [ebp + 8]
push eax
call fcn.10009730
add esp, 4
jmp 0x10033d2b
mov ecx, dword [ebp - 0x2c]
call fcn.100075e0
test eax, eax
je 0x10033bea
mov ecx, dword [ebp - 0x2c]
call fcn.100075e0
mov esi, eax
mov ecx, dword [ebp - 0x2c]
call fcn.100092d0
cmp esi, eax
jae 0x10033bea
lfence
lea ecx, [ebp + 8]
push ecx
call fcn.10009780
add esp, 4
mov bl, al
mov ecx, dword [ebp - 0x2c]
call fcn.10009270
mov byte [eax], bl
mov eax, dword [ebp + 8]
jmp 0x10033d2b
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x4c], 0
jne 0x10033bfd
call fcn.100075b0
jmp 0x10033d2b
mov ecx, dword [ebp - 0x2c]
call fcn.1000f540
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
jne 0x10033c4c
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x4c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.10009780
add esp, 4
movzx ecx, al
push ecx
call fcn.1002c890
add esp, 8
movzx edx, al
test edx, edx
je 0x10033c3c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
jmp 0x10033c44
call fcn.100075b0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
jmp 0x10033d2b
mov dword [ebp - 0x50], 0x20
lea ecx, [ebp + 8]
push ecx
call fcn.10009780
add esp, 4
mov byte [ebp - 0x2e], al
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x2d]
push eax
lea ecx, [ebp - 0x2e]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x40
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x38]
call fcn.10033b20
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x10033ca6
cmp dword [ebp - 0x34], 1
je 0x10033ca6
cmp dword [ebp - 0x34], 3
je 0x10033cf6
jmp 0x10033d26
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x38], ecx
je 0x10033cdb
lfence
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.100564e8
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x10033cdb
call fcn.100075b0
jmp 0x10033d2b
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x3d], 1
lea edx, [ebp - 0x2e]
cmp dword [ebp - 0x4c], edx
je 0x10033cef
mov eax, dword [ebp + 8]
jmp 0x10033d2b
call fcn.100075b0
jmp 0x10033d2b
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
movzx edx, byte [ebp - 0x2e]
push edx
call fcn.1002c890
add esp, 8
movzx eax, al
test eax, eax
je 0x10033d19
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x40], ecx
jmp 0x10033d21
call fcn.100075b0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
jmp 0x10033d2b
call fcn.100075b0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004ce45
mov esp, ebp
pop ebp
ret 4
Function at 0x100345f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 0
jg 0x10034610
jl 0x10034607
cmp dword [ebp + 0xc], 0
ja 0x10034610
xor eax, eax
xor edx, edx
jmp 0x10034747
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x10034632
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.100074a0
jmp 0x10034747
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
call fcn.100092a0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x100346a1
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.1000b780
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
call fcn.10009340
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.100097a0
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
call fcn.10009310
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x10034738
mov ecx, dword [ebp - 8]
call fcn.1000f540
mov dword [ebp - 0x18], 0xfff
cmp dword [ebp - 4], 0xfff
jbe 0x10034711
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x4c]
push edx
push 0xfff
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.10058024
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x10], 0xfff
je 0x1003470f
xor eax, eax
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
sbb edx, eax
mov eax, ecx
jmp 0x10034747
jmp 0x100346bd
cmp dword [ebp - 4], 0
jbe 0x10034738
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.10058024
add esp, 0x10
mov ecx, dword [ebp - 4]
sub ecx, eax
mov dword [ebp - 4], ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
sbb ecx, edx
mov edx, ecx
mov esp, ebp
pop ebp
ret 0xc