joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10067610
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov eax, dword [ebp + 8]
cmp dword [eax + 0x88], 0
je 0x10067660
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x88]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x88], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
xor eax, eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x100676f3
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x8c]
add ecx, 0x28
xor edx, edx
push edx
push ecx
call fcn.1008eb80
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
cmp dword [ebp - 4], 0
jne 0x100676c1
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
sub ecx, 1
xor esi, esi
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x98]
cdq
push edx
push eax
push esi
push ecx
call fcn.100faf00
push edx
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
push ecx
call fcn.1008ff40
add esp, 0x10
mov eax, 7
jmp 0x10067716
mov edx, 0x28
shl edx, 0
add edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov dword [eax + 8], edx
mov ecx, 0x20
mov edx, dword [ebp - 4]
mov word [edx + 0x1c], cx
mov eax, 1
mov ecx, dword [ebp - 4]
mov word [ecx + 0x1e], ax
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 0x14], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x18], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x78]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x78], eax
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1006f250
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x10163928
mov edx, dword [ebp + 0xc]
push edx
push str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqlite____AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
mov eax, dword [ebp + 8]
push eax
call fcn.1008f380
add esp, 0x18
cmp dword [ebp + 0x10], 0
jne 0x1006f295
mov ecx, dword [ebp + 0xc]
push ecx
push 0x101639c8
push str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqlite____AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
mov edx, dword [ebp + 8]
push edx
call fcn.1008f380
add esp, 0x10
pop ebp
ret
Function at 0x1009ddf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [eax], 0
push 0
push 0x14
call fcn.1008e9c0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1009de1c
mov eax, 7
jmp 0x1009deca
cmp dword [0x10160ab4], 0
je 0x1009de36
push 0xc8
call fcn.10085c90
add esp, 4
test eax, eax
je 0x1009de4b
xor ecx, ecx
mov edx, dword [ebp - 4]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
jmp 0x1009de9b
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
push 0x1009df50
push 0
push 0
call fcn.10112840
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x1009de9b
xor eax, eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
jne 0x1009dec0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100d2fc0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10167b84]
xor eax, ebp
mov dword [ebp - 4], eax
push 1
lea eax, [ebp - 0x214]
push eax
call fcn.100f97b0
add esp, 8
push 0x208
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.1010db20
add esp, 0xc
lea ecx, [ebp - 0x214]
call fcn.10010af0
push eax
push 0
push str.his_first
push 0x10144444
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 1
jne 0x100d3033
mov dword [ebp - 0x210], 1
jmp 0x100d303d
mov dword [ebp - 0x210], 0
mov edx, dword [ebp - 0x210]
mov dword [ebp - 0x21c], edx
lea ecx, [ebp - 0x214]
call fcn.100159b0
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100faee9
mov esp, ebp
pop ebp
ret

Function at 0x100d3b40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10134b78
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10167b84]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.1000aef0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10007b60
add esp, 4
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.10007b60
add esp, 4
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100d4440
add esp, 0xc
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.100d4780
add esp, 8
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x30]
call fcn.1000a060
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
call fcn.100d4590
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.1000b950
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x18], 0
jne 0x100d3c37
mov eax, dword [ebp - 0x14]
add eax, 0x1c
push eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
push 0x1000d720
push 0
push 0
call fcn.10112840
add esp, 0x18
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x18], eax
mov byte [ebp - 0xd], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1000be40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1000bff0
mov al, byte [ebp - 0xd]
jmp 0x100d3c59
mov byte [ebp - 0xe], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1000be40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1000bff0
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x100da430
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x10167b84]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], ecx
push 0
lea ecx, [ebp - 0x21c]
call fcn.100d5210
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.100d9e00
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x100da4af
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x220], edx
lea ecx, [ebp - 0x21c]
call fcn.100d58d0
mov eax, dword [ebp - 0x220]
jmp 0x100da564
mov dword [ebp - 0x210], 0x100
lea eax, [ebp - 0x230]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x204]
push edx
push 0
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x100da533
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.100da430
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x100da527
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x21c]
call fcn.100d58d0
mov eax, dword [ebp - 0x224]
jmp 0x100da564
mov dword [ebp - 0x210], 0x100
jmp 0x100da4b9
lea ecx, [ebp - 0x21c]
call fcn.100d7830
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20c]
call fcn.100d7b10
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x21c]
call fcn.100d58d0
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100faee9
mov esp, ebp
pop ebp
ret 4

