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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x90
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], edx
mov edx, eax
mov eax, dword [eax]
mov ecx, dword [edx + 8]
mov ebx, dword [edx + 0x80]
mov esi, dword [eax + 0x54]
add edx, 0xc
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x5c], ecx
mov edx, dword [esi + 0x9c]
mov dword [ebp - 0x60], ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
mov dword [ebp - 0x68], esi
push eax
mov dword [ebp - 0x6c], edx
call fcn.004e7eee
add esp, 0xc
test eax, eax
mov dword [ebp - 0x58], eax
jne 0x4eba02
mov ecx, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0x50]
mov al, byte [ecx + 8]
mov byte [ebx + 0x84], al
test al, al
je 0x4eb4c3
mov edi, dword [ecx + 0xc]
mov eax, dword [ebp - 0x50]
mov dword [ebx + 0x88], edi
mov esi, dword [ecx + 0x10]
mov dword [ebx + 0x8c], esi
mov ebx, dword [ecx + 0x14]
mov dword [eax + 0x90], ebx
mov edx, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x10], edx
mov dword [eax + 0x94], edx
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x14], ebx
lea ebx, [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
mov eax, dword [edx + 0x1c]
mov edx, dword [edx + 0x20]
mov dword [ecx + 0x9c], edx
mov dword [ecx + 0x98], eax
mov dword [ebp - 0x18], esi
push ebx
call fcn.00513930
mov eax, dword [ebp - 0x50]
add eax, 0x98
push ebx
push eax
call fcn.004e55f4
add esp, 0xc
mov ebx, dword [ebp - 0x68]
mov eax, dword [ebx + 0x28]
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x34]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 0x48]
cmp eax, 0x636f6d70
je 0x4eb6a2
mov dword [ebp - 0x58], 7
cmp eax, 0x6f75746c
jne 0x4eb8d4
mov esi, dword [ebp - 0x50]
cmp byte [esi + 0x84], 0
je 0x4eb518
push dword [esi + 0x9c]
push dword [esi + 0x98]
mov eax, ebx
add eax, 0x6c
push eax
call fcn.004e532f
add esp, 0xc
mov edx, dword [ebp - 0x68]
movsx eax, word [edx + 0x6c]
push eax
movsx eax, word [edx + 0x6e]
add eax, 4
push eax
push dword [ebp - 0x5c]
call fcn.004e5aaf
add esp, 0xc
test eax, eax
mov dword [ebp - 0x58], eax
jne 0x4eba02
mov ecx, dword [ebp - 0x68]
mov ebx, dword [ebp - 0x5c]
movsx eax, word [ecx + 0x6e]
shl eax, 3
push eax
push dword [ecx + 0x70]
push dword [ebx + 0x38]
call fcn.0052ef10
mov esi, dword [ebp - 0x68]
movsx eax, word [esi + 0x6e]
shl eax, 3
push eax
push dword [esi + 0x70]
push dword [ebx + 0x48]
call fcn.0052ef10
movsx eax, word [esi + 0x6c]
add eax, eax
push eax
push dword [esi + 0x78]
push dword [ebx + 0x40]
call fcn.0052ef10
add esp, 0x24
movsx eax, word [esi + 0x6e]
push eax
push dword [esi + 0x74]
push dword [ebx + 0x3c]
call fcn.0052ef10
mov ax, word [esi + 0x6e]
mov edx, dword [ebp - 0x64]
mov word [ebx + 0x36], ax
mov ecx, dword [ebp - 0x50]
mov ax, word [esi + 0x6c]
mov word [ebx + 0x34], ax
mov eax, dword [edx + 8]
mov dword [ecx + 0xa0], eax
mov eax, dword [edx + 0x10]
mov dword [ecx + 0xa4], eax
push dword [edx + 4]
push dword [esi + 0x28]
call fcn.004e4604
mov ebx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x50]
add esp, 0x14
add eax, dword [ebx + 8]
mov dword [esi + 0xa8], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0xac], eax
mov eax, dword [ebp - 0x68]
cmp word [eax + 0x6e], 0
je 0x4eb8d4
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x5c]
add eax, 0x34
mov edx, dword [ecx]
push ecx
push eax
push ebx
call dword [edx + 0x1c]
mov eax, esi
add eax, 0x3c
add esp, 0xc
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x14]
imul eax, edx, 0x30
dec edx
mov edx, dword [esi + 0xa8]
lea ebx, [ecx + eax - 0x30]
jle 0x4eb673
sub edx, dword [ebx + 4]
mov eax, dword [ecx + 4]
mov ebx, dword [ebx + 8]
mov ecx, dword [ecx + 8]
sub ecx, eax
add ebx, edx
cmp eax, 0x17
jg 0x4eb635
sub ecx, 5
cmp edx, 0x17
jg 0x4eb63d
add ebx, 5
mov esi, dword [ebp - 0x50]
lea edx, [ebx + 0x20]
and edx, 0xffffffc0
lea eax, [ecx + 0x20]
mov dword [esi + 0xa8], edx
and eax, 0xffffffc0
mov edx, dword [ebp - 0x68]
mov dword [esi + 0xa0], eax
sub eax, ecx
mov dword [edx + 0x90], eax
mov eax, dword [esi + 0xa8]
sub eax, ebx
mov dword [edx + 0x94], eax
jmp 0x4eb694
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 0xa0]
add eax, 0x20
and eax, 0xffffffc0
mov dword [ecx + 0xa0], eax
lea eax, [edx + 0x20]
and eax, 0xffffffc0
mov dword [ecx + 0xa8], eax
push dword [ebp - 0x5c]
call fcn.004e5c30
pop ebx
jmp 0x4eb8d4
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x5c]
mov ebx, dword [ebx + 0x80]
movsx esi, word [esi + 0x16]
push ebx
mov dword [ebp - 0x74], ebx
push dword [ebp - 0x5c]
mov dword [ebp - 0x78], esi
call fcn.004e5bb1
pop edx
test eax, eax
mov dword [ebp - 0x58], eax
pop ecx
jne 0x4eba02
mov eax, ebx
mov edx, dword [ebp - 0x5c]
shl eax, 5
push eax
mov eax, dword [ebp - 0x68]
push dword [eax + 0x84]
push dword [edx + 0x50]
call fcn.0052ef10
mov ecx, dword [ebp - 0x5c]
add esp, 0xc
mov dword [ecx + 0x4c], ebx
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 0x70], 0
cmp dword [ebp - 0x58], ebx
jae 0x4eb8d4
shl eax, 5
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x94]
mov edx, dword [eax + 0xa8]
add edi, dword [ebx + 0x30]
mov ecx, dword [eax + 0xac]
mov ebx, dword [eax + 0xa0]
mov esi, dword [eax + 0xa4]
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x80], edx
mov edx, dword [ebp - 0x54]
movsx eax, word [eax + 0x16]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x10]
inc eax
mov dword [ebp - 0x7c], ecx
push eax
mov eax, dword [ebp - 0x50]
push dword [ebp + 0xc]
push dword [edi]
call fcn.004eb3f6
add esp, 0xc
test eax, eax
mov dword [ebp - 0x58], eax
jne 0x4eba02
mov edx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x94]
add edi, dword [edx + 0x30]
mov ax, word [edi + 4]
test ah, 2
jne 0x4eb7a0
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0xa0], ebx
mov dword [ecx + 0xa4], esi
mov ebx, dword [ebp - 0x80]
mov esi, dword [ebp - 0x7c]
mov dword [ecx + 0xa8], ebx
mov dword [ecx + 0xac], esi
mov ecx, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x88]
movsx ecx, word [ecx + 0x16]
sub ecx, ebx
test al, 0xc8
mov dword [ebp - 0x84], ecx
je 0x4eb807
mov edx, dword [ebp - 0x5c]
mov eax, ebx
shl eax, 3
mov esi, dword [edx + 0x18]
add esi, eax
add eax, dword [edx + 0x28]
lea ecx, [esi + ecx*8]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], ecx
cmp esi, ecx
jae 0x4eb807
lea ebx, [edi + 0x10]
push ebx
push esi
call fcn.004e55f4
push ebx
push dword [ebp - 0x8c]
call fcn.004e55f4
add esi, 8
add esp, 0x10
add dword [ebp - 0x8c], 8
cmp esi, dword [ebp - 0x90]
jmp 0x4eb7da
test byte [edi + 4], 2
jne 0x4eb855
mov ecx, dword [ebp - 0x78]
mov esi, dword [edi + 0xc]
add ecx, dword [edi + 8]
cmp ecx, dword [ebp - 0x88]
setae dl
cmp esi, dword [ebp - 0x84]
setae al
or eax, edx
test al, 1
jne 0x4eb992
mov ebx, dword [ebp - 0x5c]
add esi, dword [ebp - 0x88]
mov eax, dword [ebx + 0x18]
mov edx, dword [ebp - 0x78]
add edx, esi
lea ecx, [eax + ecx*8]
lea edx, [eax + edx*8]
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
sub esi, dword [edx]
sub edi, dword [edx + 4]
jmp 0x4eb88b
mov esi, dword [ebp - 0x64]
push dword [esi + 4]
push dword [edi + 8]
call fcn.004e4604
mov esi, eax
mov eax, dword [ebp - 0x64]
add esi, dword [eax + 8]
push dword [eax + 0xc]
push dword [edi + 0xc]
call fcn.004e4604
mov edx, dword [ebp - 0x64]
add esi, 0x20
add esp, 0x10
add eax, dword [edx + 0x10]
and esi, 0xffffffc0
lea edi, [eax + 0x20]
and edi, 0xffffffc0
mov eax, dword [ebp - 0x5c]
lea ebx, [ebp - 0x3c]
add eax, 0x14
push 0x14
push eax
push ebx
call fcn.0052ef10
mov eax, dword [ebp - 0x88]
shl eax, 3
mov ecx, dword [ebp - 0x84]
push edi
add dword [ebp - 0x38], eax
push esi
mov word [ebp - 0x3a], cx
push ebx
call fcn.004e532f
inc dword [ebp - 0x70]
mov ebx, dword [ebp - 0x74]
add esp, 0x18
add dword [ebp - 0x94], 0x20
cmp dword [ebp - 0x70], ebx
jb 0x4eb70d
cmp dword [ebp + 0x10], 0
jne 0x4eba02
mov esi, dword [ebp - 0x50]
cmp byte [esi + 0x84], 0
je 0x4eb900
mov eax, esi
add eax, 0x88
push eax
mov eax, dword [ebp - 0x5c]
add eax, 0x14
push eax
call fcn.004e565e
pop edi
pop eax
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0xa0]
test eax, eax
je 0x4eb921
neg eax
push 0
push eax
mov eax, dword [ebp - 0x5c]
add eax, 0x14
push eax
call fcn.004e532f
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x5c]
add eax, 0x14
push eax
call fcn.004e52b2
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x4c]
add edx, 0x3f
mov eax, dword [ebp - 0x40]
and ecx, 0xffffffc0
and edx, 0xffffffc0
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x44], edx
add eax, 0x3f
sub edx, ecx
mov ecx, dword [ebp - 0x68]
and eax, 0xffffffc0
and dword [ebp - 0x48], 0xffffffc0
mov dword [ebp - 0x40], eax
mov dword [ecx + 0x18], edx
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x48]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x40]
mov dword [ecx + 0x24], eax
mov eax, dword [ecx + 4]
pop ebx
pop esi
test byte [eax + 8], 4
jne 0x4eb99b
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebx + 0xa8]
sub eax, dword [ebx + 0xa0]
mov dword [ecx + 0x28], eax
jmp 0x4eb9b4
mov dword [ebp - 0x58], 0x15
jmp 0x4eba02
mov esi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x68]
push dword [esi + 8]
push dword [eax + 0x28]
call fcn.004e4604
mov edx, dword [ebp - 0x68]
mov dword [edx + 0x28], eax
pop eax
pop edx
mov ecx, dword [ebp - 0x68]
mov ebx, dword [ebp - 0x6c]
mov eax, dword [ecx + 0x28]
add eax, 0x20
and eax, 0xffffffc0
mov dword [ecx + 0x28], eax
push dword [ebx]
call fcn.004e596c
push dword [ebp - 0x5c]
push dword [ebx]
call fcn.004e5c83
add esp, 0xc
test eax, eax
mov dword [ebp - 0x58], eax
jne 0x4eba02
mov eax, dword [ebx]
mov edx, dword [ebp - 0x68]
add edx, 0x6c
add eax, 0x14
push 0x14
push eax
push edx
call fcn.0052ef10
mov esi, dword [ebp - 0x68]
add esp, 0xc
mov dword [esi + 0x48], 0x6f75746c
mov eax, dword [ebp - 0x58]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret