Function at 0x4193f0
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x68c
mov eax, dword [0x4a1b10]
mov edi, dword [esp + 0x6a0]
mov ebp, dword [esp + 0x6b0]
mov edx, dword [esp + 0x6b4]
test eax, eax
je 0x41a053
mov esi, dword [esp + 0x6a4]
mov eax, dword [0x4a75b4]
imul esi, dword [esp + 0x6a8]
test dl, dl
mov dword [esp + 0x17c], ebp
mov dword [esp + 0x44], eax
lea eax, [esi*4]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x60], eax
jne 0x419500
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov ebx, eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x44]
test eax, eax
je 0x41a0bb
test esi, esi
mov dword [esp + 0x2c], esi
jle 0x41a072
xor edx, edx
mov dword [esp + 0x6a0], edi
mov dword [esp + 0x6b0], ebp
mov ecx, ebx
xor eax, eax
mov esi, edx
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x2c]
jmp 0x4194d9
movzx edx, byte [esp + 0x28]
add esi, 1
add ecx, 4
mov byte [ecx - 4], dl
movzx edx, byte [ebx + eax*4 + 1]
mov byte [ecx - 3], dl
movzx edx, byte [ebx + eax*4 + 2]
mov byte [ecx - 2], dl
add eax, 1
cmp eax, ebp
je 0x419eb0
movzx edx, byte [ebx + eax*4]
cmp byte [edi + eax*4], dl
mov byte [esp + 0x28], dl
jne 0x4194b0
movzx edx, byte [ebx + eax*4 + 1]
cmp byte [edi + eax*4 + 1], dl
jne 0x4194b0
movzx edx, byte [ebx + eax*4 + 2]
cmp byte [edi + eax*4 + 2], dl
jne 0x4194b0
jmp 0x4194ce
mov esi, dword [esp + 0x60]
mov dword [esp], esi
call sub.msvcrt.dll_malloc
mov dword [esp + 0x60], esi
mov dword [esp + 8], esi
mov esi, 1
mov dword [esp + 4], edi
mov dword [esp], eax
mov ebx, eax
call sub.msvcrt.dll_memcpy
mov eax, esi
mov ecx, ebp
mov dword [esp + 0x10], 1
shl eax, cl
lea ecx, [esp + 0x17c]
mov dword [esp + 0xc], 1
lea edx, [eax + 3]
test eax, eax
mov dword [esp], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x14], ecx
mov ecx, 1
cmovns edx, eax
sar edx, 2
mov dword [esp + 8], edx
mov edx, eax
shr edx, 0x1f
add edx, eax
mov eax, ebx
sar edx, 1
mov dword [esp + 4], edx
mov edx, dword [esp + 0x2c]
call fcn.00402eb0
mov dword [esp], ebx
call sub.msvcrt.dll_free
lea ecx, [ebp - 1]
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x380], 0
mov byte [esp + 0x280], 0
mov byte [esp + 0x180], 0
shl esi, cl
mov ecx, dword [0x4a75b4]
shl eax, 4
mov byte [esp + esi + 0x57f], 0
mov byte [esp + esi + 0x480], 0
mov dword [esp], eax
mov dword [esp + 0x64], ecx
call sub.msvcrt.dll_malloc
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x6c], eax
xor eax, eax
test ebx, ebx
jle 0x41a079
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x60]
movzx edx, byte [edi + eax]
shl edx, 8
mov dword [ecx + eax*4], edx
add eax, 1
cmp eax, ebx
jne 0x4195e3
mov ecx, dword [esp + 0x6a8]
test ecx, ecx
je 0x41a095
mov eax, dword [esp + 0x6a4]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x54], 0
lea eax, [eax + eax + 1]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x6a4]
shl eax, 4
mov dword [esp + 0x68], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x6a4]
add dword [esp + 0x54], 1
test eax, eax
je 0x419984
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x6a4]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x28], eax
sub eax, dword [esp + 0x6a4]
add esi, ebx
mov dword [esp + 0x58], esi
mov edi, esi
mov esi, ebx
mov dword [esp + 0x30], eax
jmp 0x4198d6
mov eax, dword [esp + 0x34]
lea ebx, [esp + 0x70]
mov dword [esp + 0xc], 1
mov dword [esp + 0x70], 0xf4240
mov dword [esp + 0x74], 0
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], ebx
call fcn.00402bb0
mov eax, dword [esp + 0x74]
movzx ecx, byte [esp + eax + 0x180]
movzx ebx, byte [esp + eax + 0x280]
mov dword [esi + 0xc], eax
mov edx, ecx
mov dword [esi + 4], ebx
mov dword [esi], ecx
shl edx, 8
sub ebp, edx
mov edx, ebx
mov ebx, dword [esp + 0x38]
shl edx, 8
sub ebx, edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x34], ebx
movzx ebx, byte [esp + eax + 0x380]
mov dword [esp + 0x38], ebx
shl ebx, 8
mov ecx, dword [esp + 0x38]
sub edx, ebx
mov ebx, edx
mov edx, dword [esp + 0x30]
cmp dword [esp + 0x2c], edx
mov dword [esi + 8], ecx
jle 0x41977a
lea edx, [ebp*8]
mov ecx, dword [esi + 0x10]
sub edx, ebp
lea eax, [edx + 0xf]
test edx, edx
cmovns eax, edx
mov edx, ecx
neg edx
sar eax, 4
cmp eax, edx
cmovl eax, edx
add eax, ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x34]
lea edx, [eax*8]
sub edx, eax
lea eax, [edx + 0xf]
test edx, edx
cmovns eax, edx
mov edx, ecx
neg edx
sar eax, 4
cmp eax, edx
cmovl eax, edx
lea edx, [ebx*8]
add eax, ecx
mov ecx, dword [esi + 0x18]
sub edx, ebx
mov dword [esi + 0x14], eax
lea eax, [edx + 0xf]
test edx, edx
cmovns eax, edx
mov edx, ecx
sar eax, 4
neg edx
cmp eax, edx
cmovl eax, edx
add eax, ecx
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x28]
sub eax, 2
cmp dword [esp + 0x2c], eax
jle 0x4197e9
lea edx, [ebp + ebp*2]
mov ecx, dword [edi - 0x10]
lea eax, [edx + 0xf]
test edx, edx
cmovns eax, edx
mov edx, ecx
neg edx
sar eax, 4
cmp eax, edx
cmovl eax, edx
add eax, ecx
mov ecx, dword [edi - 0xc]
mov dword [edi - 0x10], eax
mov eax, dword [esp + 0x34]
lea edx, [eax + eax*2]
lea eax, [edx + 0xf]
test edx, edx
cmovns eax, edx
mov edx, ecx
neg edx
sar eax, 4
cmp eax, edx
cmovl eax, edx
lea edx, [ebx + ebx*2]
add eax, ecx
mov ecx, dword [edi - 8]
mov dword [edi - 0xc], eax
lea eax, [edx + 0xf]
test edx, edx
cmovns eax, edx
mov edx, ecx
sar eax, 4
neg edx
cmp eax, edx
cmovl eax, edx
add eax, ecx
mov dword [edi - 8], eax
mov eax, dword [esp + 0x28]
sub eax, 1
cmp dword [esp + 0x2c], eax
jle 0x419856
lea edx, [ebp + ebp*4]
mov ecx, dword [edi]
lea eax, [edx + 0xf]
test edx, edx
cmovns eax, edx
mov edx, ecx
neg edx
sar eax, 4
cmp eax, edx
cmovl eax, edx
add eax, ecx
mov ecx, dword [edi + 4]
mov dword [edi], eax
mov eax, dword [esp + 0x34]
lea edx, [eax + eax*4]
lea eax, [edx + 0xf]
test edx, edx
cmovns eax, edx
mov edx, ecx
neg edx
sar eax, 4
cmp eax, edx
cmovl eax, edx
lea edx, [ebx + ebx*4]
add eax, ecx
mov ecx, dword [edi + 8]
mov dword [edi + 4], eax
lea eax, [edx + 0xf]
test edx, edx
cmovns eax, edx
mov edx, ecx
sar eax, 4
neg edx
cmp eax, edx
cmovl eax, edx
add eax, ecx
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x2c], ecx
jle 0x4198b8
mov eax, dword [edi + 0x10]
lea edx, [ebp + 0xf]
test ebp, ebp
mov ecx, dword [esp + 0x34]
cmovs ebp, edx
mov edx, eax
sar ebp, 4
neg edx
cmp ebp, edx
cmovl ebp, edx
mov edx, dword [edi + 0x14]
add ebp, eax
lea eax, [ecx + 0xf]
test ecx, ecx
mov dword [edi + 0x10], ebp
cmovns eax, ecx
mov ecx, edx
sar eax, 4
neg ecx
cmp eax, ecx
cmovl eax, ecx
add edx, eax
mov eax, dword [edi + 0x18]
test ebx, ebx
mov dword [edi + 0x14], edx
lea edx, [ebx + 0xf]
cmovs ebx, edx
mov edx, eax
sar ebx, 4
neg edx
cmp ebx, edx
cmovl ebx, edx
add ebx, eax
mov dword [edi + 0x18], ebx
add dword [esp + 0x28], 1
add esi, 0x10
add edi, 0x10
mov eax, dword [esp + 0x28]
add dword [esp + 0x30], 1
cmp eax, dword [esp + 0x48]
je 0x419990
mov ebp, dword [esi]
mov ebx, dword [esi + 8]
lea edx, [ebp + 0x17e]
mov eax, ebp
mov dword [esp + 0x3c], ebx
add eax, 0x7f
cmovns edx, eax
mov eax, dword [esi + 4]
sar edx, 8
lea ecx, [eax + 0x17e]
mov dword [esp + 0x38], eax
add eax, 0x7f
cmovns ecx, eax
lea eax, [ebx + 0x17e]
sar ecx, 8
add ebx, 0x7f
cmovns eax, ebx
mov ebx, dword [esp + 0x44]
sar eax, 8
mov dword [esp + 0x34], eax
test ebx, ebx
je 0x419675
mov eax, dword [esp + 0x30]
movzx ebx, byte [ebx + eax*4 - 4]
cmp ebx, edx
mov dword [esp + 0x50], ebx
jne 0x419675
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x30]
movzx eax, byte [eax + ebx*4 - 3]
cmp eax, ecx
mov dword [esp + 0x5c], eax
jne 0x419675
mov eax, dword [esp + 0x44]
movzx eax, byte [eax + ebx*4 - 2]
cmp eax, dword [esp + 0x34]
mov ebx, eax
jne 0x419675
mov eax, dword [esp + 0x50]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 0
mov dword [esi], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 4], eax
jmp 0x4198b8
mov eax, dword [esp + 0x68]
add eax, ebx
mov dword [esp + 0x58], eax
nop
mov esi, dword [esp + 0x6a4]
mov eax, dword [esp + 0x54]
add dword [esp + 0x48], esi
cmp dword [esp + 0x6a8], eax
mov ebx, dword [esp + 0x58]
ja 0x419634
mov eax, dword [esp + 0x60]
test eax, eax
jle 0x4199dd
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x60]
xor eax, eax
mov esi, dword [esp + 0x64]
lea esi, [esi]
lea edi, [edi]
mov edx, dword [ecx + eax*4]
mov byte [esi + eax], dl
add eax, 1
cmp ebx, eax
jg 0x4199d0
mov eax, dword [0x4a75b4]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov edi, dword [0x4a1b10]
mov dword [esp], 0x21
mov dword [esp + 4], edi
mov dword [esp + 0x3c], edi
call sub.msvcrt.dll_fputc
mov dword [esp + 4], edi
mov dword [esp], 0xf9
call sub.msvcrt.dll_fputc
mov dword [esp + 4], edi
mov dword [esp], 4
call sub.msvcrt.dll_fputc
mov dword [esp + 4], edi
mov dword [esp], 5
call sub.msvcrt.dll_fputc
movzx eax, byte [esp + 0x6ac]
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll_fputc
mov eax, dword [esp + 0x6ac]
mov dword [esp + 4], edi
movzx eax, ah
mov dword [esp], eax
call sub.msvcrt.dll_fputc
mov dword [esp + 4], edi
mov dword [esp], 0
call sub.msvcrt.dll_fputc
mov dword [esp + 4], edi
mov dword [esp], 0
call sub.msvcrt.dll_fputc
mov dword [esp + 4], edi
mov dword [esp], 0x2c
call sub.msvcrt.dll_fputc
mov dword [esp + 4], edi
mov dword [esp], 0
call sub.msvcrt.dll_fputc
mov dword [esp + 4], edi
mov dword [esp], 0
call sub.msvcrt.dll_fputc
mov dword [esp + 4], edi
mov dword [esp], 0
call sub.msvcrt.dll_fputc
mov dword [esp + 4], edi
mov dword [esp], 0
call sub.msvcrt.dll_fputc
movzx eax, byte [esp + 0x6a4]
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll_fputc
mov eax, dword [esp + 0x6a4]
mov dword [esp + 4], edi
movzx eax, ah
mov dword [esp], eax
call sub.msvcrt.dll_fputc
movzx eax, byte [esp + 0x6a8]
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll_fputc
mov eax, dword [esp + 0x6a8]
mov dword [esp + 4], edi
movzx eax, ah
mov dword [esp], eax
call sub.msvcrt.dll_fputc
mov eax, dword [esp + 0x17c]
mov dword [esp + 4], edi
add eax, 0x7f
mov dword [esp], eax
call sub.msvcrt.dll_fputc
mov dword [esp + 4], edi
mov dword [esp], 0
call sub.msvcrt.dll_fputc
mov dword [esp + 4], edi
mov dword [esp], 0
call sub.msvcrt.dll_fputc
mov dword [esp + 4], edi
mov dword [esp], 0
call sub.msvcrt.dll_fputc
mov ecx, dword [esp + 0x17c]
mov eax, 1
shl eax, cl
cmp eax, 1
mov dword [esp + 0x4c], eax
jle 0x419bf4
mov ebp, 1
mov esi, 1
mov edx, ebp
mov ebp, edi
movzx edi, byte [esp + edx + 0x280]
movzx ebx, byte [esp + edx + 0x380]
mov dword [esp + 4], ebp
movzx eax, byte [esp + edx + 0x180]
mov dword [esp + 0x28], edx
mov dword [esp], eax
call sub.msvcrt.dll_fputc
mov eax, edi
mov dword [esp + 4], ebp
movzx edi, al
mov dword [esp], edi
call sub.msvcrt.dll_fputc
mov dword [esp + 4], ebp
mov dword [esp], ebx
call sub.msvcrt.dll_fputc
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x17c]
mov eax, esi
add edx, 1
shl eax, cl
cmp edx, eax
jl 0x419b95
mov dword [esp + 0x4c], eax
mov esi, dword [esp + 0x3c]
mov dword [esp], ecx
xor ebp, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 4], esi
call sub.msvcrt.dll_fputc
mov dword [esp + 4], 1
mov dword [esp], 0x200000
call sub.msvcrt.dll_calloc
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x40]
mov word [esp + 0x74], bp
mov dword [esp + 0x78], 0
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
mov dword [esp], eax
mov eax, esi
lea edi, [ecx + 1]
mov dword [esp + 0x54], edi
call fcn.00403b80
mov eax, dword [esp + 0x6a8]
test eax, eax
je 0x41a060
mov eax, dword [esp + 0x6a4]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x38], 0
shl eax, 2
lea esi, [esi + eax + 3]
mov dword [esp + 0x48], eax
neg eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x28], esi
mov esi, 0xffffffff
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
nop
mov edi, dword [esp + 0x6a4]
mov ebx, dword [esp + 0x44]
add ebx, dword [esp + 0x28]
test edi, edi
jne 0x419cd9
jmp 0x419cec
mov eax, esi
shl eax, 9
lea edi, [eax + ebp*2]
add edi, dword [esp + 0x30]
movzx eax, word [edi]
test ax, ax
je 0x419e00
movzx esi, ax
add ebx, 4
cmp dword [esp + 0x28], ebx
je 0x419cec
cmp esi, 0xffffffff
movzx ebp, byte [ebx]
jne 0x419cb5
add ebx, 4
cmp dword [esp + 0x28], ebx
mov esi, ebp
jne 0x419cd9
add dword [esp + 0x38], 1
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
add dword [esp + 0x28], ecx
cmp dword [esp + 0x6a8], eax
jne 0x419ca0
mov ecx, esi
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x40]
mov eax, esi
mov dword [esp], ebx
mov edx, edi
call fcn.00403b80
mov ecx, dword [esp + 0x4c]
mov eax, esi
mov dword [esp], ebx
mov edx, edi
call fcn.00403b80
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, edi
mov dword [esp], eax
mov eax, esi
call fcn.00403b80
movzx esi, byte [esp + 0x75]
movzx eax, byte [esp + 0x74]
xor ecx, ecx
mov ebx, dword [esp + 0x78]
mov edx, ecx
jmp 0x419d70
add eax, 1
mov edx, 1
cmp al, 7
ja 0x419e90
test al, al
jne 0x419d60
test dl, dl
jne 0x41a0a2
test cl, cl
jne 0x41a0ac
mov eax, dword [esp + 0x78]
test eax, eax
je 0x419dcb
mov esi, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], esi
call sub.msvcrt.dll_fputc
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], esi
xor esi, esi
mov dword [esp + 4], 1
mov dword [esp + 8], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
call sub.msvcrt.dll_fwrite
mov word [esp + 0x74], si
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x3c]
mov dword [esp], 0
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sub.msvcrt.dll_free
add esp, 0x68c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
mov ecx, esi
mov dword [esp], edx
mov edx, dword [esp + 0x40]
call fcn.00403b80
mov edx, dword [esp + 0x2c]
add dword [esp + 0x34], 1
mov eax, 1
mov esi, dword [esp + 0x34]
mov ecx, edx
shl eax, cl
mov word [edi], si
mov edi, esi
cmp esi, eax
mov esi, ebp
sbb edx, 0xffffffff
cmp edi, 0xfff
mov dword [esp + 0x2c], edx
jne 0x419cd0
mov dword [esp], edx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
call fcn.00403b80
mov eax, dword [esp + 0x30]
mov dword [esp + 8], 0x200000
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov eax, dword [esp + 0x54]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
jmp 0x419cd0
mov eax, esi
add ebx, 1
mov ecx, 1
mov byte [esp + ebx + 0x7b], al
xor esi, esi
xor eax, eax
jmp 0x419d54
mov edi, dword [esp + 0x6a0]
mov ebp, dword [esp + 0x6b0]
mov edx, esi
mov esi, 1
mov ecx, ebp
mov dword [esp + 0x10], 0
mov eax, esi
mov dword [esp + 0xc], 1
shl eax, cl
lea ecx, [esp + 0x17c]
test eax, eax
mov dword [esp], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x14], ecx
lea ecx, [eax + 3]
cmovns ecx, eax
sar ecx, 2
mov dword [esp + 8], ecx
mov ecx, eax
shr ecx, 0x1f
add ecx, eax
mov eax, ebx
sar ecx, 1
mov dword [esp + 4], ecx
mov ecx, 1
call fcn.00402eb0
mov dword [esp], ebx
xor ebx, ebx
call sub.msvcrt.dll_free
mov eax, dword [0x4a75b4]
lea ecx, [ebp - 1]
mov byte [esp + 0x380], 0
mov byte [esp + 0x280], 0
mov byte [esp + 0x180], 0
shl esi, cl
mov dword [esp + 0x64], eax
lea eax, [esp + 0x74]
mov byte [esp + esi + 0x57f], 0
mov byte [esp + esi + 0x480], 0
mov dword [esp + 0x40], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4199f2
mov dword [esp + 0x6a0], edi
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x64]
jmp 0x419ff0
mov esi, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], 1
mov dword [esp + 0x70], 0xf4240
mov dword [esp + 0x74], 1
mov dword [esp + 8], esi
mov esi, dword [esp + 0x40]
mov dword [esp + 4], esi
call fcn.00402bb0
mov eax, dword [esp + 0x74]
test ebp, ebp
movzx edx, byte [esp + eax + 0x180]
mov byte [edi], dl
movzx edx, byte [esp + eax + 0x280]
mov byte [edi + 1], dl
movzx edx, byte [esp + eax + 0x380]
mov byte [edi + 3], al
mov byte [edi + 2], dl
je 0x419fe4
add ebp, 4
add edi, 4
add ebx, 1
cmp ebx, dword [esp + 0x2c]
je 0x41a045
mov eax, dword [esp + 0x6a0]
mov ecx, dword [esp + 0x6a0]
test ebp, ebp
movzx edx, byte [eax + ebx*4]
movzx ecx, byte [ecx + ebx*4 + 1]
movzx eax, byte [eax + ebx*4 + 2]
je 0x419f82
cmp byte [ebp], dl
jne 0x419f82
cmp byte [ebp + 1], cl
jne 0x419f82
cmp byte [ebp + 2], al
jne 0x419f82
mov byte [edi], dl
movzx eax, byte [ebp + 1]
mov byte [edi + 1], al
movzx eax, byte [ebp + 2]
mov byte [edi + 3], 0
mov byte [edi + 2], al
jmp 0x419fe1
mov eax, dword [0x4a75b4]
mov dword [esp + 0x64], eax
jmp 0x4199f2
add esp, 0x68c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x50]
mov ecx, 0xffffffff
mov dword [esp + 0x2c], eax
jmp 0x419d08
xor edx, edx
jmp 0x419ec0
mov edx, dword [esp + 0x6a8]
test edx, edx
jne 0x419603
lea eax, [esp + 0x74]
mov dword [esp + 0x40], eax
jmp 0x4199e6
lea eax, [esp + 0x74]
mov dword [esp + 0x40], eax
jmp 0x4199b8
mov byte [esp + 0x74], 0
jmp 0x419d7c
mov eax, esi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x75], al
jmp 0x419d84
mov edx, dword [esp + 0x2c]
jmp 0x419ec0