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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x24], edx
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], 0
mov edx, dword [esi + 8]
mov dword [esp + 0x10], edx
cmp dword [edi + 0x2c], 0
mov eax, dword [edi + 0x28]
lea ecx, [edx + 0x74]
mov dword [esp + 0x20], 0
lea ebx, [edx + 0x78]
mov byte [edi], 1
mov dword [esp + 0x38], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ebx
jle 0x4e6677
mov eax, dword [eax]
mov dword [esp + 0x34], 0
test dword [eax + 4], 0x1000000
mov ebx, dword [eax + 0x14]
mov dword [esp + 0x3c], ebx
je 0x4e6374
mov eax, dword [eax + 0x2c]
mov edi, dword [eax + 0x28]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 0
je 0x4e635d
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
test byte [eax + 4], 0x20
je 0x4e635d
cmp dword [esp + 0x28], 0
je 0x4e635d
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4e6309
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x14], eax
mov ecx, dword [ecx]
cmp dword [edx + 0x78], ecx
jg 0x4e632a
mov ecx, dword [esp + 0x10]
mov edx, 0x4f
push 0
push eax
push dword [esp + 0x30]
call fcn.0048fdb0
add esp, 0xc
jmp 0x4e635d
lea eax, [ecx + 1]
mov dword [edx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x70]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x4f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
push 0x10
push eax
push edi
push esi
mov dword [esp + 0x44], eax
call fcn.004afc90
add esp, 0x10
test ebx, ebx
je 0x4e63e6
mov ebx, dword [ebx]
mov dword [esp + 0x30], ebx
cmp ebx, 1
jne 0x4e63a3
mov al, byte [esi + 0x13]
test al, al
jne 0x4e6392
inc dword [esi + 0x2c]
mov edi, dword [esi + 0x2c]
jmp 0x4e63cb
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov edi, dword [esi + eax*4 + 0x98]
jmp 0x4e63cb
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x18], edx
cmp ebx, ecx
jg 0x4e63c0
lea eax, [edx + ebx]
sub ecx, ebx
mov dword [esi + 0x20], eax
mov edi, edx
mov dword [esi + 0x1c], ecx
jmp 0x4e63cf
mov eax, dword [esi + 0x2c]
lea edi, [eax + 1]
add eax, ebx
mov dword [esi + 0x2c], eax
mov dword [esp + 0x18], edi
mov ebx, dword [esp + 0x3c]
mov ecx, esi
push 1
push 0
push edi
mov edx, ebx
call fcn.004af3f0
add esp, 0xc
jmp 0x4e63f4
xor edi, edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0xc], 0
jl 0x4e642e
test ebx, ebx
je 0x4e642e
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4e6414
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
mov dword [esp + 0x34], eax
mov edx, dword [ebp + 0xc]
push edi
push ebx
push eax
push dword [ecx + 0xc]
mov ecx, esi
call fcn.004dcba0
mov ecx, dword [esp + 0x2c]
add esp, 0x10
mov dword [ecx + 0xc], eax
mov eax, dword [ecx + 4]
test byte [eax + 4], 0x20
je 0x4e652c
xor edi, edi
add ebx, 8
cmp edi, dword [esp + 0x30]
jge 0x4e645f
mov edx, dword [ebx]
mov ecx, esi
call fcn.004a69f0
inc edi
mov dword [esp + 0x3c], eax
add ebx, 0x14
test eax, eax
je 0x4e6440
mov edi, eax
jmp 0x4e6464
mov eax, dword [esi]
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4e647e
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x24], eax
je 0x4e647e
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
mov edx, dword [ecx]
cmp dword [ebx], edx
mov ebx, dword [esp + 0x10]
jg 0x4e64a8
push 0
push 0
push eax
mov edx, 0x54
mov ecx, ebx
call fcn.0048fdb0
add esp, 0xc
mov edx, eax
jmp 0x4e64de
lea eax, [edx + 1]
mov dword [ecx], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x70]
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x54
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx]
cmp byte [ecx + 0x57], 0
je 0x4e64f6
push edi
mov edx, 0xfffffffe
call fcn.004908c0
add esp, 4
jmp 0x4e6530
test edx, edx
jns 0x4e64fe
mov edx, dword [ebx + 0x74]
dec edx
mov eax, dword [ebx + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4e651f
push 0xfffffffffffffffe
push edi
mov edx, eax
mov ecx, ebx
call fcn.00490b10
add esp, 8
jmp 0x4e6530
test edi, edi
je 0x4e6530
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xfe
jmp 0x4e6530
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x74]
mov edi, dword [esp + 0x18]
mov edx, dword [eax + 8]
cmp dword [ebx + 0x78], ecx
jg 0x4e655b
push edx
push edi
push 0
mov edx, 0xa1
mov ecx, ebx
call fcn.0048fdb0
add esp, 0xc
add ebx, 0x70
jmp 0x4e6589
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
add ebx, 0x70
mov dword [eax + ecx*4], 0xa1
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ecx]
mov edx, dword [eax + 4]
cmp byte [ecx + 0x57], 0
je 0x4e65ac
push edx
mov edx, 0xfffffff8
call fcn.004908c0
add esp, 4
jmp 0x4e65c0
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
test ecx, ecx
jle 0x4e65db
mov eax, dword [esp + 0x30]
lea ecx, [ecx + ecx*4]
movzx edx, al
mov eax, dword [ebx]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esp + 0x30]
cmp eax, 1
jne 0x4e65fe
test edi, edi
je 0x4e6609
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x4e6609
movzx eax, al
mov dword [esi + eax*4 + 0x98], edi
inc byte [esi + 0x13]
jmp 0x4e6609
cmp eax, dword [esi + 0x1c]
jle 0x4e6609
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], edi
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
test edi, edi
je 0x4e663a
mov ecx, dword [edx + 0xc]
not edi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4e6631
push edi
call fcn.004905d0
mov edx, dword [esp + 0x14]
add esp, 4
jmp 0x4e663a
mov ecx, dword [ecx + 0x40]
mov eax, dword [edx + 0x74]
mov dword [ecx + edi*4], eax
mov ecx, dword [esp + 0x38]
mov edi, dword [ebp + 8]
inc ecx
mov eax, dword [esp + 0x1c]
add eax, 0x14
mov dword [esp + 0x38], ecx
mov dword [esp + 0x1c], eax
cmp ecx, dword [edi + 0x2c]
lea ecx, [edx + 0x74]
jl 0x4e62b6
cmp dword [esp + 0x14], 0
mov ecx, dword [esp + 0x24]
jne 0x4e6672
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
jmp 0x4e667e
lea eax, [edi + 0x24]
jmp 0x4e66b2
mov dword [esp + 0x2c], ebx
lea ebx, [edx + 0x70]
mov eax, dword [ebp + 8]
mov edi, ecx
add eax, 0x24
mov dword [esp + 0x34], ebx
mov edx, eax
mov dword [esp + 0x24], edx
cmp dword [eax], 0
je 0x4e672c
cmp dword [esp + 0x28], 0
mov edx, dword [esp + 0x28]
mov dword [esp + 0x14], edx
mov edx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], ebx
je 0x4e672c
mov dword [esp + 0x24], eax
mov edi, ecx
mov eax, dword [ecx]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], ebx
cmp dword [eax], edx
mov edx, dword [esp + 0x24]
jg 0x4e66f5
mov ecx, dword [esp + 0x10]
mov edx, 0x12
push 0
push 0
push dword [esp + 0x1c]
call fcn.0048fdb0
mov edx, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x4e672c
mov eax, dword [esp + 0x20]
inc eax
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x12
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [eax + 0x1c]
cmp dword [edx], ebx
jle 0x4e6767
lea edi, [eax + 4]
nop dword [eax + eax]
push dword [edi + 8]
mov edx, dword [edi]
mov ecx, esi
call fcn.004af340
mov eax, dword [esp + 0x28]
lea edi, [edi + 0x14]
inc ebx
add esp, 4
cmp ebx, dword [eax]
jl 0x4e6740
mov eax, dword [esp + 0x10]
lea edi, [eax + 0x74]
lea edx, [eax + 0x70]
jmp 0x4e676f
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
mov ebx, dword [esp + 0x20]
mov byte [ecx], 0
test ebx, ebx
je 0x4e67b6
mov esi, dword [edi]
lea ecx, [esi - 1]
cmp ebx, ecx
jne 0x4e678f
mov dword [edi], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [eax]
cmp byte [eax + 0x57], 0
je 0x4e67a6
mov eax, 0x5c4868
mov dword [eax + 8], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edx]
test ebx, ebx
cmovns ecx, ebx
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret