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

Disassembly:
mov ecx, dword [0x95eda0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x90]
cmp eax, dword [ecx + 8]
jbe 0x60468a
sub esp, 0x110
lea eax, [0x6bcc40]
mov dword [esp], eax
call fcn.0040c000
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 0x603891
mov ebx, dword [ecx + 0x13c]
mov dword [esp + 0xf0], edx
mov dword [esp + 0xf4], ebx
mov edx, dword [esp + 0xf0]
test edx, edx
je 0x603889
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x603880
or ebx, 0x80
mov ebp, dword [esp + 0xf4]
jmp 0x603897
xor ebx, ebx
xor edx, edx
xor ebp, ebp
jmp 0x603897
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.004d1160
mov eax, dword [esp + 0x18]
and eax, 0x1f
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x14]
nop
cmp eax, 9
ja 0x603900
cmp eax, 7
jne 0x6038e4
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x603924
cmp eax, 8
jne 0x6038f0
movzx eax, byte [ecx]
xor ecx, ecx
jmp 0x603924
cmp eax, 9
jne 0x60464c
movzx eax, word [ecx]
xor ecx, ecx
jmp 0x603924
cmp eax, 0xa
jne 0x60390b
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x603924
cmp eax, 0xb
jne 0x603917
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x603924
cmp eax, 0xc
jne 0x60464c
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.004d1160
mov eax, dword [esp + 0x18]
and eax, 0x1f
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x14]
nop
cmp eax, 9
ja 0x603995
cmp eax, 7
jne 0x603979
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x6039b9
cmp eax, 8
jne 0x603985
movzx eax, byte [ecx]
xor ecx, ecx
jmp 0x6039b9
cmp eax, 9
jne 0x60460f
movzx eax, word [ecx]
xor ecx, ecx
jmp 0x6039b9
cmp eax, 0xa
jne 0x6039a0
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x6039b9
cmp eax, 0xb
jne 0x6039ac
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x6039b9
cmp eax, 0xc
jne 0x60460f
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 0x6039e7
test ecx, ecx
sete cl
test eax, eax
sete al
and ecx, eax
test cl, cl
je 0x6039f9
mov dword [esp + 0x118], 0
add esp, 0x110
ret
mov eax, dword [esp + 0x114]
mov dword [esp], eax
lea ecx, [0x6f7766]
mov dword [esp + 4], ecx
mov dword [esp + 8], 6
call fcn.005fc3e0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x603b5b
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.005fc110
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, [0x6bcb20]
mov dword [esp], ecx
lea ecx, [esp + 0xb8]
mov dword [esp + 4], ecx
call fcn.004edd60
mov eax, dword [esp + 8]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x114]
mov dword [esp], ecx
lea edx, [0x68f4a0]
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.005fcdb0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x603b49
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 0x603aee
xor eax, eax
jmp 0x603b8f
cmp ecx, 2
jne 0x603b6d
lea eax, [0x6a7120]
mov dword [esp + 0x104], eax
lea eax, [0x762370]
mov dword [esp + 0x108], eax
mov eax, dword [0x93eb64]
lea ecx, [0x762e14]
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.004dce90
mov ebx, dword [esp + 0x10c]
jmp 0x603b6d
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.00471f3e
mov ebx, eax
mov eax, edx
mov edx, ebp
cmp dword [esp + 0x44], eax
jbe 0x603b6d
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.00471a5b
mov ecx, dword [esp + 0x114]
movzx ebp, byte [ecx + 0x294]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x603c9b
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
lea eax, [0x6bd360]
mov dword [esp], eax
lea ecx, [esp + 0xb0]
mov dword [esp + 4], ecx
call fcn.004edd60
mov eax, dword [esp + 8]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x114]
mov dword [esp], ecx
lea edx, [0x6907e0]
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.005fcdb0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x603e81
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.00466330
mov eax, dword [esp + 8]
lea ecx, [0x6bd360]
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 0x603d74
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, [0x6bd3c0]
mov dword [esp], eax
lea ecx, [esp + 0x9c]
mov dword [esp + 4], ecx
call fcn.004edd60
mov eax, dword [esp + 8]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x114]
mov dword [esp], ecx
lea edx, [0x690820]
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.005fcdb0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x603e93
lea eax, [0x6bd3c0]
mov dword [esp], eax
lea ecx, [esp + 0x4c]
mov dword [esp + 4], ecx
call fcn.0040a240
mov eax, dword [esp + 8]
lea ecx, [0x6bd3c0]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
lea ecx, [0x6bd360]
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 0x603ed0
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 0x603e12
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x6bcbe0]
mov dword [esp + 0x10], eax
call fcn.0046c6b0
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 [0x95f020]
test eax, eax
je 0x603dfd
call fcn.004717d0
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, [0x6bd360]
mov edx, dword [esp + 0x38]
mov dword [ebx + 0xc], esi
mov eax, dword [0x95f020]
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 0x603b7b
mov dword [esp + 0x100], edi
mov dword [esp + 0x80], edx
lea eax, [0x6bcbe0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xc8]
mov dword [esp + 8], eax
call fcn.0040ed00
lea ecx, [0x6bd360]
mov edx, dword [esp + 0x80]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x10c]
mov edi, dword [esp + 0x100]
jmp 0x603b7b
mov dword [esp + 0x118], 0
add esp, 0x110
ret
mov dword [esp + 0x118], 0
add esp, 0x110
ret
lea esi, [esp + 0xdc]
call fcn.00471f3e
mov eax, dword [esp + 0x70]
lea ecx, [0x6bd360]
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 0x603d99
mov dword [esp + 0x64], edi
lea edi, [esp + 0xdc]
xor eax, eax
call fcn.00471a5b
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea ecx, [0x6bc940]
mov dword [esp], ecx
lea edx, [esp + 0x94]
mov dword [esp + 4], edx
call fcn.004edd60
mov ecx, dword [esp + 8]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x114]
mov dword [esp], edx
lea ebx, [0x68f0e0]
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.005fcdb0
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x6040ac
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 0x603fb0
mov eax, dword [esp + 0x114]
xor ecx, ecx
jmp 0x604492
xchg ebp, eax
cmp al, 4
xchg ebp, eax
jne 0x603fc5
mov eax, dword [esp + 0x114]
xor ecx, ecx
jmp 0x604262
xchg ebp, eax
cmp al, 5
xchg ebp, eax
jne 0x603fda
mov eax, dword [esp + 0x114]
xor ecx, ecx
jmp 0x6040c2
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 0x604053
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6bcb80]
mov dword [esp + 0x10], eax
call fcn.0046c6b0
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 [0x95f020]
lea eax, [eax + eax*4]
lea edi, [ebp + eax*4 - 0x14]
test ebx, ebx
je 0x603ea5
mov dword [esp + 0xfc], edi
lea eax, [0x6bcb80]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xdc]
mov dword [esp + 8], eax
call fcn.0040ed00
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x3c]
movzx esi, byte [esp + 0x21]
mov edi, dword [esp + 0xfc]
jmp 0x603ea5
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 0x603fda
mov esi, dword [eax + 0x2ac]
add esi, 0xfffffffe
cmp edx, esi
jbe 0x6040eb
mov esi, dword [0x932770]
mov edi, esi
xor esi, esi
jmp 0x604123
mov esi, dword [eax + 0x28c]
cmp edx, esi
ja 0x604255
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 0x604249
mov esi, dword [eax + 0x288]
movzx esi, word [edi + esi]
xor edi, edi
test edi, edi
jne 0x604237
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 0x60415d
test di, di
je 0x6040be
mov word [esp + 0x28], si
mov word [esp + 0x2a], di
lea eax, [0x6bd480]
mov dword [esp], eax
lea ecx, [esp + 0x28]
mov dword [esp + 4], ecx
call fcn.0040a240
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 0x6041e5
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, [0x6a8ba0]
mov dword [esp + 0x10], eax
call fcn.0046c6b0
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, [0x6bd480]
mov dword [ebp], ebx
mov ebp, dword [0x95f020]
lea edx, [edx + ecx*8 - 4]
test ebp, ebp
je 0x604215
call fcn.004717d0
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 0x6040be
mov dword [esp + 0x118], 0
add esp, 0x110
ret
mov eax, 1
mov ecx, esi
call fcn.00471840
mov eax, edx
mov ecx, esi
call fcn.004718b0
inc ecx
add edx, 2
mov esi, dword [esp + 0x6c]
sub esi, ebx
shr esi, 1
cmp ecx, esi
jae 0x603fda
mov dword [esp + 0x22], 0
mov word [esp + 0x26], 0
mov esi, dword [eax + 0x2ac]
add esi, 0xfffffffe
cmp edx, esi
jbe 0x60429a
mov esi, dword [0x932770]
mov edi, esi
xor esi, esi
jmp 0x6042d2
mov esi, dword [eax + 0x28c]
cmp edx, esi
ja 0x60445d
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 0x604451
mov esi, dword [eax + 0x288]
movzx esi, word [edi + esi]
xor edi, edi
test edi, edi
jne 0x60443f
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 0x60436f
movzx edi, byte [esp + 0x24]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x60436f
movzx edi, byte [esp + 0x25]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x60436f
movzx edi, byte [esp + 0x26]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x60436f
xchg esi, eax
movzx eax, al
xchg esi, eax
xchg esi, eax
test al, al
xchg esi, eax
je 0x60425e
lea eax, [0x6d1600]
mov dword [esp], eax
lea ecx, [esp + 0x22]
mov dword [esp + 4], ecx
call fcn.0040a240
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 0x6043ed
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, [0x6a8ba0]
mov dword [esp + 0x10], eax
call fcn.0046c6b0
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, [0x6d1600]
mov dword [ebp], ebx
mov ebp, dword [0x95f020]
lea edx, [edx + ecx*8 - 4]
test ebp, ebp
je 0x60441d
call fcn.004717d0
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 0x60425e
mov dword [esp + 0x118], 0
add esp, 0x110
ret
mov eax, 1
mov ecx, esi
call fcn.00471840
mov eax, edx
mov ecx, esi
call fcn.004718b0
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 0x603fda
mov esi, dword [eax + 0x2ac]
add esi, 0xfffffffc
cmp edx, esi
jbe 0x6044ba
mov esi, dword [0x932770]
xor edi, edi
jmp 0x6044f1
mov esi, dword [eax + 0x28c]
cmp edx, esi
ja 0x604606
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 0x6045fa
mov esi, dword [eax + 0x288]
mov edi, dword [esi + edi]
xor esi, esi
test esi, esi
jne 0x6045e8
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.00466330
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 0x6045af
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, [0x6a8ba0]
mov dword [esp + 0x10], eax
call fcn.0046c6b0
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, [0x6c5980]
mov dword [ebp], ebx
mov ebp, dword [0x95f020]
lea edx, [edx + ecx*8 - 4]
test ebp, ebp
je 0x604466
call fcn.004717d0
mov dword [edi], eax
mov ebp, dword [edx]
mov dword [edi + 4], ebp
jmp 0x604466
mov dword [esp + 0x118], 0
add esp, 0x110
ret
mov eax, 3
mov ecx, esi
call fcn.00471840
mov eax, edx
mov ecx, esi
call fcn.004718b0
lea eax, [0x6bee00]
mov dword [esp], eax
call fcn.0040c000
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x6fd962]
mov dword [eax], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 8], ecx
lea ecx, [0x6b1a00]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046aeb0
lea eax, [0x6bee00]
mov dword [esp], eax
call fcn.0040c000
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x6fd962]
mov dword [eax], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 8], ecx
lea ecx, [0x6b1a00]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046aeb0
nop
call fcn.004703c0
jmp fcn.006037f0