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

Disassembly:
mov ecx, dword [0x85d3cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x614797
sub esp, 0x90
mov eax, dword [esp + 0x94]
movzx ecx, byte [eax + 0x15]
test cl, cl
jne 0x614126
mov ecx, dword [eax]
mov dword [esp + 0x78], ecx
mov edx, dword [ecx + 0x2c]
mov edx, dword [edx + 0x48]
nop
test edx, edx
jle 0x614143
lea eax, [0x67ec20]
mov dword [esp], eax
call fcn.0040c260
mov eax, dword [esp + 4]
mov byte [eax + 0xc], 1
mov byte [eax + 0xd], 1
mov ecx, dword [0x832f04]
mov edx, dword [0x832f08]
mov ebx, dword [0x832f00]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edx
mov ecx, dword [0x85d680]
test ecx, ecx
je 0x6140c9
call fcn.00468030
mov dword [edi], ebx
mov dword [esp + 0x70], eax
mov dword [eax + 0x10], ebx
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x2c]
mov edx, dword [edx + 0x4c]
test edx, edx
je 0x61469a
mov dword [esp + 0x8c], edx
mov eax, dword [edx + 8]
mov dword [esp + 0x38], eax
lea ecx, [0x65b4e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044d740
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 0x58], eax
mov ebx, dword [esp + 0x38]
xor ebp, ebp
jmp 0x61472f
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
add esp, 0x90
ret
lea eax, [0x678f60]
mov dword [esp], eax
call fcn.0040c260
mov eax, dword [esp + 4]
mov dword [esp + 0x74], eax
mov ecx, dword [0x85d680]
mov edx, dword [esp + 0x94]
mov esi, dword [edx + 0x1c]
test byte [esi], al
lea edi, [eax + 0xc]
test ecx, ecx
je 0x6141af
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], edi
lea eax, [0x67eae0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
call fcn.00411200
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x94]
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x84]
call fcn.004686fa
mov ecx, dword [edx + 0xc]
movzx ecx, byte [ecx + 0xac]
test cl, cl
je 0x6141cf
mov ecx, dword [edx + 0x1c]
mov ecx, dword [ecx + 0x30]
test ecx, ecx
setne cl
jmp 0x6141d1
xor ecx, ecx
mov byte [eax + 0x49], cl
mov ecx, dword [edx + 0xc]
movzx ecx, byte [ecx + 0x48]
test cl, cl
je 0x6141ec
mov ecx, dword [edx + 0x1c]
mov ecx, dword [ecx + 0x24]
test ecx, ecx
setne cl
jmp 0x6141ee
xor ecx, ecx
mov byte [eax + 0x48], cl
mov ecx, dword [edx]
mov dword [esp + 0x80], ecx
mov ebx, dword [edx + 0x60]
mov ebp, dword [edx + 0x64]
mov dword [esp + 0x7c], ebp
lea esi, [0x668da0]
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.00409bb0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
lea ecx, [0x6f23ac]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
call fcn.005e83b0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x614660
lea eax, [0x678ee0]
mov dword [esp], eax
call fcn.0040c260
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov byte [eax + 0xc], 1
mov ecx, dword [esp + 0x94]
movzx edx, word [ecx + 0x20]
mov word [eax + 0xe], dx
movzx edx, word [ecx + 0x20]
mov word [esp], dx
call fcn.005dd2a0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x614632
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx + 0x60]
mov ebx, dword [ecx + 0x64]
movzx ebp, byte [esp + 4]
xchg ebp, eax
mov byte [esp + 0x37], al
xchg ebp, eax
mov dword [esp], eax
lea esi, [0x69ba7c]
mov dword [esp + 4], esi
mov dword [esp + 8], 0x22
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.005dd060
mov eax, dword [esp + 0x14]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0x4c]
mov dword [esp], ebx
call fcn.004099a0
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x37]
cmp cl, 0xe2
je 0x614311
lea edx, [0x6f1df0]
jmp 0x614336
lea eax, [0x671720]
mov dword [esp], eax
call fcn.0040c260
mov eax, dword [esp + 4]
mov dword [eax], 0xffffffff
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
lea edx, [0x6f1e04]
mov dword [esp + 0x48], edx
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x94]
mov ebx, dword [ecx + 0x1c]
mov ebp, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x10]
mov dword [esp + 0x7c], ebx
lea esi, [0x66bd60]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.00409d40
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx]
test edx, edx
je 0x614376
mov ecx, dword [ecx + 4]
jmp 0x614382
mov edx, dword [0x8379c0]
mov ecx, dword [0x8379c4]
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x14]
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x1c], ecx
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
test eax, eax
jne 0x6144a1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x6c]
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], ecx
mov eax, dword [0x85d680]
test eax, eax
je 0x6143ff
call fcn.00468040
mov dword [edi], edx
mov eax, dword [ebx + 0x10]
mov dword [edi + 4], eax
mov dword [ebx + 0x10], edx
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
mov dword [esp + 0x80], ecx
mov edx, dword [eax + 0x60]
mov eax, dword [eax + 0x64]
mov dword [esp + 0x7c], eax
lea ebp, [0x668da0]
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.00409bb0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
lea ecx, [0x6f2364]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
call fcn.005e83b0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x614484
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x90
ret
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
add esp, 0x90
ret
mov dword [esp + 0x50], eax
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x94]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x7c], eax
lea edx, [0x66bd60]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00409d40
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x7c]
mov dword [esp], ecx
call eax
lea eax, [0x66de80]
cmp dword [esp + 4], eax
jne 0x6144f1
mov eax, dword [esp + 8]
jmp 0x6144f6
mov eax, 0
jne 0x614582
movzx ecx, byte [esp + 0x37]
cmp cl, 0xe2
jne 0x614582
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov ebx, dword [esp + 0x4c]
lea ebp, [ebx - 1]
mov dword [esp + 0x54], ebp
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00581ac0
mov eax, dword [esp + 0x54]
cmp eax, 0x13
jae 0x614682
mov ecx, dword [0x833234]
mov eax, dword [esp + 0x4c]
cmp ecx, eax
jbe 0x61467d
mov ecx, dword [esp + 0xc]
mov edx, ecx
sar ecx, 0x1f
shr ecx, 0x1d
add ecx, edx
sar ecx, 3
mov edx, dword [0x833230]
movzx eax, byte [edx + eax]
shl eax, 1
add eax, 2
cmp ecx, eax
jge 0x614582
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov byte [esp + 4], 0x28
call fcn.005e74d0
jmp 0x614593
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005e74d0
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x69a3f6]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x1f
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00451270
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x5c], ecx
lea edx, [0x66a620]
mov dword [esp], edx
call fcn.0040c260
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [0x85d680]
test ecx, ecx
jne 0x61460a
mov ecx, dword [esp + 0x5c]
jmp 0x614615
call fcn.00468030
mov ecx, dword [esp + 0x5c]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x6f1b20]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
add esp, 0x90
ret
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005e74d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x90
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x90
ret
call fcn.004680a0
lea eax, [0x661ce0]
mov dword [esp], eax
lea eax, [0x6f1260]
mov dword [esp + 4], eax
call fcn.00437e60
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
mov dword [esp + 0x80], ecx
mov edx, dword [eax + 0x60]
mov ebx, dword [eax + 0x64]
mov dword [esp + 0x7c], ebx
lea ebp, [0x668da0]
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.00409bb0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
lea ecx, [0x6f2394]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
call fcn.005e83b0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x614143
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x90
ret
mov dword [edx + ebx*4], eax
add ecx, 0x10
inc ebp
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x38]
cmp ebp, eax
jge 0x614764
cmp ebp, ebx
jae 0x61478d
mov esi, dword [ecx + 4]
mov edi, dword [ecx + 8]
lea ebx, [ebp + ebp*2]
mov eax, dword [ecx]
mov dword [edx + ebx*4 + 4], esi
mov dword [edx + ebx*4 + 8], edi
mov esi, dword [0x85d680]
test esi, esi
je 0x614720
call fcn.00468040
mov dword [edi], eax
mov esi, dword [edx + ebx*4]
mov dword [edi + 4], esi
jmp 0x614720
mov eax, dword [esp + 0x70]
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x30], ebx
mov ecx, dword [0x85d680]
test ecx, ecx
je 0x614785
call fcn.00468040
mov dword [edi], edx
mov ecx, dword [eax + 0x28]
mov dword [edi + 4], ecx
mov dword [eax + 0x28], edx
jmp 0x61469a
mov eax, ebp
mov ecx, ebx
call fcn.00468090
nop
call fcn.00466c30
jmp fcn.00614040