Function at 0x100da640
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x100da69f
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100da66c
mov eax, 1
jmp 0x100da6bd
push str.RegDeleteKeyTransactedW
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100da69d
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xc]
jmp 0x100da6bd
jmp 0x100da6b8
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x100da6b8
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x100da6bd
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x100dbe30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
xor eax, eax
jne 0x100dbe39
cmp dword [ebp + 0xc], 0
je 0x100dbe4c
mov dword [ebp - 0x18], 1
jmp 0x100dbe53
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
jne 0x100dbe69
mov eax, 0xd
jmp 0x100dbeec
xor edx, edx
jne 0x100dbe3d
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, 2
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 8]
mov cx, word [eax]
mov word [ebp - 2], cx
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x100dbe89
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x20]
sar edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
lea eax, [edx + ecx*2]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
lea eax, [edx + ecx*2]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 1
jne 0x100dbe7a
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 7
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x100dbf00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
xor eax, eax
jne 0x100dbf09
cmp dword [ebp + 0xc], 0
je 0x100dbf1c
mov dword [ebp - 0xc], 1
jmp 0x100dbf23
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x100dbf36
mov eax, 0xd
jmp 0x100dbf8b
xor edx, edx
jne 0x100dbf0d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov ax, word [edx]
mov word [ebp - 2], ax
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x100dbf49
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x14]
sar ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
lea eax, [edx + edx + 2]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100dd310
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x10167b84]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x100dd337
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x100dd33e
mov al, 1
jmp 0x100dd412
call fcn.100132e0
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.100132e0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.10031160
add esp, 8
movzx eax, al
test eax, eax
je 0x100dd37a
xor al, al
jmp 0x100dd412
mov dword [ebp - 0x48], 0x20
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x38]
call fcn.100dea60
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x100dd3b6
cmp dword [ebp - 0x30], 1
je 0x100dd3bd
cmp dword [ebp - 0x30], 3
je 0x100dd40c
jmp 0x100dd410
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
mov ecx, dword [ebp - 0x44]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x34], ecx
je 0x100dd3ec
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.1011cd94
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x100dd3ec
xor al, al
jmp 0x100dd412
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x100dd400
mov dword [ebp - 0x38], 1
jmp 0x100dd407
mov dword [ebp - 0x38], 0
mov al, byte [ebp - 0x38]
jmp 0x100dd412
mov al, 1
jmp 0x100dd412
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100faee9
mov esp, ebp
pop ebp
ret
Function at 0x100ddf80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x10167b84]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov dword [ebp - 0x2c], ecx
call fcn.100132e0
mov dword [ebp - 0x44], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.10031160
add esp, 8
movzx edx, al
test edx, edx
je 0x100ddfc5
lea eax, [ebp + 8]
push eax
call fcn.10032d90
add esp, 4
jmp 0x100de146
mov ecx, dword [ebp - 0x2c]
call fcn.10013b20
test eax, eax
je 0x100de007
mov ecx, dword [ebp - 0x2c]
call fcn.10013b20
mov esi, eax
mov ecx, dword [ebp - 0x2c]
call fcn.10031140
cmp esi, eax
jae 0x100de007
lea ecx, [ebp + 8]
push ecx
call fcn.10033850
add esp, 4
mov bl, al
mov ecx, dword [ebp - 0x2c]
call fcn.1002f990
mov byte [eax], bl
mov eax, dword [ebp + 8]
jmp 0x100de146
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x4c], 0
jne 0x100de01a
call fcn.100132e0
jmp 0x100de146
mov ecx, dword [ebp - 0x2c]
call fcn.100dd940
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
jne 0x100de069
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x4c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.10033850
add esp, 4
movzx ecx, al
push ecx
call fcn.100d3e80
add esp, 8
movzx edx, al
test edx, edx
je 0x100de059
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
jmp 0x100de061
call fcn.100132e0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
jmp 0x100de146
mov dword [ebp - 0x50], 0x20
lea ecx, [ebp + 8]
push ecx
call fcn.10033850
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.100ddf40
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x100de141
cmp dword [ebp - 0x34], 1
jle 0x100de0c4
cmp dword [ebp - 0x34], 3
je 0x100de111
jmp 0x100de141
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x38], ecx
je 0x100de0f6
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.1011cd94
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x100de0f6
call fcn.100132e0
jmp 0x100de146
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x3d], 1
lea edx, [ebp - 0x2e]
cmp dword [ebp - 0x4c], edx
je 0x100de10a
mov eax, dword [ebp + 8]
jmp 0x100de146
call fcn.100132e0
jmp 0x100de146
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
movzx edx, byte [ebp - 0x2e]
push edx
call fcn.100d3e80
add esp, 8
movzx eax, al
test eax, eax
je 0x100de134
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x40], ecx
jmp 0x100de13c
call fcn.100132e0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
jmp 0x100de146
call fcn.100132e0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100faee9
mov esp, ebp
pop ebp
ret 4
Function at 0x100dea90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, 1
test eax, eax
je 0x100debb6
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x38], 0
je 0x100deac8
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.10033a90
jmp 0x100debca
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
call fcn.1000f0a0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp dword [ebp + 0x10], 0
jl 0x100deb5c
jg 0x100deaf0
cmp dword [ebp + 0xc], 0
jbe 0x100deb5c
cmp dword [ebp - 8], 0
jl 0x100deb5c
jg 0x100deafe
cmp dword [ebp - 0xc], 0
jbe 0x100deb5c
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 8]
jg 0x100deb1c
jl 0x100deb10
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0xc]
jae 0x100deb1c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 4]
call fcn.10012fa0
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.10011b40
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
sbb eax, dword [ebp - 8]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.10031970
cmp dword [ebp + 0x10], 0
jl 0x100deba6
jg 0x100deb6a
cmp dword [ebp + 0xc], 0
jbe 0x100deba6
mov edx, dword [ebp - 4]
cmp dword [edx + 0x4c], 0
je 0x100deba6
mov ecx, dword [ebp - 4]
call fcn.100dd940
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.1011c781
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 0x10]
sbb eax, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
sbb edx, dword [ebp + 0x10]
jmp 0x100debca
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 - 4]
call fcn.10033a90
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100debd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, 1
test eax, eax
je 0x100decee
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x38], 0
je 0x100dec08
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.10033bb0
jmp 0x100ded02
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
call fcn.100100f0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp dword [ebp + 0x10], 0
jl 0x100dec9c
jg 0x100dec30
cmp dword [ebp + 0xc], 0
jbe 0x100dec9c
cmp dword [ebp - 8], 0
jl 0x100dec9c
jg 0x100dec3e
cmp dword [ebp - 0xc], 0
jbe 0x100dec9c
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 8]
jg 0x100dec5c
jl 0x100dec50
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0xc]
jae 0x100dec5c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.10013b20
push eax
call fcn.10011b40
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
sbb eax, dword [ebp - 8]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.10033100
cmp dword [ebp + 0x10], 0
jl 0x100decde
jg 0x100decaa
cmp dword [ebp + 0xc], 0
jbe 0x100decde
mov edx, dword [ebp - 4]
cmp dword [edx + 0x4c], 0
je 0x100decde
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.1011cd94
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 0x10]
sbb eax, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
sbb edx, dword [ebp + 0x10]
jmp 0x100ded02
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 - 4]
call fcn.10033bb0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100e18a0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101355ca
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10167b84]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.LogUtils::LogAppender.0
lea edi, [esi + 0x14]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 1
mov dword [esi + 0x10], 0
call fcn.10016e80
mov ecx, eax
test ecx, ecx
je 0x100e1a64
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
lea ebx, [esi + 0x18]
call fcn.10016e80
mov ecx, eax
test ecx, ecx
je 0x100e1a6e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.10016e80
mov ecx, eax
test ecx, ecx
je 0x100e1a78
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xffffffff
lea eax, [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 5
mov dword [esi + 0x10], eax
test edx, edx
jne 0x100e1982
xor ecx, ecx
jmp 0x100e19a0
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e1990
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.10017a00
push edi
mov ecx, ebx
call fcn.10018670
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x100e19bc
xor ecx, ecx
jmp 0x100e19d4
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e19c4
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.10017a00
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.100e22d0
push eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.10018670
mov edx, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100e1a15
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
je 0x100e1a4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x100e1a4e
cmp dword [esi + 0x10], 0
je 0x100e1a45
push dword [edi]
call fcn.1011e026
add esp, 4
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.10016670
push 0x80004005
call fcn.10016670
push 0x80004005
call fcn.10016670
int3