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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x4ed806
sub esp, 0x90
mov eax, dword [esp + 0x98]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x78]
test edx, edx
je 0x4ed73a
lea ebx, [0x6619ec]
mov eax, dword [ebx + 0x50]
mov dword [esp], edx
call eax
cmp dword [esp + 4], 0x16
jne 0x4ed7ed
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x4ed72f
nop
movzx edx, byte [0x783630]
test dl, dl
je 0x4ed71c
mov edx, dword [esp + 0x98]
mov dword [0x783634], edx
mov ebx, dword [0x7a0970]
test ebx, ebx
jne 0x4ed705
mov eax, dword [esp + 0x9c]
mov dword [0x783638], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov ebx, dword [esp + 0x60]
test ebx, ebx
je 0x4ed6f8
nop
movzx ebp, byte [ebx + 0xf]
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x4ed03d
or ebp, 0x80
mov esi, eax
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00480380
mov eax, dword [esp + 0x14]
and eax, 0x1f
lea ecx, [eax - 2]
cmp ecx, 4
jbe 0x4ed3f4
lea ecx, [eax - 7]
cmp ecx, 4
jbe 0x4ed129
cmp eax, 0x19
jne 0x4ed7d5
mov eax, dword [esp + 0x98]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4ed120
lea ecx, [0x6619ec]
mov ecx, dword [ecx + 0x28]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [0x783454]
mov edx, dword [esp + 8]
cmp dword [0x783450], eax
jne 0x4ed7d5
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004037c0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4ed7d5
mov eax, dword [esp + 0x98]
lea ecx, [0x60e0e0]
cmp eax, ecx
jne 0x4ed743
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], eax
call fcn.004ed810
movzx eax, byte [esp + 8]
mov byte [esp + 0xa0], al
add esp, 0x90
ret
xor ecx, ecx
xor eax, eax
jmp 0x4ed09f
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x94]
mov dword [esp], eax
lea eax, [esp + 0x48]
mov dword [esp + 4], eax
call fcn.004edbe0
movzx eax, byte [esp + 8]
test al, al
je 0x4ed2b9
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x4ed3e9
nop
movzx edx, byte [0x783630]
test dl, dl
je 0x4ed3d6
mov edx, dword [esp + 0x98]
mov dword [0x783634], edx
mov ebx, dword [0x7a0970]
test ebx, ebx
jne 0x4ed3bf
mov eax, dword [esp + 0x9c]
mov dword [0x783638], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov ebx, dword [esp + 0x70]
test ebx, ebx
je 0x4ed3b2
nop
movzx ebp, byte [ebx + 0xf]
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x4ed1cf
or ebp, 0x80
mov esi, eax
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00480380
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
and edx, 0x1f
lea ebx, [edx - 7]
mov ebp, dword [esp + 0xc]
cmp ebx, 5
ja 0x4ed759
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
mov edx, dword [ebp]
shl edx, 3
add edx, 0xffffffc0
neg edx
cmp edx, 0x20
sbb ebx, ebx
mov dword [esp + 0x44], ebx
lea ebp, [edx - 0x20]
mov dword [esp + 0x40], ebp
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
cmp ebp, 0x20
mov edi, ebp
sbb ebp, ebp
mov dword [esp + 0x3c], ebp
cmp esi, 0x20
sbb ebp, ebp
mov dword [esp + 0x38], ebp
mov ecx, edx
mov ebp, dword [esp + 0x24]
shl ebp, cl
and ebp, ebx
mov ecx, esi
shl eax, cl
mov ecx, edi
mov esi, dword [esp + 0x1c]
shr esi, cl
mov ebx, dword [esp + 0x3c]
and esi, ebx
or esi, ebp
mov ebp, dword [esp + 0x38]
and eax, ebp
or eax, esi
mov ecx, edx
mov esi, eax
shr eax, cl
mov ebp, dword [esp + 0x44]
and eax, ebp
mov ebx, dword [esp + 0x24]
cmp eax, ebx
setne bl
mov eax, ebx
mov ebx, dword [esp + 0x1c]
shl ebx, cl
and ebx, ebp
mov ecx, edi
mov edi, esi
shl esi, cl
mov ecx, ebp
mov ebp, dword [esp + 0x3c]
and esi, ebp
mov ebp, ecx
mov ecx, edx
shr ebx, cl
and ebx, ebp
mov ecx, dword [esp + 0x40]
shr edi, cl
or ebx, esi
mov edx, dword [esp + 0x38]
and edi, edx
or ebx, edi
mov edx, dword [esp + 0x1c]
cmp ebx, edx
setne dl
or edx, eax
test dl, dl
je 0x4ed2c8
mov byte [esp + 0xa0], 0
add esp, 0x90
ret
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x4ed3aa
nop
movzx edx, byte [0x783630]
test dl, dl
je 0x4ed39e
mov edx, dword [esp + 0x98]
mov dword [0x783634], edx
mov edx, dword [0x7a0970]
test edx, edx
jne 0x4ed387
mov eax, dword [esp + 0x9c]
mov dword [0x783638], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x4ed37f
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x4ed334
or edx, 0x80
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00480380
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
call fcn.00481b60
mov byte [esp + 0xa0], 1
add esp, 0x90
ret
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x4ed334
lea edi, [0x783638]
mov eax, dword [esp + 0x9c]
call fcn.0045de10
jmp 0x4ed30f
mov eax, dword [esp + 0x9c]
jmp 0x4ed30f
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x4ed334
mov esi, eax
xor ebp, ebp
xor ebx, ebx
xor eax, eax
jmp 0x4ed1d1
lea edi, [0x783638]
mov eax, dword [esp + 0x9c]
call fcn.0045de10
jmp 0x4ed1a4
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
jmp 0x4ed1a4
xor ebp, ebp
xor ebx, ebx
xor eax, eax
jmp 0x4ed1d1
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x94]
mov dword [esp], eax
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
call fcn.004eda10
movzx eax, byte [esp + 8]
test al, al
je 0x4ed5b4
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x4ed6ed
nop
movzx edx, byte [0x783630]
test dl, dl
je 0x4ed6da
mov edx, dword [esp + 0x98]
mov dword [0x783634], edx
mov ebx, dword [0x7a0970]
test ebx, ebx
jne 0x4ed6c3
mov eax, dword [esp + 0x9c]
mov dword [0x783638], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov ebx, dword [esp + 0x80]
test ebx, ebx
je 0x4ed6b6
nop
movzx ebp, byte [ebx + 0xf]
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x4ed4a3
or ebp, 0x80
mov esi, eax
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00480380
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
and edx, 0x1f
lea ebx, [edx - 2]
mov ebp, dword [esp + 0xc]
cmp ebx, 4
ja 0x4ed797
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
mov edx, dword [ebp]
shl edx, 3
add edx, 0xffffffc0
neg edx
mov dword [esp + 0x34], edx
cmp edx, 0x20
sbb ebx, ebx
mov dword [esp + 0x44], ebx
lea ebp, [edx - 0x20]
cmp ebp, 0x20
sbb esi, esi
mov dword [esp + 0x40], esi
mov edi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov dword [esp + 0x3c], ebp
cmp ebp, 0x20
sbb ebx, ebx
mov dword [esp + 0x38], ebx
shr edx, 5
cmp edx, 1
sbb edx, edx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x34]
cmp edx, 0x20
sbb ebx, ebx
mov ecx, edi
shl eax, cl
and eax, esi
mov ecx, ebp
mov esi, dword [esp + 0x20]
shr esi, cl
mov ecx, edx
mov ebp, dword [esp + 0x28]
shl ebp, cl
mov edx, dword [esp + 0x38]
and esi, edx
mov edx, dword [esp + 0x44]
and ebp, edx
or ebp, esi
or ebp, eax
not ebx
or ebx, ecx
mov eax, ecx
mov ecx, ebx
mov esi, ebp
sar ebp, cl
mov ebx, dword [esp + 0x28]
cmp ebx, ebp
setne bl
mov byte [esp + 0x1b], bl
mov ecx, eax
mov ebp, dword [esp + 0x20]
shl ebp, cl
and ebp, edx
mov ebx, dword [esp + 0x40]
not ebx
or ebx, edi
shr ebp, cl
and ebp, edx
mov ecx, dword [esp + 0x3c]
mov edx, esi
shl esi, cl
mov eax, edx
mov edx, dword [esp + 0x38]
and esi, edx
or esi, ebp
mov ecx, ebx
sar eax, cl
mov edx, dword [esp + 0x30]
xor edx, 0xffffffff
and edx, eax
or edx, esi
mov ebx, dword [esp + 0x20]
cmp ebx, edx
setne dl
movzx ebx, byte [esp + 0x1b]
or edx, ebx
test dl, dl
je 0x4ed5c3
mov byte [esp + 0xa0], 0
add esp, 0x90
ret
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x4ed6ae
nop
movzx edx, byte [0x783630]
test dl, dl
je 0x4ed6a2
mov edx, dword [esp + 0x98]
mov dword [0x783634], edx
mov edx, dword [0x7a0970]
test edx, edx
jne 0x4ed68b
mov eax, dword [esp + 0x9c]
mov dword [0x783638], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x4ed683
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x4ed638
or edx, 0x80
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00480380
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
call fcn.00481a70
mov byte [esp + 0xa0], 1
add esp, 0x90
ret
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x4ed638
lea edi, [0x783638]
mov eax, dword [esp + 0x9c]
call fcn.0045de10
jmp 0x4ed60a
mov eax, dword [esp + 0x9c]
jmp 0x4ed60a
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x4ed638
mov esi, eax
xor ebp, ebp
xor ebx, ebx
xor eax, eax
jmp 0x4ed4a5
lea edi, [0x783638]
mov eax, dword [esp + 0x9c]
call fcn.0045de10
jmp 0x4ed46f
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
jmp 0x4ed46f
xor ebp, ebp
xor ebx, ebx
xor eax, eax
jmp 0x4ed4a5
mov esi, eax
xor ebp, ebp
xor ebx, ebx
xor eax, eax
jmp 0x4ed03f
lea edi, [0x783638]
mov eax, dword [esp + 0x9c]
call fcn.0045de10
jmp 0x4ed012
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
jmp 0x4ed012
xor ebp, ebp
xor ebx, ebx
xor eax, eax
jmp 0x4ed03f
xor ebx, ebx
xor edx, edx
jmp 0x4ecfb8
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x5daa80]
mov dword [esp + 8], eax
call fcn.00408de0
mov dword [esp + 0x2c], edx
lea eax, [0x5eae60]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1a
lea ecx, [0x6167e7]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
lea ecx, [0x5e09e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00431a30
mov dword [esp + 0x2c], edx
lea eax, [0x5eae60]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x6160ab]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
lea ecx, [0x5e09e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00431a30
lea eax, [0x5db180]
mov dword [esp], eax
lea eax, [0x65c268]
mov dword [esp + 4], eax
call fcn.00431a30
lea eax, [0x5db180]
mov dword [esp], eax
lea eax, [0x65c260]
mov dword [esp + 4], eax
call fcn.00431a30
nop
call fcn.0045c8b0
jmp fcn.004ecf70