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

Disassembly:
mov ecx, dword [0x98d270]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xa4]
cmp eax, dword [ecx + 8]
jbe 0x669eb2
sub esp, 0x124
mov eax, dword [esp + 0x12c]
jmp 0x66955a
lea esi, [esp + 0xb0]
call fcn.004690fa
mov eax, dword [esp + 0x68]
mov dword [esp + 0x68], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], 0
lea ecx, [0x6db8a0]
mov dword [esp], ecx
lea edx, [esp + 0x84]
mov dword [esp + 4], edx
call fcn.004cf4a0
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x128]
mov dword [esp], ecx
lea edx, [0x6aa1e0]
mov dword [esp + 4], edx
lea ebx, [esp + 0x74]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.0067b980
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x669967
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x6695fe
movzx eax, word [esp + 0x78]
test ax, ax
jne 0x6695fe
movzx eax, word [esp + 0x7a]
test ax, ax
je 0x669ccc
mov eax, dword [esp + 0x128]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
add ecx, edx
mov dword [esp + 0x34], ecx
mov dword [esp + 4], ecx
call fcn.0067ac90
mov eax, dword [esp + 0x128]
mov ecx, dword [eax + 0xa0]
mov edx, dword [esp + 8]
mov dword [esp + 0x44], edx
mov ebx, dword [eax + 0xa4]
mov dword [esp + 0x64], ebx
xor ebp, ebp
jmp 0x6699a4
mov eax, dword [esp + 0x128]
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0xcc]
jmp 0x66965b
xor ecx, ecx
mov dword [esp + 0x8c], ecx
test ecx, ecx
jne 0x6696a0
mov ebx, dword [eax + 0x2ac]
mov ebp, dword [eax + 0xa0]
sub ebx, edx
mov dword [esp + 0x30], ebx
mov esi, dword [eax + 0xa4]
mov dword [esp + 0x64], esi
xor edi, edi
xor edi, edi
mov dword [esp + 0x28], edi
xor edi, edi
mov dword [esp + 0x90], edi
xor edi, edi
mov dword [esp + 0x2c], edi
xor edi, edi
jmp 0x669d8b
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
call fcn.00688730
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx + 0x14]
add eax, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
sub eax, edx
test ecx, ecx
je 0x6699ee
mov dword [esp + 0x30], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
lea eax, [0x6db920]
mov dword [esp], eax
lea ecx, [esp + 0x7c]
mov dword [esp + 4], ecx
call fcn.004cf4a0
mov eax, dword [esp + 8]
test eax, eax
je 0x669d53
movzx edx, word [esp + 0x7a]
mov dword [esp + 0x68], edx
mov ecx, eax
mov eax, dword [esp + 0x30]
xor edx, edx
div ecx
mov edx, dword [esp + 0x68]
cmp edx, eax
jb 0x66973e
mov edx, eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x24], edx
xor eax, eax
mov ebx, dword [esp + 0x34]
xor ebp, ebp
lea esi, [0x98d0c0]
xor edi, edi
jmp 0x669aa6
mov dword [esp + 0x68], ebx
movzx eax, word [esp + 0x78]
mov ebx, dword [esp + 0x128]
mov edx, dword [ebx + 0x290]
mov ebp, dword [esp + 0x12c]
lea ecx, [eax + ebp + 0x100]
add eax, ebp
cmp edx, ecx
jb 0x669d0b
cmp ecx, eax
jb 0x669d06
mov ecx, dword [ebx + 0x288]
sub edx, eax
mov dword [esp + 0x48], edx
neg edx
sar edx, 0x1f
and eax, edx
add eax, ecx
xor ecx, ecx
jmp 0x669cb3
mov edx, dword [esp + 0x48]
cmp ecx, edx
ja 0x669d01
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00451eb0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x9c], ecx
test eax, eax
je 0x669815
cmp eax, 0x100
jle 0x6697ee
mov edx, 1
jmp 0x669817
mov dword [esp + 0x54], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0067a870
movzx eax, byte [esp + 8]
xor eax, 1
mov ecx, dword [esp + 0x9c]
mov edx, eax
mov eax, dword [esp + 0x54]
jmp 0x669817
xor edx, edx
test dl, dl
jne 0x669ccc
lea edi, [esp + 0xb0]
mov edx, eax
xor eax, eax
call fcn.00468c29
mov ecx, dword [esp + 0x74]
movzx ebx, word [esp + 0x78]
movzx ebp, word [esp + 0x7a]
mov dword [esp + 0xb0], ecx
mov word [esp + 0xb4], bx
mov word [esp + 0xb6], bp
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x128]
mov edx, dword [ecx + 0x1c0]
mov ebx, dword [ecx + 0x1bc]
inc ebx
mov ebp, dword [ecx + 0x1b8]
cmp edx, ebx
jae 0x669913
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6db9a0]
mov dword [esp + 0x10], eax
call fcn.0044e1d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x128]
mov dword [ebx + 0x1c0], eax
mov eax, dword [0x98d4e0]
test eax, eax
je 0x669900
call fcn.004689a0
mov dword [edi], ecx
mov eax, dword [ebx + 0x1b8]
mov dword [edi + 4], eax
mov dword [ebx + 0x1b8], ecx
xor eax, eax
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0x128]
mov dword [ecx + 0x1bc], ebx
mov edx, dword [0x98d4e0]
imul ebx, ebx, 0x1c
lea edi, [ebx + ebp - 0x1c]
test edx, edx
je 0x66954a
mov dword [esp + 0xa0], edi
lea eax, [0x6db9a0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xb0]
mov dword [esp + 8], eax
call fcn.00411600
xor eax, eax
mov ecx, dword [esp + 0x128]
mov edi, dword [esp + 0xa0]
jmp 0x66954a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
add esp, 0x124
ret
mov eax, dword [esp + 0xa4]
lea ecx, [eax + 0x2c]
mov eax, dword [esp + 0x60]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x128]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x64]
cmp ebp, ebx
jge 0x669659
mov dword [esp + 0x60], ebp
mov dword [esp + 0xa4], ecx
lea edi, [esp + 0xcc]
mov esi, ecx
call fcn.004690d2
lea ecx, [esp + 0xcc]
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00688150
movzx eax, byte [esp + 0xc]
test al, al
je 0x669984
jmp 0x669645
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.00409c20
mov eax, dword [esp + 4]
lea ecx, [0x6bd460]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x128]
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [0x72156e]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x47
lea eax, [esp + 0xa8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.0065ef60
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
add esp, 0x124
ret
mov dword [edi + ebx + 8], ecx
mov eax, dword [esp + 0x38]
inc eax
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x40]
mov esi, edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x94], esi
cmp eax, edx
jae 0x66975b
mov dword [esp + 0x38], eax
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x128]
mov dword [esp], eax
lea edx, [0x6aa220]
mov dword [esp + 4], edx
lea ebp, [esp + 0x6c]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call fcn.0067b980
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x669c95
movzx ebx, word [esp + 0x70]
mov ebp, dword [esp + 0x128]
mov edx, dword [ebp + 0x290]
mov esi, dword [esp + 0x12c]
lea ecx, [ebx + esi + 0x100]
mov edi, dword [esp + 0x5c]
mov eax, ebp
mov ebp, dword [esp + 0x64]
add edi, ebp
add ebx, esi
cmp edx, ecx
jb 0x669d4e
cmp ecx, ebx
jb 0x669d47
mov ecx, dword [eax + 0x288]
sub edx, ebx
mov dword [esp + 0x4c], edx
neg edx
sar edx, 0x1f
and ebx, edx
add ebx, ecx
xor ecx, ecx
jmp 0x669d11
mov edx, dword [esp + 0x4c]
cmp ecx, edx
ja 0x669d42
mov dword [esp + 0x68], edi
mov dword [esp], 0
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.00451eb0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x98], ecx
test eax, eax
je 0x669bc0
cmp eax, 0x100
jle 0x669b9d
mov edx, 1
jmp 0x669bc2
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0067a870
movzx eax, byte [esp + 8]
xor eax, 1
mov ecx, dword [esp + 0x98]
mov edx, eax
mov eax, dword [esp + 0x50]
jmp 0x669bc2
xor edx, edx
test dl, dl
jne 0x669d2a
mov ebx, dword [esp + 0x3c]
inc ebx
mov ebp, dword [esp + 0x6c]
movzx esi, word [esp + 0x70]
movzx edi, word [esp + 0x72]
mov edx, edi
mov edi, dword [esp + 0x40]
cmp edi, ebx
jae 0x669c4c
mov dword [esp + 0x58], ebp
mov word [esp + 0x22], dx
mov word [esp + 0x20], si
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x6d3960]
mov dword [esp + 0x10], eax
call fcn.0044e1d0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x98]
movzx edx, word [esp + 0x22]
mov dword [esp + 0x94], esi
mov edi, ebp
mov ebp, dword [esp + 0x58]
movzx esi, word [esp + 0x20]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], edi
dec ebx
shl ebx, 4
mov edi, dword [esp + 0x94]
mov dword [edi + ebx], ebp
mov word [edi + ebx + 4], si
mov word [edi + ebx + 6], dx
mov dword [edi + ebx + 0xc], eax
mov ebp, dword [0x98d4e0]
test ebp, ebp
je 0x669a87
mov eax, edi
call fcn.004689a0
mov dword [edi], ecx
mov ebp, dword [eax + ebx + 8]
mov dword [edi + 4], ebp
mov edi, eax
jmp 0x669a87
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
add esp, 0x124
ret
inc ecx
cmp ecx, 0x100
jae 0x6697ad
movzx edx, byte [ecx + eax]
test dl, dl
jne 0x669cb2
jmp 0x6697ad
mov eax, dword [esp + 0x128]
mov ecx, dword [eax + 0x1bc]
test ecx, ecx
je 0x669ce4
mov byte [eax + 0x2a6], 1
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
add esp, 0x124
ret
call fcn.00468a50
call fcn.00468a70
call fcn.00468a50
inc ecx
cmp ecx, 0x100
jae 0x669b54
movzx edx, byte [ecx + ebx]
test dl, dl
jne 0x669d10
jmp 0x669b54
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x94]
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x68]
jmp 0x66975b
call fcn.00468a50
mov eax, ebx
call fcn.00468a70
call fcn.00468a50
call fcn.00437490
add ebp, 0x2c
mov ecx, dword [esp + 0x60]
inc ecx
mov esi, dword [esp + 0x64]
mov edi, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x90], edx
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x30]
cmp edi, esi
jge 0x669e52
mov dword [esp + 0x60], edi
lea edi, [esp + 0xf8]
mov esi, ebp
call fcn.004690d2
mov ecx, dword [esp + 0x10c]
cmp ecx, edx
jbe 0x669e3a
mov esi, eax
mov eax, dword [esp + 0x28]
inc eax
mov edi, ebx
mov ebx, dword [esp + 0x2c]
cmp ebx, eax
jae 0x669e2a
mov dword [esp + 0xa4], ebp
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6bd460]
mov dword [esp + 0x10], eax
call fcn.0044e1d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xa4]
mov esi, dword [esp + 0x128]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x90], eax
mov ebx, edx
mov edx, dword [esp + 0x44]
mov eax, ecx
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x90]
mov dword [edx + eax*4 - 4], ecx
jmp 0x669d58
mov esi, eax
mov edi, ebx
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x90]
jmp 0x669d58
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x669e67
mov ecx, dword [esp + 0x90]
mov esi, dword [ecx]
xor edi, edi
jmp 0x669e75
mov eax, ebx
jmp 0x6696d0
inc edi
mov esi, ebx
mov ebx, dword [esp + 0x30]
cmp edi, ebp
jge 0x669e84
mov ebx, dword [ecx + edi*4]
cmp esi, ebx
ja 0x669e6e
mov ebx, esi
jmp 0x669e6e
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.0067a990
mov eax, dword [esp + 8]
test eax, eax
je 0x669ea3
mov ebx, dword [eax + 0x14]
mov ecx, dword [esp + 0x44]
sub ebx, ecx
jmp 0x669ea7
mov ebx, dword [esp + 0x30]
mov ecx, eax
mov eax, dword [esp + 0x128]
jmp 0x669e67
call fcn.00467590
jmp fcn.00669520