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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov esi, esp
mov dword [esi + 0xc], ebp
lea eax, [ebp + 8]
mov edx, esp
mov dword [esi + 0x7c], edx
mov dword [esi + 0x88], 0xffffffff
lea edx, [esi + 0x80]
mov dword [esi + 0x84], 0x406380
mov edi, dword fs:[0]
mov dword [esi + 0x80], edi
mov dword fs:[0], edx
mov edx, eax
add edx, 8
mov dword [esi + 0x14], edx
mov edx, eax
add edx, 0x44
mov dword [esi + 0x18], edx
add eax, 0x5c
mov dword [esi + 0x1c], eax
mov dword [esi + 0x78], ecx
mov dword [esi + 0x88], 2
mov eax, esp
mov dword [eax], 0x4161f0
lea ecx, [esi + 0x60]
call fcn.00406500
sub esp, 4
jmp 0x401085
mov dword [esi + 0x5c], 0x40f2e7d0
mov dword [esi + 0x58], 0
mov byte [esi + 0x57], 0
mov dword [esi + 0x88], 3
mov eax, esp
mov dword [eax], 0x4161f0
lea ecx, [esi + 0x3c]
call fcn.00406500
sub esp, 4
jmp 0x4010b9
mov dword [esi + 0x88], 4
mov eax, esp
mov dword [eax], 0x4161f0
lea ecx, [esi + 0x24]
call fcn.00406500
sub esp, 4
jmp 0x4010db
lea ecx, [esi + 0x24]
lea eax, [esi + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004065c0
mov byte [esi + 0x13], al
lea ecx, [esi + 0x24]
call fcn.004065f0
lea ecx, [esi + 0x3c]
call fcn.004065f0
mov al, byte [esi + 0x13]
test al, 1
jne 0x401110
jmp 0x401134
mov dword [esi + 0x20], 0x2c
cmp dword [esi + 0x20], 0
jle 0x40112f
mov eax, dword [esi + 0x20]
add eax, 0xffffffff
mov dword [esi + 0x20], eax
jmp 0x401117
jmp 0x401134
lea ecx, [esi + 0x60]
call fcn.004065f0
mov ecx, dword [esi + 0x14]
call fcn.004065f0
mov ecx, dword [esi + 0x18]
call fcn.004065f0
mov ecx, dword [esi + 0x1c]
call fcn.004065f0
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
mov al, 1
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x74
Function at 0x4012d0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov esi, esp
mov dword [esi + 8], ebp
lea eax, [ebp + 8]
mov edx, esp
mov dword [esi + 0x84], edx
mov dword [esi + 0x90], 0xffffffff
lea edx, [esi + 0x88]
mov dword [esi + 0x8c], 0x4063a0
mov edi, dword fs:[0]
mov dword [esi + 0x88], edi
mov dword fs:[0], edx
mov edx, eax
add edx, 8
mov dword [esi + 0xc], edx
add eax, 0x2c
mov dword [esi + 0x10], eax
mov dword [esi + 0x80], ecx
mov dword [esi + 0x90], 1
mov eax, esp
mov dword [eax], str.uoywxpyrziluhnqwneyrvkdnlfrizubacdhxhahomckbvuhlbedpocqlxfxnkwdvndjowchfrdxoofwwtctnzuag
lea ecx, [esi + 0x68]
call fcn.00406500
sub esp, 4
jmp 0x401353
mov dword [esi + 0x64], 0x40de3080
mov dword [esi + 0x60], 0
mov dword [esi + 0x90], 2
mov eax, esp
mov dword [eax], str.lhilzwal
lea ecx, [esi + 0x48]
call fcn.00406500
sub esp, 4
jmp 0x401383
mov dword [esi + 0x90], 3
mov eax, esp
mov dword [eax], 0x416264
lea ecx, [esi + 0x30]
call fcn.00406500
sub esp, 4
jmp 0x4013a5
mov dword [esi + 0x90], 4
mov eax, esp
mov dword [eax], str.uuantvrwbpjynivqpmuysudfnlqbvciqshpfyhuojrozwwqcpxnlxadgksvypu
lea ecx, [esi + 0x18]
call fcn.00406500
sub esp, 4
jmp 0x4013c7
mov byte [esi + 0x17], 0
lea ecx, [esi + 0x18]
call fcn.004065f0
lea ecx, [esi + 0x30]
call fcn.004065f0
lea ecx, [esi + 0x48]
call fcn.004065f0
lea ecx, [esi + 0x68]
call fcn.004065f0
mov ecx, dword [esi + 0xc]
call fcn.004065f0
mov ecx, dword [esi + 0x10]
call fcn.004065f0
mov eax, dword [esi + 0x88]
mov dword fs:[0], eax
mov al, 1
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x44
Function at 0x402180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb8
mov esi, esp
mov dword [esi + 8], ebp
lea eax, [ebp + 8]
mov edx, esp
mov dword [esi + 0xa4], edx
mov dword [esi + 0xb0], 0xffffffff
lea edx, [esi + 0xa8]
mov dword [esi + 0xac], 0x406440
mov edi, dword fs:[0]
mov dword [esi + 0xa8], edi
mov dword fs:[0], edx
mov edx, eax
add edx, 4
mov dword [esi + 0x10], edx
mov edx, eax
add edx, 0x34
mov dword [esi + 0x14], edx
add eax, 0x50
mov dword [esi + 0x18], eax
mov dword [esi + 0xa0], ecx
mov dword [esi + 0x9c], 0x40d58880
mov dword [esi + 0x98], 0
mov dword [esi + 0x94], 0x40e086a0
mov dword [esi + 0x90], 0
mov dword [esi + 0xb0], 2
mov eax, esp
mov dword [eax], 0x416377
lea ecx, [esi + 0x78]
call fcn.00406500
sub esp, 4
jmp 0x402233
mov dword [esi + 0x74], 0x40e1a5c0
mov dword [esi + 0x70], 0
mov dword [esi + 0xb0], 3
mov eax, esp
mov dword [eax], str.ifyeyulckwqhendsxpbccpys
lea ecx, [esi + 0x58]
call fcn.00406500
sub esp, 4
jmp 0x402263
mov byte [esi + 0x57], 0
mov dword [esi + 0xb0], 4
mov eax, esp
mov dword [eax], str.ifyeyulckwqhendsxpbccpys
lea ecx, [esi + 0x3c]
call fcn.00406500
sub esp, 4
jmp 0x402289
mov dword [esi + 0xb0], 5
mov eax, esp
mov dword [eax], str.ifyeyulckwqhendsxpbccpys
lea ecx, [esi + 0x24]
call fcn.00406500
sub esp, 4
jmp 0x4022ab
lea ecx, [esi + 0x24]
lea eax, [esi + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004065c0
mov byte [esi + 0xf], al
lea ecx, [esi + 0x24]
call fcn.004065f0
lea ecx, [esi + 0x3c]
call fcn.004065f0
mov al, byte [esi + 0xf]
test al, 1
jne 0x4022e0
jmp 0x402304
mov dword [esi + 0x20], 0x5b
cmp dword [esi + 0x20], 0
jle 0x4022ff
mov eax, dword [esi + 0x20]
add eax, 0xffffffff
mov dword [esi + 0x20], eax
jmp 0x4022e7
jmp 0x402304
mov dword [esi + 0x1c], 0x26
cmp dword [esi + 0x1c], 0
jle 0x402323
mov eax, dword [esi + 0x1c]
add eax, 0xffffffff
mov dword [esi + 0x1c], eax
jmp 0x40230b
lea ecx, [esi + 0x58]
call fcn.004065f0
lea ecx, [esi + 0x78]
call fcn.004065f0
mov ecx, dword [esi + 0x10]
call fcn.004065f0
mov ecx, dword [esi + 0x14]
call fcn.004065f0
mov ecx, dword [esi + 0x18]
call fcn.004065f0
mov eax, dword [esi + 0xa8]
mov dword fs:[0], eax
mov al, 1
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x68
Function at 0x403a50
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
bswap eax
dec eax
add esi, 0x19
add edx, 0x56
inc ebx
imul esi
dec ebx
imul edx
bswap eax
sub eax, 0xe9
sub edi, 0x45
dec edi
add edx, 0xc9
not edx
add edi, 0x77
neg eax
dec ebx
neg esi
inc esi
inc eax
rcl edi, 0xae
bswap edx
dec esi
bswap edx
sbb edi, 0xa7
and esi, 6
bswap eax
dec edi
sbb eax, 0x5a
not edi
inc edx
or edx, 0xa
neg esi
bswap ebx
mov edx, 0xef
sbb esi, 0xeb
imul esi
mov edi, 0x2f
rcr edx, 0xe2
not ebx
sub edx, 0x66
mov eax, 0x1e
rcl edi, 0x34
neg esi
neg edx
rol edi, 0xd6
neg eax
imul edi
not ebx
not eax
xor ecx, ecx
xor edi, edi
sub ebx, 0xb9
rol eax, 0x7a
neg ebx
bswap edi
not esi
neg edx
sbb edx, 0xcd
neg edx
or ebx, 0xa9
inc eax
dec edi
ror ebx, 0x6d
neg esi
neg eax
dec ebx
rcl ebx, 0x66
add esi, 0x1d
neg esi
sub edx, 0xee
rol eax, 0x94
rol ebx, 0x6b
bswap edi
mov edi, 0xc9
ror ebx, 0xa
mov esi, 0xb9
ror esi, 0x66
dec edi
rol edi, 0xd7
sbb edx, 0xbf
dec edi
inc edx
sbb eax, 0x67
neg ebx
neg ebx
and edi, 0x42
mov edi, 0xf9
bswap ebx
sub ebx, 0x19
sbb edi, 0xef
sbb edx, 0x90
bswap esi
dec edx
and eax, 0xe2
mov eax, 0x37
bswap esi
neg ebx
imul eax
not edi
neg eax
imul eax
mov ecx, dword [ebp + 0xc]
rol edi, 0xf4
imul edx
imul eax
rcl ebx, 0xe0
sbb edi, 0xa4
or eax, 0x76
imul ebx
neg ebx
add ebx, 0xb0
ror eax, 3
rcl eax, 0x20
sbb edx, 0xdf
bswap ebx
rol esi, 0xb3
rcr eax, 0xc
and esi, 0xcf
not esi
not eax
dec ebx
not ebx
sub edi, 0x6f
inc edx
imul esi
or eax, 0x51
not ebx
not eax
imul edi
or ebx, 0xd
rcl eax, 0x98
rcr edi, 0x80
add edx, 0xc1
inc edi
dec eax
dec edi
imul eax
mov ebx, 0x8d
rcr edx, 0x75
neg edx
bswap edx
not edi
ror ebx, 0xba
ror ebx, 0
sub ebx, 0xdd
inc ebx
mov esi, 0x62
imul edi
and ebx, 9
rcr ebx, 0x99
mov edi, 0xa1
neg ebx
mov edi, dword [ebp + 8]
mov eax, eax
mov esi, esi
xor ebx, esi
xor ebx, esi
mov eax, esi
xor esi, ebx
mov eax, ebx
mov esi, eax
xor esi, ebx
mov ebx, ebx
mov eax, ebx
xor eax, eax
not byte [edi]
mov eax, esi
mov esi, eax
xor ebx, eax
mov eax, ebx
xor eax, esi
mov eax, eax
xor esi, eax
mov eax, eax
mov ebx, esi
sub byte [edi], 0x53
xor ebx, ebx
xor esi, eax
mov eax, ebx
xor esi, eax
xor esi, eax
xor esi, esi
xor eax, ebx
mov eax, eax
mov esi, esi
add byte [edi], 0x87
xor esi, eax
xor eax, eax
mov eax, eax
xor eax, esi
mov eax, ebx
xor eax, esi
xor ebx, eax
xor ebx, esi
xor esi, esi
imul byte [edi]
inc edi
loop 0x403c0e
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x407d8e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407dcd
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x407dcd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x407dcd
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x407dcd
cmp dword [ecx + 0x74], 0xe
jbe 0x407dcd
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40f17b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40f218
push ebx
push esi
call fcn.0040f144
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040f08d
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40f1c5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40f217
push edi
push eax
call fcn.0040db5b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40f1e5
call fcn.0040dba9
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40f216
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040f08d
add esp, 0x20
test eax, eax
jne 0x40f204
push edi
call fcn.0040dba9
jmp 0x40f20c
push ebx
call fcn.0040dba9
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x410410
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4418b8
push 0x4418b0
push str.FlsAlloc
push 0x1e
call fcn.004102d1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410444
push dword [ebp + 8]
mov ecx, esi
call dword [0x41612c]
call esi
jmp 0x41044a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41048e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4418c8
push 0x4418c0
push str.FlsGetValue
push 0x20
call fcn.004102d1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4104c5
push dword [ebp + 8]
mov ecx, esi
call dword [0x41612c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x4158b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4158dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4158dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
mov eax, 1
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
xor ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
mov ecx, edi
jns 0x41989b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x314131e9
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data_1
nop
mov ebx, 0x42cd70
mov ecx, 0x19b34295
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
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
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp int.00401219
Function at 0x10002300
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0x104
push 0x1002bbc8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, 0x1002bbc8
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002320
sub ecx, edx
add ecx, 0xfffffffc
cmp ecx, 0x104
jae 0x10002377
push 0x100000
push 0
mov byte [ecx + 0x1002bbc8], al
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
sub dword [ebp + 0xc], 1
mov dword [0x1002bccc], eax
jne 0x1000236e
push 0
push 0
push 0
push 0x10001ea0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
call fcn.1000556b
int3
Function at 0x10002630
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x10002716
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x10002705
jg 0x10002670
test edx, edx
je 0x10002705
nop dword [eax]
call fcn.10003db0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x100026c4
jg 0x10002687
test esi, esi
je 0x100026c4
cmp ebx, eax
jg 0x10002697
jl 0x10002691
cmp edi, esi
jae 0x10002697
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.10006910
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x100026e9
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx]
movzx eax, byte [eax]
push eax
call dword [edx + 0xc]
cmp eax, 0xffffffff
je 0x100026ff
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x10002670
jl 0x100026ff
test edi, edi
jne 0x10002670
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x10002738
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x1000273a
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x100027b8
jg 0x1000274d
test esi, esi
je 0x100027b8
test eax, eax
jl 0x1000279c
jg 0x10002757
test ebx, ebx
je 0x1000279c
cmp edi, eax
jg 0x10002767
jl 0x10002761
cmp esi, ebx
jae 0x10002767
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.10006910
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
sub esi, ebx
sbb edi, dword [esp + 0x14]
add edx, ebx
mov eax, dword [ecx + 0x30]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
test edi, edi
jl 0x100027b8
jg 0x1000279f
test esi, esi
je 0x100027b8
jmp 0x1000279f
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x100027b8
push eax
push esi
push 1
push edx
call fcn.1000a5ab
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100027d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x10002802
jl 0x100027f5
test ecx, ecx
jne 0x10002802
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x100028c2
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.10003dd0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x1000286e
jg 0x1000282d
test esi, esi
je 0x1000286e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x10002845
mov eax, dword [esp + 0x10]
jl 0x1000283f
cmp eax, esi
jae 0x10002845
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.10006910
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x1000288f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x100028ab
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x10002814
jl 0x100028ab
test ecx, ecx
jne 0x10002814
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x10002901
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x10002901
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.10006910
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
cmp dword [ebx + 0x4c], 0
mov ecx, edi
je 0x10002970
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [esi], eax
jne 0x10002927
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
mov ecx, edi
cmp edi, 0xfff
jbe 0x10002959
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.1000a7f4
sub edi, eax
add esp, 0x10
add esi, eax
mov ecx, edi
cmp eax, 0xfff
jne 0x10002984
cmp edi, eax
ja 0x10002935
test ecx, ecx
je 0x10002970
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.1000a7f4
mov ecx, edi
add esp, 0x10
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, ecx
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10002cf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1002a050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x10002d20
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100053d5
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x10002d5c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x10002d5c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100053d5
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x10002e44
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10002d84
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10002db7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.10009898
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100053d5
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
sub eax, 0
je 0x10002e17
sub eax, 1
je 0x10002e17
sub eax, 2
jne 0x10002e44
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.10009898
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100053d5
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10002e34
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.1000a5ab
add esp, 0x10
cmp edi, eax
jne 0x10002e44
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x10002d47
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100053d5
mov esp, ebp
pop ebp
ret 4