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

Disassembly:
mov eax, dword [esi + 0xc]
push edi
mov edi, dword [sym.imp.MSVCR100.dll_fwrite]
cmp eax, dword [esi + 8]
jb 0x42253a
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42253a
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov byte [ecx], 0xff
inc dword [esi + 0xc]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x422566
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x422566
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov byte [ecx], 0xfe
inc dword [esi + 0xc]
pop edi
ret

Function at 0x4227b0
Capabilities:
Write file on windows

Disassembly:
add dword [edi + 0x10], 0xfffffff8
mov eax, dword [edi + 0x10]
cmp dword [eax], 0
push esi
je 0x4227e5
mov eax, dword [edi]
mov esi, dword [eax]
push 0xa
call fcn.004235f0
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
movzx ecx, word [edi + 0x20]
mov edx, dword [edi]
shr eax, 3
imul eax, dword [edi + 0x24]
push ecx
push edx
call fcn.00423660
add esp, 0xc
mov eax, dword [edi]
mov esi, dword [eax]
push 0x7d
call fcn.004235f0
mov ecx, dword [edi + 0x10]
add esp, 4
cmp ecx, dword [edi + 0xc]
jne 0x422821
mov edx, dword [edi]
mov esi, dword [edx]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x422821
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call dword [sym.imp.MSVCR100.dll_fwrite]
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov al, 1
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439c73
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x44e018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
xor edi, edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 0x400
mov byte [ebp - 4], 1
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
cmp dword [esi + 0x18], edi
jne 0x4228c2
push 0x14
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
cmp eax, edi
je 0x4228ba
mov dword [eax], edi
mov dword [eax + 4], 0x10000
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
jmp 0x4228bc
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
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 4
Function at 0x4235f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi + 0xc]
push edi
mov edi, dword [sym.imp.MSVCR100.dll_fwrite]
cmp eax, dword [esi + 8]
jb 0x42361d
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42361d
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov dl, byte [ebp + 8]
mov byte [ecx], dl
inc dword [esi + 0xc]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x42364b
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42364b
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 0xc]
shr ecx, 8
mov byte [edx], cl
inc dword [esi + 0xc]
pop edi
pop ebp
ret

