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

Disassembly:
mov ecx, dword [0x90eeac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x90]
cmp eax, dword [ecx + 8]
jbe 0x5f7bda
sub esp, 0x110
lea eax, [0x688780]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov ecx, dword [esp + 0x114]
mov edx, dword [ecx + 0x138]
test edx, edx
je 0x5f6de1
mov ebx, dword [ecx + 0x13c]
mov dword [esp + 0xf0], edx
mov dword [esp + 0xf4], ebx
mov edx, dword [esp + 0xf0]
test edx, edx
je 0x5f6dd9
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5f6dd0
or ebx, 0x80
mov ebp, dword [esp + 0xf4]
jmp 0x5f6de7
xor ebx, ebx
xor edx, edx
xor ebp, ebp
jmp 0x5f6de7
xor ebx, ebx
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc0], edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0xc4], ebp
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x22
call fcn.004cc160
mov eax, dword [esp + 0x18]
and eax, 0x1f
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x14]
nop
cmp eax, 9
ja 0x5f6e50
cmp eax, 7
jne 0x5f6e34
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x5f6e74
cmp eax, 8
jne 0x5f6e40
movzx eax, byte [ecx]
xor ecx, ecx
jmp 0x5f6e74
cmp eax, 9
jne 0x5f7b9c
movzx eax, word [ecx]
xor ecx, ecx
jmp 0x5f6e74
cmp eax, 0xa
jne 0x5f6e5b
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x5f6e74
cmp eax, 0xb
jne 0x5f6e67
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x5f6e74
cmp eax, 0xc
jne 0x5f7b9c
mov eax, dword [ecx]
xor ecx, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0xc0]
mov dword [esp], edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x23
call fcn.004cc160
mov eax, dword [esp + 0x18]
and eax, 0x1f
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x14]
nop
cmp eax, 9
ja 0x5f6ee5
cmp eax, 7
jne 0x5f6ec9
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x5f6f09
cmp eax, 8
jne 0x5f6ed5
movzx eax, byte [ecx]
xor ecx, ecx
jmp 0x5f6f09
cmp eax, 9
jne 0x5f7b5f
movzx eax, word [ecx]
xor ecx, ecx
jmp 0x5f6f09
cmp eax, 0xa
jne 0x5f6ef0
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x5f6f09
cmp eax, 0xb
jne 0x5f6efc
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x5f6f09
cmp eax, 0xc
jne 0x5f7b5f
mov eax, dword [ecx]
xor ecx, ecx
mov edx, dword [esp + 0x30]
test edx, edx
sete bl
mov ebp, dword [esp + 0x34]
test ebp, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5f6f37
test ecx, ecx
sete cl
test eax, eax
sete al
and ecx, eax
test cl, cl
je 0x5f6f49
mov dword [esp + 0x118], 0
add esp, 0x110
ret
mov eax, dword [esp + 0x114]
mov dword [esp], eax
lea ecx, [0x6b8cc0]
mov dword [esp + 4], ecx
mov dword [esp + 8], 6
call fcn.005ef930
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5f70ab
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x114]
mov dword [esp], ecx
mov edx, dword [esp + 0x30]
add eax, edx
mov dword [esp + 4], eax
call fcn.005ef660
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
lea ecx, [0x688660]
mov dword [esp], ecx
lea ecx, [esp + 0xb8]
mov dword [esp + 4], ecx
call fcn.004e1200
mov eax, dword [esp + 8]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x114]
mov dword [esp], ecx
lea edx, [0x6633e0]
mov dword [esp + 4], edx
lea edx, [esp + 0x40]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.005f0300
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5f7099
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x10c]
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x84]
mov ebp, dword [esp + 0x3c]
add edx, ebp
cmp ecx, 1
jne 0x5f703e
xor eax, eax
jmp 0x5f70df
cmp ecx, 2
jne 0x5f70bd
lea eax, [0x6765e0]
mov dword [esp + 0x104], eax
lea eax, [0x71cbe0]
mov dword [esp + 0x108], eax
mov eax, dword [0x8eefa4]
lea ecx, [0x71d684]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x104]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004d5280
mov ebx, dword [esp + 0x10c]
jmp 0x5f70bd
mov dword [esp + 0x118], 0
add esp, 0x110
ret
mov dword [esp + 0x118], 0
add esp, 0x110
ret
mov dword [esp + 0x118], ebx
add esp, 0x110
ret
mov eax, esi
lea esi, [esp + 0xc8]
call fcn.00471bde
mov ebx, eax
mov eax, edx
mov edx, ebp
cmp dword [esp + 0x44], eax
jbe 0x5f70bd
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.004716fb
mov ecx, dword [esp + 0x114]
movzx ebp, byte [ecx + 0x294]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5f71eb
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
lea eax, [0x688ea0]
mov dword [esp], eax
lea ecx, [esp + 0xb0]
mov dword [esp + 4], ecx
call fcn.004e1200
mov eax, dword [esp + 8]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x114]
mov dword [esp], ecx
lea edx, [0x664720]
mov dword [esp + 4], edx
lea ebx, [esp + 0x58]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.005f0300
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5f73d1
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00465fd0
mov eax, dword [esp + 8]
lea ecx, [0x688ea0]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x84]
jmp 0x5f72c4
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea eax, [0x688f00]
mov dword [esp], eax
lea ecx, [esp + 0x9c]
mov dword [esp + 4], ecx
call fcn.004e1200
mov eax, dword [esp + 8]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x114]
mov dword [esp], ecx
lea edx, [0x664760]
mov dword [esp + 4], edx
lea ebx, [esp + 0x4c]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call fcn.005f0300
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5f73e3
lea eax, [0x688f00]
mov dword [esp], eax
lea ecx, [esp + 0x4c]
mov dword [esp + 4], ecx
call fcn.00409ff0
mov eax, dword [esp + 8]
lea ecx, [0x688f00]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
lea ecx, [0x688ea0]
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x48], ebx
mov byte [esp + 0x21], dl
mov dword [esp + 0x70], eax
mov ebp, dword [esp + 0x3c]
add ebp, ebx
mov esi, edx
mov edx, dword [esp + 0x38]
add edx, ebx
mov dword [esp + 0x38], edx
xor edi, edi
jmp 0x5f7420
mov ebx, dword [esp + 0x10c]
mov eax, dword [ebx + 0x10]
mov esi, dword [ebx + 0xc]
inc esi
mov edi, dword [ebx + 8]
cmp eax, esi
jae 0x5f7362
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x688720]
mov dword [esp + 0x10], eax
call fcn.0046c350
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10c]
mov dword [ebx + 0x10], eax
mov eax, dword [0x90f128]
test eax, eax
je 0x5f734d
call fcn.00471470
mov dword [edi], ecx
mov ebp, dword [ebx + 8]
mov dword [edi + 4], ebp
mov dword [ebx + 8], ecx
mov ebp, dword [esp + 0x3c]
mov esi, edx
mov edi, ecx
lea ecx, [0x688ea0]
mov edx, dword [esp + 0x38]
mov dword [ebx + 0xc], esi
mov eax, dword [0x90f128]
lea esi, [esi + esi*4]
lea edi, [edi + esi*4 - 0x14]
mov esi, ebx
mov ebx, dword [esp + 0x70]
add edx, ebx
test eax, eax
je 0x5f70cb
mov dword [esp + 0x100], edi
mov dword [esp + 0x80], edx
lea eax, [0x688720]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xc8]
mov dword [esp + 8], eax
call fcn.0040eab0
lea ecx, [0x688ea0]
mov edx, dword [esp + 0x80]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x10c]
mov edi, dword [esp + 0x100]
jmp 0x5f70cb
mov dword [esp + 0x118], 0
add esp, 0x110
ret
mov dword [esp + 0x118], 0
add esp, 0x110
ret
lea esi, [esp + 0xdc]
call fcn.00471bde
mov eax, dword [esp + 0x70]
lea ecx, [0x688ea0]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x48]
movzx esi, byte [esp + 0x21]
mov edi, dword [esp + 0x64]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x3c], ebp
sub eax, ebx
cmp edi, eax
ja 0x5f72e9
mov dword [esp + 0x64], edi
lea edi, [esp + 0xdc]
xor eax, eax
call fcn.004716fb
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea ecx, [0x688480]
mov dword [esp], ecx
lea edx, [esp + 0x94]
mov dword [esp + 4], edx
call fcn.004e1200
mov ecx, dword [esp + 8]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x114]
mov dword [esp], edx
lea ebx, [0x663020]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x68]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.005f0300
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x5f75fc
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ebx
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x84]
add edx, ebx
movzx ebp, byte [esp + 0x21]
xchg ebp, eax
cmp al, 3
xchg ebp, eax
jne 0x5f7500
mov eax, dword [esp + 0x114]
xor ecx, ecx
jmp 0x5f79e2
xchg ebp, eax
cmp al, 4
xchg ebp, eax
jne 0x5f7515
mov eax, dword [esp + 0x114]
xor ecx, ecx
jmp 0x5f77b2
xchg ebp, eax
cmp al, 5
xchg ebp, eax
jne 0x5f752a
mov eax, dword [esp + 0x114]
xor ecx, ecx
jmp 0x5f7612
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0xd8]
mov eax, dword [esp + 0xd4]
inc eax
mov esi, ebp
mov ebp, dword [esp + 0x64]
add ecx, ebp
mov dword [esp + 0x64], ecx
mov ebp, dword [esp + 0xd0]
cmp ebx, eax
jae 0x5f75a3
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6886c0]
mov dword [esp + 0x10], eax
call fcn.0046c350
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xd0], ebp
mov edx, dword [esp + 0x3c]
movzx esi, byte [esp + 0x21]
mov eax, ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xd4], eax
mov ebx, dword [0x90f128]
lea eax, [eax + eax*4]
lea edi, [ebp + eax*4 - 0x14]
test ebx, ebx
je 0x5f73f5
mov dword [esp + 0xfc], edi
lea eax, [0x6886c0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xdc]
mov dword [esp + 8], eax
call fcn.0040eab0
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x3c]
movzx esi, byte [esp + 0x21]
mov edi, dword [esp + 0xfc]
jmp 0x5f73f5
mov dword [esp + 0x118], 0
add esp, 0x110
ret
add edx, 2
inc ecx
mov esi, dword [esp + 0x6c]
sub esi, ebx
shr esi, 1
cmp ecx, esi
jae 0x5f752a
mov esi, dword [eax + 0x2ac]
add esi, 0xfffffffe
cmp edx, esi
jbe 0x5f763b
mov esi, dword [0x8e2600]
mov edi, esi
xor esi, esi
jmp 0x5f7673
mov esi, dword [eax + 0x28c]
cmp edx, esi
ja 0x5f77a5
mov edi, dword [eax + 0x290]
sub esi, edx
sub edi, edx
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, edx
cmp esi, 1
jbe 0x5f7799
mov esi, dword [eax + 0x288]
movzx esi, word [edi + esi]
xor edi, edi
test edi, edi
jne 0x5f7787
mov dword [esp + 0x60], ecx
mov dword [esp + 0x7c], edx
mov edi, esi
and esi, 0xfff
mov word [esp + 0x28], si
and edi, 0xfffff000
shr di, 0xc
mov word [esp + 0x2a], di
test si, si
jne 0x5f76ad
test di, di
je 0x5f760e
mov word [esp + 0x28], si
mov word [esp + 0x2a], di
lea eax, [0x688fc0]
mov dword [esp], eax
lea ecx, [esp + 0x28]
mov dword [esp + 4], ecx
call fcn.00409ff0
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0xe8]
inc ecx
mov edx, dword [esp + 0xe4]
mov ebx, dword [esp + 8]
cmp eax, ecx
jae 0x5f7735
mov dword [esp + 0xf8], ebx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x677be0]
mov dword [esp + 0x10], eax
call fcn.0046c350
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xec], eax
mov dword [esp + 0xe4], edx
mov ebx, dword [esp + 0xf8]
mov dword [esp + 0xe8], ecx
lea ebp, [edx + ecx*8 - 8]
mov eax, ebx
lea ebx, [0x688fc0]
mov dword [ebp], ebx
mov ebp, dword [0x90f128]
lea edx, [edx + ecx*8 - 4]
test ebp, ebp
je 0x5f7765
call fcn.00471470
mov dword [edi], eax
mov ebp, dword [edx]
mov dword [edi + 4], ebp
mov dword [edx], eax
mov eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x84]
movzx ebp, byte [esp + 0x21]
jmp 0x5f760e
mov dword [esp + 0x118], 0
add esp, 0x110
ret
mov eax, 1
mov ecx, esi
call fcn.004714e0
mov eax, edx
mov ecx, esi
call fcn.00471550
inc ecx
add edx, 2
mov esi, dword [esp + 0x6c]
sub esi, ebx
shr esi, 1
cmp ecx, esi
jae 0x5f752a
mov dword [esp + 0x22], 0
mov word [esp + 0x26], 0
mov esi, dword [eax + 0x2ac]
add esi, 0xfffffffe
cmp edx, esi
jbe 0x5f77ea
mov esi, dword [0x8e2600]
mov edi, esi
xor esi, esi
jmp 0x5f7822
mov esi, dword [eax + 0x28c]
cmp edx, esi
ja 0x5f79ad
mov edi, dword [eax + 0x290]
sub esi, edx
sub edi, edx
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, edx
cmp esi, 1
jbe 0x5f79a1
mov esi, dword [eax + 0x288]
movzx esi, word [edi + esi]
xor edi, edi
test edi, edi
jne 0x5f798f
mov dword [esp + 0x60], ecx
mov dword [esp + 0x78], edx
mov edi, esi
and esi, 0xfff
mov word [esp + 0x22], si
mov esi, edi
and edi, 0x1000
shr di, 0xc
xchg edi, eax
mov byte [esp + 0x24], al
xchg edi, eax
mov edi, esi
and esi, 0x2000
shr si, 0xd
xchg esi, eax
mov byte [esp + 0x25], al
xchg esi, eax
mov esi, edi
and edi, 0x4000
shr di, 0xe
xchg edi, eax
mov byte [esp + 0x26], al
xchg edi, eax
and esi, 0xffff8000
shr si, 0xf
xchg esi, eax
mov byte [esp + 0x27], al
xchg esi, eax
movzx edi, word [esp + 0x22]
test di, di
jne 0x5f78bf
movzx edi, byte [esp + 0x24]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x5f78bf
movzx edi, byte [esp + 0x25]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x5f78bf
movzx edi, byte [esp + 0x26]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x5f78bf
xchg esi, eax
movzx eax, al
xchg esi, eax
xchg esi, eax
test al, al
xchg esi, eax
je 0x5f77ae
lea eax, [0x69b740]
mov dword [esp], eax
lea ecx, [esp + 0x22]
mov dword [esp + 4], ecx
call fcn.00409ff0
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0xe8]
inc ecx
mov edx, dword [esp + 0xe4]
mov ebx, dword [esp + 8]
cmp eax, ecx
jae 0x5f793d
mov dword [esp + 0xf8], ebx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x677be0]
mov dword [esp + 0x10], eax
call fcn.0046c350
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xec], eax
mov dword [esp + 0xe4], edx
mov ebx, dword [esp + 0xf8]
mov dword [esp + 0xe8], ecx
lea ebp, [edx + ecx*8 - 8]
mov eax, ebx
lea ebx, [0x69b740]
mov dword [ebp], ebx
mov ebp, dword [0x90f128]
lea edx, [edx + ecx*8 - 4]
test ebp, ebp
je 0x5f796d
call fcn.00471470
mov dword [edi], eax
mov ebp, dword [edx]
mov dword [edi + 4], ebp
mov dword [edx], eax
mov eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x84]
movzx ebp, byte [esp + 0x21]
jmp 0x5f77ae
mov dword [esp + 0x118], 0
add esp, 0x110
ret
mov eax, 1
mov ecx, esi
call fcn.004714e0
mov eax, edx
mov ecx, esi
call fcn.00471550
mov dword [edx], eax
mov eax, dword [esp + 0x74]
lea edx, [eax + 4]
mov eax, dword [esp + 0x60]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x84]
mov ebp, dword [esp + 0x114]
mov eax, ebp
mov ebx, dword [esp + 0x84]
movzx ebp, byte [esp + 0x21]
mov esi, dword [esp + 0x6c]
sub esi, ebx
shr esi, 2
cmp ecx, esi
jae 0x5f752a
mov esi, dword [eax + 0x2ac]
add esi, 0xfffffffc
cmp edx, esi
jbe 0x5f7a0a
mov esi, dword [0x8e2600]
xor edi, edi
jmp 0x5f7a41
mov esi, dword [eax + 0x28c]
cmp edx, esi
ja 0x5f7b56
mov edi, dword [eax + 0x290]
sub esi, edx
sub edi, edx
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, edx
cmp esi, 3
jbe 0x5f7b4a
mov esi, dword [eax + 0x288]
mov edi, dword [esi + edi]
xor esi, esi
test esi, esi
jne 0x5f7b38
mov dword [esp + 0x60], ecx
mov dword [esp + 0x74], edx
mov eax, edi
and edi, 0xfff
mov word [esp + 0x8c], di
mov ecx, eax
and eax, 0x1000
shr ax, 0xc
mov word [esp + 0x8e], ax
and ecx, 0xffffe000
shr ecx, 0xd
mov dword [esp + 0x90], ecx
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00465fd0
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0xe8]
inc ecx
mov edx, dword [esp + 0xe4]
mov ebx, dword [esp + 8]
cmp eax, ecx
jae 0x5f7aff
mov dword [esp + 0xf8], ebx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x677be0]
mov dword [esp + 0x10], eax
call fcn.0046c350
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xec], eax
mov dword [esp + 0xe4], edx
mov ebx, dword [esp + 0xf8]
mov dword [esp + 0xe8], ecx
lea ebp, [edx + ecx*8 - 8]
mov eax, ebx
lea ebx, [0x690860]
mov dword [ebp], ebx
mov ebp, dword [0x90f128]
lea edx, [edx + ecx*8 - 4]
test ebp, ebp
je 0x5f79b6
call fcn.00471470
mov dword [edi], eax
mov ebp, dword [edx]
mov dword [edi + 4], ebp
jmp 0x5f79b6
mov dword [esp + 0x118], 0
add esp, 0x110
ret
mov eax, 3
mov ecx, esi
call fcn.004714e0
mov eax, edx
mov ecx, esi
call fcn.00471550
lea eax, [0x68a880]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x6be9e5]
mov dword [eax], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 8], ecx
lea ecx, [0x67f5e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046ab50
lea eax, [0x68a880]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x6be9e5]
mov dword [eax], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 8], ecx
lea ecx, [0x67f5e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046ab50
nop
call fcn.00470060
jmp fcn.005f6d40