joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005fd50
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x1005fd83
push esi
call fcn.1006dfe0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x1005fd7c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x1005fe09
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x1005fdf2
mov eax, dword [esi + 8]
test eax, eax
je 0x1005fda7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x1005fdee
cmp eax, 2
je 0x1005fdf2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1005fd9a
cmp eax, 3
je 0x1005fdcd
cmp eax, 1
jne 0x1005fd9a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x1005fd9a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x1005fd9a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.1005fe30
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x1005fe18
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.1005fe30
add esp, 4
pop esi
ret

Function at 0x100606b0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x100606d1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x100606d1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x100606d1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10060b20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x10060b2b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x10060c2e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x100b8078]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100b8078]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100b8078]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100b8078]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100b8078]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100b8078]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100b8078]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100b8078]
xor eax, edx
inc ecx
dec edi
jne 0x10060b46
pop edi
test esi, esi
je 0x10060c50
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100b8078]
xor eax, edx
inc ecx
dec esi
jne 0x10060c32
pop esi
pop ebx
not eax
ret
Function at 0x1007afa0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x1007b043
test eax, eax
jbe 0x1007b043
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x1007b043
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x1007afee
xor esi, esi
jmp 0x1007aff4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x1007b01f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.10019110
add esi, eax
push esi
mov ebx, esi
call fcn.10019110
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x1007b000
pop ebp
test edi, edi
pop edi
jne 0x1007b043
test ebx, ebx
je 0x1007b043
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.10087cd0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x1007b1a0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x1007b2bd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1007b2bd
mov eax, dword [esi + 0x3c]
push eax
call fcn.10098abf
mov esi, eax
test esi, esi
je 0x1007b2bd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x1007b2bd
mov ecx, esi
call fcn.1007b130
cmp edi, eax
jge 0x1007b2bd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x1007b243
mov dword [esp + 0x34], 1
jmp 0x1007b29e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x1007b2bd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.1007a6a0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x1007f2d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
xor ecx, ecx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x18]
mov byte [eax + ebp], al
inc eax
cmp eax, 0x100
jl 0x1007f2dc
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x100], cl
cmp eax, ecx
mov byte [ebp + 0x101], cl
jle 0x1007f36f
push ebx
push esi
push edi
mov byte [esp + 0x24], cl
xor esi, esi
mov ebx, ebp
mov dword [esp + 0x10], 0x100
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
and edi, 0xff
xor eax, eax
xor edx, edx
mov al, byte [edi + ecx]
mov dl, byte [ebx]
add esi, eax
add edx, esi
and edx, 0x800000ff
jns 0x1007f339
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x14], dl
mov esi, dword [esp + 0x14]
and esi, 0xff
lea eax, [esi + ebp]
push eax
push ebx
call fcn.1007f380
lea eax, [edi + 1]
add esp, 8
cdq
idiv dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc ebx
dec eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], dl
jne 0x1007f30e
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret

