joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5fa4a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a5000]
mov dword [edi + 0x1d701c], 0x8b585a07
push edi
or ebp, 0xffffffff
jmp 0x5fa4ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5fa4d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5fa4c0
mov eax, 1
add ebx, ebx
jne 0x5fa4e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5fa4f4
jne 0x5fa504
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5fa504
dec eax
add ebx, ebx
jne 0x5fa500
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5fa4d8
xor ecx, ecx
sub eax, 3
jb 0x5fa51c
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5fa58e
sar eax, 1
mov ebp, eax
jmp 0x5fa527
add ebx, ebx
jne 0x5fa527
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x5fa534
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x5fa558
inc ecx
add ebx, ebx
jne 0x5fa544
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5fa539
jne 0x5fa555
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5fa539
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5fa578
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5fa569
jmp 0x5fa4c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5fa578
add edi, ecx
jmp 0x5fa4c6
pop esi
mov edi, esi
mov ecx, 0x5951
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5fa596
cmp byte [edi], 0x23
jne 0x5fa596
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 eax, ebx
loop 0x5fa59b
lea edi, [esi + 0x1f7000]
mov eax, dword [edi]
or eax, eax
je 0x5fa613
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1faad0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1fabfc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5fa5c8
mov ecx, edi
jns 0x5fa5f7
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 + 0x1fac00]
or eax, eax
je 0x5fa60d
mov dword [ebx], eax
add ebx, 4
jmp 0x5fa5e5
call dword [esi + 0x1fac04]
popal
jmp section.UPX0
Function at 0x408178
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x408208
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x408208
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x4081bb
test edx, 3
jne 0x4081aa
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x4081b5
jmp 0x4081bb
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x4081bb
cmp dword [ecx - 8], 1
je 0x4081c5
mov edx, ebx
or edx, 3
call fcn.00404e74
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x7b7b7b7b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x4081d7
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00404728

Function at 0x408214
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x4082a4
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x4082a4
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x408257
test edx, 3
jne 0x408246
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x408251
jmp 0x408257
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x408257
cmp dword [ecx - 8], 1
je 0x408261
mov edx, ebx
or edx, 3
call fcn.00404e74
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x5b5b5b5b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x408273
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00404728

Function at 0x41ed28
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41ed2e
ret
Function at 0x413250
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x4133d8
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc000]
push edi
or ebp, 0xffffffff
jmp 0x41327a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x413281
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x413270
mov eax, 1
add ebx, ebx
jne 0x413293
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x413288
jne 0x4132a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x413288
xor ecx, ecx
sub eax, 3
jb 0x4132b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41332a
mov ebp, eax
add ebx, ebx
jne 0x4132c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4132d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4132f4
inc ecx
add ebx, ebx
jne 0x4132e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4132d5
jne 0x4132f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4132d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x413314
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x413305
jmp 0x413276
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x413314
add edi, ecx
jmp 0x413276
pop esi
mov edi, esi
mov ecx, 0x46d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x413332
cmp byte [edi], 1
jne 0x413332
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 eax, ebx
loop 0x413337
lea edi, [esi + 0x11000]
mov eax, dword [edi]
or eax, eax
je 0x4133a6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x131e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1324c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x413364
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x13250]
or eax, eax
je 0x4133a0
mov dword [ebx], eax
add ebx, 4
jmp 0x413381
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4133d7
cmp al, 0xef
ja 0x4133ca
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4133ac
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4133b9
popal
jmp 0x40b60c
Function at 0x409dec
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409ebf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409ed8
push ebx
push 0x409ee4
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040336c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402750
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004033cc
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409e6c
mov al, 0x6a
call fcn.00409a48
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409dc0
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409e75
call fcn.00409dc0
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409ec6
lea eax, [ebp - 4]
call fcn.00403150
ret

Function at 0x409f58
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x40a00c
jmp 0x40a001
cmp dword [esi + 0x10], 0x1000
jne 0x409fed
test byte [esi + 0x15], 1
jne 0x409fed
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409fac
cmp eax, 2
je 0x409fac
cmp eax, 0x10
je 0x409fac
cmp eax, 0x20
jne 0x409fc1
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409fc1
mov bl, 1
xor ebp, ebp
jmp 0x409fd2
mov eax, dword [esi]
add eax, ebp
call fcn.00409f50
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409fc5
test bl, bl
je 0x409fed
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x40a00c
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409f84
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x414dd1
Capabilities:
Encode data using xor

