joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4867c7
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push edi
push dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [edi]
call fcn.00486495
test eax, eax
jne 0x4867f1
mov esi, 0x8007000e
jmp 0x48688e
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4867f6
mov edx, dword [ebp + 0x18]
push ebx
lea ebx, [ebp - 4]
push ebx
push eax
sub ecx, esi
mov esi, dword [edx]
inc ecx
push ecx
xor ebx, ebx
push ebx
push ebx
push 0x4018d0
push edx
call dword [esi + 0x1c]
mov esi, eax
cmp esi, ebx
jge 0x48682c
push 0x405e40
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x48688d
cmp dword [edi + 4], ebx
mov dword [ebp + 0xc], ebx
jbe 0x48688d
xor ebx, ebx
mov eax, dword [edi + 8]
add eax, ebx
mov ecx, dword [eax + 4]
dec ecx
je 0x486867
dec ecx
je 0x486859
dec ecx
je 0x48684b
xor esi, esi
jmp 0x48687f
push dword [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.00486715
jmp 0x486879
push dword [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.00486643
jmp 0x486879
push dword [ebp - 4]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.00486553
mov esi, eax
test esi, esi
jl 0x48688d
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
add ebx, 0x10
cmp eax, dword [edi + 4]
jb 0x486836
pop ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x48689b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov eax, esi
pop esi
leave
ret 0x14
Function at 0x4868a8
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push edi
push 0x2c
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
mov dword [ebp - 0xc], eax
jne 0x4868dd
push 0x405e68
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, 0x8007000e
jmp 0x4869b9
mov edi, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x40]
push 4
lea eax, [edx + 0x10]
mov dword [eax], ecx
mov esi, dword [ebx + 0x20]
pop ecx
add eax, ecx
mov dword [eax], esi
mov esi, dword [ebx + 0x24]
add eax, ecx
mov dword [eax], esi
mov esi, dword [ebx + 0x28]
add eax, ecx
mov dword [eax], esi
mov esi, dword [ebx + 0x30]
add eax, ecx
mov dword [eax], esi
add eax, ecx
mov ecx, dword [ebx + 0x34]
lea esi, [ebp - 4]
push esi
push edx
push 0x2c
mov dword [eax], ecx
mov ecx, dword [ebx + 0x38]
xor esi, esi
push esi
push esi
mov dword [eax + 4], ecx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
push 0x405d5c
push eax
call dword [ecx + 0x1c]
mov edi, eax
cmp edi, esi
jl 0x48698a
mov ebx, dword [ebx + 0x44]
cmp ebx, esi
je 0x486997
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
call fcn.00486495
cmp eax, esi
jne 0x48695f
mov edi, 0x8007000e
jmp 0x4869b7
mov ecx, eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x486964
mov edx, dword [ebp - 4]
sub ecx, edi
mov edi, dword [edx]
lea ebx, [ebp - 8]
push ebx
push eax
inc ecx
push ecx
push esi
push esi
push 0x405dbc
push edx
call dword [edi + 0x1c]
mov edi, eax
cmp edi, esi
jge 0x486997
push 0x405e40
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4869b7
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x4869b7
cmp dword [eax], 0
je 0x4869b7
push dword [ebp - 4]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push dword [ebp + 8]
call fcn.004867c7
mov edi, eax
pop esi
pop ebx
mov eax, dword [ebp - 8]
test eax, eax
je 0x4869ca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 8], 0
mov eax, dword [ebp - 4]
test eax, eax
je 0x4869db
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 4], 0
push dword [ebp - 0xc]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, edi
pop edi
leave
ret 0x18
Function at 0x486aa5
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
and dword [ebp - 4], 0
push ebx
push esi
push edi
push eax
call dword [ecx + 0x10]
mov esi, eax
lea edi, [esi + esi*2]
shl edi, 2
lea eax, [edi + 4]
push eax
mov dword [ebp + 0xc], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
test ebx, ebx
pop ecx
jne 0x486add
mov esi, 0x8007000e
jmp 0x486b23
lea eax, [esi + esi*2]
mov esi, dword [ebp + 0x10]
mov dword [ebx], eax
mov ecx, edi
mov eax, ecx
shr ecx, 2
lea edi, [ebx + 4]
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 4]
push edx
push ebx
push dword [ebp + 0xc]
mov ecx, eax
mov eax, dword [ebp + 0x14]
push 0
push 0
and ecx, 3
push 0x4019d0
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jge 0x486b23
push 0x405e40
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 4]
test eax, eax
je 0x486b34
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 4], 0
push ebx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10
Function at 0x4879f8
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x20]
push edi
mov edi, dword [ebp + 0x1c]
lea eax, [esi*4 + 4]
imul eax, edi
lea ecx, [ebx + ebx*2]
lea eax, [eax + ecx*4 + 8]
push eax
mov dword [ebp - 8], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
mov dword [ebp + 0x10], eax
jne 0x487a3b
mov esi, 0x8007000e
jmp 0x487b02
mov dword [eax], ebx
add eax, 4
xor edx, edx
test ebx, ebx
jbe 0x487a74
mov ecx, dword [ebp + 0x24]
mov edi, dword [ecx + 0xc0]
mov esi, dword [ecx + 0x94]
imul edi, edx
add edi, dword [ebp + 0xc]
movzx esi, word [esi + 2]
add esi, edi
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0xc
inc edx
cmp edx, ebx
movsd dword es:[edi], dword [esi]
jb 0x487a49
mov esi, dword [ebp + 0x20]
mov edi, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov dword [eax], edi
add eax, 4
test edx, edx
je 0x487aa8
test edi, edi
jbe 0x487ad5
mov dword [eax], esi
add eax, 4
xor ecx, ecx
test esi, esi
jbe 0x487a9c
mov ebx, dword [edx + ecx*4]
mov dword [eax], ebx
add eax, 4
inc ecx
cmp ecx, esi
jb 0x487a8f
mov ecx, esi
shl ecx, 2
add edx, ecx
dec edi
jne 0x487a84
jmp 0x487ad5
test edi, edi
jbe 0x487ad5
mov edx, dword [ebp + 0x14]
lea ebx, [esi + esi]
mov dword [ebp + 0x20], edi
mov dword [eax], esi
add eax, 4
xor ecx, ecx
test esi, esi
jbe 0x487ace
movzx edi, word [edx + ecx*2]
mov dword [eax], edi
add eax, 4
inc ecx
cmp ecx, esi
jb 0x487ac0
add edx, ebx
dec dword [ebp + 0x20]
jne 0x487ab5
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push dword [ebp + 0x10]
push dword [ebp - 8]
push 0
push 0
push 0x405dac
push eax
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jge 0x487b02
push 0x405e40
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 4]
test eax, eax
je 0x487b13
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 4], 0
push dword [ebp + 0x10]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x24
Function at 0x487b2a
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
lea eax, [esi*8 + 4]
push edi
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x487b5a
mov esi, 0x8007000e
jmp 0x487bc4
cmp esi, ebx
mov dword [edi], esi
lea ecx, [edi + 4]
mov dword [ebp + 0x10], ebx
jbe 0x487b9b
mov edx, dword [ebp + 0x14]
mov ebx, dword [edx + 0xc0]
imul ebx, dword [ebp + 0x10]
mov eax, dword [edx + 0xa0]
movzx eax, word [eax + 2]
add ebx, dword [ebp + 0xc]
add eax, ebx
mov ebx, dword [eax]
mov dword [ecx], ebx
mov eax, dword [eax + 4]
add ecx, 4
mov dword [ecx], eax
add ecx, 4
inc dword [ebp + 0x10]
cmp dword [ebp + 0x10], esi
jb 0x487b69
xor ebx, ebx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push edi
push dword [ebp - 8]
push ebx
push ebx
push 0x405d9c
push eax
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jge 0x487bc4
push 0x405e40
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x487bd4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], ebx
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x14

