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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
push esi
push edi
mov edi, ecx
mov dword [esp + 0x44], 0
mov esi, edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x4c], 0
cmp dword [edi + 0x24], 0
mov eax, dword [edi]
mov dword [esp + 0x74], 0
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x3c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov byte [esp + 0x1a], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x54], eax
jne 0x5d7217
cmp byte [eax + 0x51], 0
jne 0x5d7217
mov ecx, dword [ebp + 8]
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x5d616d
test dword [ecx + 4], 0x200
je 0x5d616d
cmp dword [ecx + 0x34], 0
jne 0x5d616d
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x5c], edx
mov edx, ecx
mov dword [ecx + 0x1c], 0
mov ecx, eax
push 1
call fcn.005df050
add esp, 4
mov dword [esp + 0x14], 0
mov edx, esi
mov ecx, edi
call fcn.005cebc0
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
je 0x5d6568
mov edx, dword [esi + 0x48]
mov ecx, dword [esp + 0x54]
call fcn.005de820
mov ecx, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x54]
add ecx, ecx
mov edx, 0x12
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, edi
push 0
push dword [esi]
call fcn.005c7580
add esp, 0xc
test eax, eax
jne 0x5d6568
mov eax, dword [esi + 0x24]
mov edx, esi
shr eax, 7
mov ecx, edi
and eax, 0xffffff01
mov dword [esp + 0x64], eax
lea eax, [esp + 0x84]
push eax
push 0
push 0x7d
call fcn.005ea2c0
add esp, 0xc
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0xc]
mov edx, esi
mov ecx, edi
mov dword [esp + 0x88], eax
call fcn.005cab90
test eax, eax
jne 0x5d6568
push dword [esp + 0x84]
mov edx, esi
mov ecx, edi
call fcn.005cec20
add esp, 4
test eax, eax
jne 0x5d6568
mov ecx, edi
call fcn.005e1df0
mov dword [esp + 0x10], eax
test eax, eax
je 0x5d6568
cmp byte [edi + 0x12], 0
jne 0x5d623e
or dword [eax + 0x98], 0x20
cmp dword [esp + 0x14], 0
jne 0x5d6250
cmp dword [esp + 0x78], 0
jne 0x5d6250
xor edx, edx
jmp 0x5d6255
mov edx, 1
push dword [esp + 0x28]
mov ecx, edi
call fcn.005cd9d0
add esp, 4
cmp dword [ebp + 0xc], 0
jne 0x5d6288
push dword [esp + 0x28]
mov edx, esi
mov ecx, edi
push dword [ebp + 0x10]
push dword [esp + 0x1c]
call fcn.005d95c0
add esp, 0xc
test eax, eax
jne 0x5d71a9
mov edx, dword [esp + 0x28]
mov ecx, edi
push esi
call fcn.005d5e60
mov ecx, dword [edi + 0x2c]
add esp, 4
mov dword [esp + 0x70], eax
lea eax, [ecx + 1]
mov edx, eax
mov dword [esp + 0x68], eax
movsx eax, word [esi + 0x2a]
inc eax
mov dword [esp + 0x34], edx
add eax, ecx
mov dword [edi + 0x2c], eax
cmp dword [esi + 0x38], 0
je 0x5d62c6
lea edx, [ecx + 2]
inc eax
mov dword [esp + 0x34], edx
mov dword [edi + 0x2c], eax
test dword [esi + 0x24], 0x440
lea eax, [edx + 1]
mov edx, dword [ebp + 0xc]
sete byte [esp + 0x1b]
mov dword [esp + 0x50], eax
test edx, edx
je 0x5d641b
mov eax, dword [edx + 4]
xor ecx, ecx
test eax, eax
jle 0x5d6302
nop dword [eax]
mov eax, dword [edx]
mov dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
mov eax, dword [edx + 4]
cmp ecx, eax
jl 0x5d62f0
xor edx, edx
mov dword [esp + 0x20], edx
test eax, eax
jle 0x5d641b
movzx eax, word [esi + 0x2a]
mov dword [esp + 0x30], eax
cwde
xor esi, esi
test eax, eax
jle 0x5d63bb
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
lea ecx, [eax + edx*8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x48], eax
nop word [eax + eax]
mov edx, dword [eax]
mov ecx, dword [ecx]
call fcn.0058beb0
test eax, eax
je 0x5d636e
mov eax, dword [esp + 0x48]
inc esi
mov edx, dword [esp + 0x30]
add eax, 0x14
movsx ecx, dx
cmp esi, ecx
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x2c]
jl 0x5d6340
mov edx, dword [esp + 0x20]
jmp 0x5d63bb
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov edx, dword [esp + 0x20]
cmp edx, esi
mov dword [eax + 4], esi
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
movzx eax, byte [esp + 0x1b]
cmove ecx, eax
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x1b], cl
mov ecx, edx
movsx eax, word [eax + 0x28]
cmp esi, eax
lea eax, [esi + esi*4]
cmovne ecx, dword [esp + 0x38]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x30]
test byte [ecx + eax*4 + 0x10], 0x60
jne 0x5d6554
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + 0x2a]
mov dword [esp + 0x30], eax
cwde
cmp esi, eax
jl 0x5d63fb
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov esi, dword [eax + edx*8]
mov ecx, esi
call fcn.005bd940
test eax, eax
je 0x5d6612
cmp byte [esp + 0x64], 0
jne 0x5d6612
mov edx, dword [esp + 0x20]
mov dword [esp + 0x38], edx
mov byte [esp + 0x1b], 0
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, dword [esp + 0x30]
movzx eax, ax
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], eax
cmp edx, dword [ecx + 4]
jl 0x5d6318
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x14], 0
je 0x5d679f
mov ecx, dword [esp + 0x10]
inc dword [edi + 0x2c]
mov edx, dword [edi + 0x2c]
mov dword [esp + 0x30], edx
mov eax, dword [ecx + 0x6c]
mov dword [esp + 0x48], eax
inc eax
push eax
push 0
push edx
mov edx, 0xd
call fcn.005a7450
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov ecx, edi
mov dword [esp + 0x94], eax
xor eax, eax
cmp byte [esp + 0x1b], al
mov byte [esp + 0x90], 0xd
cmovne eax, dword [esp + 0x50]
mov dword [esp + 0x98], eax
movsx eax, word [esi + 0x2a]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0xa4], 0
call fcn.005e67e0
mov ecx, dword [esp + 0x9c]
add esp, 4
mov dword [esp + 0x40], ecx
test eax, eax
jne 0x5d6568
mov eax, dword [esp + 0x54]
cmp byte [eax + 0x51], 0
jne 0x5d6568
cmp dword [edi + 0x24], 0
jne 0x5d6568
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
call fcn.005a7af0
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
call fcn.005a7eb0
cmp dword [esp + 0x78], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
jne 0x5d66cd
mov eax, dword [edi + 8]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x5d6522
cmp dword [edi + 0x74], eax
jne 0x5d6517
mov eax, dword [edi]
test byte [eax + 0x4c], 8
jne 0x5d6517
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.005a7280
mov dword [esp + 0x24], eax
cmp dword [esi + 0x38], 0
mov eax, dword [eax + 0x6c]
mov dword [esp + 0x2c], eax
je 0x5d6630
mov edx, dword [esi + 0x40]
test edx, edx
je 0x5d6632
mov eax, dword [edi]
cmp dword [edx], eax
je 0x5d654b
mov edx, dword [edx + 0x18]
test edx, edx
jne 0x5d6540
mov eax, dword [esp + 0x2c]
jmp 0x5d6632
lea eax, [esi + esi*4]
push dword [ecx + eax*4]
push 0x7e5300
push edi
call fcn.0058bd80
add esp, 0xc
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x54]
mov ecx, edi
mov edx, dword [esp + 0x6c]
call fcn.005cd3e0
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x5d658c
mov edx, eax
mov ecx, edi
call fcn.005bd3f0
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x5d65df
mov edx, dword [eax]
test edx, edx
je 0x5d65a3
mov ecx, edi
call fcn.005bd3f0
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 4]
test edx, edx
je 0x5d65b4
mov ecx, edi
call fcn.005bc390
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 8]
test edx, edx
je 0x5d65c5
mov ecx, edi
call fcn.005bd3f0
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x5d65d6
mov ecx, edi
call fcn.005bc390
mov eax, dword [ebp + 0x14]
mov edx, eax
mov ecx, edi
call fcn.00588a20
test esi, esi
je 0x5d65f1
push 1
mov edx, esi
mov ecx, edi
call fcn.005df050
add esp, 4
mov edx, dword [ebp + 0xc]
mov ecx, edi
call fcn.005cd060
mov eax, dword [esp + 0x60]
test eax, eax
je 0x5d660c
mov edx, eax
mov ecx, edi
call fcn.00588a20
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
push 0
push dword [esp + 0x74]
push 0x7e538c
push edi
call fcn.0058bd80
add esp, 0x14
mov byte [edi + 0x11], 1
jmp 0x5d6568
xor edx, edx
mov ecx, 1
mov dword [esp + 0x30], ecx
cmp eax, ecx
jle 0x5d66b9
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov al, byte [eax + 0x51]
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x2c]
dec eax
test ecx, ecx
cmovns eax, ecx
cmp byte [esp + 0x1b], 0
je 0x5d6664
mov eax, 0x85e278
jmp 0x5d6671
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x68]
lea eax, [eax + ecx*4]
mov cl, byte [eax]
cmp cl, 0x60
jne 0x5d669e
mov ecx, dword [esp + 0x28]
cmp dword [eax + 0xc], ecx
jne 0x5d66a8
mov ecx, dword [eax + 8]
cmp ecx, dword [esi + 0x1c]
je 0x5d66cd
mov eax, dword [esi + 8]
test eax, eax
je 0x5d66a8
cmp ecx, dword [eax + 0x2c]
je 0x5d66cd
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x5d6690
jmp 0x5d66a8
cmp cl, 0xa5
jne 0x5d66a8
cmp dword [eax + 0x10], edx
je 0x5d66cd
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x30], ecx
cmp ecx, eax
jl 0x5d6650
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x24], eax
jmp 0x5d67ed
mov edx, dword [edi + 0x28]
mov ecx, edi
mov byte [esp + 0x1a], 1
mov dword [esp + 0x3c], edx
lea eax, [edx + 1]
mov dword [edi + 0x28], eax
call fcn.005c2e60
mov edi, eax
call fcn.005c2e60
push dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push edx
mov edx, 0x64
mov dword [esp + 0x34], eax
call fcn.005a7580
mov eax, dword [esp + 0x9c]
mov edx, 0xe
mov ecx, dword [esp + 0x18]
push eax
mov dword [esp + 0x30], eax
call fcn.005a7520
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov edx, 0x5b
mov esi, eax
push edi
push dword [esp + 0x24]
push dword [esp + 0x48]
call fcn.005a7450
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov edx, 0x78
push dword [esp + 0x2c]
push dword [esp + 0x40]
call fcn.005a7580
push dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov edx, 0x79
push edi
push dword [esp + 0x4c]
call fcn.005a7450
mov ecx, dword [esp + 0x24]
add esp, 0x14
mov edx, esi
call fcn.005a75f0
mov ecx, dword [esp + 0x10]
mov edx, esi
call fcn.005a7eb0
mov edx, edi
mov edi, dword [esp + 0x58]
mov ecx, edi
call fcn.005c2e80
mov edx, dword [esp + 0x2c]
call fcn.005c2e80
mov esi, dword [esp + 0x20]
jmp 0x5d67ed
mov eax, dword [esp + 0x5c]
xorps xmm0, xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0xa0], xmm0
mov dword [esp + 0x90], edi
mov dword [esp + 0x3c], 0xffffffff
test eax, eax
je 0x5d67e7
mov esi, dword [eax]
lea ecx, [esp + 0x90]
mov edx, eax
mov dword [esp + 0x20], esi
call fcn.005baf90
test eax, eax
jne 0x5d6568
jmp 0x5d67ed
xor esi, esi
mov dword [esp + 0x20], esi
cmp dword [ebp + 0xc], 0
jne 0x5d6841
test esi, esi
mov esi, dword [esp + 0x1c]
jle 0x5d6845
movsx eax, word [esi + 0x28]
mov dword [esp + 0x38], eax
test eax, eax
js 0x5d6845
test byte [esi + 0x24], 0x60
je 0x5d6845
lea edx, [eax - 1]
test edx, edx
js 0x5d6845
mov eax, dword [esi + 4]
lea ecx, [edx + 1]
lea ecx, [edx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x38]
test byte [ecx], 0x60
lea eax, [eax - 1]
lea ecx, [ecx - 0x14]
cmove eax, dword [esp + 0x38]
sub edx, 1
mov dword [esp + 0x38], eax
jns 0x5d6824
mov dword [esp + 0x38], eax
jmp 0x5d6845
mov esi, dword [esp + 0x1c]
movsx eax, word [esi + 0x2a]
test eax, eax
jle 0x5d6876
mov ecx, dword [esi + 4]
mov edx, eax
add ecx, 0x10
xor edi, edi
test byte [ecx], 0x62
lea eax, [edi + 1]
lea ecx, [ecx + 0x14]
cmove eax, edi
mov edi, eax
sub edx, 1
jne 0x5d6857
movsx eax, word [esi + 0x2a]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x58]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x20]
test ecx, ecx
jne 0x5d68a7
test edx, edx
je 0x5d68c3
sub eax, dword [esp + 0x44]
cmp edx, eax
je 0x5d68c3
push edx
push eax
push ecx
push dword [esp + 0x78]
push 0x7e53ac
push edi
call fcn.0058bd80
add esp, 0x18
jmp 0x5d6568
mov eax, dword [ecx + 4]
cmp edx, eax
je 0x5d68c3
push eax
push edx
push 0x7e5340
push edi
call fcn.0058bd80
add esp, 0x10
jmp 0x5d6568
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x5d6900
cmp byte [edi + 0x12], 0
jne 0x5d6900
cmp dword [edi + 0x78], 0
jne 0x5d6900
inc dword [edi + 0x2c]
mov edx, 0x45
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x10]
push eax
push 0
mov dword [esp + 0x94], eax
call fcn.005a7580
add esp, 8
cmp dword [esp + 0x88], 0
jne 0x5d6993
lea eax, [esp + 0x74]
mov edx, esi
push eax
lea eax, [esp + 0x50]
mov ecx, edi
push eax
push 0
push 0xffffffffffffffff
push 0
push 0x61
call fcn.005d92a0
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x5c], eax
push 0
lea eax, [eax*4 + 8]
push eax
call fcn.00588ce0
mov ecx, eax
add esp, 0x20
mov dword [esp + 0x60], ecx
test ecx, ecx
je 0x5d6568
mov esi, dword [esi + 8]
xor edx, edx
cmp dword [esp + 0x44], edx
jle 0x5d6985
nop dword [eax]
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [ecx + edx*4], eax
inc edx
movzx ecx, word [esi + 0x34]
mov eax, dword [edi + 0x2c]
add eax, ecx
mov ecx, dword [esp + 0x60]
mov dword [edi + 0x2c], eax
mov esi, dword [esi + 0x14]
cmp edx, dword [esp + 0x44]
jl 0x5d6960
jmp 0x5d6988
mov eax, dword [edi + 0x2c]
mov esi, dword [esp + 0x1c]
inc eax
mov dword [edi + 0x2c], eax
mov dword [ecx + edx*4], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x5d6a0a
cmp dword [esi + 0x38], 0
je 0x5d69ac
push dword [esi]
push 0x7e535c
jmp 0x5d655f
cmp dword [esi + 0xc], 0
je 0x5d69c5
push 0x7e54e4
push edi
call fcn.0058bd80
add esp, 8
jmp 0x5d6568
mov edx, dword [eax]
mov ecx, edi
call fcn.005cbf30
test eax, eax
jne 0x5d6568
mov eax, dword [ebp + 0x14]
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x34], edx
cmp dword [eax], 0
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 0x14], esi
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], ecx
je 0x5d6a0a
push eax
mov edx, esi
mov ecx, edi
call fcn.005ed590
add esp, 4
cmp byte [esp + 0x1a], 0
je 0x5d6a38
push dword [esp + 0x3c]
mov esi, dword [esp + 0x14]
mov edx, 0x25
mov ecx, esi
call fcn.005a7520
mov dword [esp + 0x84], eax
add esp, 4
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x7c], eax
jmp 0x5d6a86
cmp dword [esp + 0x14], 0
je 0x5d6a86
push dword [esp + 0x24]
mov esi, dword [esp + 0x14]
mov edx, 0xe
mov ecx, esi
call fcn.005a7520
mov dword [esp + 0x80], eax
add esp, 4
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x38]
test eax, eax
js 0x5d6a86
mov ecx, dword [esp + 0x40]
mov edx, 0x4d
push dword [esp + 0x34]
add ecx, eax
push ecx
mov ecx, esi
call fcn.005a7580
add esp, 8
mov ecx, dword [esp + 0x1c]
xor edx, edx
mov esi, dword [esp + 0x50]
xor eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], edx
cmp ax, word [ecx + 0x2a]
jge 0x5d6c23
mov dword [esp + 0x48], eax
nop dword [eax]
movsx eax, word [ecx + 0x28]
cmp edx, eax
jne 0x5d6acc
mov ecx, dword [esp + 0x10]
mov edx, 0x49
push esi
call fcn.005a7520
jmp 0x5d6c01
mov eax, dword [ecx + 4]
add eax, dword [esp + 0x48]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
movzx eax, word [eax + 0x10]
test al, 0x62
je 0x5d6b31
inc dword [esp + 0x24]
test al, 0x20
je 0x5d6af1
dec esi
jmp 0x5d6c0c
test al, 0x40
je 0x5d6b17
test byte [esp + 0x84], 1
je 0x5d6c0c
mov ecx, dword [esp + 0x10]
mov edx, 0x49
push esi
call fcn.005a7520
jmp 0x5d6c01
cmp dword [ebp + 0xc], 0
jne 0x5d6b37
mov edx, dword [esp + 0x2c]
mov ecx, edi
push esi
mov edx, dword [edx + 4]
call fcn.005c1570
jmp 0x5d6c01
cmp dword [ebp + 0xc], 0
je 0x5d6b82
mov edx, dword [ebp + 0xc]
xor eax, eax
mov edx, dword [edx + 4]
test edx, edx
jle 0x5d6b64
mov ecx, dword [ebp + 0xc]
mov edi, dword [esp + 0x28]
mov ecx, dword [ecx]
add ecx, 4
nop
cmp dword [ecx], edi
je 0x5d6b5c
inc eax
add ecx, 8
cmp eax, edx
jl 0x5d6b50
mov edi, dword [esp + 0x58]
mov ecx, dword [esp + 0x1c]
cmp eax, edx
jl 0x5d6b7c
mov edx, dword [esp + 0x2c]
mov ecx, edi
push esi
mov edx, dword [edx + 4]
call fcn.005c1570
jmp 0x5d6c01
mov edx, dword [esp + 0x28]
jmp 0x5d6ba0
cmp dword [esp + 0x20], 0
jne 0x5d6b9a
mov edx, dword [esp + 0x2c]
mov ecx, edi
push esi
mov edx, dword [edx + 4]
call fcn.005c1570
jmp 0x5d6c01
mov eax, edx
sub eax, dword [esp + 0x24]
cmp byte [esp + 0x1a], 0
je 0x5d6bc0
mov ecx, dword [esp + 0x10]
mov edx, 0x59
push esi
push eax
push dword [esp + 0x44]
call fcn.005a7450
add esp, 0xc
jmp 0x5d6c04
cmp dword [esp + 0x14], 0
je 0x5d6bee
mov edi, dword [esp + 0x40]
cmp edi, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
je 0x5d6c0c
add eax, dword [esp + 0x40]
mov edx, 0x4e
mov ecx, dword [esp + 0x10]
push esi
push eax
call fcn.005a7580
add esp, 8
jmp 0x5d6c04
lea edx, [eax + eax*4]
mov ecx, edi
mov eax, dword [esp + 0x5c]
push esi
mov edx, dword [eax + edx*4 + 4]
call fcn.005c1520
add esp, 4
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
movsx eax, word [ecx + 0x2a]
inc edx
add dword [esp + 0x48], 0x14
inc esi
mov dword [esp + 0x28], edx
cmp edx, eax
jl 0x5d6ab0
dec dword [edi + 0x38]
test byte [esp + 0x84], 1
mov eax, dword [edi + 0x38]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
je 0x5d6dd6
movsx edx, word [esi + 0x2a]
mov ecx, edi
inc edx
call fcn.005c2ea0
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], eax
push eax
test ecx, ecx
jns 0x5d6c70
mov ecx, dword [esp + 0x14]
mov edx, 0x45
push 0xffffffffffffffff
call fcn.005a7580
add esp, 8
jmp 0x5d6d1e
cmp byte [esp + 0x1e], 0
je 0x5d6c8f
push ecx
push dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
mov edx, 0x59
call fcn.005a7450
add esp, 0xc
jmp 0x5d6ca4
mov eax, dword [esp + 0x60]
lea edx, [ecx + ecx*4]
mov ecx, edi
mov edx, dword [eax + edx*4 + 4]
call fcn.005c1520
add esp, 4
push dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, 0x33
call fcn.005a7520
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, 0x45
mov dword [esp + 0x44], eax
push dword [esp + 0x20]
push 0xffffffffffffffff
call fcn.005a7580
mov edx, dword [esp + 0x18]
add esp, 8
mov ecx, dword [esp + 0x44]
mov eax, dword [edx + 0x6c]
mov dword [esp + 0x30], eax
test ecx, ecx
jns 0x5d6cea
lea ecx, [eax - 1]
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x5d6cf9
mov eax, 0x85e278
jmp 0x5d6d02
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x30]
mov edx, 0xf
push dword [esp + 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x14]
call fcn.005a7520
add esp, 4
movsx eax, word [esi + 0x2c]
mov edx, 0x4d
mov ecx, dword [esp + 0x20]
dec eax
inc ecx
push eax
push ecx
push dword [esp + 0x58]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x1c]
call fcn.005a7450
add esp, 0xc
test byte [esi + 0x24], 0x60
je 0x5d6d58
mov edx, dword [esp + 0x44]
mov ecx, edi
push esi
call fcn.005d5c80
add esp, 4
cmp dword [esp + 0x88], 0
jne 0x5d6d74
push dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.005d5b90
add esp, 4
push dword [esp + 0x40]
movsx eax, word [esi + 0x2a]
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x80]
sub ecx, eax
dec ecx
push ecx
push esi
push 1
push 0
push 0x7d
mov ecx, edi
call fcn.005eac00
movsx eax, word [esi + 0x2a]
add esp, 0x1c
inc eax
cmp eax, 1
jne 0x5d6dc7
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x5d6dd6
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x5d6dd6
movzx eax, al
mov dword [edi + eax*4 + 0x94], ecx
inc byte [edi + 0x13]
jmp 0x5d6dd6
cmp eax, dword [edi + 0x1c]
jle 0x5d6dd6
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x20], eax
cmp dword [esp + 0x88], 0
jne 0x5d708c
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x5d6e05
push dword [esp + 0x68]
mov ecx, dword [esp + 0x14]
mov edx, 0x48
push 0
call fcn.005a7580
mov ecx, dword [esi + 0x38]
add esp, 8
mov eax, dword [esp + 0x38]
test eax, eax
js 0x5d6edb
cmp byte [esp + 0x1a], 0
je 0x5d6e34
push dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov edx, 0x59
push eax
push dword [esp + 0x44]
call fcn.005a7450
add esp, 0xc
jmp 0x5d6e61
cmp dword [esp + 0x14], 0
jne 0x5d6e61
mov edx, dword [esp + 0x5c]
lea eax, [eax + eax*4]
mov edx, dword [edx + eax*4 + 4]
cmp byte [edx], 0x77
jne 0x5d6e53
test ecx, ecx
je 0x5d6ee5
push dword [esp + 0x34]
mov ecx, edi
call fcn.005c1520
add esp, 4
cmp dword [esi + 0x38], 0
mov ecx, dword [esp + 0x10]
jne 0x5d6eac
push dword [esp + 0x34]
mov edx, 0x33
call fcn.005a7520
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, 0x78
mov esi, eax
push dword [esp + 0x70]
push dword [esp + 0x38]
push dword [esp + 0x54]
call fcn.005a7450
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov edx, esi
call fcn.005a7eb0
mov esi, dword [esp + 0x1c]
jmp 0x5d6ec4
mov eax, dword [ecx + 0x6c]
mov edx, 0x32
add eax, 2
push eax
push dword [esp + 0x38]
call fcn.005a7580
add esp, 8
push dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov edx, 0xf
call fcn.005a7520
add esp, 4
jmp 0x5d6f23
test ecx, ecx
jne 0x5d6f0c
cmp byte [esp + 0x64], cl
jne 0x5d6f0c
push dword [esp + 0x70]
mov ecx, dword [esp + 0x14]
mov edx, 0x78
push dword [esp + 0x38]
push dword [esp + 0x54]
call fcn.005a7450
add esp, 0xc
mov dword [esp + 0x24], 1
jmp 0x5d6f2b
push dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov edx, 0x48
push 0
call fcn.005a7580
add esp, 8
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x70]
test eax, eax
jle 0x5d6f48
push dword [esp + 0x34]
mov ecx, dword [edi + 8]
mov edx, 0x97
push eax
call fcn.005a7580
add esp, 8
test byte [esi + 0x24], 0x60
je 0x5d6f5d
mov edx, dword [esp + 0x50]
mov ecx, edi
push esi
call fcn.005d5c80
add esp, 4
cmp dword [esi + 0x38], 0
je 0x5d6fee
mov esi, dword [esi + 0x40]
test esi, esi
je 0x5d6f7d
mov eax, dword [esp + 0x54]
cmp dword [esi], eax
je 0x5d6f7d
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x5d6f72
mov edx, dword [esp + 0x1c]
mov ecx, edi
call fcn.005ef830
mov ecx, dword [esp + 0x10]
mov edx, 0xa
push 0xfffffffffffffff4
push esi
mov esi, dword [esp + 0x24]
push dword [esp + 0x70]
movsx eax, word [esi + 0x2a]
add eax, 2
push eax
push 1
call fcn.005a7810
mov eax, dword [esp + 0x24]
add esp, 0x14
mov ecx, dword [eax + 0x6c]
test ecx, ecx
jle 0x5d6fdb
mov edx, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
cmp dword [ebp + 0x10], 0xb
mov eax, dword [eax + 0x68]
movzx edx, dx
mov dword [esp + 0x64], 2
cmove edx, dword [esp + 0x64]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [edi + 0x74]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
jmp 0x5d708c
push dword [ebp + 0x14]
lea eax, [esp + 0x68]
mov edx, esi
push 0
push eax
push dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov ecx, edi
push dword [ebp + 0x10]
shr eax, 0x1f
xor al, 1
movzx eax, al
push eax
push 0
push dword [esp + 0x84]
push dword [esp + 0x94]
push dword [esp + 0x70]
push dword [esp + 0x88]
call fcn.005d7260
add esp, 0x2c
mov edx, esi
mov ecx, edi
push 0
push 0
push dword [esp + 0x70]
push 0
call fcn.005d4900
add esp, 0x10
cmp dword [esp + 0x64], 0
je 0x5d7061
mov eax, dword [esp + 0x10]
cmp dword [eax + 0xd8], 0
je 0x5d7061
xor eax, eax
jmp 0x5d7066
mov eax, 1
push eax
push dword [esp + 0x28]
mov edx, esi
mov ecx, edi
push 0
push dword [esp + 0x6c]
push dword [esp + 0x78]
push dword [esp + 0x88]
push dword [esp + 0x64]
call fcn.005d9060
add esp, 0x1c
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x5d70ab
mov ecx, dword [esp + 0x10]
mov edx, 0x52
push 1
push eax
call fcn.005a7580
add esp, 8
mov edx, dword [esp + 0x78]
test edx, edx
je 0x5d70d9
push dword [esp + 0x40]
movsx eax, word [esi + 0x2a]
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x58]
sub ecx, eax
sub ecx, 2
push ecx
push esi
push 2
push 0
push 0x7d
mov ecx, edi
call fcn.005eac00
add esp, 0x1c
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
not edx
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x5d70fb
push edx
mov edx, esi
call fcn.005a7b60
add esp, 4
jmp 0x5d7104
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
cmp byte [esp + 0x1a], 0
je 0x5d7164
push dword [esp + 0x7c]
mov edx, 5
mov ecx, esi
push dword [esp + 0x40]
call fcn.005a7580
mov eax, dword [esi]
add esp, 8
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x5d7134
mov eax, 0x85e278
jmp 0x5d714c
mov ecx, dword [esp + 0x80]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
push dword [esp + 0x3c]
mov dword [eax + 8], edx
mov ecx, esi
mov edx, 0x74
call fcn.005a7520
add esp, 4
jmp 0x5d71ad
cmp dword [esp + 0x14], 0
je 0x5d71ad
mov edx, dword [esp + 0x7c]
mov ecx, esi
call fcn.005a75f0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x5d718b
mov eax, 0x85e278
mov dword [eax + 8], edx
jmp 0x5d71ad
mov ecx, dword [esp + 0x80]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x5d71ad
mov esi, dword [esp + 0x10]
cmp byte [edi + 0x12], 0
jne 0x5d71c6
cmp dword [edi + 0x78], 0
jne 0x5d71c6
cmp dword [edi + 0x70], 0
je 0x5d71c6
mov ecx, edi
call fcn.005d5f40
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x5d6568
push 1
push eax
mov edx, 0x50
mov ecx, esi
call fcn.005a7580
add esp, 8
mov edx, 1
mov ecx, esi
call fcn.005a94a0
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x5d6568
mov ecx, dword [esi + 0x74]
mov edx, 0x7e54fc
push 0
push 1
push 0xffffffffffffffff
call fcn.005a6810
jmp 0x5d6565
mov esi, dword [ebp + 8]
jmp 0x5d656c