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

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
mov esi, ecx
push edi
xor edx, edx
lea ebx, [ebp - 8]
mov eax, dword [esi]
xor edi, edi
cmp eax, edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 8
mov dword [esp + 0x10], edi
mov dword [esi + 0x6c], edx
mov dword [esi + 0x60], edx
mov dword [esi + 0x64], edx
mov dword [esi + 0x68], edx
je 0x4e16d4
mov ecx, dword [esi + 0x90]
mov eax, dword [esi + 0x78]
cmp ecx, edx
mov dword [esp + 0x1c], ecx
jne 0x4e12ac
and eax, 0x8000001f
jns 0x4e1297
dec eax
or eax, 0xffffffe0
inc eax
sub eax, dword [esi + 0x18b728]
add eax, dword [esp + 0x2c]
sar eax, 1
and eax, 0xf
mov dword [esp + 0x20], eax
jmp 0x4e12d4
and eax, 0x8000001f
jns 0x4e12b8
dec eax
or eax, 0xffffffe0
inc eax
mov ecx, dword [esp + 0x2c]
lea eax, [eax + ecx*2]
mov ecx, dword [esi + 0x18b728]
sub eax, ecx
mov ecx, dword [esp + 0x1c]
sar eax, 1
and eax, 0xf
mov dword [esp + 0x20], eax
mov eax, dword [0x150c85c]
cmp eax, edx
jne 0x4e12f3
mov eax, ebx
mov dword [esp + 0x14], 8
sub eax, ebp
lea ebp, [ebx + ebx + 8]
mov dword [esp + 0x1c], eax
jmp 0x4e1352
cmp eax, 6
jne 0x4e130e
mov eax, ebx
mov dword [esp + 0x14], 0x13a18
sub eax, ebp
lea ebp, [ebx + ebx + 8]
mov dword [esp + 0x1c], eax
jmp 0x4e1352
cmp eax, 4
jne 0x4e1329
mov eax, ebx
mov dword [esp + 0x14], 0x27428
sub eax, ebp
lea ebp, [ebx + ebx + 8]
mov dword [esp + 0x1c], eax
jmp 0x4e1352
cmp eax, 2
jne 0x4e1336
mov dword [esp + 0x14], 0x3ae38
mov eax, ebx
sub eax, ebp
lea ebp, [ebx + ebx + 8]
mov dword [esp + 0x1c], eax
jmp 0x4e1352
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
xor edx, edx
cmp dword [0x150c888], edx
jne 0x4e1362
cmp dword [0x150c894], edx
je 0x4e136b
cmp eax, 0xfffffff8
jne 0x4e150a
cmp ecx, edx
jne 0x4e13d0
mov eax, dword [esi + 0x7c]
mov edx, dword [esi + 0x18b72c]
mov ecx, eax
and ecx, 0x8000000f
jns 0x4e1387
dec ecx
or ecx, 0xfffffff0
inc ecx
sub eax, edx
sub ecx, edx
lea eax, [eax + ebx + 8]
lea ecx, [ecx + ebx - 8]
cdq
and edx, 0xf
and ecx, 0xf
add eax, edx
mov edx, dword [esi + 0x18b728]
mov edi, eax
sar edi, 4
lea eax, [edi + edi*4]
lea ebx, [eax + eax*4]
mov eax, dword [esp + 0x14]
shl ebx, 4
add ebx, eax
mov eax, dword [esp + 0x2c]
sub eax, edx
mov edx, dword [esi + 0x78]
add eax, edx
add ebx, edi
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
add eax, ebx
jmp 0x4e1434
mov edi, dword [esi + 0x7c]
mov ebx, dword [esi + 0x18b72c]
mov ecx, edi
and ecx, 0x8000000f
jns 0x4e13e8
dec ecx
or ecx, 0xfffffff0
inc ecx
mov edx, dword [esp + 0x2c]
sub ecx, ebx
add ecx, ebp
lea eax, [edx + edx + 0xa0]
mov edx, dword [esi + 0x18b728]
sub eax, edx
mov edx, dword [esi + 0x78]
add eax, edx
and ecx, 0xf
cdq
and edx, 0x1f
add edx, eax
mov eax, ebp
sub eax, ebx
sar edx, 5
add eax, edi
mov edi, edx
cdq
and edx, 0xf
add edx, eax
sar edx, 4
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
shl eax, 4
add eax, edx
mov edx, dword [esp + 0x14]
add edx, edi
add eax, edx
mov edi, dword [esp + 0x20]
shl ecx, 4
add ecx, edi
mov ecx, dword [ecx*4 + 0x670160]
cmp ecx, 1
jne 0x4e1450
add eax, 0xc8
jmp 0x4e1466
cmp ecx, 2
jne 0x4e145c
add eax, 0xc9
jmp 0x4e1466
cmp ecx, 3
jne 0x4e1466
add eax, 0x191
mov edi, dword [esi + eax*4 + 0x4e5e0]
mov eax, dword [edi*4 + 0x111d120]
test al, 0x30
jne 0x4e1504
xor ecx, ecx
mov cl, byte [edi + 0x12579f0]
test eax, 0x10000000
mov ebx, dword [ecx*4 + 0xfbb800]
je 0x4e14a7
movsx eax, word [edi*2 + 0x11ba970]
push eax
mov ecx, 0x1a464b0
call fcn.0040a290
add ebx, eax
mov ecx, dword [esi + 0x90]
test ecx, ecx
je 0x4e14ba
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov edx, eax
sub edx, ebx
mov ebx, edx
mov edx, dword [esp + 0x30]
lea ebx, [ebx + edx + 8]
cmp ebx, edx
jle 0x4e14e4
mov edx, dword [0x150c888]
test edx, edx
jne 0x4e14e4
mov edx, dword [0x150c894]
test edx, edx
je 0x4e14e8
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0x18]
add ebp, 2
inc edx
inc eax
cmp eax, 0xff
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
jl 0x4e1344
mov edi, dword [esp + 0x10]
xor edx, edx
mov dword [esi + 0x70], edi
cmp word [edi*2 + 0x131be90], dx
je 0x4e1527
mov eax, dword [edi*4 + 0x111d120]
test ah, 2
je 0x4e15cf
mov ecx, dword [0x150c864]
movsx eax, word [esi + edi*2 + 0x271c0]
add ecx, 4
and ecx, 0x80000007
jns 0x4e1545
dec ecx
or ecx, 0xfffffff8
inc ecx
lea eax, [ecx + eax*8]
mov ecx, dword [eax*4 + 0xfb7fc0]
mov eax, dword [edi*4 + 0x111d120]
add ecx, edi
test eax, 0x40000000
jne 0x4e15cf
test ah, 2
je 0x4e1578
mov eax, dword [ecx*4 + 0x111d120]
test ah, 1
je 0x4e15cf
mov dword [esp + 0x10], ecx
mov edi, ecx
jmp 0x4e15cf
test ah, 4
je 0x4e168f
movsx eax, word [edi*2 + 0x11ba970]
lea edx, [eax + eax*4]
lea edx, [edx + edx*4]
lea edx, [eax + edx*4]
lea eax, [eax + edx*2]
movsx eax, word [eax*4 + 0x1a46596]
add eax, 0xffffffd8
cmp eax, 0x26
ja case.0x4e15b1.41
xor edx, edx
mov dl, byte [eax + 0x4e16e8]
jmp dword [edx*4 + 0x4e16e0]
test dword [ecx*4 + 0x111d120], 0x10000000
je 0x4e15cd
mov dword [esp + 0x10], ecx
mov edi, dword [esp + 0x10]
xor edx, edx
mov eax, dword [edi*4 + 0x111d120]
test eax, 0x10000300
je 0x4e15e8
test al, 2
jne 0x4e15e8
mov dword [esi + 0x6c], 1
cmp edi, edx
mov dword [esi + 0x60], edi
mov dword [esi + 0x44], edx
je 0x4e16c2
movsx eax, word [esi + edi*2 + 0x271c0]
mov dword [esi + 0x68], eax
mov ecx, edi
lea eax, [eax + eax*2]
sub ecx, dword [esi + eax*4 + 0x188728]
mov dword [esi + 0x64], ecx
mov eax, dword [0x150c88c]
cmp eax, edx
je 0x4e1622
mov edx, dword [esi + 0xc]
mov dword [esp + 0x10], edx
mov edi, edx
mov eax, dword [edi*4 + 0x111d120]
push edi
and eax, 0x40000000
mov dword [esi + 0x38], eax
mov ecx, dword [edi*4 + 0x111d120]
and ecx, 0x4000
mov dword [esi + 0x40], ecx
mov ecx, 0xfb7fc0
call fcn.0050ccc0
xor ecx, ecx
cmp eax, ecx
jne 0x4e1658
mov dword [esi + 0x38], ecx
mov dword [esi + 0x40], ecx
mov edx, dword [esi + 0x38]
shl eax, 4
mov dword [esi + 0x3c], edx
movsx eax, byte [eax + 0x14b883c]
mov edx, dword [eax*4 + 0xd7ea58]
mov eax, dword [0x176582c]
cmp edx, dword [eax*4 + 0xd7ea58]
jne 0x4e169a
mov dword [esi + 0x38], ecx
jmp 0x4e16a0
mov dword [esp + 0x10], 0
jmp 0x4e15c9
mov dword [esp + 0x10], edx
mov edi, edx
jmp 0x4e15cf
mov dword [esi + 0x40], ecx
mov dword [esi + 0x3c], ecx
test byte [edi*4 + 0x111d120], 8
je 0x4e16d4
push edi
mov ecx, 0xfb7fc0
call fcn.0050d900
mov dword [esi + 0x44], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
mov dword [esi + 0x68], edx
mov dword [esi + 0x64], edx
mov dword [esi + 0x6c], edx
mov dword [esi + 0x38], edx
mov dword [esi + 0x40], edx
mov dword [esi + 0x3c], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8