Function at 0x487be9
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
lea eax, [edi + edi*4]
lea eax, [eax*4 + 4]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
mov dword [ebp + 0x10], eax
jne 0x487c1e
mov esi, 0x8007000e
jmp 0x487c95
test edi, edi
mov dword [eax], edi
lea esi, [eax + 4]
jbe 0x487c68
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ecx + 0xc0]
imul eax, ebx
add eax, dword [ebp + 0xc]
push eax
call fcn.004878f6
mov ecx, dword [ebp - 0x18]
mov dword [esi], ebx
push 4
pop eax
add esi, eax
mov dword [esi], ecx
mov ecx, dword [ebp - 0x14]
add esi, eax
mov dword [esi], ecx
mov ecx, dword [ebp - 0x10]
add esi, eax
mov dword [esi], ecx
mov ecx, dword [ebp - 0xc]
add esi, eax
mov dword [esi], ecx
add esi, eax
inc ebx
cmp ebx, edi
jb 0x487c27
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push dword [ebp + 0x10]
push dword [ebp - 8]
push 0
push 0
push 0x405dcc
push eax
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jge 0x487c95
push 0x405e40
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 4]
test eax, eax
je 0x487ca6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 4], 0
push dword [ebp + 0x10]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x14
Function at 0x48862f
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x398
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov eax, dword [esi + 4]
xor ebx, ebx
push edi
xor edi, edi
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x488754
mov ecx, dword [esi + 0xc0]
imul ecx, dword [ebp + 0x10]
add ecx, 3
shr ecx, 2
lea eax, [ecx + eax*4]
lea eax, [eax*4 + 8]
push eax
mov dword [ebp + 0x18], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
test ebx, ebx
pop ecx
jne 0x488686
mov edi, 0x8007000e
jmp 0x488743
mov eax, dword [esi + 4]
mov dword [ebx], eax
mov eax, dword [esi]
xor ecx, ecx
cmp dword [esi + 4], ecx
lea edi, [ebx + 4]
jbe 0x4886c6
add eax, 5
movzx edx, byte [eax - 1]
mov dword [edi], edx
movzx edx, byte [eax]
add edi, 4
mov dword [edi], edx
movzx edx, byte [eax + 1]
add edi, 4
mov dword [edi], edx
movzx edx, byte [eax + 2]
add edi, 4
mov dword [edi], edx
add edi, 4
add eax, 8
inc ecx
cmp ecx, dword [esi + 4]
jb 0x48869a
mov eax, dword [esi + 0xc0]
imul eax, dword [ebp + 0x10]
add eax, 3
shr eax, 2
mov dword [edi], eax
push dword [esi]
mov eax, dword [ebp + 0x14]
push dword [eax]
lea ecx, [ebp - 0x398]
call fcn.004641d0
add edi, 4
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x398]
call fcn.0045f280
xor edi, edi
xor esi, esi
cmp dword [ebp + 0x10], edi
jbe 0x48871a
push 1
push esi
push esi
lea ecx, [ebp - 0x398]
call fcn.0045f2b0
inc esi
cmp esi, dword [ebp + 0x10]
jb 0x488705
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push ebx
push dword [ebp + 0x18]
push edi
push edi
push 0x401940
push eax
call dword [ecx + 0x1c]
mov edi, eax
test edi, edi
jge 0x488743
push 0x405e40
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 4]
test eax, eax
je 0x488754
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 4], 0
push ebx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x4ccc94
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
test edi, edi
je 0x4cccbe
cmp edi, 1
je 0x4cccbe
push 0x405ff0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0x8876086c
jmp 0x4ccdcb
push esi
push 1
push 0x1c0
call sub.msvcrt.dll_calloc
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x4cccdf
mov dword [ebp - 4], 0x8007000e
jmp 0x4ccdbe
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0xc], edi
mov dword [esi + 4], eax
call fcn.004cc416
test eax, eax
jne 0x4ccd01
mov dword [ebp - 4], 0x80004005
jmp 0x4ccdbd
fld dword [ebp + 0x10]
push edi
push ecx
fstp dword [esp]
call fcn.004cde4e
test eax, eax
mov dword [esi + 0x1bc], eax
je 0x4cccf5
and dword [esi + 0x1c], 0
call fcn.005d15f8
mov ebx, eax
test ebx, ebx
jne 0x4ccd33
mov dword [ebp - 4], 0x8007000e
jmp 0x4ccdbd
push 0x4ce4db
push 0x1870a
push ebx
call fcn.005d17d5
push fcn.005802f4
push 0x18706
push ebx
call fcn.005d17d5
push 0x4ce53b
push 0x1870b
push ebx
call fcn.005d17d5
push 0x4cc363
push 0x1870d
push ebx
call fcn.005d17d5
push 0x4cc302
push 0x1870f
push ebx
call fcn.005d17d5
fld1
sub esp, 0x18
fstp qword [esp + 0x10]
fldz
fstp qword [esp + 8]
fldz
fstp qword [esp]
push ebx
call fcn.005d17b2
fld qword [0x405fe8]
push ecx
push ecx
fstp qword [esp]
push 0x1872c
push ebx
call fcn.005d16b7
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x1c], ebx
mov dword [eax], esi
xor esi, esi
pop ebx
test esi, esi
je 0x4ccdca
push dword [ebp + 8]
call fcn.004cc4e2
pop esi
mov eax, dword [ebp - 4]
leave
ret 0x10

