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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edx
xor eax, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], eax
mov esi, dword [edi + 8]
mov byte [esp + 9], al
mov eax, dword [edi]
mov dword [esp + 0x48], 0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], esi
test esi, esi
jne 0x4562eb
call fcn.00460b40
mov edx, dword [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], esi
test byte [edx + 0x24], 0x20
movsx eax, word [edx + 0x2a]
mov dword [esp + 0x40], eax
jne 0x45630b
mov dword [esp + 0x1c], 0
mov dword [esp + 0x34], 1
jmp 0x456336
mov edx, dword [edx + 8]
mov dword [esp + 0x1c], edx
test edx, edx
je 0x45632e
mov eax, dword [edx + 0x38]
and al, 3
cmp al, 2
je 0x456326
mov edx, dword [edx + 0x14]
test edx, edx
jne 0x456316
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], edx
movzx ecx, word [edx + 0x32]
mov dword [esp + 0x34], ecx
xor ecx, ecx
mov dword [esp + 0x24], ecx
test eax, eax
jle 0x456592
mov edi, dword [esp + 0xc]
xor edx, edx
mov dword [esp + 0x38], edx
nop
movsx eax, word [edi + 0x28]
cmp ecx, eax
je 0x456576
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x45636d
cmp dword [eax + ecx*4], 0
jl 0x456576
mov eax, dword [edi + 4]
movzx edi, byte [edx + eax + 0xc]
test edi, edi
je 0x456572
mov cl, byte [ebp + 0x20]
cmp cl, 0xa
je 0x4563b1
movzx edi, cl
cmp edi, 5
jne 0x45639a
cmp dword [edx + eax + 4], 0
mov eax, 2
cmove edi, eax
mov ecx, dword [esp + 0x24]
lea eax, [edi - 1]
cmp eax, 3
ja case.default.0x4563aa
jmp dword [eax*4 + 0x457754]
cmp edi, 0xa
jne 0x456388
mov edi, 2
jmp 0x45639a
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x78]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 4]
push dword [edx + eax]
push dword [ecx]
push 0x56b398
push dword [esp + 0x48]
call fcn.0040b990
mov ecx, dword [esp + 0x34]
mov edx, 0x36
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x14]
inc eax
add ecx, eax
push ecx
push edi
push 0x513
mov ecx, esi
call fcn.00426b60
mov ecx, dword [esi]
add esp, 0x1c
mov edx, dword [esp + 0x4c]
cmp byte [ecx + 0x45], 0
je 0x456427
push edx
mov edx, 0xfffffff9
call fcn.004277b0
add esp, 4
jmp 0x45643c
mov eax, dword [esi + 0x88]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x58]
mov byte [eax + ecx*4 - 0x13], 0xf9
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esi + 0x88]
mov edi, dword [esp + 0xc]
test eax, eax
jle 0x45645a
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [esi + 0x58]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esp + 0x24]
jmp 0x456576
mov eax, dword [ebp + 0x14]
inc ecx
push dword [ebp + 0x24]
add eax, ecx
mov edx, 0x4b
push eax
mov ecx, esi
call fcn.00426cb0
add esp, 8
jmp 0x45656e
mov edx, dword [ebp + 0x14]
mov eax, dword [esi + 0xc]
inc edx
mov edi, dword [esi + 0x88]
add edx, ecx
mov dword [esp + 0x4c], edx
cmp dword [eax + 0x30], edi
jg 0x4564b5
push 0
push 0
push edx
mov edx, 0x4c
mov ecx, esi
call fcn.00426b20
mov edx, dword [esp + 0x58]
add esp, 0xc
mov edi, eax
jmp 0x4564eb
lea eax, [edi + 1]
mov dword [esi + 0x88], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x58]
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x4c
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov eax, dword [eax + 4]
mov eax, dword [ecx + eax + 4]
test eax, eax
je 0x456515
cmp byte [eax], 0x9d
jne 0x456515
push edx
push dword [eax + 0x1c]
mov eax, dword [esp + 0x18]
mov edx, 0x40
mov ecx, dword [eax + 8]
jmp 0x45653e
mov ecx, dword [esp + 0x10]
push edx
mov edx, eax
call fcn.004407c0
mov edx, dword [esp + 0x50]
add esp, 4
cmp eax, edx
je 0x456546
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x456546
push edx
push eax
mov edx, 0x41
call fcn.00426cb0
add esp, 8
mov edx, dword [esi + 0x88]
test edi, edi
jns 0x456553
lea edi, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x456562
mov eax, 0x571514
jmp 0x45656b
mov eax, dword [esi + 0x58]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0xc]
add dword [esp + 0x38], 0x10
inc ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
cmp ecx, dword [esp + 0x40]
jl 0x456350
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x4567ee
mov eax, dword [esp + 0x3c]
test dword [eax + 0x18], 0x200
jne 0x4567ee
mov eax, dword [ebp + 0x14]
not eax
mov dword [edi + 0x38], eax
mov al, byte [ebp + 0x20]
cmp al, 0xa
je 0x4565ce
movzx eax, al
mov dword [esp + 0x38], eax
jmp 0x4565d6
mov dword [esp + 0x38], 2
xor edx, edx
mov dword [esp + 0x30], edx
cmp dword [ecx], edx
jle 0x4567e7
mov edi, dword [ebp + 0x2c]
lea eax, [ecx + 0xc]
mov dword [esp + 0x2c], eax
nop
mov ecx, dword [eax - 4]
mov dword [esp + 0x4c], ecx
test edi, edi
je 0x45664a
xorps xmm0, xmm0
mov dword [esp + 0x78], 0
xor al, al
movaps xmmword [esp + 0x60], xmm0
movq qword [esp + 0x70], xmm0
mov byte [esp + 0x74], al
mov dword [esp + 0x64], 0x456260
mov dword [esp + 0x78], edi
test ecx, ecx
je 0x45663a
mov edx, ecx
lea ecx, [esp + 0x60]
call fcn.004393b0
mov al, byte [esp + 0x74]
mov edx, dword [esp + 0x30]
cmp byte [ebp + 0x1c], 0
jne 0x456642
and al, 0xfd
test al, al
je 0x4567c7
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x54], ecx
mov edi, dword [ecx + 0x44]
lea eax, [edi + 1]
mov dword [ecx + 0x44], eax
lea eax, [edi - 1]
test edi, eax
jne 0x45667f
mov edx, dword [ecx + 0x48]
lea eax, [edi*8 + 4]
mov ecx, dword [ecx]
push 0
push eax
call fcn.00409de0
mov ecx, dword [esp + 0x5c]
add esp, 8
mov dword [ecx + 0x48], eax
mov eax, dword [ecx + 0x48]
test eax, eax
je 0x45668d
mov dword [eax + edi*4], 0xffffffff
push 0x10
not edi
push edi
push dword [esp + 0x54]
push dword [esp + 0x1c]
call fcn.00441d00
mov eax, dword [esp + 0x48]
add esp, 0x10
cmp eax, 4
jne 0x45670e
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4566d4
push 0
push dword [ebp + 0x24]
mov edx, 0xd
mov ecx, esi
push 0
call fcn.00426b20
add esp, 0xc
jmp 0x4567a5
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4567a5
mov edx, dword [esp + 0x2c]
mov edx, dword [edx]
mov dword [esp + 0x4c], edx
test edx, edx
jne 0x456726
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x10]
cmp eax, 5
mov ecx, 2
cmove eax, ecx
mov dword [esp + 0x38], eax
mov ecx, dword [edx + 8]
mov dword [esp + 0x40], ecx
test ecx, ecx
jne 0x456757
mov ecx, edx
call fcn.00460b40
mov edx, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
cmp eax, 2
jne 0x456768
mov ecx, dword [edx + 0x78]
test ecx, ecx
cmovne edx, ecx
mov byte [edx + 0x15], 1
mov ecx, dword [esp + 0x40]
mov edx, 0x37
push 0
push dword [esp + 0x50]
push 0
push eax
push 0x113
call fcn.00426fc0
mov eax, dword [esp + 0x54]
add esp, 0x14
mov ecx, dword [eax + 0x88]
test ecx, ecx
jle 0x4567a5
mov eax, dword [eax + 0x58]
lea ecx, [ecx + ecx*4]
mov edx, 3
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x30]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x4567c4
lea eax, [edi*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x88]
mov dword [ecx], eax
mov edi, dword [ebp + 0x2c]
mov ecx, dword [esp + 0x24]
inc edx
mov eax, dword [esp + 0x2c]
add eax, 0x18
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], eax
cmp edx, dword [ecx]
jl 0x4565f0
mov edi, dword [esp + 0x10]
mov dword [edi + 0x38], 0
cmp byte [ebp + 0x1c], 0
mov dword [esp + 0x5c], 0x4e
je 0x456bb9
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x456bb9
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x54], ecx
mov edi, dword [ecx + 0x44]
lea eax, [edi + 1]
mov dword [ecx + 0x44], eax
lea eax, [edi - 1]
test edi, eax
jne 0x456841
mov edx, dword [ecx + 0x48]
lea eax, [edi*8 + 4]
mov ecx, dword [ecx]
push 0
push eax
call fcn.00409de0
mov ecx, dword [esp + 0x5c]
add esp, 8
mov dword [ecx + 0x48], eax
mov eax, dword [ecx + 0x48]
test eax, eax
je 0x45684f
mov dword [eax + edi*4], 0xffffffff
mov ecx, dword [esp + 0xc]
not edi
mov dl, byte [ebp + 0x20]
mov dword [esp + 0x54], edi
movzx eax, byte [ecx + 0x30]
cmp dl, 0xa
je 0x45686a
movzx eax, dl
jmp 0x456875
cmp eax, 0xa
mov edx, 2
cmove eax, edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x40], eax
test edx, edx
je 0x4568f2
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4568a4
push edx
push edi
push dword [ebp + 0x14]
mov edx, 0x4e
mov ecx, esi
call fcn.00426b20
add esp, 0xc
jmp 0x4568d4
mov edx, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x88]
test eax, eax
jle 0x4568ee
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x58]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esp + 0xc]
cmp dword [esp + 0x40], 5
jne 0x45698b
cmp byte [ebp + 0x20], 5
je 0x45698b
mov eax, dword [ecx + 8]
test eax, eax
je 0x45698b
mov cl, byte [eax + 0x36]
cmp cl, 4
je 0x456928
cmp cl, 3
je 0x456928
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x456912
jmp 0x45698b
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x88]
mov dword [esp + 0x44], edx
cmp dword [eax + 0x30], edx
jg 0x456955
push 0
push 0
push 0
mov edx, 0xd
mov ecx, esi
call fcn.00426b20
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x45698b
lea eax, [edx + 1]
mov dword [esi + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
mov edx, dword [ebp + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x4569b2
push dword [ebp + 0x14]
mov ecx, esi
push edi
push edx
mov edx, 0x20
call fcn.00426b20
add esp, 0xc
jmp 0x4569df
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x40]
lea ecx, [eax - 1]
cmp ecx, 4
ja case.default.0x4569ef
jmp dword [ecx*4 + 0x457764]
mov eax, dword [esp + 0x3c]
xor edi, edi
test dword [eax + 0x18], 0x2000
je 0x456a4b
mov ecx, dword [esp + 0x10]
xor edx, edx
mov eax, dword [ecx]
test dword [eax + 0x18], 0x20000
je 0x456a21
mov edx, dword [esp + 0xc]
call fcn.004685c0
mov edx, eax
mov ecx, edx
test edx, edx
je 0x456a3a
cmp byte [ecx + 8], 0x6d
jne 0x456a33
movzx eax, byte [ecx + 9]
or edi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x456a27
xor eax, eax
test edi, edi
cmovne eax, edx
mov dword [esp + 0x4c], eax
mov edi, eax
test eax, eax
jne 0x456aa0
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push 0
push 0
call fcn.00453d50
add esp, 8
test eax, eax
jne 0x456aa0
mov edx, dword [esp + 0xc]
cmp dword [edx + 8], eax
je 0x456ad4
mov edi, dword [esp + 0x10]
mov ecx, edi
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov eax, dword [edi + 0x78]
test eax, eax
push dword [ebp + 0xc]
cmovne ecx, eax
mov byte [ecx + 0x14], 1
mov ecx, edi
call fcn.0044eaa0
mov edi, dword [esp + 0x64]
add esp, 0x10
mov dword [esp + 0x48], 1
jmp 0x456b05
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0xffffffffffffffff
push 1
mov eax, dword [ecx + 0x78]
test eax, eax
push 5
push 0
push 1
push dword [ebp + 0x14]
cmovne ecx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov byte [ecx + 0x14], 1
mov ecx, dword [esp + 0x30]
push edi
call fcn.0044e5e0
add esp, 0x24
mov edi, dword [esp + 0x54]
mov dword [esp + 0x48], 1
jmp 0x456b05
mov edx, dword [ebp + 0x24]
mov ecx, esi
call fcn.00426d20
jmp 0x456b05
mov eax, 2
push dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, eax
call fcn.0044c6e0
add esp, 4
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x456b20
lea eax, [edi*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x88]
mov dword [ecx], eax
mov edi, dword [esp + 0x44]
test edi, edi
je 0x456bb9
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
mov dword [esp + 0x50], ecx
cmp dword [eax + 0x30], ecx
jg 0x456b59
push 0
push 0
push 0
mov edx, 0xd
mov ecx, esi
call fcn.00426b20
add esp, 0xc
mov dword [esp + 0x50], eax
jmp 0x456b8f
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x88]
mov ecx, edi
test edi, edi
jns 0x456b9e
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x456bad
mov eax, 0x571514
jmp 0x456bb6
mov eax, dword [esi + 0x58]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edi, dword [esp + 0xc]
mov dword [esp + 0x18], 0
mov eax, dword [edi + 8]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4576a2
mov edx, dword [ebp + 8]
xor ecx, ecx
nop dword [eax]
cmp dword [edx + ecx*4], 0
je 0x45768e
cmp byte [esp + 9], 0
jne 0x456c07
mov eax, dword [ebp + 0x14]
mov edx, edi
inc eax
mov ecx, esi
push eax
call fcn.00454bd0
add esp, 4
mov byte [esp + 9], 1
mov edi, dword [esi + 0xc]
mov ecx, dword [edi + 0x44]
mov dword [esp + 0x20], ecx
lea eax, [ecx + 1]
mov dword [edi + 0x44], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x456c3c
mov edx, dword [edi + 0x48]
lea eax, [ecx*8 + 4]
mov ecx, dword [edi]
push 0
push eax
call fcn.00409de0
mov ecx, dword [esp + 0x28]
add esp, 8
mov dword [edi + 0x48], eax
mov eax, dword [edi + 0x48]
test eax, eax
je 0x456c4a
mov dword [eax + ecx*4], 0xffffffff
mov eax, dword [esp + 0x14]
not ecx
mov dword [esp + 0x20], ecx
cmp dword [eax + 0x24], 0
je 0x456d2d
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x456c8c
push 0
push edx
push 0
mov edx, 0x3b
mov ecx, esi
call fcn.00426b20
add esp, 0xc
jmp 0x456cbe
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x3b
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 0x14]
not eax
mov dword [ecx + 0x38], eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x24]
mov eax, dword [ecx]
mov dword [esp + 0x4c], eax
test edx, edx
je 0x456cf5
push 0
push 0
mov ecx, eax
call fcn.0043c8a0
mov ecx, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x54]
add esp, 8
jmp 0x456cf7
xor edi, edi
cmp byte [eax + 0x45], 0
jne 0x456d11
push 0x10
push dword [esp + 0x24]
push edi
push ecx
call fcn.00442010
mov eax, dword [esp + 0x5c]
add esp, 0x10
test edi, edi
je 0x456d1e
mov edx, edi
mov ecx, eax
call fcn.0043c6b0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x38], 0
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 8]
xor edi, edi
mov ecx, dword [esp + 0x18]
mov ecx, dword [edx + ecx*4]
xor edx, edx
inc ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x30], ecx
cmp di, word [eax + 0x34]
jae 0x456e91
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], edi
mov eax, dword [eax + 4]
movsx edx, word [eax + edx*2]
cmp edx, 0xfffffffe
jne 0x456de1
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0x14]
not eax
mov dword [edx + 0x38], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + edi + 8]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
test edx, edx
je 0x456da5
push 0
push 0
mov ecx, eax
call fcn.0043c8a0
mov ecx, dword [esp + 0x34]
mov edi, eax
mov eax, dword [esp + 0x54]
add esp, 8
jmp 0x456da7
xor edi, edi
cmp byte [eax + 0x45], 0
jne 0x456dc0
push ecx
mov ecx, dword [esp + 0x14]
mov edx, edi
call fcn.00441870
mov eax, dword [esp + 0x50]
add esp, 4
test edi, edi
je 0x456dcd
mov edx, edi
mov ecx, eax
call fcn.0043c6b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x38], 0
jmp 0x456e64
cmp edx, 0xffffffff
je 0x456dfa
mov eax, dword [esp + 0xc]
movsx eax, word [eax + 0x28]
cmp edx, eax
je 0x456dfa
mov edi, dword [ebp + 0x14]
inc edi
add edi, edx
jmp 0x456dfd
mov edi, dword [ebp + 0x14]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
sar edx, 0x1f
and edx, 1
add edx, 0x41
cmp dword [eax + 0x30], ecx
jg 0x456e2b
push 0
push dword [esp + 0x30]
mov ecx, esi
push edi
call fcn.00426b20
mov ecx, dword [esp + 0x38]
add esp, 0xc
jmp 0x456e64
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov byte [eax + ecx*4], dl
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], 0
lea eax, [eax + ecx*4]
xor ecx, ecx
mov dword [eax + 0x10], 0
mov word [eax + 2], cx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov byte [eax + 1], 0
mov eax, dword [esp + 0x14]
inc ecx
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
inc edx
add edi, 0x18
mov dword [esp + 0x40], edx
movzx eax, word [eax + 0x34]
cmp edx, eax
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
jl 0x456d56
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 8]
movzx edi, word [eax + 0x34]
mov eax, dword [esi + 0xc]
mov edx, dword [edx + ecx*4]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x456ec4
push edx
push edi
push dword [esp + 0x38]
mov edx, 0x63
mov ecx, esi
call fcn.00426b20
add esp, 0xc
jmp 0x456ef6
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x63
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0x18], 0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
je 0x456f3d
cmp edx, eax
jne 0x456f3d
cmp byte [ebp + 0x1c], 0
jne 0x456f3d
mov edi, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
mov edx, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x457686
mov eax, dword [esp + 0x20]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x88]
mov dword [ecx], eax
jmp 0x457686
movzx ecx, byte [eax + 0x36]
test ecx, ecx
je 0x456f0e
cmp byte [ebp + 0x20], 0xa
je 0x456f51
movzx ecx, byte [ebp + 0x20]
jmp 0x456f5c
cmp ecx, 0xa
mov edi, 2
cmove ecx, edi
cmp dword [esp + 0x18], 0
mov dword [esp + 0x4c], ecx
jne 0x45700c
cmp dword [eax + 0x14], 0
jne 0x45700c
cmp edx, eax
jne 0x45700c
cmp ecx, 5
jne 0x45700c
mov eax, dword [esp + 0x3c]
test dword [eax + 0x18], 0x2000
je 0x456fd9
mov ecx, dword [esp + 0x10]
xor edi, edi
xor edx, edx
mov eax, dword [ecx]
test dword [eax + 0x18], 0x20000
je 0x456fb1
mov edx, dword [esp + 0xc]
call fcn.004685c0
mov edx, eax
mov ecx, edx
test edx, edx
je 0x456fca
cmp byte [ecx + 8], 0x6d
jne 0x456fc3
movzx eax, byte [ecx + 9]
or edi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x456fb7
xor eax, eax
test edi, edi
cmovne eax, edx
test eax, eax
jne 0x45700c
mov eax, dword [esp + 0x3c]
test dword [eax + 0x18], 0x4000
mov edi, dword [esp + 0xc]
je 0x456f12
cmp dword [edi + 0x10], 0
jne 0x45700c
mov ecx, dword [edi + 0x48]
mov edx, dword [edi]
add ecx, 0x38
push 0
call fcn.0040e000
add esp, 4
cmp dword [eax + 8], 0
je 0x456f12
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x88]
mov dword [esp + 0x54], edx
movzx edi, word [eax + 0x32]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x40], edi
cmp dword [eax + 0x30], edx
jg 0x45704d
push dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov edx, 0x1c
push dword [esp + 0x24]
add eax, dword [ebp + 0x10]
mov ecx, esi
push eax
call fcn.00426b20
add esp, 0xc
mov edx, eax
jmp 0x457092
mov edi, dword [esp + 0x40]
lea eax, [edx + 1]
mov dword [esi + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x58]
mov esi, dword [esp + 0x18]
add esi, dword [ebp + 0x10]
mov edx, dword [esp + 0x54]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
jne 0x4570a9
mov eax, dword [esi + 0x58]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edi
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x1c]
jne 0x4570bd
mov edi, dword [esp + 0x30]
mov dword [esp + 0x24], edi
jmp 0x45711b
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
cmp eax, 1
jne 0x4570ea
mov al, byte [edx + 0x13]
test al, al
jne 0x4570d9
inc dword [edx + 0x2c]
mov edi, dword [edx + 0x2c]
jmp 0x457113
dec al
mov byte [edx + 0x13], al
movzx eax, al
mov edi, dword [edx + eax*4 + 0x15c]
jmp 0x457113
mov ecx, dword [edx + 0x1c]
mov edi, dword [edx + 0x20]
mov dword [esp + 0x24], edi
cmp eax, ecx
jg 0x457106
add eax, edi
sub ecx, dword [esp + 0x34]
mov dword [edx + 0x20], eax
mov dword [edx + 0x1c], ecx
jmp 0x457117
mov eax, dword [edx + 0x2c]
lea edi, [eax + 1]
add eax, dword [esp + 0x34]
mov dword [edx + 0x2c], eax
mov dword [esp + 0x24], edi
mov edx, dword [esp + 0x14]
cmp dword [ebp + 0x18], 0
jne 0x45712c
cmp dword [esp + 0x4c], 5
jne 0x4574d2
mov eax, dword [esp + 0xc]
test byte [eax + 0x24], 0x20
jne 0x457225
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x457164
mov eax, dword [esp + 0x18]
mov edx, 0x81
add eax, dword [ebp + 0x10]
mov ecx, esi
push 0
push edi
push eax
call fcn.00426b20
add esp, 0xc
jmp 0x4571a1
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
add edx, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edi, dword [esp + 0x24]
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x58]
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x81
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x4574d2
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4571d1
push edx
push dword [esp + 0x24]
mov edx, 0x4e
mov ecx, esi
push edi
call fcn.00426b20
add esp, 0xc
jmp 0x457202
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x88]
test eax, eax
jle 0x4574d2
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x58]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4574d2
mov edi, dword [esp + 0x1c]
cmp edx, edi
je 0x45731e
mov eax, dword [esp + 0x1c]
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x38], edi
cmp cx, word [eax + 0x32]
jae 0x45731a
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
nop
movzx edx, word [edx + 0x34]
xor ecx, ecx
test edx, edx
jle 0x45727d
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
movzx edi, word [eax + edi*2]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
nop dword [eax]
cmp di, word [eax]
je 0x4572b4
inc ecx
add eax, 2
cmp ecx, edx
jl 0x457270
or eax, 0xffffffff
mov ecx, dword [esi + 0x88]
movsx edx, ax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x54], edx
cmp dword [eax + 0x30], ecx
jg 0x4572b9
mov edi, dword [esp + 0x40]
mov ecx, esi
mov eax, dword [esp + 0x18]
add eax, dword [ebp + 0x10]
push edi
push edx
push eax
mov edx, 0x60
call fcn.00426b20
add esp, 0xc
jmp 0x4572f6
movzx eax, cx
jmp 0x457280
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
add edi, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x54]
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x58]
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x40]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
inc edi
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x40], edi
mov edi, ecx
movzx eax, word [eax + 0x32]
mov dword [esp + 0x38], ecx
cmp ecx, eax
jl 0x457250
mov edi, dword [esp + 0x1c]
cmp dword [ebp + 0x18], 0
je 0x4574d2
movzx ecx, word [edi + 0x32]
mov eax, dword [esi + 0x88]
add eax, ecx
mov dword [esp + 0x38], 0x4d
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0x38]
mov edx, dword [esp + 0x24]
and al, 3
cmp al, 2
cmove edx, dword [esp + 0x30]
mov dword [esp + 0x54], edx
xor edx, edx
mov dword [esp + 0x2c], edx
test ecx, ecx
je 0x4574d2
mov eax, dword [edi + 0x20]
mov edx, dword [eax + edx*4]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], edx
mov edi, dword [eax]
mov ch, byte [edi + 0x42]
mov cl, byte [edi + 0x99]
mov byte [esp + 0xb], ch
mov byte [esp + 0xa], cl
test edx, edx
je 0x4573a5
movzx eax, cl
mov ecx, edi
push eax
call fcn.0044d240
mov cl, byte [esp + 0xe]
add esp, 4
mov edx, dword [esp + 0x58]
mov edi, eax
mov ch, byte [esp + 0xb]
jmp 0x4573a8
mov edi, dword [edi + 8]
test edi, edi
je 0x4573b8
movzx eax, ch
lea eax, [eax + eax*4]
lea edi, [edi + eax*4]
add edi, 0xffffffec
test cl, cl
jne 0x4573d8
test edi, edi
je 0x4573c6
cmp dword [edi + 0xc], 0
jne 0x4573d8
push edx
mov dl, ch
mov ecx, dword [esp + 0x14]
push edi
call fcn.0044d170
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x2c]
movsx edx, word [ecx + eax*2]
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax + 0x32]
mov eax, dword [esp + 0x38]
dec ecx
cmp dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x38], eax
cmove eax, dword [esp + 0x5c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
cmovne eax, dword [esp + 0x40]
inc ecx
mov dword [esp + 0x40], eax
add ecx, edx
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x88]
mov dword [esp + 0x58], ecx
cmp dword [eax + 0x30], edx
jg 0x45744a
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x54]
mov edx, dword [esp + 0x38]
push eax
push dword [esp + 0x44]
push ecx
mov ecx, esi
call fcn.00426b20
add esp, 0xc
mov edx, eax
jmp 0x457492
lea eax, [edx + 1]
mov dword [esi + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x58]
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x38]
mov byte [ecx], al
xor eax, eax
mov word [ecx + 2], ax
mov eax, dword [esp + 0x58]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x54]
mov dword [ecx + 0xc], eax
push 0xfffffffffffffffe
push edi
mov ecx, esi
call fcn.00427a20
mov eax, dword [esi + 0x88]
add esp, 8
test eax, eax
jle 0x4574b9
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x58]
mov word [eax + ecx*4 - 0x12], dx
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
inc edx
mov dword [esp + 0x2c], edx
movzx eax, word [edi + 0x32]
cmp edx, eax
jl 0x457362
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x45756e
cmp edx, 3
jbe 0x457557
cmp edx, 4
jne 0x45756e
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x457519
push 0
push dword [ebp + 0x24]
mov edx, 0xd
mov ecx, esi
push 0
call fcn.00426b20
mov edi, dword [esp + 0x1c]
add esp, 0xc
jmp 0x457624
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x457624
push dword [esp + 0x14]
mov edi, dword [esp + 0x14]
mov ecx, edi
call fcn.0044c470
add esp, 4
jmp 0x457624
mov edi, dword [esp + 0x10]
xor edx, edx
mov ecx, edi
mov eax, dword [edi + 0x78]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0x3c]
mov byte [ecx + 0x14], 1
test dword [eax + 0x18], 0x2000
je 0x4575e0
mov ecx, dword [esp + 0x10]
xor edi, edi
mov dword [esp + 0x54], edx
mov eax, dword [ecx]
test dword [eax + 0x18], 0x20000
je 0x4575b3
mov edx, dword [esp + 0xc]
call fcn.004685c0
mov edx, eax
mov dword [esp + 0x54], eax
mov ecx, edx
test edx, edx
je 0x4575d3
nop dword [eax]
cmp byte [ecx + 8], 0x6d
jne 0x4575cc
movzx eax, byte [ecx + 9]
or edi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4575c0
xor edx, edx
test edi, edi
mov edi, dword [esp + 0x10]
cmovne edx, dword [esp + 0x54]
mov eax, dword [esp + 0x18]
mov ecx, edi
add eax, dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x18], eax
sete al
movzx eax, al
push eax
push 5
push 0
push dword [esp + 0x44]
push dword [esp + 0x38]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edx
mov edx, dword [esp + 0x30]
call fcn.0044e5e0
mov esi, dword [esp + 0x4c]
add esp, 0x24
mov dword [esp + 0x48], 1
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x457643
mov eax, dword [esp + 0x20]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x88]
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x30]
je 0x45767f
mov ecx, dword [esp + 0x34]
mov edx, eax
cmp ecx, 1
jne 0x457661
mov ecx, edi
call fcn.00442bc0
jmp 0x45767f
push ecx
mov ecx, edi
call fcn.00440320
mov eax, dword [esp + 0x38]
add esp, 4
cmp eax, dword [edi + 0x1c]
jle 0x45767f
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 0x20], eax
mov edx, dword [ebp + 8]
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x14]
inc ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
test eax, eax
jne 0x456be0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x457744
mov ecx, dword [esi + 0x88]
lea edi, [eax + 1]
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x4576d5
push 0
push edi
push 0
mov edx, 0xd
mov ecx, esi
call fcn.00426b20
add esp, 0xc
jmp 0x457707
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x50]
mov edx, dword [esi + 0x88]
test ecx, ecx
jns 0x457718
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x457737
mov ecx, dword [esp + 0x48]
mov eax, 0x571514
mov dword [eax + 8], edx
mov eax, dword [ebp + 0x28]
mov dword [eax], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x58]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x48]
pop edi
pop esi
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret