Function at 0x4568c0
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 0x45690b
call fcn.00461160
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 0x45692b
mov dword [esp + 0x1c], 0
mov dword [esp + 0x34], 1
jmp 0x456956
mov edx, dword [edx + 8]
mov dword [esp + 0x1c], edx
test edx, edx
je 0x45694e
mov eax, dword [edx + 0x38]
and al, 3
cmp al, 2
je 0x456946
mov edx, dword [edx + 0x14]
test edx, edx
jne 0x456936
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 0x456bb2
mov edi, dword [esp + 0xc]
xor edx, edx
mov dword [esp + 0x38], edx
nop
movsx eax, word [edi + 0x28]
cmp ecx, eax
je 0x456b96
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x45698d
cmp dword [eax + ecx*4], 0
jl 0x456b96
mov eax, dword [edi + 4]
movzx edi, byte [edx + eax + 0xc]
test edi, edi
je 0x456b92
mov cl, byte [ebp + 0x20]
cmp cl, 0xa
je 0x4569d1
movzx edi, cl
cmp edi, 5
jne 0x4569ba
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.0x4569ca
jmp dword [eax*4 + 0x457d74]
cmp edi, 0xa
jne 0x4569a8
mov edi, 2
jmp 0x4569ba
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 0x50f398
push dword [esp + 0x48]
call fcn.0040bf90
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.00427180
mov ecx, dword [esi]
add esp, 0x1c
mov edx, dword [esp + 0x4c]
cmp byte [ecx + 0x45], 0
je 0x456a47
push edx
mov edx, 0xfffffff9
call fcn.00427dd0
add esp, 4
jmp 0x456a5c
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 0x456a7a
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 0x456b96
mov eax, dword [ebp + 0x14]
inc ecx
push dword [ebp + 0x24]
add eax, ecx
mov edx, 0x4b
push eax
mov ecx, esi
call fcn.004272d0
add esp, 8
jmp 0x456b8e
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 0x456ad5
push 0
push 0
push edx
mov edx, 0x4c
mov ecx, esi
call fcn.00427140
mov edx, dword [esp + 0x58]
add esp, 0xc
mov edi, eax
jmp 0x456b0b
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 0x456b35
cmp byte [eax], 0x9d
jne 0x456b35
push edx
push dword [eax + 0x1c]
mov eax, dword [esp + 0x18]
mov edx, 0x40
mov ecx, dword [eax + 8]
jmp 0x456b5e
mov ecx, dword [esp + 0x10]
push edx
mov edx, eax
call fcn.00440de0
mov edx, dword [esp + 0x50]
add esp, 4
cmp eax, edx
je 0x456b66
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x456b66
push edx
push eax
mov edx, 0x41
call fcn.004272d0
add esp, 8
mov edx, dword [esi + 0x88]
test edi, edi
jns 0x456b73
lea edi, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x456b82
mov eax, 0x515514
jmp 0x456b8b
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 0x456970
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x456e0e
mov eax, dword [esp + 0x3c]
test dword [eax + 0x18], 0x200
jne 0x456e0e
mov eax, dword [ebp + 0x14]
not eax
mov dword [edi + 0x38], eax
mov al, byte [ebp + 0x20]
cmp al, 0xa
je 0x456bee
movzx eax, al
mov dword [esp + 0x38], eax
jmp 0x456bf6
mov dword [esp + 0x38], 2
xor edx, edx
mov dword [esp + 0x30], edx
cmp dword [ecx], edx
jle 0x456e07
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 0x456c6a
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], 0x456880
mov dword [esp + 0x78], edi
test ecx, ecx
je 0x456c5a
mov edx, ecx
lea ecx, [esp + 0x60]
call fcn.004399d0
mov al, byte [esp + 0x74]
mov edx, dword [esp + 0x30]
cmp byte [ebp + 0x1c], 0
jne 0x456c62
and al, 0xfd
test al, al
je 0x456de7
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 0x456c9f
mov edx, dword [ecx + 0x48]
lea eax, [edi*8 + 4]
mov ecx, dword [ecx]
push 0
push eax
call fcn.0040a3e0
mov ecx, dword [esp + 0x5c]
add esp, 8
mov dword [ecx + 0x48], eax
mov eax, dword [ecx + 0x48]
test eax, eax
je 0x456cad
mov dword [eax + edi*4], 0xffffffff
push 0x10
not edi
push edi
push dword [esp + 0x54]
push dword [esp + 0x1c]
call fcn.00442320
mov eax, dword [esp + 0x48]
add esp, 0x10
cmp eax, 4
jne 0x456d2e
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x456cf4
push 0
push dword [ebp + 0x24]
mov edx, 0xd
mov ecx, esi
push 0
call fcn.00427140
add esp, 0xc
jmp 0x456dc5
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 0x456dc5
mov edx, dword [esp + 0x2c]
mov edx, dword [edx]
mov dword [esp + 0x4c], edx
test edx, edx
jne 0x456d46
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 0x456d77
mov ecx, edx
call fcn.00461160
mov edx, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
cmp eax, 2
jne 0x456d88
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.004275e0
mov eax, dword [esp + 0x54]
add esp, 0x14
mov ecx, dword [eax + 0x88]
test ecx, ecx
jle 0x456dc5
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 0x456de4
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 0x456c10
mov edi, dword [esp + 0x10]
mov dword [edi + 0x38], 0
cmp byte [ebp + 0x1c], 0
mov dword [esp + 0x5c], 0x4e
je 0x4571d9
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4571d9
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 0x456e61
mov edx, dword [ecx + 0x48]
lea eax, [edi*8 + 4]
mov ecx, dword [ecx]
push 0
push eax
call fcn.0040a3e0
mov ecx, dword [esp + 0x5c]
add esp, 8
mov dword [ecx + 0x48], eax
mov eax, dword [ecx + 0x48]
test eax, eax
je 0x456e6f
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 0x456e8a
movzx eax, dl
jmp 0x456e95
cmp eax, 0xa
mov edx, 2
cmove eax, edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x40], eax
test edx, edx
je 0x456f12
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x456ec4
push edx
push edi
push dword [ebp + 0x14]
mov edx, 0x4e
mov ecx, esi
call fcn.00427140
add esp, 0xc
jmp 0x456ef4
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 0x456f0e
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 0x456fab
cmp byte [ebp + 0x20], 5
je 0x456fab
mov eax, dword [ecx + 8]
test eax, eax
je 0x456fab
mov cl, byte [eax + 0x36]
cmp cl, 4
je 0x456f48
cmp cl, 3
je 0x456f48
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x456f32
jmp 0x456fab
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x88]
mov dword [esp + 0x44], edx
cmp dword [eax + 0x30], edx
jg 0x456f75
push 0
push 0
push 0
mov edx, 0xd
mov ecx, esi
call fcn.00427140
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x456fab
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 0x456fd2
push dword [ebp + 0x14]
mov ecx, esi
push edi
push edx
mov edx, 0x20
call fcn.00427140
add esp, 0xc
jmp 0x456fff
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.0x45700f
jmp dword [ecx*4 + 0x457d84]
mov eax, dword [esp + 0x3c]
xor edi, edi
test dword [eax + 0x18], 0x2000
je 0x45706b
mov ecx, dword [esp + 0x10]
xor edx, edx
mov eax, dword [ecx]
test dword [eax + 0x18], 0x20000
je 0x457041
mov edx, dword [esp + 0xc]
call fcn.00468be0
mov edx, eax
mov ecx, edx
test edx, edx
je 0x45705a
cmp byte [ecx + 8], 0x6d
jne 0x457053
movzx eax, byte [ecx + 9]
or edi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x457047
xor eax, eax
test edi, edi
cmovne eax, edx
mov dword [esp + 0x4c], eax
mov edi, eax
test eax, eax
jne 0x4570c0
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push 0
push 0
call fcn.00454370
add esp, 8
test eax, eax
jne 0x4570c0
mov edx, dword [esp + 0xc]
cmp dword [edx + 8], eax
je 0x4570f4
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.0044f0b0
mov edi, dword [esp + 0x64]
add esp, 0x10
mov dword [esp + 0x48], 1
jmp 0x457125
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.0044ebf0
add esp, 0x24
mov edi, dword [esp + 0x54]
mov dword [esp + 0x48], 1
jmp 0x457125
mov edx, dword [ebp + 0x24]
mov ecx, esi
call fcn.00427340
jmp 0x457125
mov eax, 2
push dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, eax
call fcn.0044ccf0
add esp, 4
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x457140
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 0x4571d9
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
mov dword [esp + 0x50], ecx
cmp dword [eax + 0x30], ecx
jg 0x457179
push 0
push 0
push 0
mov edx, 0xd
mov ecx, esi
call fcn.00427140
add esp, 0xc
mov dword [esp + 0x50], eax
jmp 0x4571af
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 0x4571be
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x4571cd
mov eax, 0x515514
jmp 0x4571d6
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 0x457cc2
mov edx, dword [ebp + 8]
xor ecx, ecx
nop dword [eax]
cmp dword [edx + ecx*4], 0
je 0x457cae
cmp byte [esp + 9], 0
jne 0x457227
mov eax, dword [ebp + 0x14]
mov edx, edi
inc eax
mov ecx, esi
push eax
call fcn.004551f0
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 0x45725c
mov edx, dword [edi + 0x48]
lea eax, [ecx*8 + 4]
mov ecx, dword [edi]
push 0
push eax
call fcn.0040a3e0
mov ecx, dword [esp + 0x28]
add esp, 8
mov dword [edi + 0x48], eax
mov eax, dword [edi + 0x48]
test eax, eax
je 0x45726a
mov dword [eax + ecx*4], 0xffffffff
mov eax, dword [esp + 0x14]
not ecx
mov dword [esp + 0x20], ecx
cmp dword [eax + 0x24], 0
je 0x45734d
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 0x4572ac
push 0
push edx
push 0
mov edx, 0x3b
mov ecx, esi
call fcn.00427140
add esp, 0xc
jmp 0x4572de
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 0x457315
push 0
push 0
mov ecx, eax
call fcn.0043cec0
mov ecx, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x54]
add esp, 8
jmp 0x457317
xor edi, edi
cmp byte [eax + 0x45], 0
jne 0x457331
push 0x10
push dword [esp + 0x24]
push edi
push ecx
call fcn.00442630
mov eax, dword [esp + 0x5c]
add esp, 0x10
test edi, edi
je 0x45733e
mov edx, edi
mov ecx, eax
call fcn.0043ccd0
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 0x4574b1
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 0x457401
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 0x4573c5
push 0
push 0
mov ecx, eax
call fcn.0043cec0
mov ecx, dword [esp + 0x34]
mov edi, eax
mov eax, dword [esp + 0x54]
add esp, 8
jmp 0x4573c7
xor edi, edi
cmp byte [eax + 0x45], 0
jne 0x4573e0
push ecx
mov ecx, dword [esp + 0x14]
mov edx, edi
call fcn.00441e90
mov eax, dword [esp + 0x50]
add esp, 4
test edi, edi
je 0x4573ed
mov edx, edi
mov ecx, eax
call fcn.0043ccd0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x38], 0
jmp 0x457484
cmp edx, 0xffffffff
je 0x45741a
mov eax, dword [esp + 0xc]
movsx eax, word [eax + 0x28]
cmp edx, eax
je 0x45741a
mov edi, dword [ebp + 0x14]
inc edi
add edi, edx
jmp 0x45741d
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 0x45744b
push 0
push dword [esp + 0x30]
mov ecx, esi
push edi
call fcn.00427140
mov ecx, dword [esp + 0x38]
add esp, 0xc
jmp 0x457484
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 0x457376
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 0x4574e4
push edx
push edi
push dword [esp + 0x38]
mov edx, 0x63
mov ecx, esi
call fcn.00427140
add esp, 0xc
jmp 0x457516
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 0x45755d
cmp edx, eax
jne 0x45755d
cmp byte [ebp + 0x1c], 0
jne 0x45755d
mov edi, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
mov edx, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x457ca6
mov eax, dword [esp + 0x20]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x88]
mov dword [ecx], eax
jmp 0x457ca6
movzx ecx, byte [eax + 0x36]
test ecx, ecx
je 0x45752e
cmp byte [ebp + 0x20], 0xa
je 0x457571
movzx ecx, byte [ebp + 0x20]
jmp 0x45757c
cmp ecx, 0xa
mov edi, 2
cmove ecx, edi
cmp dword [esp + 0x18], 0
mov dword [esp + 0x4c], ecx
jne 0x45762c
cmp dword [eax + 0x14], 0
jne 0x45762c
cmp edx, eax
jne 0x45762c
cmp ecx, 5
jne 0x45762c
mov eax, dword [esp + 0x3c]
test dword [eax + 0x18], 0x2000
je 0x4575f9
mov ecx, dword [esp + 0x10]
xor edi, edi
xor edx, edx
mov eax, dword [ecx]
test dword [eax + 0x18], 0x20000
je 0x4575d1
mov edx, dword [esp + 0xc]
call fcn.00468be0
mov edx, eax
mov ecx, edx
test edx, edx
je 0x4575ea
cmp byte [ecx + 8], 0x6d
jne 0x4575e3
movzx eax, byte [ecx + 9]
or edi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4575d7
xor eax, eax
test edi, edi
cmovne eax, edx
test eax, eax
jne 0x45762c
mov eax, dword [esp + 0x3c]
test dword [eax + 0x18], 0x4000
mov edi, dword [esp + 0xc]
je 0x457532
cmp dword [edi + 0x10], 0
jne 0x45762c
mov ecx, dword [edi + 0x48]
mov edx, dword [edi]
add ecx, 0x38
push 0
call fcn.0040e600
add esp, 4
cmp dword [eax + 8], 0
je 0x457532
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 0x45766d
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.00427140
add esp, 0xc
mov edx, eax
jmp 0x4576b2
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 0x4576c9
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 0x4576dd
mov edi, dword [esp + 0x30]
mov dword [esp + 0x24], edi
jmp 0x45773b
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
cmp eax, 1
jne 0x45770a
mov al, byte [edx + 0x13]
test al, al
jne 0x4576f9
inc dword [edx + 0x2c]
mov edi, dword [edx + 0x2c]
jmp 0x457733
dec al
mov byte [edx + 0x13], al
movzx eax, al
mov edi, dword [edx + eax*4 + 0x15c]
jmp 0x457733
mov ecx, dword [edx + 0x1c]
mov edi, dword [edx + 0x20]
mov dword [esp + 0x24], edi
cmp eax, ecx
jg 0x457726
add eax, edi
sub ecx, dword [esp + 0x34]
mov dword [edx + 0x20], eax
mov dword [edx + 0x1c], ecx
jmp 0x457737
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 0x45774c
cmp dword [esp + 0x4c], 5
jne 0x457af2
mov eax, dword [esp + 0xc]
test byte [eax + 0x24], 0x20
jne 0x457845
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x457784
mov eax, dword [esp + 0x18]
mov edx, 0x81
add eax, dword [ebp + 0x10]
mov ecx, esi
push 0
push edi
push eax
call fcn.00427140
add esp, 0xc
jmp 0x4577c1
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 0x457af2
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4577f1
push edx
push dword [esp + 0x24]
mov edx, 0x4e
mov ecx, esi
push edi
call fcn.00427140
add esp, 0xc
jmp 0x457822
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 0x457af2
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x58]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x457af2
mov edi, dword [esp + 0x1c]
cmp edx, edi
je 0x45793e
mov eax, dword [esp + 0x1c]
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x38], edi
cmp cx, word [eax + 0x32]
jae 0x45793a
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
nop
movzx edx, word [edx + 0x34]
xor ecx, ecx
test edx, edx
jle 0x45789d
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 0x4578d4
inc ecx
add eax, 2
cmp ecx, edx
jl 0x457890
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 0x4578d9
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.00427140
add esp, 0xc
jmp 0x457916
movzx eax, cx
jmp 0x4578a0
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 0x457870
mov edi, dword [esp + 0x1c]
cmp dword [ebp + 0x18], 0
je 0x457af2
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 0x457af2
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 0x4579c5
movzx eax, cl
mov ecx, edi
push eax
call fcn.0044d850
mov cl, byte [esp + 0xe]
add esp, 4
mov edx, dword [esp + 0x58]
mov edi, eax
mov ch, byte [esp + 0xb]
jmp 0x4579c8
mov edi, dword [edi + 8]
test edi, edi
je 0x4579d8
movzx eax, ch
lea eax, [eax + eax*4]
lea edi, [edi + eax*4]
add edi, 0xffffffec
test cl, cl
jne 0x4579f8
test edi, edi
je 0x4579e6
cmp dword [edi + 0xc], 0
jne 0x4579f8
push edx
mov dl, ch
mov ecx, dword [esp + 0x14]
push edi
call fcn.0044d780
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 0x457a6a
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.00427140
add esp, 0xc
mov edx, eax
jmp 0x457ab2
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.00428040
mov eax, dword [esi + 0x88]
add esp, 8
test eax, eax
jle 0x457ad9
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 0x457982
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x457b8e
cmp edx, 3
jbe 0x457b77
cmp edx, 4
jne 0x457b8e
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x457b39
push 0
push dword [ebp + 0x24]
mov edx, 0xd
mov ecx, esi
push 0
call fcn.00427140
mov edi, dword [esp + 0x1c]
add esp, 0xc
jmp 0x457c44
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 0x457c44
push dword [esp + 0x14]
mov edi, dword [esp + 0x14]
mov ecx, edi
call fcn.0044ca80
add esp, 4
jmp 0x457c44
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 0x457c00
mov ecx, dword [esp + 0x10]
xor edi, edi
mov dword [esp + 0x54], edx
mov eax, dword [ecx]
test dword [eax + 0x18], 0x20000
je 0x457bd3
mov edx, dword [esp + 0xc]
call fcn.00468be0
mov edx, eax
mov dword [esp + 0x54], eax
mov ecx, edx
test edx, edx
je 0x457bf3
nop dword [eax]
cmp byte [ecx + 8], 0x6d
jne 0x457bec
movzx eax, byte [ecx + 9]
or edi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x457be0
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.0044ebf0
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 0x457c63
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 0x457c9f
mov ecx, dword [esp + 0x34]
mov edx, eax
cmp ecx, 1
jne 0x457c81
mov ecx, edi
call fcn.004431e0
jmp 0x457c9f
push ecx
mov ecx, edi
call fcn.00440940
mov eax, dword [esp + 0x38]
add esp, 4
cmp eax, dword [edi + 0x1c]
jle 0x457c9f
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 0x457200
mov eax, dword [esp + 0x44]
test eax, eax
je 0x457d64
mov ecx, dword [esi + 0x88]
lea edi, [eax + 1]
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x457cf5
push 0
push edi
push 0
mov edx, 0xd
mov ecx, esi
call fcn.00427140
add esp, 0xc
jmp 0x457d27
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 0x457d38
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x457d57
mov ecx, dword [esp + 0x48]
mov eax, 0x515514
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