Function at 0x4cd6b0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
and dword [ebx], 0
push esi
push edi
push 0xc
mov edi, eax
call sub.msvcrt.dll_malloc
mov esi, eax
test esi, esi
pop ecx
je 0x4cd6e7
push 0x140
call sub.msvcrt.dll_malloc
test eax, eax
pop ecx
jne 0x4cd6f0
push esi
call sub.msvcrt.dll_free
pop ecx
mov dword [ebp - 4], 0x8007000e
jmp 0x4cd73a
and dword [esi + 4], 0
mov dword [esi], eax
mov dword [esi + 8], 0xa
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
add ecx, eax
cmp eax, ecx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], eax
jae 0x4cd728
push esi
push edi
lea eax, [ebp - 8]
call fcn.004cd560
test eax, eax
je 0x4cd741
mov eax, dword [edi + 0x10]
add eax, dword [edi + 0x14]
cmp dword [ebp - 8], eax
jb 0x4cd70f
and dword [ebp - 0xc], 0
mov dword [ebx], esi
mov edi, dword [ebp - 0xc]
test edi, edi
je 0x4cd73a
call fcn.004cc634
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
push 0x40601c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0x80004005
jmp 0x4cd72e
Function at 0x4cdd0c
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x60e890]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x24]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
je 0x4cde09
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor esi, esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push ebx
push esi
push esi
call edi
mov dword [ebp - 0xac], eax
add eax, 3
and eax, 0xfffffffc
call fcn.005f00d0
cmp dword [ebp - 0xac], esi
mov dword [ebp - 0xa8], esp
jne 0x4cddba
push 0x40604c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 0x8876086c
jmp 0x4cde34
push esi
push esi
push dword [ebp - 0xac]
push dword [ebp - 0xa8]
push 0xffffffffffffffff
push ebx
push esi
push esi
call edi
fld dword [ebp + 0x18]
push dword [ebp - 0xa4]
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
push ecx
push ecx
fstp dword [esp + 4]
fld dword [ebp + 0x14]
fstp dword [esp]
push dword [ebp - 0xa8]
push dword [ebp - 0xb0]
push dword [ebp - 0xb4]
call sym.d3dx9_24.dll_D3DXCreateTextA
jmp 0x4cde34
fld dword [ebp + 0x18]
push 1
push dword [ebp - 0xa4]
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
push ecx
push ecx
fstp dword [esp + 4]
fld dword [ebp + 0x14]
fstp dword [esp]
push ebx
push edi
push esi
call fcn.004cd89b
lea esp, [ebp - 0xc0]
mov ecx, dword [ebp - 4]
call fcn.005f059d
pop edi
pop esi
pop ebx
leave
ret 0x20

