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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x4e2ab7
sub esp, 0xb0
xor ebx, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
xor ebx, ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
call fcn.004e2260
mov edx, dword [esp + 0xb4]
mov edi, dword [esp]
mov esi, dword [esp + 4]
mov ebp, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
cmp eax, 0
je 0x4e26ff
xor ebx, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xb0
ret
xor ebx, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x84], edi
mov ecx, edi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x80], ebp
xor edi, edi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x78], ecx
mov esi, ecx
mov ebp, dword [esp + 0x24]
cmp edi, ebp
jge 0x4e2775
mov dword [esp + 0x2c], esi
mov eax, dword [esi]
mov dword [esp + 0x28], edi
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
cmp ecx, 0
jne 0x4e2760
mov ecx, dword [eax + 0x48]
mov dword [esp + 0x20], ecx
cmp edx, 0
je 0x4e27ad
cmp ecx, edx
je 0x4e27ad
add esi, 4
inc edi
mov ebp, dword [esp + 0x24]
cmp edi, ebp
jl 0x4e2743
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xb8], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0xbc], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0xc0], ebx
xor ebx, ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
add esp, 0xb0
ret
mov dword [esp + 0x30], eax
mov eax, dword [eax + 0x28]
cmp eax, 0
je 0x4e2ab0
mov edx, 0x2710
mov ecx, 0x2710
mov dword [esp + 0x6c], eax
mov dword [esp], eax
mov dword [esp + 0x70], edx
mov dword [esp + 4], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 8], ecx
call fcn.004579a0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
mov ebp, dword [ecx + 0x44]
cmp ebp, 1
jne 0x4e285b
mov ebx, dword [esp + 0xac]
or ebx, 1
mov dword [esp + 0xac], ebx
mov ebp, dword [ecx + 0x40]
cmp ebp, 0x18
ja 0x4e2a69
cmp ebp, 9
ja 0x4e2a2f
cmp ebp, 6
jne 0x4e2a21
mov ebx, dword [esp + 0xac]
or ebx, 0x12
mov dword [esp + 0xac], ebx
mov ebp, dword [ecx + 0x3c]
cmp ebp, 0xffffffff
jne 0x4e2a12
mov eax, 0xffffffff
mov dword [esp + 0x94], eax
mov ebp, dword [ecx + 0x34]
cmp ebp, 0
jbe 0x4e2967
mov dword [esp], 0x5c5920
mov ebp, dword [ecx + 0x34]
xor edx, edx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov ebp, dword [ecx + 0x34]
xor ecx, ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.0043d560
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
mov ebp, dword [esp + 0x30]
cmp ebp, 0
je 0x4e2a0a
add ebp, 0x2c
cmp ebp, 0
je 0x4e2a02
mov edx, 8
mov ecx, 8
mov edi, dword [esp + 0xa0]
mov eax, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x4c], edx
cmp edx, eax
jge 0x4e294f
mov eax, edx
mov dword [esp + 0x60], edi
mov dword [esp], edi
mov dword [esp + 0x48], ebp
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call fcn.00454a30
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, ebx
inc ebx
cmp ebx, edx
ja 0x4e29c6
mov dword [esp + 0x40], ebx
mov ebx, ecx
mov ebp, eax
imul ebp, ebp, 0x20
add ebx, ebp
lea ebp, [esp + 0x90]
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov ebp, 0x5df720
mov dword [esp], ebp
call fcn.00410760
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0x90]
cmp eax, edx
je 0x4e2775
jmp 0x4e2769
mov dword [esp], 0x5df720
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.0043d700
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, ebx
inc ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], ecx
jmp 0x4e297e
mov dword [ebp], eax
jmp 0x4e290e
mov dword [ebp], eax
jmp 0x4e2902
mov ebp, dword [ecx + 0x3c]
mov dword [esp + 0x94], ebp
jmp 0x4e28a2
cmp ebp, 9
je 0x4e2879
jmp 0x4e288a
cmp ebp, 0x17
jne 0x4e2a4a
mov ebx, dword [esp + 0xac]
or ebx, 0x18
mov dword [esp + 0xac], ebx
jmp 0x4e288a
cmp ebp, 0x18
jne 0x4e288a
mov ebx, dword [esp + 0xac]
or ebx, 0x14
mov dword [esp + 0xac], ebx
jmp 0x4e288a
cmp ebp, 0x47
ja 0x4e2a97
cmp ebp, 0x25
jne 0x4e2a89
mov ebx, dword [esp + 0xac]
or ebx, 0x1a
mov dword [esp + 0xac], ebx
jmp 0x4e288a
cmp ebp, 0x47
je 0x4e2879
jmp 0x4e288a
cmp ebp, 0x83
je 0x4e2a34
cmp ebp, 0x90
je 0x4e2879
jmp 0x4e288a
mov dword [eax], eax
jmp 0x4e27bd
call fcn.00452240
jmp fcn.004e2660