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

Disassembly:
push 0xffffffffffffffff
push 0x561f6f
mov eax, dword fs:[0]
push eax
sub esp, 0x160
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x174]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x184]
mov dword [esp + 0x18], 0
test ebp, ebp
je 0x4d0961
mov esi, dword [ebp + 4]
mov eax, dword [esi + 0xf8]
cmp eax, ebp
je 0x4d082a
mov dword [esp + 0x184], eax
mov ebp, eax
mov ebx, dword [esp + 0x18c]
test ebx, ebx
je 0x4d085a
push ebx
lea ecx, [esi + 0x50]
call fcn.004471d0
mov edi, dword [esp + 0x198]
test edi, edi
jne 0x4d0865
push ebx
call fcn.004c25f0
add esp, 4
test eax, eax
je 0x4d08c0
mov edi, eax
jmp 0x4d0861
mov edi, dword [esp + 0x198]
test edi, edi
je 0x4d08c0
push 0
lea ecx, [esp + 0x30]
call fcn.0049ab60
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x184], 0
call fcn.0049aed0
push 0
push 0
call fcn.0043abc0
push edx
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00446360
mov ecx, dword [esp + 0x40]
add esp, 0x14
push ecx
lea ecx, [esi + 0x18]
call fcn.004471d0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x17c], 0xffffffff
call fcn.0049ac30
cmp byte [esp + 0x194], 0
je 0x4d0c71
lea ecx, [esp + 0x6c]
call fcn.00464650
or ebx, 0xffffffff
xor edi, edi
mov dword [esp + 0x164], ebx
mov dword [esp + 0x168], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x16c], edi
mov dword [esp + 0x170], edi
push edi
lea edx, [esp + 0x70]
push edx
mov ecx, esi
mov dword [esp + 0x184], 1
call fcn.0043eb50
mov eax, dword [0x5be940]
push edi
push eax
lea ecx, [esp + 0x34]
call fcn.0043fe60
cmp byte [0x5beadc], 0
mov byte [esp + 0x17c], 2
je 0x4d0968
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x17c], 1
cmp ecx, edi
je 0x4d0951
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x17c], ebx
call fcn.00464980
xor al, al
jmp 0x4d0c73
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0xdc]
mov edx, dword [eax + 0xd8]
mov eax, dword [ebp + 0x1c]
push ecx
mov ecx, dword [eax]
push edx
push ecx
call fcn.004de5b0
mov ebp, dword [0x5be940]
add esp, 0xc
mov byte [esp + 0x16], al
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x4d0c49
jmp 0x4d09a4
mov ebp, dword [esp + 0x1c]
mov edx, dword [ebp]
push edx
call fcn.004de160
add esp, 4
test al, al
jne 0x4d0c37
mov eax, dword [ebp]
push eax
call fcn.004de180
add esp, 4
mov byte [esp + 0x17], al
test al, al
je 0x4d09e4
cmp byte [esp + 0x16], 0
je 0x4d0c37
call fcn.004d0220
test al, al
je 0x4d0c37
xor eax, eax
cmp dword [ebp + 0x180], eax
mov dword [esp + 0x28], eax
jle 0x4d0c37
mov ecx, dword [ebp + 0x17c]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x4d0c23
xor edi, edi
cmp eax, dword [ebp + 0x190]
jne 0x4d0a25
mov edx, dword [esp + 0x184]
mov edx, dword [edx + 4]
mov edi, dword [edx + 0x658]
cmp byte [esp + 0x17], 0
mov edx, dword [ecx + 0x24]
mov ebx, dword [ecx + 0x20]
mov dword [esp + 0x40], edx
je 0x4d0a56
test eax, eax
jne 0x4d0c23
mov eax, dword [esp + 0x188]
test eax, eax
je 0x4d0a52
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x40], eax
xor ebp, ebp
jmp 0x4d0a6c
cmp byte [ecx + 0x28], 0
je 0x4d0c23
mov ecx, dword [esp + 0x184]
mov edx, dword [ecx + 0x1c]
mov ebp, dword [edx]
push 0
lea ecx, [esp + 0x48]
call fcn.0049ab60
mov byte [esp + 0x17c], 3
test edi, edi
je 0x4d0aa2
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x70]
call fcn.0049b510
or dword [esp + 0x18], 1
mov edi, dword [eax]
mov byte [esp + 0x17c], 4
push 0xffffffffffffffff
lea ecx, [esi + 0x18]
mov dword [esp + 0x28], 0
call fcn.004587e0
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004ae9f0
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [esi + 0x50]
mov dword [esp + 0x180], 5
mov dword [esp + 0x24], 0
call fcn.004587e0
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004ae9f0
mov edx, dword [esp + 0x1a8]
mov eax, dword [esi + 0xdc]
mov ecx, dword [esi + 0xd8]
push 0
push 0
push edx
mov edx, dword [esi + 0xe4]
push edi
push eax
mov eax, dword [esi + 0xe0]
push ecx
mov ecx, dword [esp + 0x18c]
push ebp
push edx
mov edx, dword [esp + 0x190]
push eax
mov eax, dword [esp + 0x1c0]
push ecx
push edx
mov edx, dword [esp + 0x78]
push 0
mov ecx, eax
neg ecx
push 0
sbb ecx, ecx
and ecx, 0x573fc4
push ecx
mov ecx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x6c]
push edx
push ebx
push eax
push ecx
lea edx, [esp + 0x9c]
push edx
mov byte [esp + 0x1d8], 6
call fcn.004e7b10
lea eax, [esp + 0x7c]
add esp, 0x5c
push eax
mov byte [esp + 0x180], 5
call fcn.004ae820
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x184], 4
call fcn.004ae820
add esp, 8
test byte [esp + 0x18], 1
mov dword [esp + 0x17c], 3
je 0x4d0bac
and dword [esp + 0x18], 0xfffffffe
lea ecx, [esp + 0x60]
call fcn.0049ac30
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x58]
call fcn.0049eff0
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x184], 7
call fcn.004ccc80
push 0xffffffffffffffff
mov ecx, esi
mov edi, eax
call fcn.0043eab0
mov edx, dword [esp + 0x44]
push 0
push edx
push edi
call fcn.004ca100
add esp, 0xc
lea ecx, [esp + 0x50]
mov byte [esp + 0x17c], 3
mov dword [esp + 0x50], vtable.cWCS.0
call fcn.0049ee80
lea ecx, [esp + 0x44]
mov byte [esp + 0x17c], 2
call fcn.0049ac30
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
inc eax
cmp eax, dword [ebp + 0x180]
mov dword [esp + 0x28], eax
jl 0x4d09f6
or ebx, 0xffffffff
mov ebp, dword [ebp + 0x2dc]
mov dword [esp + 0x1c], ebp
test ebp, ebp
jne 0x4d09a0
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x17c], 1
test ecx, ecx
je 0x4d0c61
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x17c], ebx
call fcn.00464980
mov al, 1
mov ecx, dword [esp + 0x174]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret