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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
xor eax, eax
mov dword [esp + 0x70], edx
push esi
mov esi, dword [ebp + 0xc]
xor edx, edx
push edi
mov edi, ecx
mov dword [esp + 0xb8], edx
xorps xmm0, xmm0
mov dword [esp + 0x14], edi
mov dword [esp + 0xb4], 0
mov dword [esp + 0xa4], 0
mov edx, dword [edi]
mov dword [esp + 0x5c], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x3c], eax
movlpd qword [esp + 0xc8], xmm0
mov dword [esp + 0x64], edx
cmp dword [edi + 0x24], eax
jne 0x5ecc91
cmp byte [edx + 0x51], al
jne 0x5ecc91
mov edx, dword [esp + 0x78]
call fcn.005cebc0
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x5ecc8e
mov edx, dword [esi + 0x48]
mov ecx, dword [edi]
call fcn.005de820
mov dword [esp + 0x68], eax
mov edx, esi
lea eax, [esp + 0xbc]
mov ecx, edi
push eax
push dword [ebp + 8]
push 0x7f
call fcn.005ea2c0
add esp, 0xc
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0xc]
mov edx, esi
mov ecx, edi
mov dword [esp + 0x94], eax
call fcn.005cab90
test eax, eax
jne 0x5ecc8e
push dword [esp + 0xbc]
mov edx, esi
mov ecx, edi
call fcn.005cec20
add esp, 4
test eax, eax
jne 0x5ecc8e
mov eax, dword [edi + 0x28]
mov dword [esp + 0x1c], eax
mov dword [esp + 0xa0], eax
lea ecx, [eax + 1]
mov dword [edi + 0x28], ecx
test byte [esi + 0x24], 0x80
mov dword [esp + 0x98], ecx
jne 0x5eaea0
mov dword [esp + 0x40], 0
jmp 0x5eaeaf
mov ecx, esi
call fcn.005c8940
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 8]
xor edx, edx
mov dword [esp + 0x74], edx
test ecx, ecx
je 0x5eaef4
mov edx, dword [esp + 0x98]
xor esi, esi
cmp dword [esp + 0x40], ecx
mov eax, edx
mov edi, dword [esp + 0x14]
cmovne eax, dword [esp + 0x1c]
inc edx
inc esi
mov dword [esp + 0x1c], eax
mov dword [edi + 0x28], edx
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x5eaec5
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x1c], eax
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x5eaf1a
mov edx, dword [ecx + 0x20]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x1c], eax
mov dword [edi + 0x28], ecx
mov ecx, dword [esp + 0x78]
push 0
mov dword [ecx + 0x34], eax
movsx eax, word [esi + 0x2a]
mov ecx, dword [esp + 0x68]
add eax, edx
lea eax, [eax*4 + 6]
add eax, edx
push eax
call fcn.00588ce0
mov ecx, eax
add esp, 8
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x5ecc8e
movsx eax, word [esi + 0x2a]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x70], ecx
lea ecx, [ecx + eax*4]
inc eax
push eax
add ecx, 4
push 1
push ecx
mov dword [esp + 0x88], ecx
call fcn.00738a30
mov eax, dword [esp + 0x80]
add esp, 0xc
mov ecx, dword [esp + 0x7c]
mov byte [ecx + eax + 1], 0
xor eax, eax
xor ecx, ecx
cmp ax, word [esi + 0x2a]
jge 0x5eafa8
mov edi, dword [esp + 0x38]
mov dword [edi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x5eaf94
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x78]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x114], eax
mov eax, dword [edi + 8]
movlpd qword [esp + 0x11c], xmm0
mov dword [esp + 0x124], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x110], edi
mov dword [esp + 0x118], ecx
mov dword [esp + 0x128], 0x200
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5eb020
cmp dword [edi + 0x74], eax
jne 0x5eb00d
mov eax, dword [edi]
test byte [eax + 0x4c], 8
jne 0x5eb00d
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.005a7280
mov dword [esp + 0x10], eax
test eax, eax
je 0x5ecc81
mov ecx, dword [ebp + 8]
xor al, al
mov byte [esp + 0x2f], 0
mov byte [esp + 0x23], al
mov dword [esp + 0x48], 0
cmp dword [ecx], 0
jle 0x5eb218
lea esi, [ecx + 4]
mov dword [esp + 0x30], esi
nop word [eax + eax]
mov edx, dword [esi]
lea ecx, [esp + 0x110]
call fcn.005baed0
test eax, eax
jne 0x5ecc81
mov edx, dword [esp + 0x18]
xor edi, edi
movsx eax, word [edx + 0x2a]
test eax, eax
jle 0x5eb13e
mov eax, dword [edx + 4]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x4c], eax
nop word [eax + eax]
mov edx, dword [eax]
mov esi, dword [esi + 4]
mov dword [esp + 0xa8], edx
sub esi, edx
nop
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x5eb0cf
test ecx, ecx
jne 0x5eb0e1
mov edx, dword [esp + 0x18]
movsx eax, word [edx + 0x28]
cmp edi, eax
jne 0x5eb102
mov esi, dword [esp + 0x30]
mov byte [esp + 0x23], 1
mov eax, dword [esi]
mov dword [esp + 0xa4], eax
jmp 0x5eb133
movzx eax, byte [eax + 0x7c4050]
movzx ecx, byte [ecx + 0x7c4050]
sub ecx, eax
jne 0x5eb0e4
inc edx
jmp 0x5eb0a0
mov edx, dword [esp + 0x18]
inc edi
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x30]
add eax, 0x14
mov dword [esp + 0x4c], eax
movsx ecx, word [edx + 0x2a]
cmp edi, ecx
jge 0x5eb13e
jmp 0x5eb090
cmp dword [esp + 0x40], 0
mov ecx, dword [esp + 0x9c]
je 0x5eb121
lea eax, [edi + edi*4]
test byte [ecx + eax*4 + 0x10], 1
je 0x5eb121
mov byte [esp + 0x2f], 1
jmp 0x5eb12f
lea eax, [edi + edi*4]
test byte [ecx + eax*4 + 0x10], 0x60
jne 0x5eb249
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
mov dword [ecx + edi*4], eax
movsx eax, word [edx + 0x2a]
cmp edi, eax
jl 0x5eb1a4
cmp dword [esp + 0x40], 0
jne 0x5eb266
mov esi, dword [esi + 4]
mov edx, 0x7e39c4
mov ecx, esi
call fcn.0058beb0
test eax, eax
je 0x5eb188
mov edx, 0x7e38a8
mov ecx, esi
call fcn.0058beb0
test eax, eax
je 0x5eb188
mov edx, 0x7e38b0
mov ecx, esi
call fcn.0058beb0
test eax, eax
jne 0x5eb266
mov esi, dword [esp + 0x30]
or edi, 0xffffffff
mov byte [esp + 0x23], 1
mov edx, 0x7e38a8
mov eax, dword [esi]
mov dword [esp + 0xa4], eax
jmp 0x5eb1b8
test edi, edi
jns 0x5eb1af
mov edx, 0x7e38a8
jmp 0x5eb1b8
mov eax, dword [edx + 4]
lea ecx, [edi + edi*4]
mov edx, dword [eax + ecx*4]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
push dword [edx]
mov edx, 0x17
call fcn.005c7580
add esp, 0xc
cmp eax, 1
je 0x5ecc81
cmp eax, 2
jne 0x5eb1f9
mov eax, dword [esp + 0x38]
mov dword [eax + edi*4], 0xffffffff
mov edi, dword [esp + 0x48]
add esi, 0x14
mov eax, dword [ebp + 8]
inc edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x30], esi
cmp edi, dword [eax]
jl 0x5eb050
mov al, byte [esp + 0x23]
mov ecx, dword [esp + 0x18]
mov dl, byte [esp + 0x2f]
add dl, al
mov byte [esp + 0x6c], dl
test byte [ecx + 0x24], 0x60
je 0x5eb358
movzx eax, word [ecx + 0x2a]
xor edx, edx
xor edi, edi
xor esi, esi
mov dword [esp + 0x4c], edx
cmp di, ax
jge 0x5eb354
jmp 0x5eb294
push dword [esp + 0xa8]
push 0x7e66d8
push dword [esp + 0x1c]
call fcn.0058bd80
add esp, 0xc
jmp 0x5ecc81
mov eax, dword [esp + 0x48]
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x14]
lea eax, [eax + eax*4]
push dword [ecx + eax*4 + 8]
push 0x7e6794
push esi
call fcn.0058bd80
add esp, 0xc
mov byte [esi + 0x11], 1
jmp 0x5ecc81
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
cmp dword [eax + esi*4], 0
jge 0x5eb333
mov eax, dword [ecx + 4]
test byte [eax + edi + 0x10], 0x60
je 0x5eb333
mov edx, dword [eax + edi + 4]
xorps xmm0, xmm0
mov eax, dword [esp + 0x38]
movaps xmmword [esp + 0xd0], xmm0
mov dword [esp + 0xe8], 0
movq qword [esp + 0xe0], xmm0
mov dword [esp + 0xd4], 0x5d7220
mov dword [esp + 0xe8], eax
test edx, edx
je 0x5eb2fd
lea ecx, [esp + 0xd0]
call fcn.005b8990
mov ecx, dword [esp + 0x18]
cmp byte [esp + 0x23], 0
mov ax, word [esp + 0xe4]
jne 0x5eb314
mov edx, 0xfffd
and ax, dx
test ax, ax
je 0x5eb32f
mov eax, dword [esp + 0x38]
mov edx, 1
mov dword [esp + 0x4c], edx
mov dword [eax + esi*4], 0x1869f
jmp 0x5eb333
mov edx, dword [esp + 0x4c]
movzx eax, word [ecx + 0x2a]
inc esi
mov ecx, eax
add edi, 0x14
cwde
cmp esi, eax
jl 0x5eb290
mov eax, ecx
mov ecx, dword [esp + 0x18]
test edx, edx
jne 0x5eb234
mov dl, byte [esp + 0x6c]
cmp dword [ecx + 0x38], 0
je 0x5eb366
or eax, 0xffffffff
or ecx, 0xffffffff
jmp 0x5eb380
xorps xmm0, xmm0
movlpd qword [esp + 0xa8], xmm0
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
mov esi, dword [esp + 0x78]
mov dword [esi + 0x40], eax
movzx eax, dl
mov dword [esi + 0x44], ecx
mov esi, dword [esp + 0x18]
mov edx, esi
mov ecx, dword [esp + 0x14]
push eax
push dword [esp + 0x3c]
mov dword [esp + 0xa4], eax
call fcn.005d4fb0
add esp, 8
mov ecx, eax
cmp dword [ebp + 0x10], 5
mov edx, 1
mov eax, dword [esp + 0x88]
cmove eax, edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x88], eax
xor edi, edi
mov esi, dword [esi + 8]
mov dword [esp + 0x28], edi
test esi, esi
je 0x5eb556
nop dword [eax]
cmp byte [esp + 0x6c], 0
jne 0x5eb6d3
cmp ecx, 1
jg 0x5eb6d3
cmp esi, dword [esp + 0x40]
je 0x5eb6d3
mov edx, dword [esi + 0x24]
test edx, edx
je 0x5eb466
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0xd0]
xorps xmm0, xmm0
mov dword [esp + 0xe8], 0
movaps xmmword [esp + 0xd0], xmm0
movq qword [esp + 0xe0], xmm0
mov dword [esp + 0xd4], 0x5d7220
mov dword [esp + 0xe8], eax
call fcn.005b8990
cmp byte [esp + 0x23], 0
mov ax, word [esp + 0xe4]
jne 0x5eb45d
mov ecx, 0xfffd
and ax, cx
test ax, ax
jne 0x5eb6d3
xor ecx, ecx
xor eax, eax
xor edi, edi
mov dword [esp + 0xa8], ecx
cmp ax, word [esi + 0x32]
jae 0x5eb52e
mov dword [esp + 0x4c], ecx
mov eax, dword [esi + 4]
movzx eax, word [eax + edi*2]
test ax, ax
js 0x5eb49c
mov edx, dword [esp + 0x38]
cwde
mov eax, dword [edx + eax*4]
not eax
shr eax, 0x1f
jmp 0x5eb50b
mov eax, dword [esi + 0x28]
xorps xmm0, xmm0
movaps xmmword [esp + 0xf0], xmm0
mov dword [esp + 0x108], 0
movq qword [esp + 0x100], xmm0
mov edx, dword [eax + ecx + 4]
mov eax, dword [esp + 0x38]
mov dword [esp + 0xf4], 0x5d7220
mov dword [esp + 0x108], eax
test edx, edx
je 0x5eb4e8
lea ecx, [esp + 0xf0]
call fcn.005b8990
cmp byte [esp + 0x23], 0
mov cx, word [esp + 0x104]
jne 0x5eb4ff
mov eax, 0xfffd
and cx, ax
xor eax, eax
test cx, cx
mov ecx, dword [esp + 0x4c]
setne al
test eax, eax
jne 0x5eb6a2
movzx eax, word [esi + 0x32]
inc edi
add ecx, 0x14
mov dword [esp + 0x4c], ecx
cmp edi, eax
jl 0x5eb481
mov ecx, dword [esp + 0xa8]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x7c]
mov byte [edi + eax + 1], 0
mov eax, dword [esp + 0x70]
mov dword [eax + edi*4], ecx
inc edi
mov esi, dword [esi + 0x14]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x28], edi
test esi, esi
jne 0x5eb3e0
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [ecx + edi*4], eax
cmp dword [esp + 0x88], 0
je 0x5eb588
mov eax, dword [esp + 0x74]
inc eax
push eax
push 1
push dword [esp + 0x84]
call fcn.00738a30
add esp, 0xc
cmp byte [esi + 0x12], 0
jne 0x5eb599
mov eax, dword [esp + 0x10]
or dword [eax + 0x98], 0x20
cmp dword [esp + 0x44], 0
jne 0x5eb5ac
cmp dword [esp + 0x58], 0
mov byte [esp + 0x53], 0
je 0x5eb5b1
mov byte [esp + 0x53], 1
mov eax, dword [esi + 0x74]
test eax, eax
mov ecx, dword [esp + 0x68]
cmovne esi, eax
mov eax, 1
shl eax, cl
mov edx, dword [esi + 0x54]
test edx, eax
jne 0x5eb5e1
bts edx, ecx
mov dword [esi + 0x54], edx
cmp ecx, 1
jne 0x5eb5e1
mov ecx, esi
call fcn.005cd870
mov ecx, dword [esp + 0x68]
mov eax, dword [esi + 0x50]
mov edx, dword [esp + 0x14]
bts eax, ecx
mov dword [esi + 0x50], eax
mov al, byte [esp + 0x53]
or byte [esi + 0x14], al
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x38], 0
jne 0x5eb67a
mov eax, dword [esp + 0x70]
mov ecx, dword [edx + 0x2c]
inc ecx
cmp byte [esp + 0x2f], 0
mov dword [esp + 0x54], ecx
mov eax, dword [eax + edi*4]
mov dword [esp + 0x84], eax
mov dword [edx + 0x2c], ecx
mov dword [esp + 0x24], ecx
jne 0x5eb632
cmp dword [esp + 0x44], 0
jne 0x5eb632
mov eax, dword [esp + 0x58]
test eax, eax
je 0x5eb649
lea eax, [ecx + 1]
mov dword [esp + 0x8c], eax
movsx eax, word [esi + 0x2a]
add ecx, eax
mov eax, dword [esp + 0x58]
mov dword [edx + 0x2c], ecx
cmp byte [esp + 0x6c], 0
jne 0x5eb65b
cmp dword [esp + 0x44], 0
jne 0x5eb65b
test eax, eax
je 0x5eb667
lea eax, [ecx + 1]
mov dword [esp + 0x54], eax
mov ecx, eax
mov dword [edx + 0x2c], eax
lea eax, [ecx + 1]
mov dword [esp + 0x90], eax
movsx eax, word [esi + 0x2a]
add eax, ecx
mov dword [edx + 0x2c], eax
cmp dword [esp + 0x94], 0
je 0x5eb6f4
mov ecx, dword [edx + 0xf0]
mov eax, dword [esi]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xa8], ecx
mov dword [edx + 0xf0], eax
jmp 0x5eb710
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
mov ecx, dword [edx + 0x2c]
inc ecx
mov dword [edx + 0x2c], ecx
movzx eax, word [esi + 0x34]
add eax, ecx
cmp dword [ebp + 0x10], 0xb
mov dword [edx + 0x2c], eax
jne 0x5eb6e7
cmp byte [esi + 0x36], 5
jne 0x5eb6e7
mov dword [esp + 0x88], 1
jmp 0x5eb6e7
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x2c]
inc ecx
mov dword [edx + 0x2c], ecx
movzx eax, word [esi + 0x34]
add eax, ecx
mov dword [edx + 0x2c], eax
test ecx, ecx
jne 0x5eb53b
jmp 0x5eb532
mov eax, dword [esp + 0xcc]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xa8], eax
je 0x5eb72b
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, esi
push 0
push 0
push dword [ebp + 0xc]
call fcn.005cecc0
add esp, 0x10
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x110]
call fcn.005baed0
test eax, eax
jne 0x5ecc69
cmp dword [esi + 0x38], eax
je 0x5eb771
push dword [ebp + 0x10]
mov edx, dword [esp + 0x7c]
push dword [ebp + 0xc]
mov ecx, dword [esp + 0x1c]
push dword [esp + 0x40]
push dword [esp + 0xb0]
push dword [ebp + 8]
push esi
call fcn.005eccd0
add esp, 0x18
jmp 0x5ecc69
mov eax, dword [esp + 0x14]
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
mov ecx, dword [esp + 0x14]
je 0x5eb819
cmp dword [ecx + 0x78], 0
jne 0x5eb819
cmp byte [ecx + 0x12], 0
jne 0x5eb819
cmp dword [ebp + 0x1c], 0
mov esi, dword [esp + 0x10]
jne 0x5eb81d
inc dword [ecx + 0x2c]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0xb8], edx
cmp dword [esi + 0x70], ecx
jg 0x5eb7e0
push 0
push edx
push 0
mov edx, 0x45
mov ecx, esi
call fcn.005a7410
mov ecx, dword [esp + 0x20]
add esp, 0xc
jmp 0x5eb81d
mov edi, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x45
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 + 0x14]
jmp 0x5eb81d
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
test byte [edx + 0x24], 0x80
jne 0x5eb91c
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x5eb851
push dword [esp + 0x24]
mov edx, 0x48
mov ecx, esi
push dword [esp + 0x88]
push 0
call fcn.005a7410
add esp, 0xc
jmp 0x5eb887
mov edx, dword [esp + 0x84]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x48
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0x1c], 0
je 0x5eba5c
mov ecx, dword [esp + 0x14]
push 0x10
push dword [esp + 0x34]
mov esi, 1
mov dword [esp + 0x54], 0
push dword [ebp + 0xc]
mov dword [esp + 0x34], esi
push ecx
call fcn.005c1d00
mov eax, dword [esp + 0xbc]
add esp, 0x10
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xc8], 0
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test byte [ecx + 0x24], 0x80
jne 0x5ebbe0
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x5ebb30
mov ecx, dword [esp + 0x10]
mov edx, 0x7f
push 0
push dword [esp + 0x28]
push eax
call fcn.005a7410
mov edx, dword [esp + 0x30]
add esp, 0xc
jmp 0x5ebb63
mov eax, dword [esp + 0x40]
movzx esi, word [eax + 0x32]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x80], esi
movsx esi, si
lea edx, [eax + 1]
inc eax
add eax, esi
mov dword [esp + 0x34], edx
cmp dword [ebp + 0x1c], 0
mov dword [esp + 0x3c], eax
mov dword [ecx + 0x2c], eax
jne 0x5eb895
mov eax, dword [ecx + 0x28]
dec edx
mov dword [esp + 0x5c], eax
add edx, esi
inc eax
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x5eb97e
push edx
push dword [esp + 0x38]
mov edx, 0x48
mov ecx, eax
push 0
call fcn.005a7410
add esp, 0xc
jmp 0x5eb9b7
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
mov eax, edi
mov edi, dword [esp + 0x34]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x48
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0xc0], edx
cmp dword [ecx + 0x70], edx
jg 0x5eb9e7
push 0
push esi
push dword [esp + 0x64]
mov edx, 0x64
call fcn.005a7410
add esp, 0xc
mov dword [esp + 0xc0], eax
jmp 0x5eba1a
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x5c]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x64
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov ecx, eax
mov edx, dword [esp + 0x40]
mov esi, dword [eax + 8]
call fcn.005cdfc0
mov edx, eax
test edx, edx
je 0x5eba5c
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x5eba4a
push edx
mov edx, 0xfffffff7
call fcn.005a7f30
add esp, 4
jmp 0x5eba5c
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov ecx, dword [esp + 0x14]
mov eax, 0x1004
cmp byte [ecx + 0x12], 0
jne 0x5eba90
cmp dword [esp + 0x44], 0
jne 0x5eba90
cmp dword [esp + 0x58], 0
jne 0x5eba90
cmp byte [esp + 0x6c], 0
jne 0x5eba90
cmp dword [esp + 0x88], 0
mov edx, 0x100c
cmove eax, edx
push dword [esp + 0x98]
mov edx, dword [esp + 0x7c]
push eax
push 0
push 0
push dword [ebp + 0xc]
call fcn.005fa630
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x4c], ecx
test ecx, ecx
je 0x5ecc69
movzx esi, byte [ecx + 0x2e]
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x30]
and ecx, 1
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x28], esi
mov dword [esp + 0xc8], ecx
cmp esi, 1
je 0x5eb8d9
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0x1c]
mov byte [ecx + 0x14], 1
cmp esi, 2
jne 0x5eb8dd
test edx, edx
js 0x5eb8dd
cmp edx, eax
je 0x5eb8dd
mov ecx, dword [esp + 0x7c]
mov eax, edx
sub eax, dword [esp + 0xa0]
xor edx, edx
cmp byte [eax + ecx], dl
cmovne esi, edx
mov dword [esp + 0x28], esi
jmp 0x5eb8d9
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test esi, esi
jne 0x5ebd79
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
inc dword [eax + 0x2c]
mov eax, dword [eax + 0x2c]
mov dword [ecx + edi*4], eax
mov edi, dword [esp + 0x10]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x5ebba5
push esi
push edx
push dword [esp + 0x8c]
mov edx, 0x93
mov ecx, edi
call fcn.005a7410
add esp, 0xc
jmp 0x5ebd7d
mov edx, dword [esp + 0x84]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x93
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x5ebd7d
mov eax, dword [esp + 0x80]
xor esi, esi
movsx edi, ax
test edi, edi
jle 0x5ebc1e
mov eax, dword [esp + 0x34]
mov edx, ecx
mov ecx, dword [esp + 0x10]
add eax, esi
push eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push dword [esp + 0x24]
call fcn.005bfef0
mov ecx, dword [esp + 0x24]
inc esi
add esp, 0xc
cmp esi, edi
jl 0x5ebbf0
mov esi, dword [esp + 0x28]
test esi, esi
je 0x5ebc7a
mov edx, dword [esp + 0xc0]
test edx, edx
je 0x5ebc66
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
cmp byte [ecx + 0x51], 0
jne 0x5ebc66
mov eax, dword [eax + 0x68]
lea edx, [edx + edx*4]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.005a7f30
mov word [esi], 0xad
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov dword [esp + 0xb0], edi
mov dword [esp + 0x3c], eax
jmp 0x5ebd79
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x64]
call fcn.005d5ae0
mov ecx, dword [esp + 0x10]
mov esi, eax
mov dword [esp + 0x80], esi
mov edx, dword [ecx + 0x6c]
cmp dword [ecx + 0x70], edx
jg 0x5ebcb6
push dword [esp + 0x3c]
mov edx, 0x5b
push edi
push dword [esp + 0x3c]
call fcn.005a7410
add esp, 0xc
mov edx, eax
jmp 0x5ebcf0
mov esi, dword [esp + 0x34]
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x80]
mov dword [eax + ecx*4], 0x5b
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0x10], 0
push edi
push esi
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.005a81a0
mov edx, dword [esi + 0x6c]
add esp, 8
cmp dword [esi + 0x70], edx
jg 0x5ebd27
push dword [esp + 0x34]
mov edx, 0x83
mov ecx, esi
push dword [esp + 0x40]
push dword [esp + 0x64]
call fcn.005a7410
add esp, 0xc
mov edx, eax
jmp 0x5ebd5e
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x83
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x5ebd75
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edi
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
cmp dword [ebp + 0x1c], 0
jne 0x5ec116
cmp esi, 2
je 0x5ebd95
mov ecx, dword [esp + 0x4c]
call fcn.005fb180
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x5ebead
mov edx, dword [esp + 0x28]
xor esi, esi
test edx, edx
je 0x5ebde4
mov eax, dword [esp + 0x60]
test eax, eax
js 0x5ebdc5
sub eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x7c]
mov byte [eax + ecx], 0
mov ecx, dword [esp + 0x68]
test ecx, ecx
js 0x5ebde8
mov edi, dword [esp + 0x7c]
mov eax, ecx
sub eax, dword [esp + 0xa0]
mov byte [eax + edi], 0
mov edi, dword [esp + 0x10]
jmp 0x5ebde8
mov ecx, dword [esp + 0x68]
cmp edx, 2
jne 0x5ebe52
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x74]
setns al
sub ecx, eax
test ecx, ecx
jle 0x5ebe52
mov esi, dword [edi + 0x6c]
cmp dword [edi + 0x70], esi
jg 0x5ebe1f
push 0
push 0
push 0
mov edx, 0x11
mov ecx, edi
call fcn.005a7410
add esp, 0xc
mov esi, eax
jmp 0x5ebe52
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x11
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 [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 0
push 0
push dword [esp + 0x84]
push dword [esp + 0xac]
push 0
push 0x61
call fcn.005d92a0
add esp, 0x18
test esi, esi
je 0x5ebea2
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x5ebe8e
mov eax, 0x85e278
jmp 0x5ebe9f
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x28]
test esi, esi
je 0x5ebf6a
test eax, eax
jne 0x5ebeed
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x60], eax
je 0x5ebeed
mov edi, dword [esp + 0x30]
cmp dword [esp + 0x68], eax
je 0x5ebef1
push dword [esp + 0xb0]
mov ecx, dword [esp + 0x14]
mov edx, 0x1d
push dword [esp + 0x40]
push edi
push eax
call fcn.005a7a60
add esp, 0x10
jmp 0x5ebef1
mov edi, dword [esp + 0x30]
cmp esi, 1
je 0x5ebf04
mov eax, dword [esp + 0x14]
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x48], eax
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x40], 0
mov edx, dword [esp + 0x24]
cmovne edx, dword [esp + 0x3c]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x5ebf36
push 0
push edi
push edx
mov edx, 0x32
mov ecx, esi
call fcn.005a7410
add esp, 0xc
jmp 0x5ec11a
mov edi, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x32
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
jmp 0x5ec11a
cmp dword [esp + 0x40], 0
je 0x5ec05c
mov eax, dword [esp + 0x14]
dec dword [eax + 0x38]
mov ecx, dword [edi + 0x6c]
mov esi, dword [eax + 0x38]
mov dword [esp + 0x48], esi
cmp dword [edi + 0x70], ecx
jg 0x5ebfa6
push 0
push dword [esp + 0x34]
mov edx, 0x25
mov ecx, edi
push dword [esp + 0x64]
call fcn.005a7410
add esp, 0xc
jmp 0x5ebfd9
mov edx, dword [esp + 0x5c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x25
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0xb4], ecx
cmp dword [edi + 0x70], ecx
jg 0x5ec00a
push 0
push dword [esp + 0x40]
mov edx, 0x7e
mov ecx, edi
push dword [esp + 0x64]
call fcn.005a7410
add esp, 0xc
mov dword [esp + 0xb4], eax
jmp 0x5ec03d
mov edx, dword [esp + 0x5c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x7e
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0
push dword [esp + 0x40]
mov edx, 0x1d
mov ecx, edi
push esi
push dword [esp + 0x28]
call fcn.005a7a60
add esp, 0x10
jmp 0x5ec116
mov esi, dword [edi + 0x6c]
mov dword [esp + 0x48], esi
cmp dword [edi + 0x70], esi
jg 0x5ec092
push dword [esp + 0x24]
mov edx, 0x2a
mov ecx, edi
push dword [esp + 0x34]
push dword [esp + 0x8c]
call fcn.005a7410
mov edx, dword [esp + 0x30]
mov esi, eax
add esp, 0xc
mov dword [esp + 0x48], esi
jmp 0x5ec0c8
mov edx, dword [esp + 0x84]
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x2a
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x5ec0e7
push edx
push esi
push dword [esp + 0x24]
mov edx, 0x20
mov ecx, edi
call fcn.005a7410
add esp, 0xc
jmp 0x5ec116
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x10]
cmp byte [esp + 0x23], 0
mov edi, dword [esp + 0x14]
je 0x5ec1c0
mov edx, dword [esp + 0x54]
mov ecx, edi
push edx
mov edx, dword [esp + 0xa8]
call fcn.005c03a0
mov edx, dword [esp + 0x58]
add esp, 4
cmp eax, edx
je 0x5ec173
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x5ec173
push edx
push eax
mov eax, dword [esp + 0xac]
mov edx, dword [eax + 4]
and edx, 0x200000
neg edx
sbb edx, edx
add edx, 0x4e
call fcn.005a7580
mov edx, dword [esp + 0x5c]
add esp, 8
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x5ec191
push 0
push 0
push edx
mov edx, 0xf
mov ecx, esi
call fcn.005a7410
add esp, 0xc
jmp 0x5ec1c0
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xf
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
cmp byte [esp + 0x2f], 0
jne 0x5ec217
cmp dword [esp + 0x58], 0
jne 0x5ec21e
mov eax, dword [esp + 0x44]
test eax, eax
je 0x5ec373
xor esi, esi
push dword [ebp + 0x10]
mov edx, dword [esp + 0x48]
mov ecx, edi
push dword [esp + 0x1c]
push 3
push 0
push dword [ebp + 8]
call fcn.005eac90
or esi, eax
xor ecx, ecx
mov eax, dword [esp + 0x2c]
add esp, 0x14
mov dword [esp + 0x80], esi
xor esi, esi
cmp cx, word [eax + 0x2a]
jge 0x5ec306
xor edi, edi
jmp 0x5ec234
cmp dword [esp + 0x58], 0
je 0x5ec1da
mov edx, dword [esp + 0x18]
mov ecx, edi
call fcn.005d4ec0
mov esi, eax
jmp 0x5ec1dc
mov eax, dword [esp + 0x18]
mov edx, esi
mov ecx, eax
call fcn.005c8990
movsx edx, ax
add edx, dword [esp + 0x8c]
cmp dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x60], edx
je 0x5ec2d8
cmp esi, 0x20
jge 0x5ec270
mov eax, 1
mov ecx, esi
shl eax, cl
test dword [esp + 0x80], eax
jne 0x5ec2d8
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
test byte [eax + edi + 0x10], 1
jne 0x5ec2d8
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x5ec29d
push 0
push edx
push 0
mov edx, 0x48
mov ecx, eax
call fcn.005a7410
jmp 0x5ec2eb
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [edx + 0x6c], eax
mov eax, edx
mov edx, dword [esp + 0x60]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x48
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 0x5ec2ee
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x1c]
push esi
push dword [esp + 0x24]
call fcn.005bfef0
add esp, 0xc
mov eax, dword [esp + 0x18]
inc esi
add edi, 0x14
movsx eax, word [eax + 0x2a]
cmp esi, eax
jl 0x5ec230
mov edi, dword [esp + 0x14]
cmp byte [esp + 0x23], 0
jne 0x5ec36f
cmp dword [esp + 0x40], 0
jne 0x5ec36f
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x5ec33c
mov edx, dword [esp + 0x54]
mov ecx, esi
push 0
push edx
push dword [esp + 0x2c]
mov edx, 0x4d
call fcn.005a7410
add esp, 0xc
jmp 0x5ec36f
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x44]
push dword [ebp + 0x10]
mov edx, eax
mov ecx, edi
push dword [esp + 0x1c]
push 1
push 1
push dword [ebp + 8]
call fcn.005eac90
mov ecx, dword [esp + 0xa4]
xor edx, edx
mov dword [esp + 0x48], eax
add esp, 0x14
mov eax, dword [esp + 0x18]
xor edi, edi
mov esi, ecx
cmp dx, word [eax + 0x2a]
mov edx, dword [esp + 0x34]
jge 0x5ec52b
xor ecx, ecx
mov dword [esp + 0x60], ecx
movsx eax, word [eax + 0x28]
cmp edi, eax
jne 0x5ec41a
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x5ec3e0
push 0
push esi
push 0
mov edx, 0x48
mov ecx, eax
call fcn.005a7410
jmp 0x5ec4fe
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [edx + 0x6c], eax
mov eax, edx
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x48
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x5ec501
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
movzx eax, word [eax + ecx + 0x10]
test al, 0x60
je 0x5ec439
test al, 0x20
lea eax, [esi - 1]
cmove eax, esi
mov esi, eax
jmp 0x5ec505
mov eax, dword [esp + 0x38]
mov eax, dword [eax + edi*4]
test eax, eax
js 0x5ec49e
mov ecx, dword [ebp + 8]
lea eax, [eax + eax*4]
push esi
mov eax, dword [ecx + eax*4 + 4]
mov edx, eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x90], eax
call fcn.005c03a0
add esp, 4
cmp eax, esi
je 0x5ec501
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x5ec501
mov edx, dword [esp + 0x8c]
push esi
push eax
mov edx, dword [edx + 4]
and edx, 0x200000
neg edx
sbb edx, edx
add edx, 0x4e
call fcn.005a7580
add esp, 8
jmp 0x5ec501
test dword [esp + 0xbc], 1
je 0x5ec4e0
cmp edi, 0x1f
jg 0x5ec4e0
mov eax, 1
mov ecx, edi
shl eax, cl
test edx, eax
jne 0x5ec4e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x5ec3e0
push 0
push esi
push 0
mov edx, 0x48
mov ecx, eax
call fcn.005a7410
jmp 0x5ec4fe
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push esi
push edi
push dword [esp + 0x24]
call fcn.005bfef0
mov dword [esp + 0xd4], 0
add esp, 0xc
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
inc edi
add dword [esp + 0x60], 0x14
inc esi
mov ecx, dword [esp + 0x60]
movsx eax, word [eax + 0x2a]
cmp edi, eax
mov eax, dword [esp + 0x18]
jl 0x5ec3b6
mov ecx, dword [esp + 0x90]
test byte [eax + 0x24], 0x60
je 0x5ec544
mov edx, ecx
mov ecx, dword [esp + 0x14]
push eax
call fcn.005d5c80
mov eax, dword [esp + 0x1c]
add esp, 4
test byte [esp + 0xbc], 1
je 0x5ec6fb
push dword [esp + 0x90]
mov edi, dword [esp + 0x14]
mov edx, eax
mov ecx, edi
call fcn.005d5b90
mov esi, dword [esp + 0x4c]
add esp, 4
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
push esi
push dword [ebp + 0x10]
push dword [esp + 0x2c]
push dword [esp + 0x24]
push 1
push dword [ebp + 8]
push 0x7f
call fcn.005eac00
mov edx, dword [edi + 0x6c]
add esp, 0x1c
cmp dword [esp + 0x40], 0
mov eax, dword [edi + 0x70]
je 0x5ec610
cmp eax, edx
jg 0x5ec5bd
push dword [esp + 0x3c]
mov edx, 0x1d
mov ecx, edi
push esi
push dword [esp + 0x24]
call fcn.005a7410
add esp, 0xc
mov edx, eax
jmp 0x5ec5f0
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x1d
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x5ec65d
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0xb0]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x5ec65d
cmp eax, edx
jg 0x5ec62e
push dword [esp + 0x24]
mov edx, 0x20
mov ecx, edi
push esi
push dword [esp + 0x24]
call fcn.005a7410
add esp, 0xc
jmp 0x5ec65d
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov eax, dword [esp + 0x90]
xor esi, esi
mov edi, eax
cmp cx, word [edx + 0x2a]
jge 0x5ec6e2
mov dword [esp + 0x8c], ecx
nop dword [eax + eax]
mov eax, dword [edx + 4]
movzx eax, word [ecx + eax + 0x10]
test al, 0x60
je 0x5ec698
test al, 0x20
lea eax, [edi - 1]
cmove eax, edi
mov edi, eax
jmp 0x5ec6c7
mov eax, dword [esp + 0x38]
cmp dword [eax + esi*4], 0
jge 0x5ec6c7
movsx eax, word [edx + 0x28]
cmp esi, eax
je 0x5ec6c7
mov ecx, dword [esp + 0x10]
push edi
push esi
push dword [esp + 0x24]
call fcn.005bfef0
mov ecx, dword [esp + 0x98]
add esp, 0xc
mov edx, dword [esp + 0x18]
movsx eax, word [edx + 0x2a]
inc esi
add ecx, 0x14
inc edi
mov dword [esp + 0x8c], ecx
cmp esi, eax
jl 0x5ec680
mov eax, dword [esp + 0x90]
test byte [edx + 0x24], 0x60
mov esi, dword [esp + 0x14]
je 0x5ec703
push edx
mov edx, eax
mov ecx, esi
call fcn.005d5c80
add esp, 4
jmp 0x5ec6ff
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
cmp dword [esp + 0x94], 0
mov edi, dword [esp + 0x48]
jne 0x5ec9eb
push 0
push dword [esp + 0x3c]
lea eax, [esp + 0x90]
mov ecx, esi
push eax
push edi
push dword [ebp + 0x10]
push dword [esp + 0x80]
push dword [esp + 0x3c]
push dword [esp + 0x70]
push dword [esp + 0xb8]
push dword [esp + 0x40]
push dword [esp + 0x98]
call fcn.005d7260
add esp, 0x2c
cmp dword [esp + 0x88], 0
jne 0x5ec767
cmp byte [esp + 0x6c], 0
je 0x5ec84c
cmp dword [esp + 0x40], 0
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx + 0x6c]
mov eax, dword [ecx + 0x70]
je 0x5ec7f5
cmp eax, esi
jg 0x5ec79a
push dword [esp + 0x3c]
mov edx, 0x1d
push edi
push dword [esp + 0x24]
call fcn.005a7410
add esp, 0xc
mov esi, eax
jmp 0x5ec7cd
mov edx, dword [esp + 0x1c]
lea eax, [esi + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x1d
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 + 0x10]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
jne 0x5ec84c
mov edx, dword [esp + 0xb0]
lea ecx, [esi + esi*4]
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x5ec850
cmp eax, esi
jg 0x5ec817
push dword [esp + 0x24]
mov esi, dword [esp + 0x14]
mov edx, 0x20
push edi
push dword [esp + 0x24]
mov ecx, esi
call fcn.005a7410
add esp, 0xc
jmp 0x5ec850
mov edx, dword [esp + 0x1c]
lea eax, [esi + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [esi + esi*4]
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
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
jmp 0x5ec854
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
cmp dword [esp + 0x58], 0
je 0x5ec879
push dword [esp + 0x9c]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x3c]
push 0
push edx
mov edx, dword [esp + 0x28]
call fcn.005d4900
add esp, 0x10
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push dword [esp + 0x74]
push dword [esp + 0xa0]
push dword [esp + 0x28]
call fcn.005cfa50
add esp, 0x10
cmp dword [esp + 0xc8], 0
je 0x5ec8f8
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x5ec8c5
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x87
mov ecx, esi
call fcn.005a7410
add esp, 0xc
jmp 0x5ec8f8
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x87
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 edx, dword [esp + 0x58]
cmp edx, 1
jg 0x5ec908
cmp byte [esp + 0x6c], 0
je 0x5ec960
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x5ec92d
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x7a
mov ecx, esi
call fcn.005a7410
mov edx, dword [esp + 0x64]
add esp, 0xc
jmp 0x5ec960
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x7a
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test edx, edx
je 0x5ec985
push dword [esp + 0x9c]
mov edx, dword [esp + 0x1c]
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
push dword [esp + 0x5c]
push 0
call fcn.005d4900
add esp, 0x10
mov esi, dword [esp + 0x28]
xor eax, eax
mov edx, dword [esp + 0x18]
cmp esi, 2
mov ecx, dword [esp + 0x14]
push 0
sete al
push 0
lea eax, [eax*2 + 4]
push eax
push dword [esp + 0x7c]
push dword [esp + 0x64]
push dword [esp + 0xac]
push dword [esp + 0x34]
call fcn.005d9060
add esp, 0x1c
cmp dword [esp + 0x58], 0
je 0x5ec9ef
push dword [esp + 0x9c]
mov edx, dword [esp + 0x1c]
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
push dword [esp + 0x2c]
push dword [ebp + 8]
call fcn.005d5950
add esp, 0x10
jmp 0x5ec9ef
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x5eca54
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x5eca1e
mov ecx, dword [esp + 0x10]
mov edx, 0x52
push 0
push 1
push eax
call fcn.005a7410
add esp, 0xc
jmp 0x5eca54
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0xb8]
mov dword [eax + ecx*4], 0x52
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
push edi
push dword [ebp + 0x10]
push dword [esp + 0x2c]
push dword [esp + 0x24]
push 2
push dword [ebp + 8]
push 0x7f
call fcn.005eac00
add esp, 0x1c
cmp esi, 1
je 0x5ecb95
cmp esi, 2
mov esi, dword [esp + 0x10]
jne 0x5ecac6
mov ecx, dword [esi + 0xc]
not edi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x5ecaaf
push edi
mov edx, esi
call fcn.005a7b60
mov ecx, dword [esp + 0x50]
add esp, 4
call fcn.005fb180
jmp 0x5ecb99
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edi*4], eax
mov ecx, dword [esp + 0x4c]
call fcn.005fb180
jmp 0x5ecb99
cmp dword [esp + 0x40], 0
je 0x5ecb56
mov ecx, dword [esi + 0xc]
not edi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x5ecaeb
push edi
mov edx, esi
call fcn.005a7b60
add esp, 4
jmp 0x5ecaf4
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edi*4], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x5ecb1e
mov edx, dword [esp + 0xb4]
mov ecx, esi
push 0
push edx
push dword [esp + 0x64]
mov edx, 5
call fcn.005a7410
add esp, 0xc
jmp 0x5ecb99
mov edx, dword [esp + 0x5c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xb4]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x5ecb99
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x5ecb74
push 0
push edi
push 0
mov edx, 0xb
mov ecx, esi
call fcn.005a7410
add esp, 0xc
jmp 0x5ecb99
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
jmp 0x5ecb44
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x30]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x5ecbb7
push edx
mov edx, esi
call fcn.005a7b60
add esp, 4
jmp 0x5ecbc0
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x12], 0
jne 0x5ecbe3
cmp dword [eax + 0x78], 0
jne 0x5ecbe3
cmp dword [ebp + 0x1c], 0
jne 0x5ecbe3
cmp dword [eax + 0x70], 0
je 0x5ecbe3
mov ecx, eax
call fcn.005d5f40
mov edx, dword [esp + 0xb8]
test edx, edx
je 0x5ecc69
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x5ecc10
push 0
push 1
push edx
mov edx, 0x50
mov ecx, esi
call fcn.005a7410
add esp, 0xc
jmp 0x5ecc3f
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, 1
mov ecx, esi
call fcn.005a94a0
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x5ecc69
mov ecx, dword [esi + 0x74]
mov edx, 0x7e67a8
push 0
push 1
push 0xffffffffffffffff
call fcn.005a6810
add esp, 0xc
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x5ecc81
mov ecx, dword [esp + 0xa8]
mov dword [eax + 0xf0], ecx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x64]
call fcn.00588a20
mov esi, dword [ebp + 0xc]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x64]
call fcn.005cd3e0
mov eax, dword [ebp + 8]
test eax, eax
je 0x5eccb0
mov ecx, dword [esp + 0x64]
mov edx, eax
call fcn.005bd3f0
test esi, esi
je 0x5eccbf
mov ecx, dword [esp + 0x64]
mov edx, esi
call fcn.005bc390
pop edi
pop esi
mov esp, ebp
pop ebp
ret