Disassembly:
xor dword [esi], ecx
add edi, ebx
add edi, 0xb42e393f
or edi, edi
add esi, 4
mov ebx, 0x19c66604
sub ebx, 0xfc2f5f7
cmp esi, edx
jne fcn.00414dd1
or edi, ebx
or edi, eax
add ebx, ebx
ret
Function at 0x42a260
Capabilities:
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488008
push 0x487624
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 1
push 0x42abb0
call sub.KERNEL32.dll_SetConsoleCtrlHandler
push 0x42abd0
call fcn.00487610
add esp, 4
mov eax, dword [ebp + 8]
mov dword [0x4989f0], eax
mov ecx, dword [ebp + 0xc]
mov dword [0x4989f4], ecx
push str.MSC_CMD_FLAGS
call dword [sym.imp.MSVCRT40.dll_getenv]
add esp, 4
mov ecx, eax
call fcn.00486620
call section..text
push 0x8001f
push 0x8001f
call dword [sym.imp.MSVCRT40.dll__controlfp]
add esp, 8
mov eax, dword [0x4989ec]
test eax, eax
je 0x42a2f2
call fcn.0042c5e0
push str.init_il
push 0x48ebec
mov edx, 0x48b640
mov ecx, dword [0x48eba4]
call fcn.004856c0
mov dword [0x493b48], eax
push str.glo_il
push 0x48ebec
mov edx, 0x48ebe0
mov ecx, dword [0x48eba4]
call fcn.004856c0
mov dword [0x493b50], eax
call fcn.0043bda0
call fcn.0043c640
call fcn.0043ca70
mov dword [0x493b58], eax
call fcn.00431a50
call fcn.0044e450
call fcn.00401290
call fcn.0042c450
call fcn.0042a410
call fcn.0043cf80
call fcn.0042a440
call fcn.0042aac0
call fcn.0042af10
call fcn.00456ef0
mov eax, dword [0x496214]
test eax, eax
je 0x42a3e3
call fcn.00486a90
jmp 0x42a3e3
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x493b1c]
push ecx
call dword [sym.imp.MSVCRT40.dll_exit]
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438700
Capabilities:
Write file on windows

Disassembly:
mov edx, 2
lea ecx, [esp + 4]
jmp fcn.00439230

Function at 0x438710
Capabilities:
Write file on windows

