joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10174c7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov ecx, dword [ebp + 8]
cmp ecx, dword [0x101f268]
push ebx
push esi
push edi
jae 0x101764c
mov eax, ecx
sar eax, 5
lea ebx, [eax*4 + 0x101f280]
mov eax, dword [ebx]
mov esi, ecx
and esi, 0x1f
shl esi, 3
mov al, byte [eax + esi + 4]
test al, 1
mov dword [ebp - 0x14], ebx
je 0x101764c
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], edi
jne 0x101751b
xor eax, eax
jmp 0x1017660
test al, 0x20
je 0x101752c
push 2
push edi
push edi
push ecx
call fcn.0101982f
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x10175e8
cmp dword [ebp + 0x10], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov dword [ebp + 8], edi
jbe 0x1017620
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x418]
cmp ecx, dword [ebp + 0x10]
jae 0x1017582
mov edx, dword [ebp - 4]
inc dword [ebp - 4]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x1017573
inc dword [ebp - 0x10]
mov byte [eax], 0xd
inc eax
inc edi
mov ebx, dword [ebp - 0x14]
mov byte [eax], dl
inc eax
inc edi
cmp edi, 0x400
jl 0x1017558
mov edi, eax
lea eax, [ebp - 0x418]
sub edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0x418]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10175c2
mov eax, dword [ebp - 0xc]
add dword [ebp - 8], eax
cmp eax, edi
jl 0x10175cb
mov eax, dword [ebp - 4]
sub eax, dword [ebp + 0xc]
xor edi, edi
cmp eax, dword [ebp + 0x10]
jb 0x101754c
jmp 0x10175cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], eax
xor edi, edi
mov eax, dword [ebp - 8]
cmp eax, edi
jne 0x1017647
cmp dword [ebp + 8], edi
je 0x1017620
push 5
pop eax
cmp dword [ebp + 8], eax
jne 0x1017615
mov dword [0x101d770], eax
jmp 0x1017653
push edi
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x101760a
mov eax, dword [ebp - 0xc]
mov dword [ebp + 8], edi
mov dword [ebp - 8], eax
jmp 0x10175cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], eax
jmp 0x10175cd
push dword [ebp + 8]
call fcn.01014c16
pop ecx
jmp 0x101765d
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x1017635
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x1a
je 0x1017514
mov dword [0x101d76c], 0x1c
mov dword [0x101d770], edi
jmp 0x101765d
sub eax, dword [ebp - 0x10]
jmp 0x1017660
and dword [0x101d770], 0
mov dword [0x101d76c], 9
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1017902
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x101da44], ebx
push esi
push edi
jne 0x1017982
push 0x1003f50
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x10179bd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1003f44
push edi
call esi
test eax, eax
mov dword [0x101da44], eax
je 0x10179bd
push 0x1003f34
push edi
call esi
push 0x1003f20
push edi
mov dword [0x101da48], eax
call esi
cmp dword [0x101d778], 2
mov dword [0x101da4c], eax
jne 0x1017982
push 0x1003f04
push edi
call esi
test eax, eax
mov dword [0x101da54], eax
je 0x1017982
push 0x1003eec
push edi
call esi
mov dword [0x101da50], eax
mov eax, dword [0x101da50]
test eax, eax
je 0x10179c7
call eax
test eax, eax
je 0x10179ae
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x101da54]
test eax, eax
je 0x10179ae
test byte [ebp - 8], 1
jne 0x10179c7
cmp dword [0x101d784], 4
jb 0x10179c1
or byte [ebp + 0x12], 0x20
jmp 0x10179e6
xor eax, eax
jmp 0x10179f6
or byte [ebp + 0x12], 4
jmp 0x10179e6
mov eax, dword [0x101da48]
test eax, eax
je 0x10179e6
call eax
mov ebx, eax
test ebx, ebx
je 0x10179e6
mov eax, dword [0x101da4c]
test eax, eax
je 0x10179e6
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x101da44]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1019152
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
and byte [ebp - 1], bl
cmp eax, ebx
mov dword [ebp - 8], ebx
je 0x101917d
cmp eax, 1
je 0x101917d
jle 0x1019185
cmp eax, 3
jle 0x101917d
cmp eax, 4
jne 0x1019185
mov byte [ebp - 1], 1
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
jmp 0x10191b0
mov dword [0x101d76c], 0x16
mov dword [0x101d770], ebx
or eax, 0xffffffff
jmp 0x1019336
inc eax
cmp byte [eax], 0
jne 0x101919d
lea ecx, [eax + 1]
cmp byte [ecx], 0
je 0x10191b0
mov byte [eax], 0x20
mov eax, ecx
cmp byte [eax], 0
jne 0x101919d
push esi
mov esi, dword [0x101f268]
push edi
push 0x11
xor eax, eax
cmp esi, ebx
pop ecx
lea edi, [ebp - 0x64]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x64], 0x44
je 0x10191f3
lea eax, [esi - 1]
mov ecx, eax
sar ecx, 5
mov ecx, dword [ecx*4 + 0x101f280]
mov edx, eax
and edx, 0x1f
cmp byte [ecx + edx*8 + 4], 0
jne 0x10191f3
dec esi
dec eax
cmp esi, ebx
jne 0x10191d5
lea eax, [esi + esi*4 + 4]
mov word [ebp - 0x32], ax
movzx eax, ax
push 1
push eax
call fcn.010176d0
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x30], eax
jne 0x1019221
mov dword [0x101d76c], 0xc
or eax, 0xffffffff
jmp 0x1019334
mov dword [eax], esi
mov eax, dword [ebp - 0x30]
xor edi, edi
cmp esi, edi
lea ecx, [eax + 4]
lea edx, [eax + esi + 4]
jle 0x101926a
mov eax, ebx
sar eax, 5
mov eax, dword [eax*4 + 0x101f280]
mov edi, ebx
and edi, 0x1f
lea edi, [eax + edi*8]
mov al, byte [edi + 4]
test al, 0x10
jne 0x1019256
mov byte [ecx], al
mov eax, dword [edi]
mov dword [edx], eax
jmp 0x101925c
and byte [ecx], 0
or dword [edx], 0xffffffff
inc ebx
inc ecx
add edx, 4
cmp ebx, esi
jl 0x1019233
mov eax, dword [ebp - 0x30]
xor edi, edi
cmp byte [ebp - 1], 0
je 0x101929d
lea ecx, [eax + 4]
xor edx, edx
lea eax, [eax + esi + 4]
cmp esi, 3
jge 0x1019282
mov ebx, esi
jmp 0x1019285
push 3
pop ebx
cmp edx, ebx
jge 0x1019296
and byte [ecx], 0
or dword [eax], 0xffffffff
inc edx
inc ecx
add eax, 4
jmp 0x1019279
mov dword [ebp - 8], 8
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
push edi
push dword [ebp + 0x14]
mov dword [0x101d76c], edi
push dword [ebp - 8]
mov dword [0x101d770], edi
push 1
push edi
push edi
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x30]
mov ebx, eax
call fcn.0100fdeb
cmp esi, edi
pop ecx
jne 0x10192eb
push ebx
call fcn.01014c16
pop ecx
jmp 0x1019219
cmp dword [ebp + 8], 2
jne 0x10192f7
push edi
call fcn.0100fdbc
cmp dword [ebp + 8], edi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jne 0x1019324
push 0xffffffffffffffff
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edi, dword [ebp - 0x10]
push dword [ebp - 0x20]
call esi
jmp 0x101932d
cmp dword [ebp + 8], 4
je 0x101931d
mov edi, dword [ebp - 0x20]
push dword [ebp - 0x1c]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10199be
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x1004028
call fcn.0101216c
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x101da74], edi
jne 0x1019a02
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10199ed
mov dword [0x101da74], ebx
jmp 0x1019a02
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x1019a02
mov dword [0x101da74], 2
mov eax, dword [0x101da74]
cmp eax, ebx
jne 0x1019a22
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x1019ae5
cmp eax, 2
je 0x1019a2b
cmp eax, edi
jne 0x1019a53
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
cmp dword [ebp + 0x18], edi
jne 0x1019a3e
mov eax, dword [0x101d920]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x24], eax
cmp eax, edi
jne 0x1019a5a
xor eax, eax
jmp 0x1019ae5
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.010105e0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x1019a8d
cmp esi, edi
jne 0x1019aa3
push dword [ebp - 0x24]
call fcn.0101014d
pop ecx
mov esi, eax
cmp esi, edi
je 0x1019a53
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x24]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1019ad6
cmp dword [ebp + 0x14], edi
jne 0x1019ac0
push edi
push edi
jmp 0x1019ac6
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], edi
je 0x1019ae2
push esi
call fcn.0100fdeb
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.010121a5
ret
Function at 0x1019aee
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x1004038
call fcn.0101216c
xor esi, esi
cmp dword [0x101da78], esi
jne 0x1019b32
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1019b1d
mov dword [0x101da78], edi
jmp 0x1019b32
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x1019b32
mov dword [0x101da78], 2
mov eax, dword [0x101da78]
cmp eax, 2
je 0x1019c13
cmp eax, esi
je 0x1019c13
cmp eax, 1
jne 0x1019b77
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x1019b60
mov eax, dword [0x101d920]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x1019b7e
xor eax, eax
jmp 0x1019c25
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.010105e0
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x1019bb4
cmp edi, esi
jne 0x1019bcf
lea eax, [ebx + ebx]
push eax
call fcn.0101014d
pop ecx
mov edi, eax
cmp edi, esi
je 0x1019b77
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1019c02
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x1019bec
push esi
push esi
jmp 0x1019bf2
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x1019c0e
push edi
call fcn.0100fdeb
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x1019c25
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.010121a5
ret
Function at 0x1019d5c
Capabilities:
Clear file content

