Function at 0x404c0d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xc4
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
and eax, 0x80000
test eax, eax
je 0x404c4c
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x40]
sub edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
cmp edx, eax
ja 0x404c4c
mov eax, 1
jmp 0x404c51
mov eax, 0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jne 0x404c8c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x7c]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x8c]
sub edx, eax
mov eax, edx
cmp eax, 0x14ccb
jbe 0x404c8c
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x74]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x8c]
add eax, edx
jmp 0x404c94
mov eax, dword [ebp + 8]
add eax, 0x39272
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x30]
mov dword [eax + 0x30], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
lea edx, [eax + 0x14cbc]
mov eax, dword [ebp + 8]
mov dword [eax + 0x34], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x404cda
mov dword [esp + 8], 0x4f3
mov dword [esp + 4], str.src_patcher_miniz.c
mov dword [esp], str._d__m_output_flush_remaining
mov eax, dword [sym.imp.msvcrt.dll__assert]
call eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x58], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x5c], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
movzx eax, byte [eax]
movzx edx, al
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x38]
mov ecx, eax
sar edx, cl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x38]
cmp eax, 8
sete al
movzx eax, al
neg eax
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
and eax, 0x1000
test eax, eax
je 0x404f84
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x64]
test eax, eax
jne 0x404f84
mov byte [ebp - 0x31], 0x78
mov byte [ebp - 0xd], 3
mov dword [ebp - 0x38], 0xb
mov dword [ebp - 0x14], 0
jmp 0x404d81
mov eax, dword [ebp - 0x14]
mov edx, dword [eax*4 + 0x420960]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
and eax, 0xfff
cmp edx, eax
je 0x404d8b
add dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x38]
jb 0x404d64
jmp 0x404d8c
nop
cmp dword [ebp - 0x14], 1
ja 0x404d98
mov byte [ebp - 0xd], 0
jmp 0x404dae
cmp dword [ebp - 0x14], 5
ja 0x404da4
mov byte [ebp - 0xd], 1
jmp 0x404dae
cmp dword [ebp - 0x14], 6
jne 0x404dae
mov byte [ebp - 0xd], 2
movzx eax, byte [ebp - 0x31]
shl eax, 8
mov edx, eax
movzx eax, byte [ebp - 0xd]
shl eax, 6
or eax, edx
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov edx, 0x8421085
mov eax, ecx
mul edx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
mov edx, eax
shl edx, 5
sub edx, eax
mov eax, ecx
sub eax, edx
mov edx, dword [ebp - 0x3c]
sub edx, eax
mov eax, edx
add eax, 0x1f
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 0x3d], al
movzx eax, byte [ebp - 0x31]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], 8
mov eax, dword [ebp - 0x48]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
sub eax, 1
cmp dword [ebp - 0x44], eax
jbe 0x404e3a
mov dword [esp + 8], 0x50f
mov dword [esp + 4], str.src_patcher_miniz.c
mov dword [esp], str.bits_____1U____len____1U_
mov eax, dword [sym.imp.msvcrt.dll__assert]
call eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov ebx, dword [ebp - 0x44]
mov ecx, eax
shl ebx, cl
mov eax, ebx
or edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x48]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x404eb3
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp edx, eax
jae 0x404e93
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
lea ecx, [eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov edx, ebx
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
cmp eax, 7
ja 0x404e6a
movzx eax, byte [ebp - 0x3d]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x50]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
sub eax, 1
cmp dword [ebp - 0x4c], eax
jbe 0x404f00
mov dword [esp + 8], 0x510
mov dword [esp + 4], str.src_patcher_miniz.c
mov dword [esp], str.bits_____1U____len____1U_
mov eax, dword [sym.imp.msvcrt.dll__assert]
call eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov ebx, dword [ebp - 0x4c]
mov ecx, eax
shl ebx, cl
mov eax, ebx
or edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x50]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x404f79
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp edx, eax
jae 0x404f59
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
lea ecx, [eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov edx, ebx
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
cmp eax, 7
ja 0x404f30
cmp dword [ebp + 0xc], 4
sete al
movzx eax, al
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], 1
mov eax, dword [ebp - 0x58]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
sub eax, 1
cmp dword [ebp - 0x54], eax
jbe 0x404fcc
mov dword [esp + 8], 0x513
mov dword [esp + 4], str.src_patcher_miniz.c
mov dword [esp], str.bits_____1U____len____1U_
mov eax, dword [sym.imp.msvcrt.dll__assert]
call eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov ebx, dword [ebp - 0x54]
mov ecx, eax
shl ebx, cl
mov eax, ebx
or edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x58]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x405045
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp edx, eax
jae 0x405025
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
lea ecx, [eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov edx, ebx
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
cmp eax, 7
ja 0x404ffc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x2c], 0
jne 0x4050a9
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
and eax, 0x40000
test eax, eax
jne 0x40508b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
cmp eax, 0x2f
ja 0x405092
mov eax, 1
jmp 0x405097
mov eax, 0
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00404bdc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x2c], 0
jne 0x4050d7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x4054b9
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
sub eax, dword [ebp - 0x5c]
lea edx, [eax + 1]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
cmp edx, eax
jb 0x4054b9
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x40]
sub edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
cmp edx, eax
ja 0x4054b9
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x5c]
mov dword [eax + 0x30], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x60]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x64]
mov dword [eax + 0x44], edx
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 2
mov eax, dword [ebp - 0x6c]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
sub eax, 1
cmp dword [ebp - 0x68], eax
jbe 0x405150
mov dword [esp + 8], 0x523
mov dword [esp + 4], str.src_patcher_miniz.c
mov dword [esp], str.bits_____1U____len____1U_
mov eax, dword [sym.imp.msvcrt.dll__assert]
call eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov ebx, dword [ebp - 0x68]
mov ecx, eax
shl ebx, cl
mov eax, ebx
or edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x6c]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x4051c9
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp edx, eax
jae 0x4051a9
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
lea ecx, [eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov edx, ebx
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
cmp eax, 7
ja 0x405180
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4052b3
mov dword [ebp - 0x70], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov edx, 8
sub edx, eax
mov eax, edx
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
sub eax, 1
cmp dword [ebp - 0x70], eax
jbe 0x40522f
mov dword [esp + 8], 0x526
mov dword [esp + 4], str.src_patcher_miniz.c
mov dword [esp], str.bits_____1U____len____1U_
mov eax, dword [sym.imp.msvcrt.dll__assert]
call eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov ebx, dword [ebp - 0x70]
mov ecx, eax
shl ebx, cl
mov eax, ebx
or edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x74]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x4052a8
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp edx, eax
jae 0x405288
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
lea ecx, [eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov edx, ebx
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
cmp eax, 7
ja 0x40525f
mov dword [ebp - 0x18], 2
jmp 0x4053ac
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
and eax, 0xffff
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x84], 0x10
mov eax, dword [ebp - 0x84]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
sub eax, 1
cmp dword [ebp - 0x80], eax
jbe 0x40530e
mov dword [esp + 8], 0x52a
mov dword [esp + 4], str.src_patcher_miniz.c
mov dword [esp], str.bits_____1U____len____1U_
mov eax, dword [sym.imp.msvcrt.dll__assert]
call eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov ebx, dword [ebp - 0x80]
mov ecx, eax
shl ebx, cl
mov eax, ebx
or edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x84]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x40538a
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp edx, eax
jae 0x40536a
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
lea ecx, [eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov edx, ebx
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
cmp eax, 7
ja 0x405341
sub dword [ebp - 0x18], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
xor eax, 0xffff
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x3c], edx
cmp dword [ebp - 0x18], 0
jne 0x4052bf
mov dword [ebp - 0x18], 0
jmp 0x4054a8
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x18]
add eax, edx
and eax, 0x7fff
mov edx, eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax + edx + 0x90]
movzx eax, al
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], 8
mov eax, dword [ebp - 0x7c]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
sub eax, 1
cmp dword [ebp - 0x78], eax
jbe 0x405420
mov dword [esp + 8], 0x52e
mov dword [esp + 4], str.src_patcher_miniz.c
mov dword [esp], str.bits_____1U____len____1U_
mov eax, dword [sym.imp.msvcrt.dll__assert]
call eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov ebx, dword [ebp - 0x78]
mov ecx, eax
shl ebx, cl
mov eax, ebx
or edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x7c]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x405499
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp edx, eax
jae 0x405479
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
lea ecx, [eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov edx, ebx
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
cmp eax, 7
ja 0x405450
add dword [ebp - 0x18], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
cmp dword [ebp - 0x18], eax
jb 0x4053c2
jmp 0x4054ed
cmp dword [ebp - 0xc], 0
jne 0x4054ed
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x5c]
mov dword [eax + 0x30], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x60]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x64]
mov dword [eax + 0x44], edx
mov dword [esp + 4], 1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00404bdc
cmp dword [ebp + 0xc], 0
je 0x4059d6
cmp dword [ebp + 0xc], 4
jne 0x40570b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4055f2
mov dword [ebp - 0xa0], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov edx, 8
sub edx, eax
mov eax, edx
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
sub eax, 1
cmp dword [ebp - 0xa0], eax
jbe 0x405568
mov dword [esp + 8], 0x53f
mov dword [esp + 4], str.src_patcher_miniz.c
mov dword [esp], str.bits_____1U____len____1U_
mov eax, dword [sym.imp.msvcrt.dll__assert]
call eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov ebx, dword [ebp - 0xa0]
mov ecx, eax
shl ebx, cl
mov eax, ebx
or edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0xa4]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x4055e7
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp edx, eax
jae 0x4055c7
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
lea ecx, [eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov edx, ebx
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
cmp eax, 7
ja 0x40559e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
and eax, 0x1000
test eax, eax
je 0x4059d6
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
jmp 0x4056fc
mov eax, dword [ebp - 0x20]
shr eax, 0x18
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xac], 8
mov eax, dword [ebp - 0xac]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
sub eax, 1
cmp dword [ebp - 0xa8], eax
jbe 0x40566a
mov dword [esp + 8], 0x546
mov dword [esp + 4], str.src_patcher_miniz.c
mov dword [esp], str.bits_____1U____len____1U_
mov eax, dword [sym.imp.msvcrt.dll__assert]
call eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov ebx, dword [ebp - 0xa8]
mov ecx, eax
shl ebx, cl
mov eax, ebx
or edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0xac]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x4056e9
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp edx, eax
jae 0x4056c9
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
lea ecx, [eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov edx, ebx
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
cmp eax, 7
ja 0x4056a0
shl dword [ebp - 0x20], 8
add dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 3
jbe 0x40561a
jmp 0x4059d6
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], 3
mov eax, dword [ebp - 0x8c]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
sub eax, 1
cmp dword [ebp - 0x88], eax
jbe 0x405760
mov dword [esp + 8], 0x54e
mov dword [esp + 4], str.src_patcher_miniz.c
mov dword [esp], str.bits_____1U____len____1U_
mov eax, dword [sym.imp.msvcrt.dll__assert]
call eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov ebx, dword [ebp - 0x88]
mov ecx, eax
shl ebx, cl
mov eax, ebx
or edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x8c]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x4057df
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp edx, eax
jae 0x4057bf
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
lea ecx, [eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov edx, ebx
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
cmp eax, 7
ja 0x405796
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4058db
mov dword [ebp - 0x90], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov edx, 8
sub edx, eax
mov eax, edx
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
sub eax, 1
cmp dword [ebp - 0x90], eax
jbe 0x405851
mov dword [esp + 8], 0x551
mov dword [esp + 4], str.src_patcher_miniz.c
mov dword [esp], str.bits_____1U____len____1U_
mov eax, dword [sym.imp.msvcrt.dll__assert]
call eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov ebx, dword [ebp - 0x90]
mov ecx, eax
shl ebx, cl
mov eax, ebx
or edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x94]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x4058d0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp edx, eax
jae 0x4058b0
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
lea ecx, [eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov edx, ebx
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
cmp eax, 7
ja 0x405887
mov dword [ebp - 0x24], 2
jmp 0x4059cc
mov eax, dword [ebp - 0x28]
movzx eax, ax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x9c], 0x10
mov eax, dword [ebp - 0x9c]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
sub eax, 1
cmp dword [ebp - 0x98], eax
jbe 0x405937
mov dword [esp + 8], 0x555
mov dword [esp + 4], str.src_patcher_miniz.c
mov dword [esp], str.bits_____1U____len____1U_
mov eax, dword [sym.imp.msvcrt.dll__assert]
call eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov ebx, dword [ebp - 0x98]
mov ecx, eax
shl ebx, cl
mov eax, ebx
or edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x9c]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x4059b6
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp edx, eax
jae 0x405996
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
lea ecx, [eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov edx, ebx
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
cmp eax, 7
ja 0x40596d
sub dword [ebp - 0x24], 1
xor dword [ebp - 0x28], 0xffff
cmp dword [ebp - 0x24], 0
jne 0x4058e7
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp edx, eax
jb 0x405a04
mov dword [esp + 8], 0x55a
mov dword [esp + 4], str.src_patcher_miniz.c
mov dword [esp], str.d__m_pOutput_buf___d__m_pOutput_buf_end
mov eax, dword [sym.imp.msvcrt.dll__assert]
call eax
mov eax, dword [ebp + 8]
add eax, 0x8192
mov dword [esp + 8], 0x240
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 8]
add eax, 0x83d2
mov dword [esp + 8], 0x40
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 8]
add eax, 0x9272
lea edx, [eax + 1]
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], edx
mov eax, dword [ebp + 8]
lea edx, [eax + 0x9272]
mov eax, dword [ebp + 8]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x38], 8
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x40], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x3c], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x64]
lea edx, [eax + 1]
mov eax, dword [ebp + 8]
mov dword [eax + 0x64], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
je 0x405be4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x405b1c
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x84]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x70]
sub edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x78]
mov dword [eax], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 4]
mov ecx, dword [ebp + 8]
add ecx, 0x39272
mov dword [esp + 8], edx
mov edx, dword [ebp - 0xb0]
mov dword [esp + 4], edx
mov dword [esp], ecx
call eax
test eax, eax
jne 0x405be4
mov eax, dword [ebp + 8]
mov dword [eax + 0x6c], 0xffffffff
mov eax, 0xffffffff
jmp 0x405bea
mov eax, dword [ebp + 8]
add eax, 0x39272
cmp dword [ebp - 0x30], eax
jne 0x405bca
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x7c]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x8c]
sub edx, eax
mov eax, dword [ebp - 0xb0]
cmp edx, eax
cmovbe eax, edx
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov edx, dword [ebp + 8]
lea ecx, [edx + 0x39272]
mov edx, dword [ebp + 8]
mov ebx, dword [edx + 0x74]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x8c]
add edx, ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x8c]
mov eax, dword [ebp - 0xb4]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x8c], edx
mov eax, dword [ebp - 0xb4]
sub dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
je 0x405be4
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp + 8]
mov dword [eax + 0x58], edx
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp + 8]
mov dword [eax + 0x5c], edx
jmp 0x405be4
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x8c]
mov eax, dword [ebp - 0xb0]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x8c], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x5c]
add esp, 0xc4
pop ebx
pop ebp
ret