joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413a20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54c1b5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x577094]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov edx, ebx
cmp dword [ebx + 0x14], 8
mov edi, dword [ebx + 0x10]
jb 0x413a58
mov edx, dword [ebx]
xor ecx, ecx
mov esi, 0x811c9dc5
add edi, edi
je 0x413a74
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x413a63
push esi
push ebx
lea eax, [ebp - 0x18]
push eax
call fcn.00410320
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x413aa3
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [0x57bab4], 0x71c71c7
je 0x413c11
mov dword [ebp - 0x20], 0x57bab0
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x1c], 0
call fcn.004eedcb
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
lea ecx, [edi + 8]
push ebx
call fcn.0040c3e0
mov ecx, dword [ebx + 0x18]
mov dword [edi + 0x20], ecx
mov dword [ebp - 4], 1
mov ecx, dword [0x57bab4]
mov ebx, dword [0x57bac8]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x56c440]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x56c440]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x57baac]
comiss xmm1, xmm0
jbe 0x413bad
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.00548bf0
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.0054a790
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x413b8f
cmp ebx, 0x200
jae 0x413b8d
shl ebx, 3
cmp ebx, ecx
jae 0x413b8f
mov ebx, ecx
push ebx
call fcn.004153a0
push esi
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00410320
mov ecx, dword [0x57bab4]
mov edx, dword [eax]
jmp 0x413bb0
mov edx, dword [ebp - 0x18]
mov ebx, dword [edx + 4]
inc ecx
mov dword [0x57bab4], ecx
mov dword [edi], edx
mov dword [edi + 4], ebx
mov dword [ebx], edi
mov dword [edx + 4], edi
mov eax, dword [0x57bac4]
mov ecx, dword [0x57bab8]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [0x57bab0]
jne 0x413be1
mov dword [ecx + eax*8], edi
jmp 0x413bf0
cmp esi, edx
jne 0x413bea
mov dword [ecx + eax*8], edi
jmp 0x413bf4
cmp dword [ecx + eax*8 + 4], ebx
jne 0x413bf4
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.004d435f
int3
Function at 0x415f90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], ecx
cmp edx, eax
je 0x416103
cmp dword [edx + 0x1c], 0x10
mov eax, dword [ecx + 4]
push esi
mov dword [ebp - 0x18], eax
mov esi, edx
mov eax, dword [ecx + 0xc]
push edi
mov dword [ebp - 0x14], eax
lea edi, [edx + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x10]
jb 0x415fcb
mov edi, dword [edi]
xor edx, edx
push ebx
mov ebx, 0x811c9dc5
test eax, eax
je 0x415ff4
mov ecx, eax
nop dword [eax]
movzx eax, byte [edx + edi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x415fe0
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, ebx
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
nop dword [eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.004060f0
push 0x38
push edi
call fcn.004ef2cd
mov eax, dword [ebp - 4]
add esp, 8
dec dword [eax + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x41605d
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x416010
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jne 0x4160f8
mov ecx, dword [ebp - 0xc]
pop ebx
pop edi
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
jne 0x41606f
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
jmp 0x416072
mov eax, dword [ebp - 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
cmp esi, eax
je 0x4160f8
nop dword [eax]
cmp dword [esi + 0x1c], 0x10
lea edx, [esi + 8]
mov ebx, dword [edx + 0x10]
jb 0x41608e
mov edx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x4160b1
nop dword [eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x4160a0
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, edi
lea eax, [ecx + eax*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.004060f0
push 0x38
push edi
call fcn.004ef2cd
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [ecx + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x416109
cmp esi, eax
jne 0x4160c8
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop ebx
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 0x18]
mov dword [ecx], edi
mov dword [ecx + 4], edi
cmp esi, eax
jne 0x416080
mov ecx, dword [ebp - 8]
pop ebx
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x416180
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], ecx
cmp edx, eax
je 0x4162f3
cmp dword [edx + 0x1c], 8
mov eax, dword [ecx + 4]
push esi
mov dword [ebp - 0x18], eax
mov esi, edx
mov eax, dword [ecx + 0xc]
push edi
mov dword [ebp - 0x14], eax
lea edi, [edx + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x10]
jb 0x4161bb
mov edi, dword [edi]
xor edx, edx
push ebx
mov ebx, 0x811c9dc5
add eax, eax
je 0x4161e4
mov ecx, eax
nop dword [eax]
movzx eax, byte [edx + edi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x4161d0
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, ebx
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
nop dword [eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.00405fd0
push 0x2c
push edi
call fcn.004ef2cd
mov eax, dword [ebp - 4]
add esp, 8
dec dword [eax + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x41624d
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x416200
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jne 0x4162e8
mov ecx, dword [ebp - 0xc]
pop ebx
pop edi
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
jne 0x41625f
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
jmp 0x416262
mov eax, dword [ebp - 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
cmp esi, eax
je 0x4162e8
nop dword [eax]
cmp dword [esi + 0x1c], 8
lea edx, [esi + 8]
mov ebx, dword [edx + 0x10]
jb 0x41627e
mov edx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
add ebx, ebx
je 0x4162a1
nop dword [eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x416290
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, edi
lea eax, [ecx + eax*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.00405fd0
push 0x2c
push edi
call fcn.004ef2cd
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [ecx + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x4162f9
cmp esi, eax
jne 0x4162b8
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop ebx
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 0x18]
mov dword [ecx], edi
mov dword [ecx + 4], edi
cmp esi, eax
jne 0x416270
mov ecx, dword [ebp - 8]
pop ebx
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x416370
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 0x20], edi
cmp eax, ebx
jne 0x416391
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [eax + 0x1c], 8
lea edx, [eax + 8]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 4]
mov eax, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jb 0x4163b1
mov edx, dword [edx]
xor ecx, ecx
push esi
mov esi, 0x811c9dc5
add eax, eax
je 0x4163d4
mov ebx, eax
nop
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x4163c0
mov ebx, dword [ebp + 0xc]
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, esi
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov edx, eax
mov dword [ebp - 0x10], ecx
mov esi, dword [eax]
call fcn.00413c50
dec dword [edi + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0xc]
je 0x416422
mov dword [ebp - 0x1c], esi
cmp esi, ebx
je 0x416431
mov edx, esi
mov esi, dword [esi]
call fcn.00413c50
dec dword [edi + 8]
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x1c], eax
jne 0x416404
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jne 0x416451
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
jmp 0x416454
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x10], eax
jne 0x41643e
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
mov eax, dword [ebp - 4]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 4]
mov dword [ecx + 4], eax
cmp esi, ebx
je 0x41643e
nop dword [eax + eax]
cmp dword [esi + 0x1c], 8
lea edx, [esi + 8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x1c], esi
jb 0x416471
mov edx, dword [edx]
xor ecx, ecx
mov ebx, 0x811c9dc5
add eax, eax
mov dword [ebp + 8], eax
je 0x416495
mov edi, eax
movzx eax, byte [ecx + edx]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, edi
jb 0x416481
mov edi, dword [ebp - 0x20]
mov eax, dword [edi + 0x18]
mov edx, esi
mov ecx, dword [ebp - 0x14]
and eax, ebx
mov ebx, dword [ecx + eax*8 + 4]
mov esi, dword [esi]
mov dword [ebp - 0x10], ebx
lea eax, [ecx + eax*8]
mov dword [ebp + 8], eax
call fcn.00413c50
dec dword [edi + 8]
cmp dword [ebp - 0x1c], ebx
je 0x4164da
nop dword [eax + eax]
mov eax, dword [ebp + 0xc]
mov ebx, esi
cmp esi, eax
je 0x416503
mov edx, esi
mov esi, dword [esi]
call fcn.00413c50
dec dword [edi + 8]
cmp ebx, dword [ebp - 0x10]
jne 0x4164c0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], eax
cmp esi, ebx
jne 0x416460
mov eax, dword [ebp - 4]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4547d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov eax, ecx
mov ebx, edx
push edi
push 0
push 0x14
mov dword [ebp - 4], ebx
mov dword [ebp - 8], eax
mov dword [eax], 0
call fcn.0041c400
mov esi, eax
add esp, 8
test esi, esi
jne 0x454805
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x577b2c], 0
je 0x454850
mov eax, dword [0x577c1c]
test eax, eax
je 0x454825
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x454850
mov eax, dword [ebp + 8]
lea edi, [esi + 8]
mov dword [edi], ebx
lea ebx, [esi + 4]
push ebx
push 0
push esi
push 0x41fae0
push 0
push 0
mov dword [esi + 0xc], eax
call fcn.00511483
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x454863
jmp 0x454856
lea edi, [esi + 8]
lea ebx, [esi + 4]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [edi], 0
jne 0x45487c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push dword [ebp + 8]
mov dword [ebx], eax
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 8]
pop edi
mov dword [eax], esi
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46c1d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [ecx + 0x14], edi
jle 0x46c245
mov esi, edi
xor esi, 1
cmp edi, 2
cmovge esi, edi
add esi, esi
test edx, edx
je 0x46c218
mov ecx, dword [ecx + 0x10]
mov eax, edx
mov ecx, dword [ecx + esi*8]
sub ecx, edx
mov dword [ebp - 8], ecx
movzx edx, byte [eax]
movzx ecx, byte [ecx + eax]
cmp edx, ecx
jne 0x46c275
test edx, edx
jne 0x46c287
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
mov edx, ebx
push 0
mov ecx, dword [eax + esi*8 + 0xc]
add ecx, 8
call fcn.00422170
add esp, 4
mov eax, dword [eax + 8]
test eax, eax
jne 0x46c2ea
mov ecx, dword [ebp - 4]
inc edi
mov edx, dword [ebp + 8]
cmp edi, dword [ecx + 0x14]
jl 0x46c1e8
mov edx, str.sqlite_master
sub edx, ebx
nop dword [eax]
movzx ecx, byte [ebx]
movzx eax, byte [edx + ebx]
cmp ecx, eax
jne 0x46c290
test ecx, ecx
jne 0x46c2a2
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x10]
test edx, edx
jne 0x46c2a5
neg ecx
sbb ecx, ecx
jmp 0x46c2c2
movzx ecx, byte [ecx + 0x561f98]
movzx edx, byte [edx + 0x561f98]
sub edx, ecx
jne 0x46c239
mov ecx, dword [ebp - 8]
inc eax
jmp 0x46c206
movzx eax, byte [eax + 0x561f98]
movzx ecx, byte [ecx + 0x561f98]
sub ecx, eax
jne 0x46c2e8
inc ebx
jmp 0x46c250
test ecx, ecx
je 0x46c2e8
mov esi, ecx
sub esi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x46c2d3
test ecx, ecx
jne 0x46c2e5
mov edx, dword [ebp + 8]
test ecx, ecx
jne 0x46c2e8
mov ecx, dword [ebp - 4]
mov ebx, str.sqlite_temp_master
jmp 0x46c1e1
movzx eax, byte [eax + 0x561f98]
movzx ecx, byte [ecx + 0x561f98]
sub ecx, eax
jne 0x46c2bf
inc edx
jmp 0x46c2b0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46c500
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, ecx
mov dword [ebp - 8], edx
push ebx
push edi
xor ebx, ebx
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [eax + 0x14], ebx
jle 0x46c594
mov edx, dword [ebp + 8]
push esi
nop dword [eax]
mov esi, edi
xor esi, 1
cmp edi, 2
cmovge esi, edi
shl esi, 4
add esi, dword [eax + 0x10]
mov eax, dword [esi + 0xc]
mov dword [ebp - 4], eax
test edx, edx
je 0x46c553
mov esi, dword [esi]
mov eax, edx
sub esi, edx
movzx edx, byte [eax]
movzx ecx, byte [esi + eax]
cmp edx, ecx
jne 0x46c57f
test edx, edx
jne 0x46c591
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea ecx, [eax + 0x18]
push 0
call fcn.00422170
add esp, 4
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x46c576
mov eax, dword [ebp - 0xc]
inc edi
mov edx, dword [ebp + 8]
cmp edi, dword [eax + 0x14]
jl 0x46c520
pop esi
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, byte [ecx + 0x561f98]
movzx edx, byte [edx + 0x561f98]
sub edx, ecx
jne 0x46c56a
inc eax
jmp 0x46c541
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c67d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4c67f3
push eax
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.005144fb
add esp, 0x10
pop esi
pop ebp
ret 8
mov eax, dword [esi + 0xec]
push edi
mov edi, dword [ebp + 0xc]
add eax, edi
cmp eax, dword [esi + 0xe8]
jle 0x4c6852
push ebx
lea ebx, [eax + eax]
push ebx
call fcn.004ef695
push dword [esi + 0xec]
mov dword [ebp + 0xc], eax
push dword [esi + 0xd0]
push eax
call fcn.004f0e30
mov ecx, dword [esi + 0xd0]
lea eax, [esi + 0xd4]
add esp, 0x10
cmp ecx, eax
je 0x4c6842
push ecx
call fcn.004ef690
add esp, 4
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xd0], eax
pop ebx
mov eax, dword [esi + 0xec]
mov ecx, dword [esi + 0xd0]
add ecx, eax
add eax, edi
push edi
push dword [ebp + 8]
mov dword [esi + 0xec], eax
lea esi, [ecx - 1]
push esi
call fcn.004f0e30
add esp, 0xc
mov byte [esi + edi], 0
pop edi
pop esi
pop ebp
ret 8
Function at 0x4cd050
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x4cd138
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x4cd127
jg 0x4cd090
test edx, edx
je 0x4cd127
nop dword [eax]
call fcn.004cf8f0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x4cd0e4
jg 0x4cd0a7
test esi, esi
je 0x4cd0e4
cmp ebx, eax
jg 0x4cd0b7
jl 0x4cd0b1
cmp edi, esi
jae 0x4cd0b7
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.004f0e30
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x4cd10b
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
push eax
call edx
cmp eax, 0xffffffff
je 0x4cd121
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x4cd090
jl 0x4cd121
test edi, edi
jne 0x4cd090
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov edx, dword [eax]
lea eax, [ecx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
test edx, edx
je 0x4cd160
mov eax, dword [eax]
mov edx, dword [eax]
jmp 0x4cd166
xor edx, edx
mov dword [esp + 0x18], eax
mov eax, edx
cdq
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
test edi, edi
jl 0x4cd1ce
jg 0x4cd17b
test esi, esi
je 0x4cd1ce
test edx, edx
jl 0x4cd1c9
jg 0x4cd185
test eax, eax
je 0x4cd1c9
cmp edi, edx
jg 0x4cd199
jl 0x4cd18f
cmp esi, eax
jae 0x4cd199
mov eax, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov ebx, dword [ebp + 8]
push eax
push ebx
push dword [esp + 0x24]
call fcn.004f0e30
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x14]
add ebx, edx
mov ecx, dword [esp + 0xc]
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x10]
sub dword [eax], edx
mov eax, dword [ecx + 0x20]
add dword [eax], edx
jmp 0x4cd1d1
mov ebx, dword [ebp + 8]
jmp 0x4cd1db
mov ebx, dword [ebp + 8]
test edi, edi
jl 0x4cd1f4
jg 0x4cd1db
test esi, esi
je 0x4cd1f4
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x4cd1f4
push eax
push esi
push 1
push ebx
call fcn.005144fb
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4cd750
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x577094]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x4cd780
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004eedbd
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x4cd7bc
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x4cd7bc
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004eedbd
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x4cd8a6
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x4cd7e4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4cd817
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.0051246d
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004eedbd
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x25], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x4cd879
sub eax, 1
je 0x4cd879
sub eax, 2
jne 0x4cd8a6
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.0051246d
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004eedbd
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4cd896
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.005144fb
add esp, 0x10
cmp edi, eax
jne 0x4cd8a6
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x4cd7a7
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004eedbd
mov esp, ebp
pop ebp
ret 4