Disassembly:
mov edx, 4
lea ecx, [esp + 4]
jmp fcn.00439230
Function at 0x438df0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
mov edi, dword [esi + 4]
mov edx, dword [edi + 4]
call fcn.00438f60
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0x2c]
cmp eax, 0xffff
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov word [esp + 0x28], ax
jb 0x438e46
mov word [esp + 0x28], 0xffff
mov cx, word [esi + 0x38]
cmp eax, 0xffff
mov word [esp + 0x2a], cx
mov edx, dword [edi + 8]
mov dword [esp + 0x2c], edx
jb 0x438e68
mov eax, edx
or eax, 0x1000000
mov dword [esp + 0x2c], eax
mov eax, dword [0x498638]
lea ecx, [esp + 8]
push eax
push 1
push 0x28
push ecx
call dword [sym.imp.MSVCRT40.dll_fwrite]
add esp, 0x10
cmp eax, 1
je 0x438e9a
push 0xb90
mov edx, str.c:cutc_srcP2coffemit.c
mov ecx, 0xe
call dword [0x498600]
pop edi
pop esi
add esp, 0x28
ret
Function at 0x439070
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [0x493f14]
mov al, cl
push edi
mov ecx, dword [esi + 4]
mov ebx, edx
cmp ecx, 1
mov byte [esp + 0x13], al
je 0x439131
cmp dword [esi], 0
jne 0x43913f
movsx eax, al
mov dl, al
mov ecx, 0x14
mov dh, dl
mov edi, 0x493e68
mov eax, edx
mov ebp, 0x50
shl eax, 0x10
mov ax, dx
cmp ebx, ebp
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.MSVCRT40.dll_fwrite]
ja 0x4390ff
mov eax, dword [0x498638]
push eax
push 1
push ebp
push 0x493e68
call edi
add esp, 0x10
cmp eax, 1
je 0x4390f1
push 0xc77
mov edx, str.c:cutc_srcP2coffemit.c
mov ecx, 0xe
call dword [0x498600]
mov edx, dword [esi + 0xc]
sub ebx, ebp
add edx, ebp
cmp ebx, ebp
mov dword [esi + 0xc], edx
jbe 0x4390c4
test ebx, ebx
je 0x439134
mov ecx, dword [0x498638]
push ecx
push 1
push ebx
push 0x493e68
call edi
add esp, 0x10
cmp eax, 1
je 0x439131
push 0xc7c
mov edx, str.c:cutc_srcP2coffemit.c
mov ecx, 0xe
call dword [0x498600]
add dword [esi + 0xc], ebx
inc dword [esi + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov edi, dword [esi + 0xc]
mov edx, 0x1f4
sub edx, edi
cmp edx, ebx
jae 0x4391e4
movsx eax, al
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0xc]
mov al, byte [esp + 0x14]
mov ebp, 0x1f4
mov edi, dword [esi + 0x14]
sub ebp, ecx
mov edx, ecx
sub ebx, ebp
mov ecx, ebp
mov dword [esp + 0x18], ebx
mov bl, al
mov bh, bl
lea edi, [edi + edx + 4]
mov eax, ebx
mov edx, ecx
shl eax, 0x10
mov ax, bx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0xc]
add ebp, eax
cmp ebp, 0x1f4
mov dword [esi + 0xc], ebp
je 0x4391b0
mov edx, 0xc87
mov ecx, str.c:cutc_srcP2coffemit.c
call fcn.00484cb0
call fcn.00439050
mov ecx, dword [esi + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esi + 0x14], eax
mov dword [esi + 0xc], 0
mov edx, dword [ecx]
mov dword [eax], edx
mov dword [ecx], eax
mov ecx, dword [esi + 8]
add ecx, ebp
cmp ebx, 0x1f4
mov dword [esi + 8], ecx
ja 0x439158
mov al, byte [esp + 0x13]
mov edx, dword [esi + 0xc]
mov edi, dword [esi + 0x14]
movsx eax, al
lea edi, [edi + edx + 4]
mov dl, al
mov dh, dl
mov ecx, ebx
mov eax, edx
mov ebp, ecx
shl eax, 0x10
mov ax, dx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0xc]
pop edi
add ebx, eax
mov eax, dword [esi + 0x10]
inc eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], eax
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x439230
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [0x493f14]
push ebp
push esi
mov eax, dword [ebx + 4]
mov esi, ecx
cmp eax, 1
push edi
mov ebp, edx
mov dword [esp + 0x10], esi
je 0x43927f
cmp dword [ebx], 0
jne 0x439296
mov eax, dword [0x498638]
push eax
push 1
push ebp
push esi
call dword [sym.imp.MSVCRT40.dll_fwrite]
add esp, 0x10
cmp eax, 1
je 0x43927f
push 0xcb6
mov edx, str.c:cutc_srcP2coffemit.c
mov ecx, 0xe
call dword [0x498600]
mov eax, dword [ebx + 0xc]
add eax, ebp
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x10]
inc eax
mov dword [ebx + 0x10], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edx, dword [ebx + 0xc]
mov ecx, 0x1f4
sub ecx, edx
cmp ecx, ebp
jae 0x439339
jmp 0x4392ae
mov ebp, dword [esp + 0x14]
mov edi, dword [ebx + 0xc]
mov eax, 0x1f4
sub eax, edi
mov esi, dword [esp + 0x10]
sub ebp, eax
mov edx, edi
mov dword [esp + 0x14], ebp
mov ebp, dword [ebx + 0x14]
mov ecx, eax
lea edi, [ebp + edx + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0xc]
lea esi, [eax + ecx]
mov ecx, dword [esp + 0x10]
add ecx, eax
cmp esi, 0x1f4
mov dword [ebx + 0xc], esi
mov dword [esp + 0x10], ecx
je 0x439305
mov edx, 0xcc1
mov ecx, str.c:cutc_srcP2coffemit.c
call fcn.00484cb0
call fcn.00439050
mov ecx, dword [ebp]
mov dword [ebx + 0x14], eax
mov dword [eax], ecx
mov ecx, dword [ebx + 8]
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
add ecx, esi
cmp eax, 0x1f4
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], 0
ja 0x4392aa
mov esi, dword [esp + 0x10]
mov ebp, eax
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x14]
mov ecx, ebp
add ebp, eax
lea edi, [edx + eax + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x10]
mov ecx, edx
and ecx, 3
inc eax
rep movsb byte es:[edi], byte [esi]
pop edi
mov dword [ebx + 0xc], ebp
pop esi
mov dword [ebx + 0x10], eax
pop ebp
pop ebx
add esp, 8
ret

