joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100387d0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1016b8ee
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x10438fc0]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x10438fc0]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
lea eax, [esp + 0x4c]
mov esi, ecx
mov edi, edx
push eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], edi
call fcn.1009ff00
xor ebx, ebx
mov dword [esp + 0xf0], ebx
mov ecx, dword [edi]
xor edx, edx
mov eax, ecx
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], dx
lea edi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x10038850
sub eax, edi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.10008480
lea eax, [esp + 0x4c]
push eax
lea edi, [esi + 0x25c]
push edi
lea ecx, [esp + 0x38]
mov byte [esp + 0xf8], 1
call fcn.100567f0
mov byte [esp + 0xf0], bl
cmp dword [esp + 0x44], 8
mov dword [esp + 0x18], eax
jb 0x100388a7
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [esp + 0x18], ebx
jne 0x100389ca
lea edx, [esp + 0x4c]
push edx
lea ecx, [esi + 0x230]
call fcn.10053190
mov esi, eax
cmp esi, ebx
jge 0x100388d1
lea eax, [esp + 0x4c]
push eax
jmp 0x100389dc
mov byte [esp + 0xf0], 2
mov eax, dword [esp + 0x80]
mov ecx, dword [eax - 4]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov esi, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x24], edx
xor edx, edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x28], eax
mov eax, esi
mov word [esp + 0x30], dx
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10038930
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x38]
call fcn.10008480
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x34]
mov ecx, edi
mov byte [esp + 0xf4], 3
call fcn.100559e0
cmp dword [esp + 0x44], 8
mov edi, eax
jb 0x10038979
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], dx
cmp edi, ebx
jge 0x100389b4
cmp esi, ebx
je 0x1003899b
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0xf4], 0xffffffff
call fcn.100a0040
mov eax, edi
jmp 0x100389ee
mov byte [esp + 0xf0], bl
cmp esi, ebx
je 0x100389c6
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push ecx
push esi
call fcn.100325f0
lea edx, [esp + 0x4c]
mov esi, eax
push edx
mov dword [esp + 0xf4], 0xffffffff
call fcn.100a0040
mov eax, esi
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.10148524
mov esp, ebp
pop ebp
ret
Function at 0x100444f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10162240
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10438fc0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
xor ebx, ebx
lea edi, [esp + 0x14]
mov dword [esp + 0x14], ebx
call fcn.1000a180
mov dword [esp + 0x30], ebx
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [eax + 0x28]
xor esi, esi
mov dword [esp + 0x1c], eax
cmp eax, ebx
jle 0x100445bb
lea esp, [esp]
lea edi, [esp + 0x10]
mov dword [esp + 0x10], ebx
call fcn.10049760
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x30], 1
mov edx, dword [ecx + 0x24]
mov ecx, dword [esp + 0x10]
lea eax, [edx + esi*4]
push ecx
mov ecx, dword [eax]
call fcn.10049230
mov edi, eax
add esp, 4
cmp edi, ebx
jl 0x10044609
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
push ecx
push eax
call edx
mov edi, eax
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x10]
cmp edi, ebx
jl 0x10044611
cmp eax, ebx
je 0x100445b4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], ebx
inc esi
cmp esi, dword [esp + 0x1c]
jl 0x10044550
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov esi, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push ebx
push ebx
push esi
add eax, 0x20
push eax
call edx
mov esi, eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x100445f4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x10044621
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x10044639
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10057870
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10161f88
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x10438fc0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, 3
mov word [esp + 0xc], ax
mov dword [esp + 0x14], ecx
push 8
push 4
push 0x409
lea edx, [esp + 0x18]
push edx
mov eax, edx
mov dword [esp + 0x40], 0
push eax
mov dword [esp + 0x30], 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayPtrOfIndex]
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x14]
push ecx
call fcn.10057a20
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x1c]
mov esi, eax
test eax, eax
je 0x10057910
cmp byte [eax + 8], 0
je 0x100578f9
mov edx, dword [eax]
push edx
jmp 0x100578fd
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jns 0x10057932
push 0x10424228
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], eax
call sub.MSVCR100.dll__CxxThrowException
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1007c660
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016330b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x10438fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [esi], vtable.XMLImplementation::TableContextProperties.0
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
push 0x30
mov dword [esi + 0x30], edi
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
cmp eax, edi
je 0x1007c75a
mov dword [esi + 0x2c], eax
mov dword [eax], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x2c]
mov al, 1
mov byte [ecx + 0x2c], al
mov edx, dword [esi + 0x2c]
push 0x10416448
mov byte [edx + 0x2d], al
call fcn.100c4830
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 0xc]
push 0x10417030
push edi
mov dword [esi + 0x3c], eax
call fcn.100c4bd0
push str.esri
mov edi, eax
push str.http:__www.esri.com_schemas_ArcGIS_10.1
push edi
call fcn.100c68a0
push 0x104156c0
push str.http:__www.w3.org_2001_XMLSchema_instance
push edi
call fcn.100c68a0
push 0x10415698
push str.http:__www.w3.org_2001_XMLSchema
push edi
call fcn.100c68a0
mov ecx, dword [esi + 0x38]
push edi
push ecx
call fcn.100c9de0
add esp, 0x38
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
lea edx, [ebp + 0x10]
push edx
lea ecx, [ebp - 0x18]
mov dword [ebp + 0x10], edi
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x104241f4
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3
Function at 0x1007ebb0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101643f8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10438fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [esi], vtable.MTIndex.0
push esi
mov dword [ebp - 4], 1
call fcn.100aa710
mov eax, dword [esi + 0x1e4]
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
test eax, eax
je 0x1007ec0f
lea ecx, [eax - 0xc]
test ecx, ecx
je 0x1007ec0f
add eax, 0xfffffff4
dec dword [eax]
jne 0x1007ec0f
push eax
call edi
add esp, 4
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x1007ec25
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0xffffffff
cmp byte [esi + 0x10], 0
je 0x1007ec35
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [esi + 4]
test esi, esi
je 0x1007ec51
lea eax, [esi - 0xc]
test eax, eax
je 0x1007ec51
dec dword [esi - 0xc]
lea eax, [esi - 0xc]
jne 0x1007ec51
push eax
call edi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1007ff80
Capabilities:
Delete file
Get file attributes

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x204], 0
je 0x1007ff93
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
call edx
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1007ffa5
xor eax, eax
pop esi
ret
mov esi, dword [esi + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
inc eax
neg eax
sbb eax, eax
and eax, 0x80040204
inc eax
pop esi
ret
Function at 0x10082770
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101660f9
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x10438fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [edi], vtable.GridIndexNG.0
mov dword [ebp - 4], 3
mov esi, dword [edi + 0x58]
test esi, esi
je 0x100827e7
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x100827c2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
cmp byte [esi + 0xc], 0
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
je 0x100827d3
mov esi, dword [esi]
push esi
call ebx
mov eax, dword [edi + 0x58]
mov eax, dword [eax]
push eax
call ebx
mov esi, dword [edi + 0x58]
test esi, esi
je 0x100827e7
call fcn.1002e860
lea eax, [edi + 0x68]
push eax
call fcn.1007ebb0
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x1008280f
lea ecx, [eax - 0xc]
test ecx, ecx
je 0x1008280f
add eax, 0xfffffff4
dec dword [eax]
jne 0x1008280f
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov esi, dword [edi + 0x50]
test esi, esi
je 0x1008281b
call fcn.100b0e20
mov byte [ebp - 4], 0
mov eax, dword [edi + 8]
test eax, eax
je 0x10082835
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [edi + 8], 0
mov dword [edi], vtable.IndexInfo.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1008f7e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jne 0x1008f7ea
call fcn.1008f4ee
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x1008f817
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.1008f529
rcr dh, 1
inc edi
inc ebp
lea eax, [ebp - 0x40]
push eax
call fcn.1008f539
push eax
push esi
push dword [ebp + 8]
call fcn.1008f4ee
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.1008f529
invalid
xchg edi, eax
invalid
xchg ebx, eax

Function at 0x1008f900
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.1008f539
push eax
push esi
push dword [ebp + 8]
call fcn.1008f4ee
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1008f539
push eax
Function at 0x1008fba0
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x1008fbdd
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x1008fbd8
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
rol dword [ecx + 0xf000e2], 1
add byte [ecx + 0x3000fa], al
add byte [ebp + 0x13], dh
rol dword [ecx + 0xf000e2], 1
add byte [ecx + 0x3000fa], al
add byte [ebp + 0x13], dh
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x1008fbca
cmp edx, ebx
jne 0x1008fd18
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x1008fb99
add eax, dword [eax + 4]
jmp 0x1008fb86
mov dword [ebp + 0xc], ebx
jmp 0x1008fbe8
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1008fc00
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1008fc1e
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1008fc7c
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1008fc63
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1008fc6c
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1008fc76
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1008fc58
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1008fbe2
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1008fcc9
dec eax
je 0x1008fcc0
sub eax, 3
je 0x1008fcb7
mov dword [ebp - 4], 0x40
jmp 0x1008fce6
mov dword [ebp - 4], 4
jmp 0x1008fccc
mov dword [ebp - 4], 0x20
jmp 0x1008fccc
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1008fd18
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1008fc98
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1008f529
cdq
sub al, 0xc9
fdivr st(7)
jne 0x1008fd23
push 1
push esi
call edi
mov eax, esi
jmp 0x1008fd24
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10092250
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
push edi
mov edi, dword [esi]
mov dword [ebp - 4], 0
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jne 0x1009227d
mov dword [edi + 8], 6
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 4]
push ecx
push 4
lea ebx, [esi + 0xc]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100922a7
mov dword [edi + 8], 0xfffffffe
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 8], 0
cmp dword [ebp - 4], 0
jne 0x100922c0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
cmp eax, dword [esi + 8]
jle 0x100922fc
mov ecx, dword [esi + 0x10]
push eax
test ecx, ecx
je 0x100922db
push ecx
call dword [sym.imp.MSVCR100.dll_realloc]
add esp, 8
jmp 0x100922e4
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
mov dword [esi + 0x10], eax
test eax, eax
jne 0x100922f7
pop edi
pop esi
mov eax, 0x8007000e
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
mov dword [esi + 8], eax
mov edx, dword [esi + 0x10]
mov esi, dword [esi]
push eax
lea ecx, [ebp - 4]
call fcn.100235b0
test al, al
je 0x10092271
mov eax, dword [ebp - 4]
sub eax, dword [ebx]
pop edi
neg eax
sbb eax, eax
pop esi
and eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10092330
Capabilities:
Delete file

