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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc8]
cmp eax, dword [ecx + 8]
jbe 0x6ee79e
sub esp, 0x148
mov eax, 0
mov dword [esp + 0x144], eax
mov byte [esp + 0x33], 0
mov dword [esp + 0x158], 0
mov eax, dword [esp + 0x154]
mov ecx, dword [eax + 0x24]
test ecx, ecx
jne 0x6ede31
movzx ecx, byte [eax + 0x21]
test cl, cl
je 0x6ede1d
lea eax, [0x7819c0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov ecx, dword [0xa7b850]
mov edx, dword [0xa7b854]
mov ebx, dword [0xa7b858]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ebx
mov edx, dword [0xaab020]
test edx, edx
jne 0x6edca0
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x154]
mov dword [ecx + 0x24], eax
jmp 0x6edcbd
lea edi, [eax + 0xc]
mov edx, eax
mov eax, ecx
call fcn.004643b0
mov ecx, dword [esp + 0x154]
lea edi, [ecx + 0x24]
mov eax, edx
call fcn.004643b0
mov edx, dword [esp + 0x14c]
test edx, edx
je 0x6edd0e
mov eax, dword [edx + 0x68]
test eax, eax
jne 0x6edd09
call fcn.0040c7a0
mov eax, dword [0xaab020]
mov ecx, dword [esp]
test eax, eax
jne 0x6edced
mov eax, dword [esp + 0x14c]
mov dword [eax + 0x68], ecx
jmp 0x6edd00
mov edx, dword [esp + 0x14c]
lea edi, [edx + 0x68]
mov eax, ecx
call fcn.004643b0
mov eax, edx
mov ecx, dword [esp + 0x154]
mov edx, eax
mov eax, dword [edx + 0x68]
jmp 0x6edd4c
lea edi, [esp + 0xdc]
xor eax, eax
call fcn.00464659
lea edi, [esp + 0xf8]
call fcn.0046464d
lea ecx, [esp + 0xf8]
mov dword [esp + 0xe8], ecx
call fcn.0044ff60
mov ecx, dword [esp]
mov dword [esp + 0xe4], ecx
lea eax, [esp + 0xdc]
mov dword [esp + 0x60], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
call fcn.0040c7a0
mov eax, dword [esp]
mov dword [esp + 0x7c], eax
lea edi, [esp + 0xc4]
xor eax, eax
call fcn.0046465a
lea eax, [0x6ee7b0]
mov dword [esp + 0xc4], eax
lea eax, [esp + 0x78]
mov dword [esp + 0xc8], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x14c]
mov dword [esp + 0xd4], eax
lea ecx, [esp + 0x9c]
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x154]
mov edx, dword [ecx + 4]
mov dword [esp + 0x94], edx
mov ebx, dword [ecx + 8]
mov dword [esp + 0x54], ebx
xor ebp, ebp
jmp 0x6ede88
lea eax, [0xa7c2b0]
mov dword [esp + 0x158], eax
add esp, 0x148
ret
mov eax, dword [eax + 0x24]
mov dword [esp + 0x158], eax
add esp, 0x148
ret
mov dword [esp + 0x50], ebp
mov eax, dword [edx + ebp*4]
mov ecx, dword [esp + 0xc4]
mov ebx, dword [eax + 4]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
lea edx, [esp + 0xc4]
call ecx
mov eax, dword [esp + 0x50]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x14c]
mov ecx, dword [esp + 0x154]
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x54]
cmp ebp, ebx
jl 0x6ede42
mov edx, dword [0xa7b850]
mov ebx, dword [0xa7b854]
mov ebp, dword [0xa7b858]
mov esi, dword [ecx + 0x10]
mov dword [esp + 0x90], esi
mov edi, esi
mov esi, dword [ecx + 0x14]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x40], eax
xor eax, eax
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x58]
jmp 0x6edeed
mov ecx, dword [esp + 0x40]
inc ecx
mov edi, dword [esp + 0x90]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x40], ecx
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x14c]
mov ecx, dword [esp + 0x154]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x84], edx
mov dword [esp + 0x48], ebp
mov edx, dword [esp + 0x40]
cmp edx, esi
jge 0x6ee4ac
lea edi, [edi + edx*8]
mov esi, dword [edi]
mov edi, dword [edi + 4]
mov ebp, dword [ecx + 0x1c]
test ebp, ebp
je 0x6edf2d
mov ebx, dword [ebp + 4]
mov ebp, dword [ebp]
cmp edx, ebx
jae 0x6ee788
mov ebx, dword [ebp + edx*4]
mov ebp, ebx
jmp 0x6edf2f
xor ebp, ebp
mov dword [esp + 0x6c], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ebp
mov dword [esp], esi
mov dword [esp + 4], edi
call fcn.006eca50
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0xc]
test eax, eax
je 0x6ee283
lea esi, [0x844ec8]
cmp edx, esi
jne 0x6ee101
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x34]
lea ecx, [0x844f88]
cmp eax, ecx
setne dl
mov byte [esp], dl
call fcn.006e03a0
mov eax, dword [esp + 0x14c]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 8], edx
call fcn.006edc00
mov eax, dword [esp + 0xc]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x14c]
test ecx, ecx
jne 0x6edfc2
xor edx, edx
jmp 0x6edfec
mov dword [esp], ecx
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x6c]
mov dword [esp + 8], edx
call fcn.006e0310
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x74]
test dl, dl
je 0x6ee0e2
mov ebx, dword [ecx + 0x14]
mov ebp, dword [ecx + 0x18]
test ebx, ebx
jne 0x6ee006
test ebp, ebp
je 0x6ee0e2
cmp ebx, 1
jg 0x6ee0e2
jne 0x6ee01a
cmp ebp, 0x12
jge 0x6ee0e2
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.004094f0
mov eax, dword [esp + 4]
mov dword [esp + 0x8c], eax
lea ecx, [0x750280]
mov dword [esp], ecx
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x6ee050
mov esi, dword [ecx + 4]
jmp 0x6ee052
mov esi, ecx
mov dword [eax], esi
mov ecx, dword [0xaab020]
test ecx, ecx
jne 0x6ee067
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], ecx
jmp 0x6ee077
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x6c]
call fcn.004643b0
mov eax, ecx
mov ecx, dword [esp + 0x14c]
mov dword [esp], ecx
lea edx, [0x844728]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x87
lea ebx, [0x7d5cd5]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0x3a
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 1
call fcn.006e1900
movzx eax, byte [esp + 0x32]
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x84]
jmp 0x6edec7
movzx ebx, byte [eax + 0x18]
mov byte [esp + 0x31], bl
mov ebp, dword [eax]
mov dword [esp + 0x88], ebp
mov esi, dword [eax + 4]
mov dword [esp + 0x50], esi
xor edx, edx
jmp 0x6ee772
lea edi, [0x844fa0]
cmp edx, edi
jne 0x6ee28f
mov eax, dword [esp + 0x14c]
test eax, eax
je 0x6ee207
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
test ecx, ecx
jne 0x6ee130
test edx, edx
je 0x6ee207
cmp ecx, 1
jg 0x6ee207
mov dword [esp + 0x64], ebx
jne 0x6ee148
cmp edx, 0x12
jge 0x6ee207
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.004094f0
mov eax, dword [esp + 4]
mov dword [esp + 0x8c], eax
lea ecx, [0x750280]
mov dword [esp], ecx
call fcn.0040bcc0
mov eax, dword [esp + 4]
lea ecx, [0x78a080]
mov dword [eax], ecx
mov edx, dword [0xaab020]
test edx, edx
jne 0x6ee18c
mov edx, dword [esp + 0x64]
mov dword [eax + 4], edx
jmp 0x6ee19c
lea edi, [eax + 4]
mov edx, eax
mov eax, dword [esp + 0x64]
call fcn.004643b0
mov eax, edx
mov ecx, dword [esp + 0x14c]
mov dword [esp], ecx
lea edx, [0x844728]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x87
lea ebx, [0x7d51a2]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0x37
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 1
call fcn.006e1900
movzx eax, byte [esp + 0x32]
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x84]
jmp 0x6edec7
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edx
call fcn.006ef400
mov eax, dword [esp + 0x10]
lea ecx, [0xa856c0]
cmp eax, ecx
jne 0x6ee246
movzx eax, byte [esp + 0x32]
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x84]
jmp 0x6edec7
mov dword [esp + 0x70], eax
movzx ecx, byte [eax + 0x18]
xor ecx, 1
mov byte [esp], cl
call fcn.006e03a0
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 4]
test ecx, ecx
sete cl
mov byte [esp], cl
call fcn.006e03a0
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov ebx, ecx
xor ecx, ecx
jmp 0x6ee45c
lea esi, [0x844ec8]
lea edi, [0x844fa0]
mov edx, dword [0xa7b844]
mov ebx, dword [0xa7b840]
test edx, edx
jbe 0x6ee71f
mov ecx, dword [ebx]
lea edx, [0x844e98]
cmp eax, edx
je 0x6ee2ba
mov eax, dword [esp + 0x14c]
test eax, eax
jmp 0x6ee307
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
call fcn.00403870
movzx eax, byte [esp + 0xc]
test al, al
je 0x6ee2ec
movzx eax, byte [esp + 0x32]
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x84]
jmp 0x6edec7
mov eax, dword [esp + 0x14c]
test eax, eax
lea edx, [0x844e98]
lea esi, [0x844ec8]
lea edi, [0x844fa0]
je 0x6ee3fb
mov ecx, dword [eax + 0x14]
mov ebx, dword [eax + 0x18]
test ecx, ecx
jne 0x6ee31f
test ebx, ebx
je 0x6ee3fb
cmp ecx, 1
jg 0x6ee3fb
jne 0x6ee333
cmp ebx, 0x12
jge 0x6ee3fb
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.004094f0
mov eax, dword [esp + 4]
mov dword [esp + 0x8c], eax
lea ecx, [0x750280]
mov dword [esp], ecx
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x6ee369
mov esi, dword [ecx + 4]
jmp 0x6ee36b
mov esi, ecx
mov dword [eax], esi
mov ecx, dword [0xaab020]
test ecx, ecx
jne 0x6ee380
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], ecx
jmp 0x6ee390
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x6c]
call fcn.004643b0
mov eax, ecx
mov ecx, dword [esp + 0x14c]
mov dword [esp], ecx
lea edx, [0x844728]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x87
lea ebx, [0x7d562d]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0x38
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 1
call fcn.006e1900
movzx eax, byte [esp + 0x32]
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x84]
jmp 0x6edec7
mov dword [esp + 0x98], 0
lea eax, [0x773f20]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [0xaab020]
test ecx, ecx
jne 0x6ee432
mov ecx, dword [esp + 0x6c]
mov dword [eax + 8], ecx
jmp 0x6ee442
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x6c]
call fcn.004643b0
mov eax, ecx
mov dword [esp + 0x98], eax
mov eax, 1
mov edx, 1
xor ecx, ecx
lea ebx, [esp + 0x98]
mov ebp, dword [esp + 0x84]
mov dword [esp], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 8], ebp
movzx ebp, byte [esp + 0x32]
xchg ebp, eax
mov byte [esp + 0xc], al
xchg ebp, eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], cl
call fcn.006ef080
movzx eax, byte [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
jmp 0x6edec7
mov edx, dword [0xaab020]
test edx, edx
jne 0x6ee4bf
mov dword [ecx + 0x1c], 0
jmp 0x6ee4c9
lea edi, [ecx + 0x1c]
xor eax, eax
call fcn.004643b0
xor eax, eax
jmp 0x6ee4e3
mov edx, dword [esp + 0x3c]
lea eax, [edx + 2]
mov ecx, dword [esp + 0x154]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov edx, dword [esp + 0xa0]
mov esi, dword [esp + 0x9c]
cmp eax, edx
jge 0x6ee557
jae 0x6ee718
mov edi, dword [esi + eax*4]
lea ebp, [eax + 1]
cmp edx, ebp
jbe 0x6ee70f
mov dword [esp + 0x3c], eax
mov dword [esp + 0x80], edi
mov ecx, dword [esi + eax*4 + 4]
mov edx, dword [edi + 0x14]
mov ebx, dword [edi + 0x18]
mov ebp, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
mov byte [esp + 0x10], 1
mov dword [esp + 0x14], 0
call fcn.006e7600
movzx eax, byte [esp + 0x18]
test al, al
jne 0x6ee4cd
jmp 0x6ee62d
mov edx, dword [ecx + 0x24]
movzx esi, byte [esp + 0x32]
xchg esi, eax
mov byte [edx + 0x18], al
xchg esi, eax
mov edx, dword [esp + 0xac]
mov esi, dword [esp + 0xa8]
mov eax, esi
mov esi, dword [esp + 0xb0]
test edx, edx
je 0x6ee5ee
nop
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], esi
call fcn.00409680
mov eax, dword [esp + 0xc]
lea ecx, [0x845910]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00494700
mov eax, dword [esp + 0x154]
mov edi, dword [eax + 0x24]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xb0]
mov dword [edi + 4], edx
mov dword [edi + 8], ebx
mov edx, dword [0xaab020]
test edx, edx
jne 0x6ee5d9
mov dword [edi], ecx
jmp 0x6ee5e4
mov edx, eax
mov eax, ecx
call fcn.004643b0
mov eax, edx
mov ecx, eax
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov edx, dword [ecx + 0x24]
mov dword [edx + 0x10], ebx
mov dword [edx + 0x14], ebp
mov ebx, dword [0xaab020]
test ebx, ebx
jne 0x6ee60d
mov eax, dword [esp + 0x84]
mov dword [edx + 0xc], eax
jmp 0x6ee61c
lea edi, [edx + 0xc]
mov eax, dword [esp + 0x84]
call fcn.004643b0
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x158], eax
add esp, 0x148
ret
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 4]
mov dword [esp], ecx
call fcn.004094f0
mov eax, dword [esp + 4]
lea ecx, [0x760200]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409600
mov eax, dword [esp + 8]
lea ecx, [0x758c80]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
lea eax, [0x7c22ec]
mov dword [esp], eax
mov dword [esp + 4], 0x17
lea eax, [esp + 0xb4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004d9ce0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409600
mov eax, dword [esp + 8]
lea ecx, [0x758c80]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436340
mov eax, ebp
mov ecx, edx
call fcn.00464430
mov ecx, edx
call fcn.00464430
xor eax, eax
xor ecx, ecx
call fcn.00464430
mov dword [esp + 0x4c], edx
mov eax, dword [ebp + edx*4]
mov ecx, dword [esp + 0xc4]
mov ebx, dword [esp + 0x38]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov byte [esp + 8], 0
lea edx, [esp + 0xc4]
call ecx
mov eax, dword [esp + 0x4c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x14c]
movzx ebx, byte [esp + 0x31]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x50]
cmp edx, esi
jl 0x6ee728
mov ebp, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov ecx, ebx
mov ebx, ebp
jmp 0x6ee45c
mov eax, edx
mov ecx, ebx
call fcn.00464430
nop
call fcn.004358f0
add esp, 0x148
ret
call fcn.00462fa0
jmp fcn.006edc00