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

Disassembly:
mov ecx, dword [0x93d128]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x679e70
sub esp, 0x84
mov edx, dword [0x724bd0]
mov ebx, dword [0x724bd4]
mov ebp, dword [esp + 0x88]
jmp 0x679867
add edx, 0x20
dec ebx
test ebx, ebx
jle 0x679886
lea edi, [esp + 0x60]
mov esi, edx
call fcn.0045f810
cmp dword [esp + 0x60], ebp
jne 0x679863
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
jmp 0x67988a
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x48], ebx
test edx, edx
jne 0x6798d2
cmp ebx, 4
jne 0x6798b1
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x8c]
jmp 0x679a11
mov eax, dword [0x8fd8a8]
mov ecx, dword [0x8fd8ac]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x84
ret
cmp edx, 2
je 0x679e41
mov dword [esp + 0x40], edx
cmp edx, 3
jne 0x67995b
movzx esi, byte [esp + 0xac]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x67995b
mov eax, dword [0x8fd3ac]
mov dword [esp], eax
call fcn.005b3130
cmp dword [esp + 8], 1
jne 0x679910
mov eax, dword [esp + 4]
cmp byte [eax], 0x31
je 0x67993e
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.0040a570
mov eax, dword [esp + 4]
lea ecx, [0x7da630]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
add esp, 0x84
ret
mov eax, dword [0x8fd3ac]
mov dword [esp], eax
call fcn.005b2e30
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x88]
cmp edx, 0x14
jae 0x679e20
mov ecx, dword [0x8fdd3c]
cmp edx, ecx
jae 0x679e68
mov eax, dword [0x8fdd38]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x679e20
mov dword [esp], edx
call fcn.004cdf10
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x80], ecx
mov edx, dword [eax + 0x20]
mov dword [esp], ecx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x94]
mov dword [esp + 0xc], ebx
call edx
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x88]
mov esi, eax
mov eax, edx
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0xa4]
test edi, edi
je 0x679dff
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 8]
cmp eax, 0x297a8b93
jne 0x679b74
lea eax, [0x75d080]
cmp edi, eax
jne 0x679dff
cmp ebx, 1
jne 0x679b40
lea eax, [ebp - 0xd]
nop
cmp eax, 2
ja 0x679adf
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x20], eax
call fcn.00602c70
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x84
ret
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x1c], eax
call fcn.00602260
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x84
ret
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
call fcn.00679720
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x84
ret
cmp eax, 0x49e16cd9
jne 0x679c96
lea eax, [0x779780]
cmp edi, eax
jne 0x679dff
cmp ebx, 3
jne 0x679c62
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x18], eax
call fcn.005f3080
movzx eax, byte [esp + 0x1c]
test al, al
jne 0x679c45
call fcn.0067a670
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
nop
mov ecx, dword [esp]
mov dword [esp + 0x5c], ecx
lea edx, [0x75a420]
mov dword [esp], edx
call fcn.0040ca90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [0x93d218]
test ecx, ecx
jne 0x679c1d
mov ecx, dword [esp + 0x5c]
jmp 0x679c28
call fcn.0045f0d0
mov ecx, dword [esp + 0x5c]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x7da180]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
add esp, 0x84
ret
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x84
ret
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
call fcn.00679720
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x84
ret
cmp eax, 0x85fc33ff
jne 0x679dff
lea eax, [0x7569c0]
cmp edi, eax
jne 0x679dff
mov edx, dword [esp + 0xa8]
mov ebp, dword [edx]
mov edi, dword [edx + 4]
mov edx, dword [edx + 8]
cmp ebx, 4
jne 0x679db4
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.006005b0
movzx eax, byte [esp + 0x34]
test al, al
jne 0x679d97
call fcn.0067a780
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp]
mov dword [esp + 0x58], ecx
nop
lea edx, [0x75a420]
mov dword [esp], edx
call fcn.0040ca90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov ecx, dword [0x93d218]
test ecx, ecx
jne 0x679d6f
mov ecx, dword [esp + 0x58]
jmp 0x679d7a
call fcn.0045f0d0
mov ecx, dword [esp + 0x58]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x7da180]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
add esp, 0x84
ret
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x84
ret
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], edx
call fcn.0040a6f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
lea ecx, [0x7569c0]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00679720
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x84
ret
mov eax, dword [0x8fd8a8]
mov ecx, dword [0x8fd8ac]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x84
ret
mov eax, dword [0x8fd8a8]
mov ecx, dword [0x8fd8ac]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x84
ret
mov dword [esp], ebp
call fcn.0040a570
mov eax, dword [esp + 4]
lea ecx, [0x7da630]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
add esp, 0x84
ret
mov eax, edx
call fcn.0045f160
nop
call fcn.0045dcb0
jmp fcn.00679830