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

Disassembly:
sub esp, 0x140
push ebx
push ebp
mov eax, 0x10000
push esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], eax
push edi
lea eax, [esp + 0x130]
xor edi, edi
push eax
mov dword [esp + 0x98], edi
call fcn.004e3240
mov ebp, dword [esp + 0x174]
add esp, 4
cmp ebp, edi
je 0x5ecba1
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
xor edx, edx
cmp eax, 0x561d50
sete dl
mov dword [esp + 0x7c], ecx
mov edi, edx
mov ebx, dword [esp + 0x154]
mov eax, dword [ebx]
mov ecx, dword [eax]
mov esi, dword [ebx + 0x28]
mov dword [esp + 0x108], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x10c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x110], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x114], edx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x118], ecx
mov edx, dword [eax + 0x14]
lea eax, [esp + 0x108]
push eax
mov dword [esp + 0x120], edx
call fcn.0059c7f0
add esp, 4
test eax, eax
je 0x5ecc07
mov eax, dword [esp + 0x174]
test eax, eax
jne 0x5ecc0b
test edi, edi
je 0x5ecc51
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x164]
push ebp
push ecx
mov ecx, dword [esp + 0x168]
push edx
mov edx, dword [esp + 0x168]
push eax
mov eax, dword [esp + 0x168]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.005ec000
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
fild dword [esp + 0x158]
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
mov eax, dword [esi]
mov edi, dword [ebx + 4]
fstp dword [esp + 0x50]
fild dword [esp + 0x15c]
mov ebp, dword [ebx + 8]
mov esi, dword [esi + 0x20]
mov dword [esp + 0x100], ecx
mov ecx, dword [eax]
fstp dword [esp + 0x54]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x104], edx
lea edx, [esp + 0x108]
push edx
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x54]
push eax
push ecx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], ebp
mov dword [esp + 0xb0], esi
call fcn.00510b10
fld dword [esp + 0x124]
mov dword [esp + 0x5c], eax
fadd dword [esp + 0x5c]
mov dword [esp + 0x60], edx
movsx edx, word [esp + 0x6e]
fstp dword [esp + 0x124]
movsx eax, di
fld dword [esp + 0x128]
fadd dword [esp + 0x60]
mov dword [esp + 0xe4], eax
movsx ecx, bp
fstp dword [esp + 0x128]
fild dword [esp + 0xe4]
mov ebp, dword [esp + 0x110]
mov dword [esp + 0x8c], edx
movsx edx, word [esp + 0x72]
fstp dword [esp + 0x7c]
mov dword [esp + 0xdc], ecx
sub ecx, ebp
imul ecx, esi
fild dword [esp + 0xdc]
fstp dword [esp + 0x94]
fild dword [esp + 0x8c]
fstp dword [esp + 0x84]
mov esi, dword [esp + 0xc0]
mov dword [esp + 0x8c], edx
sub eax, dword [esp + 0x10c]
fild dword [esp + 0x8c]
mov edx, eax
and eax, 7
sar edx, 3
mov dword [esp + 0x90], eax
fstp dword [esp + 0x80]
mov eax, dword [esp + 0x114]
add edx, esi
add edx, ecx
mov ecx, dword [esp + 0x118]
mov dword [esp + 0x6c], eax
mov al, byte [ebx + 0x1c]
add esp, 0xc
test al, al
mov dword [esp + 0xb4], edx
mov dword [esp + 0x64], ecx
jne 0x5ecda0
push 0
call fcn.0044b1f0
add esp, 4
mov al, byte [ebx + 0x1d]
fld dword [esp + 0x60]
fcomp dword [0x66cb3c]
xor edx, edx
test al, al
sete dl
mov dword [esp + 0x80], 1
fnstsw ax
test ah, 5
mov dword [esp + 0x124], edx
jnp 0x5ecdd8
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x164]
test eax, eax
mov esi, dword [esp + 0x160]
je 0x5ece2f
movsx ebp, word [eax + 4]
movsx ecx, word [eax + 6]
mov eax, dword [eax + 0xc]
mov di, word [esp + 0xf4]
mov si, word [esp + 0xe8]
mov dword [esp + 0x94], eax
movsx eax, word [eax + 2]
dec ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xd4], eax
mov dword [esp + 0xcc], ebp
jmp 0x5eced8
test esi, esi
je 0x5ecf9b
mov ecx, 7
lea edi, [esp + 0xe4]
rep movsd dword es:[edi], dword [esi]
movsx ecx, word [esp + 0xe6]
mov si, word [esp + 0xe8]
mov di, word [esp + 0xf4]
movsx ebp, word [esp + 0xe4]
xor eax, eax
dec ecx
cmp si, word [esp + 0xea]
mov dword [esp + 0x40], ebp
setne al
xor edx, edx
cmp di, word [esp + 0xf6]
mov dword [esp + 0xc0], ecx
setne dl
mov dword [esp + 0x120], eax
movsx eax, si
mov dword [esp + 0x100], edx
movsx edx, di
mov dword [esp + 0xc8], eax
mov dword [esp + 0xbc], edx
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xc8]
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0xd4], eax
lea eax, [ecx + ebp]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0xcc], eax
fild dword [esp + 0xd4]
lea ecx, [esp + 0xdc]
push ecx
lea edx, [esp + 0x10c]
fstp dword [esp + 0x6c]
push edx
fld dword [esp + 0x70]
fadd qword [0x677020]
fstp dword [esp + 0xe4]
mov ecx, dword [esp + 0xe4]
fild dword [esp + 0xd4]
fstp dword [esp + 0x70]
fld dword [esp + 0x70]
fadd qword [0x677020]
fstp dword [esp + 0xe8]
mov eax, dword [esp + 0xe8]
push eax
push ecx
call fcn.00510a40
mov ebx, dword [ebx]
mov eax, dword [esp + 0xf0]
mov edx, dword [esp + 0xec]
mov ecx, dword [ebx]
mov dword [esp + 0x13c], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x174]
mov dword [esp + 0x138], edx
mov edx, dword [ebx + 4]
mov dword [esp + 0xb8], ecx
mov ecx, dword [ebx + 0xc]
add esp, 0x10
test eax, eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0xc4], ecx
je 0x5ecfc5
mov edx, dword [eax]
mov ebx, dword [esp + 0x168]
mov dword [ebx], edx
mov eax, dword [eax + 4]
mov dword [ebx + 4], eax
jmp 0x5ed027
push 0
call fcn.0044b1f0
mov ebp, dword [esp + 0x44]
mov ecx, dword [esp + 0xc4]
mov di, word [esp + 0xf8]
mov si, word [esp + 0xec]
add esp, 4
jmp 0x5ecead
movsx edx, word [esp + 0xe6]
mov ecx, dword [esp + 0xe4]
movsx eax, cx
dec edx
cmp edx, eax
jne 0x5ecfec
mov ebx, dword [esp + 0x168]
mov word [ebx], si
mov word [ebx + 2], di
jmp 0x5ed024
mov ax, word [esp + 0xea]
cmp si, ax
jge 0x5ecffe
movsx eax, si
jmp 0x5ed001
movsx eax, ax
mov ebx, dword [esp + 0x168]
mov word [ebx], ax
mov ax, word [esp + 0xf6]
cmp di, ax
jle 0x5ed01d
movsx eax, di
jmp 0x5ed020
movsx eax, ax
mov word [ebx + 2], ax
mov dword [ebx + 4], ecx
mov eax, dword [ebx + 0x10]
mov esi, dword [esp + 0x16c]
xor edi, edi
cmp eax, edi
jne 0x5ed03f
cmp esi, 0x7fff
jle 0x5ed048
push edi
call fcn.0044b1f0
add esp, 4
mov ebx, dword [ebx + 0xc]
lea ecx, [ebx + esi*2 - 6]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x3c], ebp
mov eax, dword [0x6bf3ec]
test eax, eax
je 0x5ed06e
call eax
mov ecx, dword [esp + 0x24]
lea eax, [ecx + 2]
mov word [eax], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x164]
test eax, eax
mov word [ecx], 0
mov dword [esp + 0x38], 0
je 0x5ed0b0
mov eax, dword [esp + 0x94]
movsx edx, word [eax]
add eax, 2
mov dword [esp + 0x68], edx
mov dword [esp + 0x94], eax
jmp 0x5ed0b8
mov dword [esp + 0x68], 1
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x168]
jmp 0x5ed0d0
dec dword [esp + 0x68]
js 0x5ede8b
mov eax, dword [esp + 0x164]
test eax, eax
je 0x5ed108
mov edx, dword [esp + 0x94]
movsx ebx, word [edx]
movsx edi, word [edx + 2]
add edx, 2
xor eax, eax
add ebx, eax
add edi, eax
add edx, 2
mov dword [esp + 0x94], edx
jmp 0x5ed116
mov ebx, dword [esp + 0xc8]
mov edi, dword [esp + 0xbc]
mov edx, dword [esp + 0xa8]
test edx, 0x7fffffff
jne 0x5ed144
test dword [esp + 0x6c], 0x7fffffff
jne 0x5ed144
xor eax, eax
mov dword [esp + 0x98], eax
mov dword [esp + 0xb0], eax
jmp 0x5ed1c6
mov eax, ebx
sub eax, dword [esp + 0xd4]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x5ed1a9
test eax, eax
je 0x5ed197
cmp eax, 1
je 0x5ed183
fild dword [esp + 0x1c]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fmul dword [esp + 0xa8]
fstp dword [esp + 0xb0]
fld dword [esp + 0x18]
fmul dword [esp + 0x6c]
jmp 0x5ed1bf
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xb0], edx
mov dword [esp + 0x98], eax
jmp 0x5ed1c6
xor edx, edx
mov dword [esp + 0x98], edx
mov dword [esp + 0xb0], edx
jmp 0x5ed1c8
fld dword [esp + 0xa8]
fchs
fstp dword [esp + 0xb0]
fld dword [esp + 0x6c]
fchs
fstp dword [esp + 0x98]
xor edx, edx
test dword [esp + 0xb8], 0x7fffffff
jne 0x5ed1f5
test dword [esp + 0xc4], 0x7fffffff
jne 0x5ed1f5
mov dword [esp + 0x8c], edx
mov dword [esp + 0xa0], edx
jmp 0x5ed275
mov eax, ebp
sub eax, dword [esp + 0xcc]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x5ed255
cmp eax, edx
je 0x5ed1e2
cmp eax, 1
je 0x5ed237
fild dword [esp + 0x1c]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fmul dword [esp + 0xb8]
fstp dword [esp + 0xa0]
fld dword [esp + 0x18]
fmul dword [esp + 0xc4]
jmp 0x5ed26e
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xa0], edx
mov dword [esp + 0x8c], eax
jmp 0x5ed275
fld dword [esp + 0xb8]
fchs
fstp dword [esp + 0xa0]
fld dword [esp + 0xc4]
fchs
fstp dword [esp + 0x8c]
cmp ebx, edi
fld dword [esp + 0xa0]
fadd dword [esp + 0xb0]
fstp dword [esp + 0x50]
fld dword [esp + 0x8c]
fadd dword [esp + 0x98]
fstp dword [esp + 0x54]
fld dword [esp + 0x50]
fadd dword [esp + 0x128]
fstp dword [esp + 0x2c]
fld dword [esp + 0x54]
fadd dword [esp + 0x12c]
fstp dword [esp + 0x20]
je 0x5ed412
fld dword [esp + 0x2c]
fcomp dword [esp + 0x70]
fnstsw ax
test ah, 1
jne 0x5ed302
fld dword [esp + 0x2c]
fcomp dword [esp + 0x78]
fnstsw ax
test ah, 5
jp 0x5ed302
fld dword [esp + 0x20]
fcomp dword [esp + 0x88]
fnstsw ax
test ah, 1
jne 0x5ed302
fld dword [esp + 0x20]
fcomp dword [esp + 0x74]
fnstsw ax
test ah, 5
jnp 0x5ed412
fld dword [esp + 0x2c]
lea edx, [ebx + 1]
cmp edx, edi
fadd dword [esp + 0x60]
fstp dword [esp + 0x34]
fld dword [esp + 0x20]
fadd dword [esp + 0x64]
fstp dword [esp + 0x30]
je 0x5ed406
fld dword [esp + 0x34]
fcomp dword [esp + 0x70]
fnstsw ax
test ah, 1
jne 0x5ed368
fld dword [esp + 0x34]
fcomp dword [esp + 0x78]
fnstsw ax
test ah, 5
jp 0x5ed368
fld dword [esp + 0x30]
fcomp dword [esp + 0x88]
fnstsw ax
test ah, 1
jne 0x5ed368
fld dword [esp + 0x30]
fcomp dword [esp + 0x74]
fnstsw ax
test ah, 5
jnp 0x5ed406
mov edx, 1
lea ecx, [ecx]
inc edx
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
lea eax, [edx + ebx]
cmp eax, edi
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fmul dword [esp + 0xa8]
fstp dword [esp + 0x50]
fld dword [esp + 0x18]
fmul dword [esp + 0x6c]
fstp dword [esp + 0x54]
fld dword [esp + 0x2c]
fadd dword [esp + 0x50]
fstp dword [esp + 0x34]
fld dword [esp + 0x20]
fadd dword [esp + 0x54]
fstp dword [esp + 0x30]
je 0x5ed3fa
fld dword [esp + 0x34]
fcomp dword [esp + 0x70]
fnstsw ax
test ah, 1
jne 0x5ed370
fld dword [esp + 0x34]
fcomp dword [esp + 0x78]
fnstsw ax
test ah, 5
jp 0x5ed370
fld dword [esp + 0x30]
fcomp dword [esp + 0x88]
fnstsw ax
test ah, 1
jne 0x5ed370
fld dword [esp + 0x30]
fcomp dword [esp + 0x74]
fnstsw ax
test ah, 5
jp 0x5ed370
mov eax, dword [esp + 0x30]
add ebx, edx
mov edx, dword [esp + 0x34]
jmp 0x5ed41a
mov eax, dword [esp + 0x30]
mov ebx, edx
mov edx, dword [esp + 0x34]
jmp 0x5ed41a
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0xac], edx
mov edx, edi
sub edx, ebx
dec edx
cmp ebx, edi
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
mov dword [esp + 0x9c], eax
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fmul dword [esp + 0x60]
fadd dword [esp + 0xac]
fstp dword [esp + 0x2c]
fld dword [esp + 0x18]
fmul dword [esp + 0x64]
fadd dword [esp + 0x9c]
fstp dword [esp + 0x20]
je 0x5ed0d0
fld dword [esp + 0x2c]
fcomp dword [esp + 0x70]
fnstsw ax
test ah, 1
jne 0x5ed4aa
fld dword [esp + 0x2c]
fcomp dword [esp + 0x78]
fnstsw ax
test ah, 5
jp 0x5ed4aa
fld dword [esp + 0x20]
fcomp dword [esp + 0x88]
fnstsw ax
test ah, 1
jne 0x5ed4aa
fld dword [esp + 0x20]
fcomp dword [esp + 0x74]
fnstsw ax
test ah, 5
jnp 0x5ed5b3
fld dword [esp + 0x2c]
lea edx, [edi - 1]
cmp ebx, edx
fsub dword [esp + 0x60]
fstp dword [esp + 0x34]
fld dword [esp + 0x20]
fsub dword [esp + 0x64]
fstp dword [esp + 0x30]
je 0x5ed5b1
fld dword [esp + 0x34]
fcomp dword [esp + 0x70]
fnstsw ax
test ah, 1
jne 0x5ed510
fld dword [esp + 0x34]
fcomp dword [esp + 0x78]
fnstsw ax
test ah, 5
jp 0x5ed510
fld dword [esp + 0x30]
fcomp dword [esp + 0x88]
fnstsw ax
test ah, 1
jne 0x5ed510
fld dword [esp + 0x30]
fcomp dword [esp + 0x74]
fnstsw ax
test ah, 5
jnp 0x5ed5b1
mov dword [esp + 0x1c], 1
jmp 0x5ed520
inc dword [esp + 0x1c]
fild dword [esp + 0x1c]
dec edx
cmp ebx, edx
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fmul dword [esp + 0xa8]
fchs
fstp dword [esp + 0x50]
fld dword [esp + 0x18]
fmul dword [esp + 0x6c]
fchs
fstp dword [esp + 0x54]
fld dword [esp + 0x2c]
fadd dword [esp + 0x50]
fstp dword [esp + 0x34]
fld dword [esp + 0x20]
fadd dword [esp + 0x54]
fstp dword [esp + 0x30]
je 0x5ed5ab
fld dword [esp + 0x34]
fcomp dword [esp + 0x70]
fnstsw ax
test ah, 1
jne 0x5ed520
fld dword [esp + 0x34]
fcomp dword [esp + 0x78]
fnstsw ax
test ah, 5
jp 0x5ed520
fld dword [esp + 0x30]
fcomp dword [esp + 0x88]
fnstsw ax
test ah, 1
jne 0x5ed520
fld dword [esp + 0x30]
fcomp dword [esp + 0x74]
fnstsw ax
test ah, 5
jp 0x5ed520
sub edi, dword [esp + 0x1c]
jmp 0x5ed5b3
mov edi, edx
cmp ebx, edi
je 0x5ed0d0
mov ebp, dword [esp + 0xb4]
fld dword [esp + 0x9c]
mov dword [esp + 0x20], ebx
mov esi, ebp
call fcn.00667ad0
mov ecx, dword [esp + 0xd0]
cmp eax, ecx
je 0x5ed615
mov esi, eax
sub esi, ecx
cmp esi, 0xffffffff
je 0x5ed605
cmp esi, 1
je 0x5ed5f9
imul esi, dword [esp + 0xa4]
add esi, ebp
jmp 0x5ed60e
mov ecx, dword [esp + 0xa4]
lea esi, [ecx + ebp]
jmp 0x5ed60e
sub ebp, dword [esp + 0xa4]
mov esi, ebp
mov dword [esp + 0xd0], eax
fld dword [esp + 0xac]
call fcn.00667ad0
mov edx, dword [esp + 0xd8]
cmp eax, edx
je 0x5ed6ae
mov ecx, eax
sub ecx, edx
cmp ecx, 0xffffffff
je 0x5ed690
cmp ecx, 1
je 0x5ed67e
test ecx, ecx
jle 0x5ed660
mov ebp, dword [esp + 0x84]
mov edx, ecx
and ecx, 7
sar edx, 3
add ecx, ebp
add esi, edx
cmp ecx, 7
jle 0x5ed6a0
sub ecx, 8
inc esi
jmp 0x5ed6a0
neg ecx
mov edx, ecx
sar edx, 3
sub esi, edx
mov edx, dword [esp + 0x84]
and ecx, 7
sub edx, ecx
mov ecx, edx
jns 0x5ed6a0
add ecx, 8
jmp 0x5ed69f
mov ecx, dword [esp + 0x84]
inc ecx
cmp ecx, 7
jle 0x5ed6a0
xor ecx, ecx
inc esi
jmp 0x5ed6a0
mov ecx, dword [esp + 0x84]
dec ecx
jns 0x5ed6a0
mov ecx, 7
dec esi
mov dword [esp + 0xd8], eax
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x124]
mov ecx, dword [esp + 0x84]
test edx, edx
sete al
dec al
push 0
sub edi, ebx
lea edx, [esp + 0x134]
mov dword [esp + 0xb8], esi
and eax, 0xff
mov byte [esp + 0x2f], al
mov eax, 0x80
sar eax, cl
mov ecx, dword [esp + 0x64]
dec edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], eax
lea eax, [esp + 0x4c]
push eax
push ecx
push edx
call fcn.004e3250
fld dword [esp + 0x74]
fcomp dword [0x66cb3c]
mov ebp, eax
add esp, 0x10
push 1
mov dword [esp + 0x38], ebp
fnstsw ax
test ah, 0x41
lea eax, [esp + 0x5c]
push eax
jne 0x5ed760
mov ecx, dword [esp + 0x6c]
push ecx
lea edx, [esp + 0x13c]
push edx
call fcn.004e3250
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xb4]
push ecx
push edx
mov dword [esp + 0xa8], eax
call fcn.004e33b0
mov edi, dword [esp + 0x70]
add esp, 0x18
sub edi, eax
jmp 0x5ed7a3
fld dword [esp + 0x6c]
push ecx
fchs
lea ecx, [esp + 0x13c]
fstp dword [esp]
push ecx
call fcn.004e3250
mov edx, dword [esp + 0x68]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xb4]
neg eax
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xac]
push edx
push eax
call fcn.004e33b0
mov edi, eax
add esp, 0x18
inc edi
test ebp, ebp
jle 0x5ed7c4
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0xac]
push ecx
push edx
call fcn.004e33b0
mov ebp, dword [esp + 0x50]
add esp, 8
sub ebp, eax
jmp 0x5ed7dc
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0xac]
push eax
push ecx
call fcn.004e33b0
mov ebp, eax
add esp, 8
inc ebp
mov al, byte [esp + 0x2b]
mov dl, byte [esi]
xor dl, al
mov eax, dword [esp + 0x80]
sub eax, 0
mov byte [esp + 0x13], dl
mov dword [esp + 0x18], esi
je 0x5edb80
dec eax
jne 0x5ed0b8
mov eax, dword [esp + 0x2c]
test al, dl
je 0x5ed854
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x4c]
jb 0x5ed820
mov edx, dword [esp + 0x170]
test edx, edx
je 0x5ed833
mov word [ecx], bx
add ecx, 2
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x20]
jmp 0x5ed953
mov edx, dword [esp + 0x44]
test edx, edx
jg 0x5ee044
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], 1
jmp 0x5ed953
mov dl, byte [esp + 0x13]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
inc ecx
sub edi, ebx
test edi, edi
mov dword [esp + 0x20], ecx
jle 0x5ed890
add ebp, dword [esp + 0x34]
test ebp, ebp
jle 0x5ed8d1
dec dword [esp + 0x1c]
js 0x5ed0b8
mov ebx, dword [esp + 0x30]
inc ecx
sub edi, ebx
test edi, edi
mov dword [esp + 0x20], ecx
jg 0x5ed867
jmp 0x5ed890
add esi, dword [esp + 0x90]
add edi, dword [esp + 0x58]
test edi, edi
jle 0x5ed890
add ebp, dword [esp + 0x34]
test ebp, ebp
jg 0x5ed8cb
mov ebx, dword [esp + 0x48]
jmp 0x5ed8b0
cmp eax, 0x80
jne 0x5ed8bf
mov eax, 1
dec esi
jmp 0x5ed8c1
shl eax, 1
add ebp, ebx
test ebp, ebp
jle 0x5ed8b0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], esi
jmp 0x5ed8f2
cmp eax, 0x80
jne 0x5ed8e4
dec esi
mov eax, 1
mov dword [esp + 0x18], esi
jmp 0x5ed8e6
shl eax, 1
add ebp, dword [esp + 0x48]
test ebp, ebp
jle 0x5ed8d1
mov dword [esp + 0x2c], eax
dec dword [esp + 0x1c]
js 0x5ed0b8
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x5ed916
mov dl, byte [esi]
xor dl, byte [esp + 0x2b]
mov byte [esp + 0x13], dl
mov dword [esp + 0x18], 0
test al, dl
je 0x5ed854
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x4c]
jb 0x5ed949
mov ebx, dword [esp + 0x170]
test ebx, ebx
jne 0x5ed949
mov edx, dword [esp + 0x44]
test edx, edx
jg 0x5ee044
mov dword [esp + 0x5c], 1
jmp 0x5ed953
mov word [edx], cx
add edx, 2
mov dword [esp + 0x14], edx
mov bl, byte [esp + 0x13]
mov edx, dword [esp + 0x30]
inc ecx
sub edi, edx
test edi, edi
mov dword [esp + 0x20], ecx
jle 0x5ed990
add ebp, dword [esp + 0x34]
test ebp, ebp
jle 0x5ed9d1
dec dword [esp + 0x1c]
js 0x5edae5
mov edx, dword [esp + 0x30]
inc ecx
sub edi, edx
test edi, edi
mov dword [esp + 0x20], ecx
jg 0x5ed966
jmp 0x5ed990
add esi, dword [esp + 0x90]
add edi, dword [esp + 0x58]
test edi, edi
jle 0x5ed990
add ebp, dword [esp + 0x34]
test ebp, ebp
jg 0x5ed9cb
mov edx, dword [esp + 0x48]
jmp 0x5ed9b0
cmp eax, 0x80
jne 0x5ed9bf
mov eax, 1
dec esi
jmp 0x5ed9c1
shl eax, 1
add ebp, edx
test ebp, ebp
jle 0x5ed9b0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], esi
jmp 0x5ed9f2
cmp eax, 0x80
jne 0x5ed9e4
dec esi
mov eax, 1
mov dword [esp + 0x18], esi
jmp 0x5ed9e6
shl eax, 1
add ebp, dword [esp + 0x48]
test ebp, ebp
jle 0x5ed9d1
mov dword [esp + 0x2c], eax
dec dword [esp + 0x1c]
js 0x5edae5
mov edx, dword [esp + 0x18]
test edx, edx
je 0x5eda16
mov bl, byte [esi]
xor bl, byte [esp + 0x2b]
mov byte [esp + 0x13], bl
mov dword [esp + 0x18], 0
test al, bl
jne 0x5ed957
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x4c]
inc edx
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x14]
cmp edx, ebx
jb 0x5edad2
mov edx, dword [esp + 0x170]
test edx, edx
je 0x5edab9
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x168]
mov edx, dword [esp + 0x24]
mov word [eax], cx
mov cx, word [esp + 0x38]
mov word [edx], cx
mov edx, dword [ebx + 0xc]
add eax, 2
sub eax, edx
mov edx, dword [esp + 0x170]
sar eax, 1
mov word [ebx + 8], ax
mov ax, word [esp + 0x3c]
mov word [ebx + 4], ax
mov eax, dword [esp + 0x40]
push edx
lea ecx, [eax + 1]
push ebx
mov word [ebx + 6], cx
mov dword [esp + 0x44], eax
call dword [esp + 0x84]
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
mov dword [esp + 0x2c], eax
add esp, 8
add eax, 2
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov word [ebx + 8], cx
jmp 0x5ed850
mov edx, dword [esp + 0x44]
test edx, edx
jg 0x5ee044
mov dword [esp + 0x5c], 1
jmp 0x5ed850
mov edx, dword [esp + 0x14]
mov word [edx], cx
add edx, 2
mov dword [esp + 0x14], edx
jmp 0x5ed850
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
inc esi
cmp eax, edx
mov dword [esp + 0x38], esi
jb 0x5ede7c
mov eax, dword [esp + 0x170]
test eax, eax
je 0x5ede63
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x168]
mov edx, dword [esp + 0x24]
mov word [eax], cx
mov cx, word [esp + 0x38]
mov word [edx], cx
mov ebp, dword [esi + 0xc]
mov edx, dword [esp + 0x170]
add eax, 2
sub eax, ebp
mov ebp, dword [esp + 0x40]
sar eax, 1
mov word [esi + 8], ax
mov ax, word [esp + 0x3c]
push edx
lea ecx, [ebp + 1]
push esi
mov word [esi + 4], ax
mov word [esi + 6], cx
mov dword [esp + 0x44], ebp
call dword [esp + 0x84]
mov ecx, dword [esi + 0xc]
add esp, 8
xor eax, eax
lea edx, [ecx + 2]
mov word [ecx], ax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x38], eax
mov word [esi + 8], ax
jmp 0x5ed0d0
mov eax, dword [esp + 0x2c]
test al, dl
je 0x5edbd1
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x4c]
jb 0x5edb9d
mov edx, dword [esp + 0x170]
test edx, edx
je 0x5edbb0
mov word [ecx], bx
add ecx, 2
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x20]
jmp 0x5edcc1
mov edx, dword [esp + 0x44]
test edx, edx
jg 0x5ee044
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], 1
jmp 0x5edcc1
mov dl, byte [esp + 0x13]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
inc ecx
sub edi, ebx
test edi, edi
mov dword [esp + 0x20], ecx
jle 0x5edc05
sub ebp, dword [esp + 0x34]
test ebp, ebp
jle 0x5edc44
dec dword [esp + 0x1c]
js 0x5ed0b8
mov ebx, dword [esp + 0x30]
inc ecx
sub edi, ebx
test edi, edi
mov dword [esp + 0x20], ecx
jg 0x5edbe4
mov dword [esp + 0x18], esi
lea esp, [esp]
add esi, dword [esp + 0x90]
add edi, dword [esp + 0x58]
test edi, edi
jle 0x5edc10
sub ebp, dword [esp + 0x34]
test ebp, ebp
jg 0x5edc60
mov ebx, dword [esp + 0x48]
jmp 0x5edc30
sar eax, 1
test eax, eax
jne 0x5edc3c
mov eax, 0x80
inc esi
add ebp, ebx
test ebp, ebp
jle 0x5edc30
jmp 0x5edc5c
sar eax, 1
test eax, eax
jne 0x5edc54
inc esi
mov eax, 0x80
mov dword [esp + 0x18], esi
add ebp, dword [esp + 0x48]
test ebp, ebp
jle 0x5edc44
mov dword [esp + 0x2c], eax
dec dword [esp + 0x1c]
js 0x5ed0b8
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x5edc84
mov dl, byte [esi]
xor dl, byte [esp + 0x2b]
mov byte [esp + 0x13], dl
mov dword [esp + 0x18], 0
test al, dl
mov ebx, dword [esp + 0x14]
je 0x5edbd1
cmp ebx, dword [esp + 0x4c]
jb 0x5edcb7
mov edx, dword [esp + 0x170]
test edx, edx
jne 0x5edcb7
mov edx, dword [esp + 0x44]
test edx, edx
jg 0x5ee044
mov dword [esp + 0x5c], 1
jmp 0x5edcc1
mov word [ebx], cx
add ebx, 2
mov dword [esp + 0x14], ebx
mov bl, byte [esp + 0x13]
mov edx, dword [esp + 0x30]
inc ecx
sub edi, edx
test edi, edi
mov dword [esp + 0x20], ecx
jle 0x5edcf5
sub ebp, dword [esp + 0x34]
test ebp, ebp
jle 0x5edd34
dec dword [esp + 0x1c]
js 0x5ede3f
mov edx, dword [esp + 0x30]
inc ecx
sub edi, edx
test edi, edi
mov dword [esp + 0x20], ecx
jg 0x5edcd4
mov dword [esp + 0x18], esi
lea esp, [esp]
add esi, dword [esp + 0x90]
add edi, dword [esp + 0x58]
test edi, edi
jle 0x5edd00
sub ebp, dword [esp + 0x34]
test ebp, ebp
jg 0x5edd50
mov edx, dword [esp + 0x48]
jmp 0x5edd20
sar eax, 1
test eax, eax
jne 0x5edd2c
mov eax, 0x80
inc esi
add ebp, edx
test ebp, ebp
jle 0x5edd20
jmp 0x5edd4c
sar eax, 1
test eax, eax
jne 0x5edd44
inc esi
mov eax, 0x80
mov dword [esp + 0x18], esi
add ebp, dword [esp + 0x48]
test ebp, ebp
jle 0x5edd34
mov dword [esp + 0x2c], eax
dec dword [esp + 0x1c]
js 0x5ede3f
mov edx, dword [esp + 0x18]
test edx, edx
je 0x5edd74
mov bl, byte [esi]
xor bl, byte [esp + 0x2b]
mov byte [esp + 0x13], bl
mov dword [esp + 0x18], 0
test al, bl
jne 0x5edcc5
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x4c]
inc edx
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x14]
cmp edx, ebx
jb 0x5ede30
mov edx, dword [esp + 0x170]
test edx, edx
je 0x5ede17
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x168]
mov edx, dword [esp + 0x24]
mov word [eax], cx
mov cx, word [esp + 0x38]
mov word [edx], cx
mov edx, dword [ebx + 0xc]
add eax, 2
sub eax, edx
mov edx, dword [esp + 0x170]
sar eax, 1
mov word [ebx + 8], ax
mov ax, word [esp + 0x3c]
mov word [ebx + 4], ax
mov eax, dword [esp + 0x40]
push edx
lea ecx, [eax + 1]
push ebx
mov word [ebx + 6], cx
mov dword [esp + 0x44], eax
call dword [esp + 0x84]
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
mov dword [esp + 0x2c], eax
add esp, 8
add eax, 2
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov word [ebx + 8], cx
jmp 0x5edbcd
mov edx, dword [esp + 0x44]
test edx, edx
jg 0x5ee044
mov dword [esp + 0x5c], 1
jmp 0x5edbcd
mov word [edx], cx
add edx, 2
mov dword [esp + 0x14], edx
jmp 0x5edbcd
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
inc esi
cmp eax, edx
mov dword [esp + 0x38], esi
jb 0x5ede7c
mov eax, dword [esp + 0x170]
test eax, eax
jne 0x5edb0d
mov edx, dword [esp + 0x44]
test edx, edx
jg 0x5ee044
mov dword [esp + 0x5c], 1
jmp 0x5ed0b8
mov word [eax], cx
add eax, 2
mov dword [esp + 0x14], eax
jmp 0x5ed0b8
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x5ee067
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
inc edi
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0xc0]
inc ebp
cmp ebp, edi
mov word [ecx], bx
mov dword [esp + 0x40], ebp
jg 0x5edf46
cmp edx, eax
jae 0x5edf46
mov edi, dword [esp + 0x170]
test edi, edi
je 0x5edee1
cmp ecx, dword [esi + 0xc]
jne 0x5edee1
test ebx, ebx
jne 0x5edee1
inc dword [esp + 0x3c]
jmp 0x5edee7
mov ecx, edx
mov dword [esp + 0x24], ecx
test edi, edi
je 0x5edf96
test ebx, ebx
jne 0x5edf96
cmp ecx, eax
jb 0x5edf96
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x170]
mov word [ecx], bx
sub eax, dword [esi + 0xc]
sar eax, 1
mov word [esi + 8], ax
mov ax, word [esp + 0x3c]
push edx
lea ecx, [ebp + 1]
push esi
mov word [esi + 4], ax
mov word [esi + 6], cx
mov dword [esp + 0x44], ebp
call dword [esp + 0x84]
mov eax, dword [esi + 0xc]
mov word [eax], bx
add esp, 8
mov dword [esp + 0x24], eax
mov word [esi + 8], bx
jmp 0x5edf96
mov ebx, dword [esi + 0xc]
mov ecx, edx
sub ecx, ebx
sar ecx, 1
mov word [esi + 8], cx
mov ecx, dword [esp + 0x170]
test ecx, ecx
je 0x5edf7b
mov dx, word [esp + 0x3c]
mov eax, ecx
push eax
push esi
mov word [esi + 4], dx
mov word [esi + 6], bp
call dword [esp + 0x84]
add esp, 8
jmp 0x5edf83
cmp edx, eax
jae 0x5ee09c
cmp ebp, edi
jg 0x5ee09c
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x160]
test eax, eax
je 0x5ed063
mov edx, dword [esp + 0xc0]
cmp dword [esp + 0x40], edx
jne 0x5edfdb
movsx eax, word [esp + 0xea]
xor ecx, ecx
add eax, ecx
mov dword [esp + 0xc8], eax
movsx eax, word [esp + 0xf6]
add eax, ecx
mov dword [esp + 0xbc], eax
jmp 0x5ed063
mov eax, dword [esp + 0x120]
test eax, eax
je 0x5ee00b
mov ecx, dword [esp + 0xec]
mov eax, ecx
sar eax, 0x10
xor edx, edx
add eax, edx
mov dword [esp + 0xc8], eax
add ecx, dword [esp + 0xf0]
mov dword [esp + 0xec], ecx
mov eax, dword [esp + 0x100]
test eax, eax
je 0x5ed063
mov ecx, dword [esp + 0xf8]
mov eax, ecx
sar eax, 0x10
xor edx, edx
add eax, edx
mov dword [esp + 0xbc], eax
add ecx, dword [esp + 0xfc]
mov dword [esp + 0xf8], ecx
jmp 0x5ed063
mov ecx, dword [esp + 0x168]
mov edi, dword [ecx + 0xc]
mov eax, dword [esp + 0x24]
sub eax, edi
pop edi
pop esi
sar eax, 1
pop ebp
mov word [ecx + 8], ax
mov eax, edx
pop ebx
add esp, 0x140
ret
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x5ee088
mov eax, dword [esp + 0x38]
pop edi
pop esi
lea ecx, [eax + eax]
mov eax, 0xfffffffc
pop ebp
sub eax, ecx
pop ebx
add esp, 0x140
ret
sub ecx, dword [esi + 0xc]
pop edi
sar ecx, 1
mov word [esi + 8], cx
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov eax, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret