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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6854b9
sub esp, 0x44
mov eax, dword [esp + 0x48]
movzx ecx, byte [eax + 0x49]
cmp cl, 0xff
je 0x68549d
mov byte [esp + 0x23], cl
test cl, 4
je 0x68510f
mov edx, dword [esp + 0x60]
test edx, edx
jne 0x685481
lea eax, [0xc86870]
mov dword [esp], eax
call fcn.00472910
mov eax, dword [esp + 8]
lea ecx, [0x74a600]
cmp dword [esp + 4], ecx
jne 0x685477
jne 0x685460
test byte [eax], al
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x685423
nop
mov edx, dword [esp + 0x50]
mov dword [eax + 0x38], edx
mov ebx, dword [esp + 0x54]
mov dword [eax + 0x3c], ebx
mov ebx, dword [0xc98a20]
test ebx, ebx
jne 0x685410
mov dword [eax + 0x34], ecx
lea ecx, [eax + 0x34]
lea ebx, [0x8035a0]
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], ecx
mov ebp, dword [esp + 0x48]
mov esi, dword [ebp + 8]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov esi, dword [esp + 0x64]
mov dword [esp + 0xc], esi
call fcn.00684230
movzx eax, byte [esp + 0x23]
test al, 4
je 0x6852d9
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
test ecx, ecx
jle 0x6852d0
mov ecx, dword [esp + 0x60]
mov dword [edx], ecx
mov edx, dword [esp + 0x48]
mov ebx, dword [edx + 8]
mov ebx, dword [ebx + 0xc]
mov dword [esp], edx
mov dword [esp + 4], eax
mov edx, dword [esp + 0x24]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ecx
call fcn.00684490
movzx eax, byte [esp + 0x18]
test al, al
je 0x6852a8
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x6c]
lea ebx, [edx + ecx]
mov dword [esp + 0x30], ebx
mov ebp, dword [eax + 0x10]
mov esi, dword [esp + 0x70]
cmp ebx, esi
ja 0x685265
mov edi, dword [esp + 0x68]
mov dword [esp + 0x70], esi
mov dword [esp + 0x40], edi
lea eax, [edi + edx*4]
mov dword [esp], eax
mov dword [esp + 4], ebp
shl ecx, 2
mov dword [esp + 8], ecx
call fcn.0045a350
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00684160
mov eax, dword [esp + 0x40]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x7c], eax
add esp, 0x44
ret
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x2c], ecx
lea eax, [0x726000]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00443780
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x3c]
jmp 0x68521f
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00684160
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x44
ret
mov ecx, dword [esp + 0x60]
jmp 0x6851c3
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x60]
mov edi, 0xffffffff
jmp 0x68532f
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x34]
mov dword [esp], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 4], ebx
call ecx
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x60]
lea esi, [eax + edi]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
cmp esi, ebp
jg 0x6853ec
test edi, edi
je 0x6853ec
mov edi, dword [ecx + 0x28]
test edi, edi
jg 0x68538b
mov edi, dword [eax + 8]
mov ebp, dword [eax + 4]
test edi, edi
jle 0x685353
mov dword [ebp], esi
mov dword [esp + 0x60], esi
mov ebp, dword [ecx + 8]
mov ebp, dword [ebp + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.00684490
movzx eax, byte [esp + 0x18]
test al, al
je 0x6852f8
jmp 0x6851fe
mov dword [esp + 0x30], esi
mov eax, dword [ebx + 0x1c]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call eax
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x6853c4
mov edi, dword [esp + 0x30]
lea esi, [eax + edi]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
jmp 0x685346
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00684160
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x44
ret
mov dword [esp], eax
call fcn.00684160
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x44
ret
lea edi, [eax + 0x34]
mov ebx, eax
mov eax, ecx
call fcn.004599b0
mov eax, ebx
jmp 0x685165
nop
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0x44], ecx
mov edx, dword [0xc98a20]
test edx, edx
jne 0x68544e
mov edx, dword [esp + 0x58]
mov dword [eax + 0x40], edx
lea ebp, [eax + 0x40]
mov edx, ecx
lea ebx, [0x803620]
mov ecx, ebp
jmp 0x68516e
lea edi, [eax + 0x40]
mov edx, eax
mov eax, dword [esp + 0x58]
call fcn.004599b0
mov eax, edx
jmp 0x68543c
lea eax, [0x75b0e0]
mov dword [esp], eax
call fcn.0040ab90
mov eax, dword [esp + 4]
jmp 0x685137
mov eax, 0
jmp 0x685131
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x44
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x44
ret
call fcn.00458170
jmp fcn.006850d0