Function at 0x439370
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, ecx
test ebp, ebp
je 0x439415
mov eax, dword [ebp + 4]
push edi
push esi
cmp eax, 1
push ebx
je 0x4393ff
mov edi, dword [ebp + 0x14]
mov ebx, dword [sym.imp.MSVCRT40.dll_fwrite]
mov esi, dword [edi]
cmp esi, edi
je 0x4393cb
mov eax, dword [0x498638]
lea ecx, [esi + 4]
push eax
push 1
push 0x1f4
push ecx
call ebx
add esp, 0x10
cmp eax, 1
je 0x4393c5
push 0xceb
mov edx, str.c:cutc_srcP2coffemit.c
mov ecx, 0xe
call dword [0x498600]
mov esi, dword [esi]
cmp esi, edi
jne 0x439395
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4393ff
mov edx, dword [0x498638]
add esi, 4
push edx
push 1
push eax
push esi
call ebx
add esp, 0x10
cmp eax, 1
je 0x4393ff
push 0xcf0
mov edx, str.c:cutc_srcP2coffemit.c
mov ecx, 0xe
call dword [0x498600]
mov eax, dword [ebp + 0x14]
mov ecx, dword [0x493f1c]
pop ebx
pop esi
mov edx, dword [eax]
mov dword [eax], ecx
mov dword [0x493f1c], edx
pop edi
pop ebp
ret
Function at 0x439440
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
push ebp
push esi
mov esi, ecx
push edi
mov edi, edx
mov eax, dword [esi + 0x34]
cmp eax, 0xffff
jb 0x43949a
inc eax
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [0x498638]
push eax
push 1
push 0xa
push ecx
mov dword [esp + 0x20], 0
mov word [esp + 0x24], 0
call dword [sym.imp.MSVCRT40.dll_fwrite]
add esp, 0x10
cmp eax, 1
je 0x43949a
push 0xd3f
mov edx, str.c:cutc_srcP2coffemit.c
mov ecx, 0xe
call dword [0x498600]
mov ebp, dword [esi + 0x10]
mov esi, ebp
mov esi, dword [esi + 4]
mov ecx, dword [esi]
mov edx, ecx
dec ecx
test edx, edx
je 0x4394c2
lea eax, [ecx + ecx*4]
inc ecx
lea eax, [esi + eax*2 + 8]
mov edx, dword [eax]
sub eax, 0xa
add edx, edi
dec ecx
mov dword [eax + 0xa], edx
test ecx, ecx
ja 0x4394b3
mov ecx, dword [0x498638]
mov edx, dword [esi]
push ecx
push edx
lea eax, [esi + 8]
push 0xa
push eax
call dword [sym.imp.MSVCRT40.dll_fwrite]
mov ecx, dword [esi]
add esp, 0x10
cmp eax, ecx
je 0x4394f6
push 0xd4c
mov edx, str.c:cutc_srcP2coffemit.c
mov ecx, 0xe
call dword [0x498600]
cmp esi, ebp
jne 0x43949f
mov eax, dword [0x493f20]
mov ecx, dword [ebp + 4]
pop edi
mov dword [ebp + 4], eax
pop esi
mov dword [0x493f20], ecx
pop ebp
add esp, 0xc
ret

