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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x457129
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x489d50]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [esp + 0x30]
cmp dword [0x48e9a0], ebx
jne 0x4d491d
push 0x474ad0
call fcn.004c2283
push ebx
lea eax, [esp + 0x34]
push eax
push 2
mov dword [esp + 0x74], ebx
call fcn.004cee76
mov ecx, dword [esp + 0x3c]
add esp, 0xc
jmp 0x4d4c02
push 0x474b0c
call fcn.004c2283
push ebx
lea eax, [esp + 0x34]
push eax
push 2
pop esi
push esi
mov dword [esp + 0x74], 1
call fcn.004cee76
or dword [esp + 0x74], 0xffffffff
mov ecx, dword [esp + 0x3c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004c2705
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], ebx
call fcn.004d4479
cmp dword [esp + 0x18], ebx
je 0x4d4c0a
mov eax, 0x473d44
cmp dword [ebp + 8], ebx
jne 0x4d4989
mov eax, 0x473d60
push eax
lea ecx, [esp + 0x44]
call fcn.004c2283
mov dword [esp + 0x68], esi
call 0x4ead5d
push eax
lea ecx, [esp + 0x24]
call fcn.004d0607
mov byte [esp + 0x68], 3
call 0x4ead5d
push eax
lea ecx, [esp + 0x20]
call fcn.004d0607
lea eax, [esp + 0x20]
push eax
push dword [ebp + 8]
mov byte [esp + 0x70], 4
call fcn.004d479e
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push eax
mov dword [esp + 0x38], ebx
call dword [ecx + 0x1c]
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x2c], ebx
jbe 0x4d4b9e
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ebx
lea edx, [esp + 0x18]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x4d4b8c
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4d4b8c
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
cmp eax, ebx
jl 0x4d4b82
push dword [esp + 0x24]
lea ecx, [esp + 0x14]
call fcn.004c2283
mov byte [esp + 0x68], 5
push dword [esp + 0x24]
call dword [0x4596d0]
push dword [esp + 0x40]
xor ecx, ecx
lea esi, [esp + 0x14]
call fcn.004c8d9a
cmp eax, 0xffffffff
jne 0x4d4a7f
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], ebx
je 0x4d4b71
push dword [esp + 0x10]
xor ecx, ecx
lea esi, [esp + 0x24]
call fcn.004c8d9a
cmp eax, 0xffffffff
je 0x4d4b71
push 0x474b24
lea ecx, [esp + 0x38]
call fcn.004c2283
push ebx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
push eax
push 2
mov byte [esp + 0x78], 6
call fcn.004ce9f0
mov byte [esp + 0x78], 5
mov ecx, dword [esp + 0x44]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004c2705
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
xor eax, eax
lea edi, [esp + 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x44]
push edx
push eax
xor esi, esi
call dword [ecx + 0x30]
test eax, eax
jne 0x4d4b01
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov edx, ecx
and edx, eax
cmp edx, 0xffffffff
je 0x4d4b01
sub ecx, dword [esp + 0x4c]
sbb eax, dword [esp + 0x50]
shrd ecx, eax, 0xa
shr eax, 0xa
mov esi, ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
cmp eax, ebx
je 0x4d4b45
push 0x474b44
lea ecx, [esp + 0x3c]
call fcn.004c2283
push ebx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x40]
push eax
push 2
mov byte [esp + 0x78], 7
call fcn.004ce9f0
mov ecx, dword [esp + 0x48]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004c2705
jmp 0x4d4b71
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], ebx
je 0x4d4b5c
push 0x473d40
lea ecx, [esp + 0x20]
call fcn.004c8f41
mov eax, dword [esp + 0x10]
push dword [eax - 0xc]
lea ecx, [esp + 0x20]
push eax
call fcn.004c20b9
add dword [esp + 0x30], esi
mov byte [esp + 0x68], 4
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004c2705
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [esp + 0x28]
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x2c]
jb 0x4d49ed
mov esi, dword [esp + 0x1c]
cmp dword [esi - 0xc], ebx
je 0x4d4bd0
mov eax, dword [0x48ea58]
mov edi, 0x48ea58
cmp dword [eax - 0xc], ebx
je 0x4d4bc0
push 0x473d40
call fcn.004d4d88
push esi
call fcn.004d4d88
mov eax, dword [esp + 0x30]
add dword [0x48ea5c], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [0x4596cc]
lea ecx, [esi - 0x10]
call fcn.004c2705
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004c2705
mov ecx, dword [esp + 0x40]
add ecx, 0xfffffff0
call fcn.004c2705
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4