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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
push ebx
xor ebx, ebx
cmp dword [ebp + 0x18], 0xa
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x24], ebx
mov esi, ecx
mov dword [esp + 0x1c], ebx
jne 0x4e1edf
lea ecx, [esp + 0x24]
call fcn.004f7130
mov eax, dword [edi + 8]
shr eax, 1
push eax
lea ecx, [edi + 0xc]
push ecx
lea ecx, [esp + 0x44]
call fcn.004f6f40
cmp dword [edi + 4], ebx
je 0x4e1cc9
lea ecx, [esp + 0x34]
call fcn.004f7130
mov eax, dword [edi + 4]
lea edx, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.004d0b40
lea ecx, [esp + 0x34]
push ecx
jmp 0x4e1d23
push 0x5c
lea ecx, [esp + 0x40]
call fcn.004f7050
test eax, eax
je 0x4e1cf3
lea ecx, [esp + 0x3c]
call fcn.004f6ee0
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.004f71d0
jmp 0x4e1d56
lea ecx, [esp + 0x34]
call fcn.004f7130
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x34]
push ecx
push edx
mov ecx, esi
call fcn.004d0b40
lea ecx, [esp + 0x34]
call fcn.004f6ee0
push eax
call fcn.004e6150
add esp, 4
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x28]
call fcn.004f7230
push 0x10078be0
lea ecx, [esp + 0x28]
call fcn.004f7420
lea ecx, [esp + 0x3c]
call fcn.004f6ee0
push eax
lea ecx, [esp + 0x28]
call fcn.004f7260
lea ecx, [esp + 0x34]
call fcn.004f7250
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ecx
push edx
lea ecx, [esi + 0x58]
call fcn.004fa640
test eax, eax
jne 0x4e1de1
lea ecx, [esp + 0x24]
mov ebx, 1
call fcn.004f6ee0
push eax
lea eax, [esp + 0x68]
push eax
call fcn.004ab340
mov eax, dword [eax]
add esp, 8
push eax
mov ecx, esi
call fcn.004dd6f0
test eax, eax
jne 0x4e1de1
lea ecx, [esp + 0x24]
mov ebx, 7
call fcn.004f6ee0
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.004ab340
mov eax, dword [eax]
push eax
lea edx, [esp + 0x7c]
push edx
call fcn.004c9990
mov eax, dword [eax]
add esp, 0x10
push eax
mov ecx, esi
call fcn.004dd6f0
test eax, eax
jne 0x4e1de1
mov ecx, dword [esi]
push 1
call fcn.004afa30
test eax, eax
mov byte [esp + 0x23], 0
je 0x4e1de6
mov byte [esp + 0x23], 1
test bl, 4
je 0x4e1e0d
mov eax, dword [esp + 0x70]
and ebx, 0xfffffffb
test eax, eax
je 0x4e1e0d
push eax
call fcn.004c17d0
add esp, 4
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
test bl, 2
je 0x4e1e34
mov eax, dword [esp + 0x44]
and ebx, 0xfffffffd
test eax, eax
je 0x4e1e34
push eax
call fcn.004c17d0
add esp, 4
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
test bl, 1
je 0x4e1e4a
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4e1e4a
push eax
call fcn.004c17d0
add esp, 4
cmp byte [esp + 0x23], 0
lea ecx, [esp + 0x24]
je 0x4e1eda
lea eax, [esp + 0x90]
push eax
push 0
push 0x40
call fcn.004f6ee0
push eax
push 0
lea ecx, [esp + 0x84]
call fcn.004f6f10
mov ecx, eax
call fcn.004f6ee0
push eax
mov ecx, esi
call fcn.004e0ac0
neg eax
sbb eax, eax
add eax, 1
cmp byte [edi], 0
jne 0x4e1eaf
test eax, eax
je 0x4e1eaf
lea ecx, [esp + 0x24]
call fcn.004f7250
mov eax, 0xc0000035
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea ecx, [esp + 0x24]
call fcn.004f6ee0
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, esi
call fcn.004e1830
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.004f7250
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
call fcn.004f7250
mov eax, dword [ebp + 0x18]
add eax, 0xfffffffc
cmp eax, 0x1a
ja 0x4e25cb
movzx edx, byte [eax + 0x1003b038]
jmp dword [edx*4 + 0x1003b01c]
lea ecx, [esp + 0x18]
push 4
push ecx
call fcn.004c15e0
add esp, 8
lea edx, [esp + 0x18]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 0x58]
call fcn.004fa510
test eax, eax
je 0x4e25fe
mov dword [esp + 0x1c], 0
mov esi, 0xc0000003
jmp 0x4e260a
mov esi, dword [esp + 0x10]
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4e261a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x1c], 0
je 0x4e2641
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov eax, dword [0x100b7078]
mov eax, dword [eax + 0x218]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push edi
push ecx
push edx
call eax
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14