Disassembly:
push ecx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
cmp edi, dword [0x101f268]
jae 0x1019eb8
mov eax, edi
sar eax, 5
mov eax, dword [eax*4 + 0x101f280]
mov ecx, edi
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x1019eb8
push 1
push esi
push edi
call fcn.0101743b
or ebp, 0xffffffff
add esp, 0xc
cmp eax, ebp
mov dword [esp + 0xc], eax
je 0x1019eb4
push 2
push esi
push edi
call fcn.0101743b
add esp, 0xc
cmp eax, ebp
je 0x1019eb4
push ebx
mov ebx, dword [esp + 0x1c]
sub ebx, eax
test ebx, ebx
jle 0x1019e60
push 0x1000
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test ebp, ebp
jne 0x1019df8
mov dword [0x101d76c], 0xc
or esi, 0xffffffff
jmp 0x1019ea0
push 0x8000
push edi
call fcn.0101a367
pop ecx
pop ecx
mov dword [esp + 0x18], eax
mov eax, 0x1000
cmp ebx, eax
jge 0x1019e14
mov eax, ebx
push eax
push ebp
push edi
call fcn.010174c7
add esp, 0xc
cmp eax, 0xffffffff
je 0x1019e2c
sub ebx, eax
test ebx, ebx
jg 0x1019e09
jmp 0x1019e42
cmp dword [0x101d770], 5
jne 0x1019e3f
mov dword [0x101d76c], 0xd
or esi, 0xffffffff
push dword [esp + 0x18]
push edi
call fcn.0101a367
pop ecx
pop ecx
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1019ea0
jge 0x1019ea0
push 0
push dword [esp + 0x20]
push edi
call fcn.0101743b
push edi
call fcn.01018659
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebp
jne 0x1019ea0
mov dword [0x101d76c], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x101d770], eax
push 0
push dword [esp + 0x14]
push edi
call fcn.0101743b
add esp, 0xc
mov eax, esi
pop ebx
jmp 0x1019ec5
mov eax, ebp
jmp 0x1019ec5
mov dword [0x101d76c], 9
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ecx
ret

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