Disassembly:
mov eax, dword [edi + 0x10]
test eax, eax
je 0x10092341
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
push esi
mov esi, dword [edi]
test esi, esi
je 0x10092389
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x1009235e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
cmp byte [esi + 0xc], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
je 0x10092370
mov eax, dword [esi]
push eax
call ebx
mov ecx, dword [edi]
mov edx, dword [ecx]
push edx
call ebx
mov esi, dword [edi]
pop ebx
test esi, esi
je 0x10092383
call fcn.1002e860
mov dword [edi], 0
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
pop esi
ret
Function at 0x1009a1d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10160538
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x10438fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 8], 3
mov dword [esi + 0xc], ebx
mov byte [esi + 0x10], bl
mov dword [esi + 0x18], ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.SqlNodeOrderby.0
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], 1
mov dword [esi + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x40
push ebx
push eax
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 0x24], eax
cmp eax, ebx
je 0x1009a258
mov dword [esi + 0x2c], 0x10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], str.bad_allocation
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const___int_]
push 0x104241f4
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3

Function at 0x1009b5e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10160538
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x10438fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 8], 9
mov dword [esi + 0xc], ebx
mov byte [esi + 0x10], bl
mov dword [esi + 0x18], ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.SqlNodeValues.0
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], 1
mov dword [esi + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x40
push ebx
push eax
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 0x24], eax
cmp eax, ebx
je 0x1009b66b
mov dword [esi + 0x2c], 0x10
mov dword [esi + 0x34], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], str.bad_allocation
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const___int_]
push 0x104241f4
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3