Function at 0x4ce69b
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [eax + 4], 0
fldz
fstp qword [ebp - 0x18]
je 0x4ce74c
call fcn.004cdf31
mov ecx, dword [eax + 0x10]
cmp ecx, 3
jb 0x4ce74c
mov edx, dword [eax + 0xc]
fld dword [edx]
lea eax, [edx + ecx*8 - 0x10]
dec ecx
fsub dword [eax]
fstp dword [ebp - 0x10]
fld dword [edx + 4]
fsub dword [eax + 4]
fstp dword [ebp - 0xc]
je 0x4ce718
push esi
mov esi, ecx
mov eax, edx
add edx, 8
fld dword [edx]
fsub dword [eax]
fstp dword [ebp - 8]
fld dword [edx + 4]
fsub dword [eax + 4]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
fstp dword [ebp - 4]
call fcn.004ce30e
fadd qword [ebp - 0x18]
dec esi
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
fstp qword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
jne 0x4ce6e0
pop esi
fld qword [ebp - 0x18]
fabs
fcomp qword [0x406280]
fnstsw ax
test ah, 5
jp 0x4ce737
push 0x406220
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4ce74c
fld qword [ebp - 0x18]
fcomp qword [0x401c50]
fnstsw ax
test ah, 0x41
mov eax, 0x901
je 0x4ce751
mov eax, 0x900
leave
ret
Function at 0x4def26
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x10]
sub eax, 0
push esi
push edi
je 0x4df0bf
dec eax
je 0x4defd0
dec eax
je 0x4def55
mov eax, 0x80004005
jmp 0x4df0c1
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov edx, dword [ebx + 0x20]
mov ecx, dword [ebp + 0xc]
add edx, ecx
cmp edx, eax
jbe 0x4def9f
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 0x20]
lea esi, [edx + ecx]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
shl eax, 1
cmp esi, eax
jbe 0x4def83
mov eax, esi
jmp 0x4def8e
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
shl eax, 1
mov ecx, dword [ebx + 0x14]
push eax
call fcn.004296fc
test eax, eax
jl 0x4df0c1
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax]
mov esi, dword [ebp + 8]
push eax
call dword [ecx + 0xc]
mov edi, eax
mov eax, dword [ebp + 0xc]
add edi, dword [ebx + 0x20]
mov ecx, eax
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 [ebp + 0x10]
mov dword [ecx], eax
add dword [ebx + 0x20], eax
jmp 0x4df0bf
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebp + 0xc]
lea esi, [edx + ecx]
mov eax, 0x10000
cmp esi, eax
ja 0x4df000
mov edi, dword [ebx + 0x18]
mov esi, dword [ebp + 8]
mov eax, ecx
shr ecx, 2
add edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add dword [ebx + 0x1c], eax
jmp 0x4df0ba
cmp edx, eax
je 0x4df02e
test edx, edx
je 0x4df02e
mov edi, dword [ebx + 0x18]
mov esi, dword [ebp + 8]
add edi, edx
mov ecx, eax
sub ecx, edx
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 edx, dword [ebx + 0x1c]
mov ecx, dword [ebp + 8]
sub ecx, edx
add ecx, eax
jmp 0x4df031
mov ecx, dword [ebp + 8]
test edx, edx
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp + 8], ecx
je 0x4df065
push 0
push dword [ebp + 0x10]
push eax
push dword [ebx + 0x18]
push dword [ebx]
call edi
test eax, eax
je 0x4def4b
mov eax, 0x10000
add dword [ebx + 0x20], eax
sub eax, dword [ebx + 0x1c]
and dword [ebx + 0x1c], 0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 4]
shr eax, 0x10
je 0x4df093
push 0
push dword [ebp + 0x10]
shl eax, 0x10
mov esi, eax
push esi
push dword [ebp + 8]
push dword [ebx]
call edi
test eax, eax
je 0x4def4b
add dword [ebx + 0x20], esi
add dword [ebp - 4], esi
add dword [ebp + 8], esi
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 4], eax
jae 0x4df0b7
sub eax, dword [ebp - 4]
mov edi, dword [ebx + 0x18]
mov esi, dword [ebp + 8]
mov ecx, eax
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 dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4df0cd
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
sub eax, 0
je 0x4df112
dec eax
je 0x4df0eb
dec eax
je 0x4df112
mov eax, 0x80004005
jmp 0x4df114
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4df112
push 0
lea ecx, [ebp - 4]
push ecx
push eax
push dword [esi + 0x18]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4df0e4
mov eax, dword [esi + 0x1c]
add dword [esi + 0x20], eax
and dword [esi + 0x1c], 0
xor eax, eax
pop esi
leave
ret

Function at 0x4e425f
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x4e4382
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x4e4366
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x4e42b8
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x4e4296
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18