Function at 0x1007f3a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov al, byte [esi + 0x100]
mov cl, byte [esi + 0x101]
test edx, edx
mov byte [esp + 0x20], al
mov byte [esp + 8], cl
jle 0x1007f49d
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x28]
and edi, 0xff
and ebp, 0xff
lea eax, [edi + 1]
and eax, 0x800000ff
jns 0x1007f3f2
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x28], al
xor ecx, ecx
mov edi, dword [esp + 0x28]
and edi, 0xff
mov cl, byte [edi + esi]
lea eax, [edi + esi]
add ecx, ebp
mov dword [esp + 0x18], eax
and ecx, 0x800000ff
jns 0x1007f41e
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ebp, dword [esp + 0x10]
and ebp, 0xff
lea ecx, [esi + ebp]
push ecx
push eax
mov dword [esp + 0x1c], ecx
call fcn.1007f380
mov eax, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
add esp, 8
mov dl, byte [eax]
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x1007f45f
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [esp + 0x20]
and edx, 0xff
mov cl, byte [edx + esi]
mov dl, byte [ebx + eax]
xor dl, cl
mov byte [ebx + eax], dl
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x1007f3e1
mov dl, byte [esp + 0x28]
mov al, byte [esp + 0x10]
pop edi
mov byte [esi + 0x100], dl
mov byte [esi + 0x101], al
pop ebp
pop esi
pop ebx
add esp, 0xc
ret
mov byte [esi + 0x100], al
mov byte [esi + 0x101], cl
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x10080270
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x101a178c]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x10080283
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x100802c4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x101a1834]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x100802f6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x100802fa
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x100802eb
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x10080318
mov bl, byte [esp + ecx + 0x4c]
jmp 0x1008031c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x1008030d
xor ecx, ecx
mov eax, 0x101a179c
xor ebx, ebx
mov bl, byte [ecx + 0x101a1844]
cmp byte [esp + ebx + 0x14], 0
je 0x10080347
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x101a185c]
cmp byte [esp + ebx + 0x14], 0
je 0x1008035e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x1008032e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x100802b7
lea edx, [esp + 0x84]
push edx
call fcn.100803a0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x10099463
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1009949b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.1009751a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100974f2
jmp 0x100994a7
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x1009ab54
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x1009ab96
call fcn.100a066a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1009ab96
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1009ab8d
xor eax, eax
jmp 0x1009ab9e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1009aba4
pop edi
pop esi
pop ebx
ret 4
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x1001f330
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x100d0320]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x1001f357
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x1001f35e
mov al, 1
jmp 0x1001f448
push 0xffffffffffffffff
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0xffffffff
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp - 0x48]
jne 0x1001f388
mov dword [ebp - 0x38], 1
jmp 0x1001f38f
mov dword [ebp - 0x38], 0
movzx edx, byte [ebp - 0x38]
test edx, edx
je 0x1001f39e
xor al, al
jmp 0x1001f448
mov dword [ebp - 0x50], 0x20
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x3c], ecx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x40
push edx
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x1001f3e5
cmp dword [ebp - 0x30], 1
je 0x1001f3ec
cmp dword [ebp - 0x30], 3
je 0x1001f43b
jmp 0x1001f446
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x3d], 0
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x28]
sub edx, eax
mov dword [ebp - 0x34], edx
je 0x1001f41b
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x4c]
push edx
mov eax, dword [ebp - 0x34]
push eax
push 1
lea ecx, [ebp - 0x28]
push ecx
call fcn.10060a5d
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x1001f41b
xor al, al
jmp 0x1001f448
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 0x3d]
test eax, eax
jne 0x1001f42f
mov dword [ebp - 0x40], 1
jmp 0x1001f436
mov dword [ebp - 0x40], 0
mov al, byte [ebp - 0x40]
jmp 0x1001f448
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x3d], 0
mov al, 1
jmp 0x1001f448
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004d440
mov esp, ebp
pop ebp
ret
Function at 0x10024370
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x10], 0
jg 0x10024390
jl 0x10024387
cmp dword [ebp + 0xc], 0
ja 0x10024390
xor eax, eax
xor edx, edx
jmp 0x10024511
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x100243b2
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.10024520
jmp 0x10024511
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
cmp dword [edx], 0
je 0x100243dc
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
jmp 0x100243e3
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x1002446b
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
jae 0x10024400
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
jmp 0x10024406
lea edx, [ebp - 8]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100512e0
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x2c]
mov ecx, dword [eax]
sub ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x2c]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4c], 0
je 0x10024502
mov ecx, dword [ebp - 4]
call fcn.10020580
mov dword [ebp - 0x28], 0xfff
cmp dword [ebp - 8], 0xfff
jbe 0x100244db
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x4c]
push edx
push 0xfff
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.100602e2
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x14]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x14]
mov dword [ebp - 8], edx
cmp dword [ebp - 0x14], 0xfff
je 0x100244d9
xor eax, eax
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x2c]
sbb edx, eax
mov eax, ecx
jmp 0x10024511
jmp 0x10024487
cmp dword [ebp - 8], 0
jbe 0x10024502
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.100602e2
add esp, 0x10
mov ecx, dword [ebp - 8]
sub ecx, eax
mov dword [ebp - 8], ecx
xor edx, edx
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x2c]
sbb ecx, edx
mov edx, ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10024690
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x100246bb
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.10024800
jmp 0x100247ee
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
cmp dword [ecx], 0
je 0x100246df
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x30]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
jmp 0x100246e6
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
cdq
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
cmp dword [ebp + 0x10], 0
jl 0x100247a0
jg 0x10024706
cmp dword [ebp + 0xc], 0
jbe 0x100247a0
cmp dword [ebp - 0x14], 0
jl 0x100247a0
jg 0x1002471c
cmp dword [ebp - 0x18], 0
jbe 0x100247a0
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 0x14]
jg 0x1002473a
jl 0x1002472e
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x18]
jae 0x1002473a
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.100512e0
add esp, 0xc
mov eax, dword [ebp - 0x18]
add eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 0x10]
sbb edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x30]
mov eax, dword [edx]
sub eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x30]
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
mov edx, dword [ecx]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
mov dword [ecx], edx
cmp dword [ebp + 0x10], 0
jl 0x100247e2
jg 0x100247ae
cmp dword [ebp + 0xc], 0
jbe 0x100247e2
mov edx, dword [ebp - 4]
cmp dword [edx + 0x4c], 0
je 0x100247e2
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.10060a5d
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 - 0x20]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1c]
sbb edx, dword [ebp + 0x10]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10026f00
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a4f7e
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100d0320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
call fcn.100046f0
mov byte [ebp - 4], 4
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
call fcn.10020b10
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x10]
add edx, 0x18
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
call fcn.100046f0
mov byte [ebp - 4], 7
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x18]
call fcn.10020b10
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x2c]
call fcn.100046f0
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x1c]
call fcn.10020b10
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x10]
add eax, 0x48
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x30]
call fcn.100046f0
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x20]
call fcn.10020b10
mov byte [ebp - 4], 0xf
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.10007620
lea eax, [ebp + 0x20]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.10007620
lea ecx, [ebp + 0x38]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.10007620
lea edx, [ebp + 0x50]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.10007620
mov eax, dword [ebp - 0x10]
mov cl, byte [ebp + 0x68]
mov byte [eax + 0x60], cl
mov edx, dword [ebp - 0x10]
movzx eax, byte [ebp + 0x6c]
mov byte [edx + 0x61], al
mov ecx, dword [ebp - 0x10]
mov dl, byte [ebp + 0x70]
mov byte [ecx + 0x62], dl
mov eax, dword [ebp - 0x10]
mov cl, byte [ebp + 0x74]
mov byte [eax + 0x63], cl
mov byte [ebp - 4], 0x10
lea ecx, [ebp + 8]
call fcn.10020a30
mov byte [ebp - 4], 2
lea edx, [ebp + 8]
mov dword [ebp - 0x34], edx
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 2
mov byte [ebp - 4], 0x13
lea ecx, [ebp + 0x20]
call fcn.10020a30
mov byte [ebp - 4], 1
lea eax, [ebp + 0x20]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0x16
lea ecx, [ebp + 0x38]
call fcn.10020a30
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x38]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0x19
lea ecx, [ebp + 0x50]
call fcn.10020a30
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp + 0x50]
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], 0x1a
mov dword [ebp - 4], 0x1b
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x70