Function at 0x439520
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [ecx + 0x14]
push ebp
push esi
push edi
mov edi, dword [ecx + 0x2c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov esi, ebx
mov esi, dword [esi + 4]
xor ecx, ecx
cmp dword [esi], 0
jle 0x439581
mov dl, byte [0x498564]
mov ebp, dword [0x493eb8]
lea eax, [esi + 8]
cmp word [eax + 4], 0
jne 0x43956a
test dl, 1
je 0x43956a
mov ebx, dword [eax]
mov ebx, dword [ebp + ebx*4 + 4]
mov ebx, dword [ebx + 8]
mov dword [ebx + 8], edi
jmp 0x439570
mov ebx, dword [esp + 0x10]
add dword [eax], ebx
mov ebx, dword [esi]
inc ecx
add eax, 6
add edi, 6
cmp ecx, ebx
jl 0x439550
mov ebx, dword [esp + 0x14]
mov eax, dword [0x498638]
mov ecx, dword [esi]
push eax
push ecx
lea edx, [esi + 8]
push 6
push edx
call dword [sym.imp.MSVCRT40.dll_fwrite]
mov ecx, dword [esi]
add esp, 0x10
cmp eax, ecx
je 0x4395b4
push 0xd7b
mov edx, str.c:cutc_srcP2coffemit.c
mov ecx, 0xe
call dword [0x498600]
cmp esi, ebx
jne 0x439537
mov eax, dword [0x493f24]
mov ecx, dword [ebx + 4]
pop edi
pop esi
mov dword [ebx + 4], eax
pop ebp
mov dword [0x493f24], ecx
pop ebx
add esp, 8
ret
Function at 0x43a990
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, dword [0x493ee4]
push ebx
mov ebx, dword [sym.imp.MSVCRT40.dll_fseek]
push ebp
push esi
mov ebp, ecx
mov ecx, dword [0x498638]
push edi
push 0
push eax
push ecx
call ebx
add esp, 0xc
test eax, eax
je 0x43a9c3
mov edx, 0x1415
mov ecx, str.c:cutc_srcP2coffemit.c
call fcn.00484cb0
mov esi, dword [0x493ee0]
mov edi, dword [0x493ee4]
sub esi, edi
push esi
call dword [sym.imp.MSVCRT40.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x43a9f0
mov edx, 0x141c
mov ecx, str.c:cutc_srcP2coffemit.c
call fcn.00484cb0
mov edx, dword [0x498638]
push edx
push esi
push 1
push edi
call dword [sym.imp.MSVCRT40.dll_fread]
add esp, 0x10
cmp eax, esi
je 0x43aa17
mov edx, 0x141f
mov ecx, str.c:cutc_srcP2coffemit.c
call fcn.00484cb0
mov eax, dword [0x493ee4]
mov edx, dword [0x498638]
push 0
lea ecx, [ebp + eax]
push ecx
push edx
call ebx
add esp, 0xc
test eax, eax
je 0x43aa42
mov edx, 0x1422
mov ecx, str.c:cutc_srcP2coffemit.c
call fcn.00484cb0
mov eax, dword [0x498638]
push eax
push esi
push 1
push edi
call dword [sym.imp.MSVCRT40.dll_fwrite]
add esp, 0x10
push edi
call dword [sym.imp.MSVCRT40.dll_free]
mov ecx, dword [0x493ee0]
add esp, 4
add ecx, ebp
mov dword [0x493ee0], ecx
mov ecx, dword [0x493f04]
mov edx, dword [ecx]
test edx, edx
je 0x43aaaa
mov eax, dword [edx + 4]
test eax, eax
je 0x43aaa4
mov ecx, dword [eax + 0x24]
test ecx, ecx
jbe 0x43aaa4
add ecx, ebp
mov dword [eax + 0x24], ecx
mov ecx, dword [eax + 0x28]
test ecx, ecx
jbe 0x43aa98
add ecx, ebp
mov dword [eax + 0x28], ecx
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jbe 0x43aaa4
add ecx, ebp
mov dword [eax + 0x2c], ecx
mov edx, dword [edx]
test edx, edx
jne 0x43aa79
mov edi, dword [0x493ebc]
xor esi, esi
test edi, edi
jbe 0x43aaf3
mov edx, dword [0x493eb8]
mov eax, dword [edx]
cmp dword [eax], 3
jne 0x43aaeb
mov eax, dword [eax + 8]
cmp byte [eax + 0x11], 1
jne 0x43aaeb
mov al, byte [eax + 0xe]
and al, 0x30
cmp al, 0x20
jne 0x43aaeb
mov ecx, dword [edx + 4]
add edx, 4
inc esi
mov eax, dword [ecx + 8]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x43aaeb
add ecx, ebp
mov dword [eax + 8], ecx
inc esi
add edx, 4
cmp esi, edi
jb 0x43aabc
mov eax, dword [0x493f38]
test eax, eax
je 0x43ab0a
mov edx, dword [eax + 4]
add edx, ebp
mov dword [eax + 4], edx
mov eax, dword [eax]
test eax, eax
jne 0x43aafc
pop edi
pop esi
pop ebp
pop ebx
ret