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

Disassembly:
push ebp
sub esp, 0xb8
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0xc0]
movzx ecx, word [esp + 0xcc]
mov dword [esp + 0x74], 0x51e930
mov dword [esp + 0x38], edx
lea edx, [esp + 0x5c]
mov dword [esp + 0x40], eax
lea eax, [esp + 0xb0]
mov dword [esp], edx
mov word [esp + 0x4a], cx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], 0x520978
mov dword [esp + 0x80], 0x4e555f
mov dword [esp + 0x84], esp
call fcn.004b1060
mov edx, dword [esp + 0xc8]
mov ecx, dword [esp + 0x40]
movzx eax, byte [esp + 0x38]
mov dword [esp + 0x60], 0xffffffff
add edx, 0x6c
mov dword [esp], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
mov byte [esp + 0x3c], al
call fcn.0051a900
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
lea ecx, [esp + 0x9b]
mov dword [esp + 0x34], eax
call fcn.004c7510
sub esp, 4
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xd0]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax]
movzx edx, word [edx + 0x3c]
cmp word [eax], dx
je 0x4e5426
mov edx, dword [ecx + 0x34]
mov dword [esp + 0x28], eax
mov dword [esp + 0xa4], edx
mov edx, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
mov dword [esp + 0x50], edx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x34]
mov eax, dword [eax - 0xc]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x28]
mov dword [esp], 8
lea eax, [ecx + eax*2]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x60], 0xffffffff
call eax
sub esp, 0xc
sub eax, dword [esp + 0x28]
sar eax, 1
mov dword [esp + 0x34], eax
jne 0x4e5030
movzx eax, byte [esp + 0x3c]
mov ecx, dword [esp + 0xc8]
mov byte [esp + 0x38], al
lea eax, [esp + 0x5c]
mov dword [ecx + 8], 0
mov dword [esp], eax
call fcn.004b1120
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
add esp, 0xb8
pop ebp
ret 0x14
add eax, eax
mov dword [esp], eax
lea ecx, [esp + 0x9c]
mov dword [esp + 0x9c], 0x52986c
mov dword [esp + 0x60], 1
call fcn.004e7460
sub esp, 4
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov eax, dword [edx + 0x30]
sub ecx, eax
test ecx, ecx
mov dword [esp + 0x30], ecx
jle 0x4e515e
test eax, eax
mov edx, dword [edx + 0xc]
mov eax, dword [esp + 0x34]
cmovns eax, ecx
test edx, edx
mov dword [esp + 0x30], eax
je 0x4e5460
add eax, eax
mov dword [esp + 4], 0
lea ecx, [esp + 0x9c]
mov dword [esp], eax
mov dword [esp + 0x60], 1
call fcn.004e6840
sub esp, 8
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 0xc]
lea edx, [ecx + edx*2]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x2c]
movzx eax, word [eax + 0x14]
mov dword [esp + 0x58], eax
call fcn.004e6d60
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00516920
lea ecx, [esp + 0x9c]
mov dword [esp + 0x3c], eax
call fcn.004e6d60
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x9c]
sub eax, dword [esp + 0x9c]
mov dword [esp + 4], 0xffffffff
sar eax, 1
mov dword [esp], eax
call fcn.004e61c0
sub esp, 8
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x30]
test eax, eax
jle 0x4e51b8
mov ecx, dword [esp + 0x2c]
movzx eax, word [ecx + 0x12]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x60], 1
mov dword [esp], eax
call fcn.004e76c0
sub esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
js 0x4e5513
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov eax, dword [edx + 0x30]
mov edx, dword [esp + 0x28]
mov dword [esp + 4], eax
lea eax, [edx + ecx*2]
mov dword [esp], eax
lea ecx, [esp + 0x9c]
call fcn.004e6280
sub esp, 8
mov ecx, dword [esp + 0xc8]
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x44]
mov edx, eax
and edx, 0xb0
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x9c]
add ecx, dword [edx - 0xc]
xor edx, edx
test ah, 2
jne 0x4e5452
add ecx, edx
mov eax, ecx
add eax, eax
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 0xa0], 0x52986c
mov dword [esp + 0x60], 2
call fcn.004e7460
sub esp, 4
mov edx, dword [esp + 0xc8]
movzx ecx, word [esp + 0x4a]
mov dword [esp + 0x28], 1
mov edx, dword [edx + 8]
cmp dword [esp + 0x3c], edx
mov dword [esp + 0x54], ecx
setb byte [esp + 0x34]
cmp dword [esp + 0x4c], 0x10
mov dword [esp + 0x30], edx
sete al
sub edx, dword [esp + 0x3c]
and byte [esp + 0x34], al
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x28]
movsx eax, byte [esp + edx + 0xa3]
cmp eax, 4
ja case.default.0x4e5263
jmp dword [eax*4 + 0x5660e8]
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4e54f0
cmp dword [esp + 0x28], 4
jne 0x4e52a7
jmp 0x4e5317
mov ecx, dword [esp + 0xc8]
test byte [ecx + 0xd], 2
jne 0x4e54c6
lea esi, [esi]
cmp dword [esp + 0x28], 4
je 0x4e52e4
add dword [esp + 0x28], 1
jmp 0x4e5252
cmp byte [esp + 0x34], 0
je case.default.0x4e5263
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x60], 2
mov dword [esp], ecx
lea ecx, [esp + 0xa0]
mov dword [esp + 4], edx
call fcn.004e6510
sub esp, 8
cmp dword [esp + 0x28], 4
jne 0x4e52a7
cmp dword [esp + 0x44], 1
jbe 0x4e5317
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x60], 2
sub eax, 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
add eax, 2
mov dword [esp], eax
call fcn.004e6280
sub esp, 8
mov edx, dword [esp + 0xa0]
mov eax, dword [edx - 0xc]
cmp dword [esp + 0x30], eax
jbe 0x4e536e
cmp dword [esp + 0x4c], 0x20
movzx edx, word [esp + 0x4a]
je 0x4e5492
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], edx
mov dword [esp], 0
mov dword [esp + 0x60], 2
sub ecx, eax
mov dword [esp + 4], ecx
lea ecx, [esp + 0xa0]
call fcn.004e6bd0
sub esp, 0xc
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp], edx
mov dword [esp + 0x60], 2
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xac], ecx
lea ecx, [esp + 0xa8]
call fcn.0050ee00
sub esp, 8
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0xa0]
movzx edx, byte [esp + 0xac]
mov dword [esp + 0x30], eax
mov byte [esp + 0x3c], dl
call fcn.004e7e00
lea ecx, [esp + 0x9c]
call fcn.004e7e00
jmp 0x4e4ff9
cmp byte [esp + 0x34], 0
jne 0x4e52b7
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x60], 2
mov dword [esp], eax
call fcn.004e76c0
jmp 0x4e541e
lea eax, [esp + 0x9c]
mov dword [esp], eax
lea ecx, [esp + 0xa0]
mov dword [esp + 0x60], 2
call fcn.004e6380
sub esp, 4
jmp case.default.0x4e5263
mov edx, dword [ecx + 0x38]
mov dword [esp + 0xa4], edx
mov edx, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x2c]
mov dword [esp + 0x50], edx
lea edx, [eax + 2]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax - 0xc]
test ecx, ecx
cmove edx, eax
mov dword [esp + 0x28], edx
jmp 0x4e4fba
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x1c]
jmp 0x4e51e7
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x60], 1
mov dword [esp + 4], ecx
lea ecx, [esp + 0x9c]
mov dword [esp], eax
call fcn.004e6640
sub esp, 8
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x30]
jmp 0x4e515e
mov dword [esp + 4], edx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x60], 2
sub edx, eax
mov dword [esp], edx
call fcn.004e6510
sub esp, 8
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x30]
jmp 0x4e536e
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0xa0]
mov eax, dword [edx + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x60], 2
mov dword [esp], eax
call fcn.004e6280
jmp 0x4e52da
mov ecx, dword [esp + 0x50]
movzx eax, word [ecx]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x60], 2
mov dword [esp], eax
call fcn.004e76c0
jmp 0x4e541e
mov ecx, dword [esp + 0x2c]
movzx eax, word [ecx + 0x3e]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x60], 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
neg eax
mov dword [esp], eax
call fcn.004e6510
sub esp, 8
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x9c]
mov edx, dword [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.004e6280
jmp 0x4e51b5