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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff74
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 4], ebx
mov esi, ecx
lea edi, [ebp - 0x3a]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ebx, edx
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x3a]
mov edx, dword [0x4e8064]
call fcn.0040baec
xor eax, eax
push ebp
push 0x4f00e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x40]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x40]
add eax, dword [ecx + 0x10]
adc edx, dword [ecx + 0x14]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
test ebx, ebx
je 0x4efb9c
mov eax, ebx
call fcn.004ab7e8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
jmp 0x4efbb8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
sub eax, dword [ebp - 0x50]
sbb edx, dword [ebp - 0x4c]
push edx
push eax
lea eax, [ebp - 0x3a]
call fcn.004ecfd8
push dword [ebp - 0x44]
push dword [ebp - 0x48]
lea eax, [ebp - 0x3a]
call fcn.004ed160
movzx eax, word [ebp - 0x3a]
mov edx, eax
and dx, 0xff
cmp dx, 0x14
jae 0x4efbf9
and ax, 0xff00
add ax, 0x14
mov word [ebp - 0x3a], ax
cmp word [ebp - 0x38], 0x14
jae 0x4efc06
mov word [ebp - 0x38], 0x14
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4efc10
mov eax, dword [eax - 4]
mov word [ebp - 0x22], ax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4efc1e
mov eax, dword [eax - 4]
mov word [ebp - 0x20], ax
cmp dword [ebp + 8], 0
jne 0x4efc30
lea eax, [ebp - 0x3a]
mov dword [ebp + 8], eax
jmp 0x4efc6c
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x74], 0
setne cl
mov eax, dword [ebp + 8]
xor edx, edx
call fcn.004ed29c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2a]
test eax, eax
je 0x4efc51
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
mov word [edx + 0x18], ax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2e]
test eax, eax
je 0x4efc65
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
mov word [edx + 0x1a], ax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x32]
test eax, eax
je 0x4efc79
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
mov word [edx + 0x1c], ax
push dword [ebp - 0x44]
push dword [ebp - 0x48]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
call fcn.004ab808
mov eax, dword [0x503830]
mov dword [ebp - 0x60], eax
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov ecx, 4
call fcn.004ec0e8
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov ecx, 0x1a
call fcn.004ec0e8
movzx ecx, word [ebp - 0x22]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x10]
call fcn.004ec038
cmp word [ebp - 0x20], 0
jbe 0x4efcea
movzx ecx, word [ebp - 0x20]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0xc]
call fcn.004ec038
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
call fcn.004ab7e8
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
test ebx, ebx
je 0x4eff9b
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x74], 0
jne 0x4efd1a
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov dword [ebp - 0x70], eax
jmp 0x4efdeb
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x78], 0
jne 0x4efd3a
mov ecx, dword [0x503868]
mov dl, 1
mov eax, dword [0x4e8284]
call fcn.0042a588
call fcn.0040973c
lea eax, [ebp - 0x3a]
mov cl, 1
xor edx, edx
call fcn.004ed29c
push 0x4000
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x404bc4]
call fcn.0040cf5c
add esp, 4
jmp 0x4efda2
mov eax, dword [ebp - 4]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x4efd78
mov eax, dword [ebp - 0x74]
mov eax, dword [eax - 4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x20]
mov dword [ebp - 0x78], eax
mov esi, dword [ebp - 0x78]
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x2e]
push eax
call fcn.004e6ca0
add esp, 0xc
mov dword [ebp - 0x2e], eax
mov eax, ebx
call fcn.004ab7e8
cmp edx, dword [ebp - 0x54]
jne 0x4efdb5
cmp eax, dword [ebp - 0x58]
jb 0x4efd63
jmp 0x4efdb7
jl 0x4efd63
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
mov eax, ebx
call fcn.004ab808
mov eax, dword [ebp - 0x2e]
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x78]
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x74]
push eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 8]
mov dl, 1
mov eax, dword [0x4ec9ac]
call fcn.004f0e10
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x40]
add eax, 0x3c
lea edx, [ebp - 0x3a]
mov ecx, dword [0x4e8064]
call fcn.0040bc28
movzx eax, byte [ebp - 0x34]
mov byte [ebp - 0x69], al
movzx edx, byte [ebp - 0x69]
mov eax, dword [ebp - 0x40]
call fcn.004ee058
lea eax, [ebp - 0x3a]
push eax
movzx edx, byte [ebp - 0x69]
lea ecx, [ebp - 0x8c]
mov eax, dword [0x50a8ec]
call fcn.004f17b4
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x70]
mov esi, dword [eax]
call dword [esi + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov edx, dword [0x4dd558]
call fcn.00408578
test al, al
je 0x4efe60
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x18], 0x4eeb18
xor eax, eax
push ebp
push 0x4eff94
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x74], 0
je 0x4efe99
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
sub eax, dword [ebp - 0x50]
sbb edx, dword [ebp - 0x4c]
push edx
push eax
mov ecx, 0x100000
mov edx, ebx
mov eax, dword [ebp - 0x5c]
call fcn.004aceb8
jmp 0x4eff1e
push 0x4000
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x404bc4]
call fcn.0040cf5c
add esp, 4
jmp 0x4eff09
mov eax, dword [ebp - 4]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x4efecb
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax - 4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x20]
mov dword [ebp - 0x80], eax
mov esi, dword [ebp - 0x80]
push esi
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x5c]
mov edi, dword [eax]
call dword [edi + 0x24]
mov dword [ebp - 0x84], eax
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x2e]
push eax
call fcn.004e6ca0
add esp, 0xc
mov dword [ebp - 0x2e], eax
mov eax, ebx
call fcn.004ab7e8
cmp edx, dword [ebp - 0x54]
jne 0x4eff1c
cmp eax, dword [ebp - 0x58]
jb 0x4efeb6
jmp 0x4eff1e
jl 0x4efeb6
mov eax, dword [ebp - 0x40]
cmp word [eax + 0x32], 0
je 0x4eff4b
mov eax, dword [ebp - 0x40]
add eax, 0x3c
push eax
mov eax, dword [ebp - 0x5c]
call fcn.004ab7e8
push edx
push eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x38]
mov ebx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebx + 0x34]
call dword [ebx + 0x30]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eff9b
mov eax, dword [ebp - 0x5c]
call fcn.00408290
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0x70]
je 0x4eff73
mov eax, dword [ebp - 0x70]
call fcn.00408290
mov eax, dword [ebp - 0x40]
add eax, 0x3c
mov edx, dword [0x4e8064]
call fcn.0040b484
mov edi, eax
xor eax, eax
mov ecx, 0xd
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
pop eax
jmp eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
call fcn.004ab7e8
sub eax, dword [ebp - 0x68]
sbb edx, dword [ebp - 0x64]
push edx
push eax
lea eax, [ebp - 0x3a]
call fcn.004ed098
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x26]
mov dword [eax + 0x14], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x2a]
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x2e]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
movzx edx, word [ebp - 0x20]
mov word [eax + 0x1a], dx
mov eax, dword [ebp + 8]
add eax, 0x2e
mov edx, dword [ebp - 0xc]
mov ecx, dword [0x404bc4]
call fcn.0040d0c4
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
call fcn.004ab7e8
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
lea eax, [ebp - 0x3a]
call fcn.004ed124
add eax, 4
adc edx, 0
push edx
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
call fcn.004ab808
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov ecx, 0x1a
call fcn.004ec0e8
cmp word [ebp - 0x20], 0
jbe 0x4f005d
movzx ecx, word [ebp - 0x22]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x10]
call fcn.004ec038
movzx ecx, word [ebp - 0x20]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0xc]
call fcn.004ec038
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4f006a
mov eax, dword [eax - 4]
mov ebx, eax
lea eax, [ebx + 1]
push eax
mov eax, dword [ebp - 0x40]
add eax, 0x20
mov ecx, 1
mov edx, dword [0x4ebddc]
call fcn.0040cf5c
add esp, 4
lea eax, [ebx + ebx*2]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 0x40]
mov edx, dword [edx + 0x20]
lea eax, [edx + eax*2]
mov edx, dword [ebp + 8]
mov ecx, dword [0x4e8064]
call fcn.0040bc28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f00ea
lea eax, [ebp - 0x8c]
mov edx, dword [0x4e95a8]
call fcn.0040b484
lea eax, [ebp - 0x3a]
mov edx, dword [0x4e8064]
call fcn.0040b484
lea eax, [ebp - 4]
mov edx, dword [0x404bc4]
call fcn.0040d080
pop eax
jmp eax