Function at 0x423660
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
test eax, eax
je 0x4236f7
mov cx, word [ebp + 0xc]
push ebx
push esi
shr cx, 8
push edi
mov edi, dword [sym.imp.MSVCR100.dll_fwrite]
mov word [ebp - 2], cx
mov dword [ebp - 8], eax
mov ebx, 1
jmp 0x423690
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x4236b7
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x4236b7
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push ebx
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov dl, byte [ebp + 0xc]
mov byte [ecx], dl
add dword [esi + 0xc], ebx
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x4236e4
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x4236e4
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push ebx
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov dl, byte [ebp - 2]
mov byte [ecx], dl
add dword [esi + 0xc], ebx
sub dword [ebp - 8], ebx
jne 0x423690
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f270
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
call fcn.00422b00
mov eax, dword [ebx + 0x10]
lea esi, [ebx + 4]
add eax, 8
cmp eax, dword [esi + 0x10]
jb 0x42f290
call fcn.00425c80
mov eax, dword [esi + 0xc]
lea ecx, [eax + 8]
mov dword [esi + 0xc], ecx
test eax, eax
je 0x42f2a7
mov dword [eax], 0
mov byte [eax + 4], 1
mov edx, dword [ebx]
mov esi, dword [edx]
push 0x5b
call fcn.004235f0
mov eax, dword [ebp + 8]
mov esi, dword [eax]
add esp, 4
cmp esi, dword [eax + 4]
je 0x42f2d9
nop
movzx edi, byte [esi]
call fcn.00422b00
push edi
mov ecx, ebx
call fcn.004321c0
mov eax, dword [ebp + 8]
inc esi
cmp esi, dword [eax + 4]
jne 0x42f2c0
add dword [ebx + 0x10], 0xfffffff8
mov eax, dword [ebx + 0x10]
cmp dword [eax], 0
mov edi, dword [sym.imp.MSVCR100.dll_fwrite]
je 0x42f364
mov ecx, dword [ebx]
mov esi, dword [ecx]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x42f312
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42f312
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov byte [ecx], 0xa
inc dword [esi + 0xc]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x42f33e
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42f33e
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov byte [ecx], 0
inc dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
movzx edx, word [ebx + 0x20]
mov ecx, dword [ebx]
shr eax, 3
imul eax, dword [ebx + 0x24]
push edx
push ecx
call fcn.00423660
add esp, 8
mov edx, dword [ebx]
mov esi, dword [edx]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x42f38b
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42f38b
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov byte [ecx], 0x5d
inc dword [esi + 0xc]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x42f3b7
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42f3b7
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov byte [ecx], 0
inc dword [esi + 0xc]
mov edx, dword [ebx + 0x10]
cmp edx, dword [ebx + 0xc]
jne 0x42f3ea
mov eax, dword [ebx]
mov esi, dword [eax]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42f3ea
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x42f400
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov ebx, ecx
mov edi, eax
call fcn.00422b00
mov eax, dword [ebx + 0x10]
lea esi, [ebx + 4]
add eax, 8
cmp eax, dword [esi + 0x10]
jb 0x42f425
call fcn.00425c80
mov eax, dword [esi + 0xc]
lea ecx, [eax + 8]
mov dword [esi + 0xc], ecx
test eax, eax
je 0x42f43c
mov dword [eax], 0
mov byte [eax + 4], 1
mov edx, dword [ebx]
mov esi, dword [edx]
push 0x5b
call fcn.004235f0
add esp, 4
lea eax, [ebp - 0xc]
mov ecx, edi
call fcn.00402510
lea eax, [ebp - 0x18]
mov edx, edi
call fcn.00436820
mov esi, dword [ebp - 4]
cmp esi, dword [eax + 8]
je 0x42f49f
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x42f471
xor ecx, ecx
jmp 0x42f473
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov eax, esi
cmp edx, esi
ja 0x42f47e
sub eax, edx
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax*4]
push edx
mov eax, ebx
call fcn.0042ea90
add esp, 4
lea eax, [ebp - 0x18]
mov edx, edi
inc esi
call fcn.00436820
cmp esi, dword [eax + 8]
jne 0x42f466
add dword [ebx + 0x10], 0xfffffff8
mov eax, dword [ebx + 0x10]
cmp dword [eax], 0
mov edi, dword [sym.imp.MSVCR100.dll_fwrite]
je 0x42f52a
mov eax, dword [ebx]
mov esi, dword [eax]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x42f4d8
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42f4d8
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov byte [ecx], 0xa
inc dword [esi + 0xc]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x42f504
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42f504
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov byte [ecx], 0
inc dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
movzx edx, word [ebx + 0x20]
mov ecx, dword [ebx]
shr eax, 3
imul eax, dword [ebx + 0x24]
push edx
push ecx
call fcn.00423660
add esp, 8
mov edx, dword [ebx]
mov esi, dword [edx]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x42f551
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42f551
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov byte [ecx], 0x5d
inc dword [esi + 0xc]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x42f57d
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42f57d
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov byte [ecx], 0
inc dword [esi + 0xc]
mov edx, dword [ebx + 0x10]
cmp edx, dword [ebx + 0xc]
jne 0x42f5b0
mov eax, dword [ebx]
mov esi, dword [eax]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42f5b0
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f5c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov ebx, ecx
mov edi, eax
call fcn.00422b00
mov eax, dword [ebx + 0x10]
lea esi, [ebx + 4]
add eax, 8
cmp eax, dword [esi + 0x10]
jb 0x42f5e5
call fcn.00425c80
mov eax, dword [esi + 0xc]
lea ecx, [eax + 8]
mov dword [esi + 0xc], ecx
test eax, eax
je 0x42f5fc
mov dword [eax], 0
mov byte [eax + 4], 1
mov edx, dword [ebx]
mov esi, dword [edx]
push 0x5b
call fcn.004235f0
add esp, 4
lea eax, [ebp - 0xc]
mov ecx, edi
call fcn.00402510
lea eax, [ebp - 0x18]
mov edx, edi
call fcn.00436820
mov esi, dword [ebp - 4]
cmp esi, dword [eax + 8]
je 0x42f65f
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x42f631
xor ecx, ecx
jmp 0x42f633
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov eax, esi
cmp edx, esi
ja 0x42f63e
sub eax, edx
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax*4]
push edx
mov eax, ebx
call fcn.0042ec60
add esp, 4
lea eax, [ebp - 0x18]
mov edx, edi
inc esi
call fcn.00436820
cmp esi, dword [eax + 8]
jne 0x42f626
add dword [ebx + 0x10], 0xfffffff8
mov eax, dword [ebx + 0x10]
cmp dword [eax], 0
mov edi, dword [sym.imp.MSVCR100.dll_fwrite]
je 0x42f6ea
mov eax, dword [ebx]
mov esi, dword [eax]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x42f698
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42f698
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov byte [ecx], 0xa
inc dword [esi + 0xc]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x42f6c4
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42f6c4
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov byte [ecx], 0
inc dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
movzx edx, word [ebx + 0x20]
mov ecx, dword [ebx]
shr eax, 3
imul eax, dword [ebx + 0x24]
push edx
push ecx
call fcn.00423660
add esp, 8
mov edx, dword [ebx]
mov esi, dword [edx]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x42f711
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42f711
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov byte [ecx], 0x5d
inc dword [esi + 0xc]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x42f73d
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42f73d
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov byte [ecx], 0
inc dword [esi + 0xc]
mov edx, dword [ebx + 0x10]
cmp edx, dword [ebx + 0xc]
jne 0x42f770
mov eax, dword [ebx]
mov esi, dword [eax]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42f770
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f780
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov ebx, ecx
mov edi, eax
call fcn.00422b00
mov eax, dword [ebx + 0x10]
lea esi, [ebx + 4]
add eax, 8
cmp eax, dword [esi + 0x10]
jb 0x42f7a5
call fcn.00425c80
mov eax, dword [esi + 0xc]
lea ecx, [eax + 8]
mov dword [esi + 0xc], ecx
test eax, eax
je 0x42f7bc
mov dword [eax], 0
mov byte [eax + 4], 1
mov edx, dword [ebx]
mov esi, dword [edx]
push 0x5b
call fcn.004235f0
add esp, 4
lea eax, [ebp - 0xc]
mov ecx, edi
call fcn.00402510
lea eax, [ebp - 0x18]
mov edx, edi
call fcn.00436820
mov esi, dword [ebp - 4]
cmp esi, dword [eax + 8]
je 0x42f81b
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x42f7f1
xor ecx, ecx
jmp 0x42f7f3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov eax, esi
cmp edx, esi
ja 0x42f7fe
sub eax, edx
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax*4]
mov ecx, ebx
call fcn.0042ee30
lea eax, [ebp - 0x18]
mov edx, edi
inc esi
call fcn.00436820
cmp esi, dword [eax + 8]
jne 0x42f7e6
add dword [ebx + 0x10], 0xfffffff8
mov eax, dword [ebx + 0x10]
cmp dword [eax], 0
mov edi, dword [sym.imp.MSVCR100.dll_fwrite]
je 0x42f8a6
mov edx, dword [ebx]
mov esi, dword [edx]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x42f854
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42f854
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov byte [ecx], 0xa
inc dword [esi + 0xc]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x42f880
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42f880
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov byte [ecx], 0
inc dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
movzx edx, word [ebx + 0x20]
mov ecx, dword [ebx]
shr eax, 3
imul eax, dword [ebx + 0x24]
push edx
push ecx
call fcn.00423660
add esp, 8
mov edx, dword [ebx]
mov esi, dword [edx]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x42f8cd
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42f8cd
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov byte [ecx], 0x5d
inc dword [esi + 0xc]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x42f8f9
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42f8f9
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov byte [ecx], 0
inc dword [esi + 0xc]
mov edx, dword [ebx + 0x10]
cmp edx, dword [ebx + 0xc]
jne 0x42f92c
mov eax, dword [ebx]
mov esi, dword [eax]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42f92c
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f940
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov ebx, ecx
mov edi, eax
call fcn.00422b00
mov eax, dword [ebx + 0x10]
lea esi, [ebx + 4]
add eax, 8
cmp eax, dword [esi + 0x10]
jb 0x42f965
call fcn.00425c80
mov eax, dword [esi + 0xc]
lea ecx, [eax + 8]
mov dword [esi + 0xc], ecx
test eax, eax
je 0x42f97c
mov dword [eax], 0
mov byte [eax + 4], 1
mov edx, dword [ebx]
mov esi, dword [edx]
push 0x5b
call fcn.004235f0
add esp, 4
lea eax, [ebp - 0xc]
mov ecx, edi
call fcn.00402510
lea eax, [ebp - 0x18]
mov edx, edi
call fcn.00436820
mov esi, dword [ebp - 4]
cmp esi, dword [eax + 8]
je 0x42f9df
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x42f9b1
xor ecx, ecx
jmp 0x42f9b3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov eax, esi
cmp edx, esi
ja 0x42f9be
sub eax, edx
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax*4]
push edx
mov eax, ebx
call fcn.0042f080
add esp, 4
lea eax, [ebp - 0x18]
mov edx, edi
inc esi
call fcn.00436820
cmp esi, dword [eax + 8]
jne 0x42f9a6
add dword [ebx + 0x10], 0xfffffff8
mov eax, dword [ebx + 0x10]
cmp dword [eax], 0
mov edi, dword [sym.imp.MSVCR100.dll_fwrite]
je 0x42fa6a
mov eax, dword [ebx]
mov esi, dword [eax]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x42fa18
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42fa18
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov byte [ecx], 0xa
inc dword [esi + 0xc]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x42fa44
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42fa44
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov byte [ecx], 0
inc dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
movzx edx, word [ebx + 0x20]
mov ecx, dword [ebx]
shr eax, 3
imul eax, dword [ebx + 0x24]
push edx
push ecx
call fcn.00423660
add esp, 8
mov edx, dword [ebx]
mov esi, dword [edx]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x42fa91
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42fa91
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov byte [ecx], 0x5d
inc dword [esi + 0xc]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x42fabd
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42fabd
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov byte [ecx], 0
inc dword [esi + 0xc]
mov edx, dword [ebx + 0x10]
cmp edx, dword [ebx + 0xc]
jne 0x42faf0
mov eax, dword [ebx]
mov esi, dword [eax]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x42faf0
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call edi
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4321c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x44e018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x10]
test eax, eax
jns 0x4321e6
mov byte [ebp - 0x10], 0x2d
lea ecx, [ebp - 0xf]
neg eax
push edi
call fcn.004213f0
lea edi, [ebp - 0x10]
mov edx, edi
mov dword [ebp - 0x14], eax
cmp edx, eax
je 0x432277
push ebx
push esi
lea ebx, [ebx]
movsx ax, byte [edi]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov esi, dword [edx]
movzx ebx, ax
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x432235
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x432235
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call dword [sym.imp.MSVCR100.dll_fwrite]
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov byte [ecx], bl
inc dword [esi + 0xc]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x432264
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x432264
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call dword [sym.imp.MSVCR100.dll_fwrite]
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
shr ebx, 8
mov byte [ecx], bl
inc dword [esi + 0xc]
inc edi
cmp edi, dword [ebp - 0x14]
jne 0x432200
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop edi
call fcn.00438de6
mov esp, ebp
pop ebp
ret 4

Function at 0x432290
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x44e018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [ebp - 0x10]
call fcn.004213f0
lea edi, [ebp - 0x10]
mov ecx, edi
mov dword [ebp - 0x14], eax
cmp ecx, eax
je 0x432337
push ebx
push esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov esi, dword [ecx]
movsx dx, byte [edi]
mov eax, dword [esi + 0xc]
movzx ebx, dx
cmp eax, dword [esi + 8]
jb 0x4322f5
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x4322f5
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call dword [sym.imp.MSVCR100.dll_fwrite]
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov byte [ecx], bl
inc dword [esi + 0xc]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x432324
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x432324
mov edx, dword [esi]
push edx
sub eax, ecx
push eax
push 1
push ecx
call dword [sym.imp.MSVCR100.dll_fwrite]
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
shr ebx, 8
mov byte [ecx], bl
inc dword [esi + 0xc]
inc edi
cmp edi, dword [ebp - 0x14]
jne 0x4322c0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop edi
call fcn.00438de6
mov esp, ebp
pop ebp
ret 8