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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x579216
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
mov ebx, dword [esp + 0x74]
push ebp
mov ebp, ecx
cmp dword [ebp + 0x4c], ebx
je 0x4e2dc0
push esi
xor esi, esi
cmp ebx, esi
push edi
jne 0x4e2be4
mov dword [ebp + 0x54], esi
lea ecx, [esp + 0x10]
call fcn.004e6710
mov eax, dword [0x5daa5c]
mov edi, 0x5924ac
mov dword [esp + 0x10], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], esi
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], esi
call fcn.004e6710
mov ecx, dword [0x5daa5c]
mov dword [esp + 0x40], edi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], esi
mov eax, dword [ebp + 0x4c]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, ebp
mov byte [esp + 0x80], 1
call fcn.004e2a30
lea ecx, [esp + 0x40]
push ecx
push ebx
mov ecx, ebp
call fcn.004e2a30
mov eax, dword [esp + 0x2c]
cmp eax, esi
jle 0x4e2c8b
mov ecx, dword [esp + 0x5c]
cmp ecx, esi
jle 0x4e2c8b
mov edx, dword [esp + 0x28]
mov eax, dword [edx + eax*4 - 4]
mov edx, dword [esp + 0x58]
cmp eax, dword [edx + ecx*4 - 4]
jne 0x4e2c8b
dec ecx
push ecx
lea ecx, [esp + 0x44]
call fcn.004e6860
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
dec eax
push eax
call fcn.004e6860
mov eax, dword [esp + 0x2c]
cmp eax, esi
jg 0x4e2c4f
push 0x2c
call fcn.0054dd66
add esp, 4
mov dword [esp + 0x80], eax
cmp eax, esi
mov byte [esp + 0x78], 2
je 0x4e2cb7
mov ecx, dword [0x5daa7c]
push ecx
mov ecx, eax
call fcn.00507cb0
mov edi, eax
jmp 0x4e2cb9
xor edi, edi
push 0x2c
mov byte [esp + 0x7c], 1
call fcn.0054dd66
add esp, 4
mov dword [esp + 0x80], eax
cmp eax, esi
mov byte [esp + 0x78], 3
je 0x4e2ce8
mov edx, dword [0x5daa80]
mov ecx, eax
push edx
call fcn.00507cb0
mov esi, eax
mov eax, dword [ebp + 0x4c]
mov ecx, dword [esp + 0x88]
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x84]
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], ecx
mov dword [esi + 0x18], ebx
mov edx, dword [ebp + 8]
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], edx
mov dword [esi + 0x28], ecx
mov eax, dword [esp + 0x2c]
mov dword [ebp + 0x4c], ebx
xor ebx, ebx
test eax, eax
mov byte [esp + 0x78], 1
jle 0x4e2d58
mov eax, dword [esp + 0x28]
push edi
mov ebp, dword [eax + ebx*4]
mov ecx, ebp
call fcn.00508640
mov eax, dword [edi + 0x1c]
test eax, eax
jne 0x4e2d58
mov edx, dword [ebp]
push edi
mov ecx, ebp
call dword [edx + 0x38]
mov eax, dword [edi + 0x1c]
test eax, eax
jne 0x4e2d58
mov eax, dword [esp + 0x2c]
inc ebx
cmp ebx, eax
jl 0x4e2d29
mov eax, dword [esp + 0x5c]
xor ebx, ebx
test eax, eax
jle 0x4e2d91
mov eax, dword [esp + 0x58]
push esi
mov ebp, dword [eax + ebx*4]
mov ecx, ebp
call fcn.00508640
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x4e2d91
mov edx, dword [ebp]
push esi
mov ecx, ebp
call dword [edx + 0x3c]
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x4e2d91
mov eax, dword [esp + 0x5c]
inc ebx
cmp ebx, eax
jl 0x4e2d62
mov ecx, edi
call fcn.004e4c70
mov ecx, esi
call fcn.004e4c70
lea ecx, [esp + 0x40]
mov byte [esp + 0x78], 0
call fcn.004e6770
lea ecx, [esp + 0x10]
mov dword [esp + 0x78], 0xffffffff
call fcn.004e6770
pop edi
pop esi
mov ecx, dword [esp + 0x68]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 0xc