Disassembly:
mov eax, section..pdata
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x47c15bec
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..pdata_1
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x45dc1894
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
nop
nop
mov ebx, 0x40c7d0
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x69ad28d1
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x536134f
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x7c2a032d
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x31d51d24
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
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
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x6a6a652c
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x6490516f
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x1003ab90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
mov eax, dword [0x100bdc68]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
push ebx
push edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
mov ebx, dword [edi + 8]
mov eax, dword [edi]
mov dword [esp + 8], edx
mov dword [esp + 0x14], eax
test ebx, ebx
jne 0x1003abef
cmp dword [edi + 0x78], ebx
jne 0x1003abd8
test byte [eax + 0x50], 8
jne 0x1003abd8
mov byte [edi + 0x17], 1
push edi
call fcn.1007aff0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1003aca7
mov edx, dword [esp + 8]
mov ecx, edx
mov edx, dword [esp + 0x14]
shl ecx, 4
push ebp
push esi
mov eax, dword [edx + 0x10]
add eax, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], eax
xor esi, esi
jmp 0x1003ac14
mov edx, dword [esp + 0x1c]
mov ebp, dword [esi*8 + 0x100ace48]
mov dword [esp + 0x20], ebp
cmp esi, 3
jae 0x1003ad6d
push dword [eax]
mov byte [esp + esi + 0x18], 0
push ebp
push edx
call fcn.1005c250
add esp, 0xc
test eax, eax
jne 0x1003acb8
cmp esi, 1
jge 0x1003ac6a
push dword [esi*8 + 0x100ace4c]
mov eax, dword [esp + 0x1c]
push ebp
push dword [eax]
push str.CREATE_TABLE__Q._s__s_
push edi
call fcn.10066290
mov eax, dword [edi + 0x60]
add esp, 0x14
mov dword [esp + esi*4 + 0x30], eax
mov byte [esp + esi + 0x14], 0x10
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
inc esi
cmp esi, 3
jl 0x1003ac10
push 3
push edx
push dword [esp + 0x38]
push dword [esp + 0x58]
push 0x71
push ebx
call fcn.1007ab00
mov eax, dword [ebx + 0x6c]
add esp, 0x18
test eax, eax
jle 0x1003aca5
movzx edx, byte [esp + 0x14]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov word [eax + ecx*4 - 0x12], dx
pop esi
pop ebp
mov ecx, dword [esp + 0x34]
pop edi
pop ebx
xor ecx, esp
call fcn.100aac86
add esp, 0x30
ret
mov edx, dword [esp + 0x10]
mov ebp, dword [eax + 0x14]
mov dword [esp + esi*4 + 0x30], ebp
cmp edx, 1
je 0x1003acf0
mov eax, dword [edi]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx + 4]
cmp byte [eax + 9], 0
je 0x1003acf0
push dword [esp + 0x20]
push 1
push ebp
push edx
push edi
call fcn.100369e0
mov edx, dword [esp + 0x24]
add esp, 0x14
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1003ad1a
push eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x20]
push dword [esp + 0x28]
push dword [eax]
push str.DELETE_FROM__Q._s_WHERE__s_Q
push edi
call fcn.10066290
add esp, 0x18
jmp 0x1003ac6a
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1003ad39
push 0
push edx
push ebp
push 0x91
push ebx
call fcn.10031c40
add esp, 0x14
jmp 0x1003ac6a
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x91
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1003ac6e
call fcn.100aabab
int3
Function at 0x10041050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
mov ecx, dword [esp + 0x20]
xor edx, edx
push ebx
mov ebx, dword [esp + 0x20]
push ebp
mov dword [esp + 0x10], edx
mov ebp, dword [ebx]
mov dword [esp + 0x18], ebp
mov eax, dword [ebp + 0x10]
cmp dword [ebp + 0x14], edx
jle 0x100411da
add eax, 0xc
push esi
mov dword [esp + 0x18], eax
push edi
nop
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x14], eax
test eax, eax
je 0x100411bf
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
cmp byte [eax + 0x2b], 1
je 0x100411a5
mov ebp, dword [eax + 8]
test ebp, ebp
je 0x100411a5
nop dword [eax]
test ecx, ecx
je 0x100410fb
movzx eax, word [ebp + 0x34]
xor edi, edi
test eax, eax
je 0x10041192
mov ebx, dword [ebp + 4]
cmp word [ebx], 0
jl 0x10041182
mov eax, dword [ebp + 0x20]
mov esi, ecx
mov eax, dword [eax + edi*4]
sub esi, eax
nop dword [eax]
movzx edx, byte [eax]
movzx ecx, byte [esi + eax]
cmp edx, ecx
jne 0x10041162
test edx, edx
jne 0x10041174
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
mov esi, 0xffff8000
test ecx, ecx
je 0x1004111d
mov eax, dword [ebx]
xor esi, esi
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x1004111d
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x10041115
mov eax, dword [ebx + 0x78]
mov edi, ebx
test eax, eax
mov ecx, esi
cmovne edi, eax
mov eax, 1
shl eax, cl
mov edx, dword [edi + 0x58]
test edx, eax
jne 0x1004114b
bts edx, esi
mov dword [edi + 0x58], edx
cmp esi, 1
jne 0x1004114b
push edi
call fcn.10066870
add esp, 4
mov eax, dword [edi + 0x54]
push 0xffffffffffffffff
bts eax, esi
push ebp
push ebx
mov dword [edi + 0x54], eax
call fcn.1006eea0
add esp, 0xc
jmp 0x10041192
movzx ecx, byte [ecx + 0x100b0f70]
movzx edx, byte [edx + 0x100b0f70]
sub edx, ecx
jne 0x1004117a
inc eax
jmp 0x100410e0
movzx eax, word [ebp + 0x34]
mov ecx, dword [esp + 0x30]
inc edi
add ebx, 2
cmp edi, eax
jl 0x100410c5
mov ebx, dword [esp + 0x2c]
mov ebp, dword [ebp + 0x14]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
test ebp, ebp
jne 0x100410b0
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10041091
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
inc edx
add eax, 0x10
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
cmp edx, dword [ebp + 0x14]
jl 0x10041080
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret