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

Disassembly:
push 0xffffffffffffffff
push 0x4ae596
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
push ebp
push esi
push edi
xor ebx, ebx
lea ecx, [esp + 0x28]
push ebx
mov dword [esp + 0x120], ebx
call fcn.004b3b78
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x120], 1
call fcn.004b3b78
push ebx
lea ecx, [esp + 0xf8]
mov byte [esp + 0x120], 2
call fcn.004b3b78
push ebx
lea ecx, [esp + 0x108]
mov byte [esp + 0x120], 3
call fcn.004b3b78
lea ecx, [esp + 0x4c]
mov byte [esp + 0x11c], 4
call fcn.004af1d8
lea ecx, [esp + 0x10]
mov byte [esp + 0x11c], 5
call fcn.0050d46e
push ebx
lea ecx, [esp + 0x128]
mov byte [esp + 0x120], 6
call fcn.0050d492
mov esi, eax
mov al, byte [esp + 0x17]
mov byte [esp + 0x18], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
call dword [fcn.004b4614]
test al, al
je 0x4d9551
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov byte [eax + ebp], bl
lea ecx, [esp + 0x28]
push 1
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0x128], 7
call fcn.004af268
and eax, 0xff
mov byte [esp + 0x11c], 6
mov esi, eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4d95a2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d9599
cmp al, 0xff
je 0x4d9599
dec al
mov byte [ecx], al
jmp 0x4d95a2
push ecx
call fcn.0050d474
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x128]
call fcn.0050d48c
cmp esi, ebx
je 0x4d9aa6
lea ecx, [esp + 0x28]
call fcn.004b4318
cmp eax, 6
jne 0x4d9aa6
mov esi, dword [esp + 0x128]
mov eax, dword [esi]
cmp eax, ebx
je 0x4d95f9
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push 0x46ce60
push ecx
push 0x10
push eax
call fcn.0050db32
push edi
call fcn.0050d474
add esp, 4
mov dword [esi], ebx
mov dword [esi + 4], ebx
lea ecx, [esp + 0x28]
xor ebp, ebp
call fcn.004b4e58
test eax, eax
jbe 0x4d966e
push ebp
lea ecx, [esp + 0x2c]
call fcn.004b4f08
push eax
lea ecx, [esp + 0x3c]
call fcn.004b4218
push 0x4d0bd0
lea ecx, [esp + 0x3c]
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
lea ecx, [esp + 0x38]
mov edi, eax
push 0x4d0b08
call fcn.004b5078
push eax
call fcn.00477948
mov ecx, dword [esi + 4]
add esp, 4
cmp edi, ecx
jbe 0x4d9660
cmp edi, 0x64
jae 0x4d9660
cmp eax, 7
jne 0x4d9660
mov dword [esi + 4], edi
lea ecx, [esp + 0x28]
inc ebp
call fcn.004b4e58
cmp ebp, eax
jb 0x4d9608
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4d99c2
lea edi, [eax + 1]
mov edx, edi
mov dword [esi + 4], edi
shl edx, 4
add edx, 4
push edx
call fcn.0050d486
add esp, 4
mov dword [esp + 0x48], eax
cmp eax, ebx
mov byte [esp + 0x11c], 0xb
je 0x4d96ba
push 0x46ce60
push 0x46ce50
lea ebp, [eax + 4]
push edi
push 0x10
push ebp
mov dword [eax], edi
call fcn.0050dc26
jmp 0x4d96bc
xor ebp, ebp
mov eax, dword [esi + 4]
xor ecx, ecx
cmp eax, ebx
mov byte [esp + 0x11c], 6
mov dword [esi], ebp
jle 0x4d96ed
xor eax, eax
mov edx, dword [esi]
inc ecx
mov dword [edx + eax], ebx
mov edx, dword [esi]
mov dword [edx + eax + 8], ebx
mov edx, dword [esi]
mov dword [edx + eax + 0xc], ebx
mov edx, dword [esi + 4]
add eax, 0x10
cmp ecx, edx
jl 0x4d96d1
lea ecx, [esp + 0x28]
xor ebp, ebp
call fcn.004b4e58
test eax, eax
jbe 0x4d97cd
mov bl, 0xf
push ebp
lea ecx, [esp + 0x2c]
call fcn.004b4f08
push eax
lea ecx, [esp + 0x3c]
call fcn.004b4218
push 0x4d0bd0
lea ecx, [esp + 0x3c]
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
lea ecx, [esp + 0x38]
mov edi, eax
push 0x4d0b08
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
cmp edi, 0x64
jae 0x4d97b9
cmp eax, 7
jne 0x4d97b9
mov eax, dword [esi]
push 0x4d0b58
shl edi, 4
lea ecx, [esp + 0x3c]
mov dword [edi + eax], 1
call fcn.004b5078
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.00477a28
add esp, 8
mov edx, dword [esi]
push eax
mov byte [esp + 0x120], bl
lea ecx, [edi + edx + 4]
call fcn.0050d5e8
lea ecx, [esp + 0x48]
mov byte [esp + 0x11c], 6
call fcn.0050d468
push 0x4d0d24
lea ecx, [esp + 0x3c]
call fcn.004b5078
push eax
call fcn.00477948
mov ecx, dword [esi]
add esp, 4
mov dword [edi + ecx + 8], eax
lea ecx, [esp + 0x28]
inc ebp
call fcn.004b4e58
cmp ebp, eax
jb 0x4d9702
xor ebx, ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x11c], 5
call fcn.0050d468
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0x120], 0x12
call dword [fcn.004b461c]
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0x120], 0x11
call dword [fcn.004b461c]
mov eax, dword [esp + 0xa8]
mov byte [esp + 0x11c], 0x10
cmp eax, ebx
je 0x4d986d
mov eax, dword [esp + 0x88]
push ebx
mov ecx, eax
add eax, 0x20
mov dword [esp + 0x8c], eax
call fcn.004953a8
mov eax, dword [esp + 0xa8]
dec eax
mov dword [esp + 0xa8], eax
je 0x4d985b
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
cmp edx, eax
jne 0x4d9864
lea ecx, [esp + 0x7c]
call fcn.004951f8
cmp dword [esp + 0xa8], ebx
jne 0x4d981f
mov eax, dword [esp + 0x78]
mov byte [esp + 0x11c], 4
cmp eax, ebx
je 0x4d9957
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x78]
add ecx, 4
dec eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x78], eax
je 0x4d98a5
mov eax, ecx
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jne 0x4d994d
mov ecx, dword [esp + 0x5c]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x5c], ecx
mov eax, dword [eax]
push eax
call fcn.0050d474
mov eax, dword [esp + 0x7c]
add esp, 4
cmp eax, ebx
jne 0x4d990d
lea ecx, [esp + 0x18]
call fcn.004952b8
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x50], eax
push ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], esi
call fcn.0050d474
add esp, 4
jmp 0x4d994d
mov eax, dword [esp + 0x5c]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0xec]
call fcn.004952c8
mov edx, dword [esp + 0xe4]
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
cmp dword [esp + 0x78], ebx
jne 0x4d9881
lea ecx, [esp + 0x104]
mov byte [esp + 0x11c], 3
call fcn.004b4098
lea ecx, [esp + 0xf4]
mov byte [esp + 0x11c], 2
call fcn.004b4098
lea ecx, [esp + 0x38]
mov byte [esp + 0x11c], 1
call fcn.004b4098
lea ecx, [esp + 0x28]
mov byte [esp + 0x11c], 0
call fcn.004b4098
lea ecx, [esp + 0x124]
mov dword [esp + 0x11c], 0xffffffff
call fcn.0050d468
mov eax, 1
jmp 0x4d9be8
lea ecx, [esp + 0x10]
mov byte [esp + 0x11c], 5
call fcn.0050d468
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0x120], 0xe
call dword [fcn.004b461c]
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0x120], 0xd
call dword [fcn.004b461c]
mov eax, dword [esp + 0xa8]
mov byte [esp + 0x11c], 0xc
cmp eax, ebx
je 0x4d9a62
mov eax, dword [esp + 0x88]
push ebx
mov ecx, eax
add eax, 0x20
mov dword [esp + 0x8c], eax
call fcn.004953a8
mov eax, dword [esp + 0xa8]
dec eax
mov dword [esp + 0xa8], eax
je 0x4d9a50
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
cmp eax, ecx
jne 0x4d9a59
lea ecx, [esp + 0x7c]
call fcn.004951f8
cmp dword [esp + 0xa8], ebx
jne 0x4d9a14
mov eax, dword [esp + 0x78]
mov byte [esp + 0x11c], 4
cmp eax, ebx
je 0x4d9b85
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x78]
add ecx, 4
dec eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x78], eax
je 0x4d9a92
cmp ecx, dword [esp + 0x54]
jne 0x4d9a9b
lea ecx, [esp + 0x4c]
call fcn.004951f8
cmp dword [esp + 0x78], ebx
jne 0x4d9a76
jmp 0x4d9b85
lea ecx, [esp + 0x10]
mov byte [esp + 0x11c], 5
call fcn.0050d468
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0x120], 0xa
call dword [fcn.004b461c]
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0x120], 9
call dword [fcn.004b461c]
mov eax, dword [esp + 0xa8]
mov byte [esp + 0x11c], 8
cmp eax, ebx
je 0x4d9b46
mov eax, dword [esp + 0x88]
push ebx
mov ecx, eax
add eax, 0x20
mov dword [esp + 0x8c], eax
call fcn.004953a8
mov eax, dword [esp + 0xa8]
dec eax
mov dword [esp + 0xa8], eax
je 0x4d9b34
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
cmp edx, eax
jne 0x4d9b3d
lea ecx, [esp + 0x7c]
call fcn.004951f8
cmp dword [esp + 0xa8], ebx
jne 0x4d9af8
mov eax, dword [esp + 0x78]
mov byte [esp + 0x11c], 4
cmp eax, ebx
je 0x4d9b85
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x78]
add ecx, 4
dec eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x78], eax
je 0x4d9b76
mov eax, ecx
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jne 0x4d9b7f
lea ecx, [esp + 0x4c]
call fcn.004951f8
cmp dword [esp + 0x78], ebx
jne 0x4d9b56
lea ecx, [esp + 0x104]
mov byte [esp + 0x11c], 3
call fcn.004b4098
lea ecx, [esp + 0xf4]
mov byte [esp + 0x11c], 2
call fcn.004b4098
lea ecx, [esp + 0x38]
mov byte [esp + 0x11c], 1
call fcn.004b4098
lea ecx, [esp + 0x28]
mov byte [esp + 0x11c], 0
call fcn.004b4098
lea ecx, [esp + 0x124]
mov dword [esp + 0x11c], 0xffffffff
call fcn.0050d468
xor eax, eax
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x110
ret 8