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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5ef8e3
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov eax, dword [esi + 0xe0]
cmp eax, ebp
je 0x4d8acd
push ebp
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004c4fa0
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov ecx, esi
mov edi, dword [eax + 4]
mov dword [esp + 0x24], edi
call fcn.004e1cb0
cmp edi, ebp
mov dword [esp + 0x28], eax
je 0x4d8acd
push edi
mov ecx, esi
call fcn.004c4a60
mov edi, dword [esp + 0xf8]
mov ebx, eax
push ebp
push esi
mov ecx, edi
mov dword [esp + 0x34], ebx
call fcn.004c0980
lea ecx, [esp + 0x88]
call fcn.005c41b9
lea edx, [esp + 0x88]
mov ecx, esi
push edx
mov dword [esp + 0xf4], ebp
call fcn.004daa60
lea ecx, [esp + 0xc4]
call fcn.005c41b9
lea eax, [esp + 0xc4]
mov ecx, esi
push eax
mov byte [esp + 0xf4], 1
call fcn.004daae0
mov ecx, dword [esi + 0xe0]
mov edx, dword [esi]
mov dword [esp + 0x30], ecx
push edi
mov ecx, esi
call dword [edx + 0xb0]
push 0x12c
call fcn.005c4f20
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov byte [esp + 0xf0], 2
je 0x4d868e
mov ebp, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x14]
sub ebp, ecx
mov ecx, dword [ebx + 0x14]
sub edx, ecx
sub esp, 0x10
sub edx, eax
lea ecx, [ecx + eax + 0x18]
mov eax, dword [esi + 0x18]
add edx, ecx
add ebp, eax
mov dword [esp + 0xf4], ebp
mov ebp, esp
push 0
mov dword [ebp], ecx
mov ecx, dword [esp + 0xf8]
mov dword [ebp + 4], eax
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], ecx
mov ecx, dword [esp + 0x24]
call fcn.004cd920
mov ebp, eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xf0], 1
call fcn.005c41b9
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
mov ecx, dword [ebx + 0x14]
sub eax, edx
lea edx, [esp + 0x38]
inc ecx
push edx
push eax
xor eax, eax
push ecx
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x104], 3
call fcn.004c51e0
lea ecx, [esp + 0x60]
mov dword [esp + 0x14], eax
call fcn.005c41b9
mov eax, dword [esp + 0x14]
mov byte [esp + 0xf0], 4
test eax, eax
mov dword [esp + 0x10], 0
jle 0x4d87bd
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx]
mov edi, dword [eax + ecx*4]
mov ecx, ebx
push edi
call dword [edx + 0x2f0]
test eax, eax
jne 0x4d87a1
push 0x200
call fcn.005c4f20
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xf0], 5
je 0x4d8764
mov edx, dword [edi + 0x1c]
mov ecx, dword [ebx + 0x14]
mov eax, dword [edi + 0x18]
sub edx, ecx
mov ecx, dword [edi + 0x20]
push ebp
sub esp, 0x10
sub ecx, eax
mov edi, eax
mov eax, esp
add edx, edi
mov dword [eax], edi
mov edi, esp
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [edi + 4], eax
push eax
mov dword [edi + 8], edx
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x34]
call fcn.0054c430
mov edi, eax
jmp 0x4d8766
xor edi, edi
mov ecx, dword [esp + 0xf8]
mov eax, dword [edi]
push 1
push ecx
mov ecx, edi
mov byte [esp + 0xf8], 4
call dword [eax + 0x1a4]
push edi
mov ecx, ebp
call fcn.004c4be0
push edi
mov ecx, ebp
call fcn.004c4ac0
mov edx, dword [esp + 0x68]
push edi
push edx
lea ecx, [esp + 0x68]
call fcn.005c3b58
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4d86ee
mov edi, dword [esp + 0xf8]
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x40]
call fcn.005c4219
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
mov ecx, dword [ebx + 0x14]
sub eax, edx
lea edx, [esp + 0x38]
dec ecx
push edx
push eax
xor eax, eax
push ecx
push eax
push ecx
mov ecx, esi
call fcn.004c51e0
xor ecx, ecx
mov dword [esp + 0x14], eax
test eax, eax
jle 0x4d8808
mov eax, dword [esp + 0x3c]
mov edx, dword [ebx + 0x14]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [eax + 0x1c], edx
mov eax, dword [esp + 0x14]
cmp ecx, eax
jl 0x4d87f2
lea ecx, [esp + 0x4c]
call fcn.005c41b9
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
mov byte [esp + 0xf0], 6
mov dword [esp + 0x14], eax
jge 0x4d88e5
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
call fcn.004c4a60
mov ecx, dword [eax + 0x8c]
mov dword [esp + 0x1c], eax
test ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], 0
jle 0x4d88d0
jmp 0x4d8859
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, eax
call fcn.00574e50
mov edi, eax
test edi, edi
je 0x4d88b8
mov edx, dword [esp + 0x54]
push edi
push edx
lea ecx, [esp + 0x54]
call fcn.005c3b58
mov eax, dword [edi]
push ebp
mov ecx, edi
call dword [eax + 0xfc]
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
lea eax, [edi + 0x14]
sub edx, ecx
mov edi, dword [edi + 0x18]
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax]
sub ecx, dword [ebx + 0x14]
mov ebx, dword [esp + 0x18]
add ebx, ecx
mov dword [eax], ecx
add edx, edi
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x2c]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4d8855
mov edi, dword [esp + 0xf8]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4d882d
mov eax, dword [esp + 0x54]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x20], eax
jle 0x4d891c
mov ecx, dword [esp + 0x50]
push 0
mov edi, dword [ecx + ebx*4]
mov ecx, esi
push edi
call fcn.004ca2a0
push edi
mov ecx, ebp
call fcn.004ca300
mov eax, dword [esp + 0x20]
inc ebx
cmp ebx, eax
jl 0x4d88f3
mov edi, dword [esp + 0xf8]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1e8]
test eax, eax
je 0x4d8961
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1e8]
mov edx, dword [eax]
mov ebx, dword [ebp]
mov ecx, eax
call dword [edx + 0x80]
push eax
push edi
mov ecx, ebp
call dword [ebx + 0x1e4]
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x1e8]
mov edx, dword [eax]
push ebp
mov ecx, eax
call dword [edx + 0xfc]
mov ecx, dword [edi + 0x1f4]
push 0
push ebp
push edi
mov eax, dword [ecx]
call dword [eax + 0x2f0]
push 1
push ebp
mov ecx, edi
call fcn.004c09b0
mov ecx, ebp
call fcn.004c4dc0
mov ecx, esi
call fcn.004c4dc0
push 0
push ebp
mov ecx, edi
call fcn.004c0980
lea ecx, [esp + 0x9c]
call fcn.005c41b9
lea ecx, [esp + 0x9c]
mov byte [esp + 0xf0], 7
push ecx
mov ecx, esi
call fcn.004daa60
lea ecx, [esp + 0x74]
call fcn.005c41b9
lea edx, [esp + 0x74]
mov bl, 8
push edx
mov ecx, esi
mov byte [esp + 0xf4], bl
call fcn.004daae0
lea ecx, [esp + 0xb0]
call fcn.005c41b9
lea eax, [esp + 0xb0]
mov ecx, ebp
push eax
mov byte [esp + 0xf4], 9
call fcn.004daae0
lea ecx, [esp + 0xb0]
lea edx, [esp + 0x60]
push ecx
lea eax, [esp + 0x78]
push edx
lea ecx, [esp + 0xa4]
push eax
lea edx, [esp + 0xd0]
push ecx
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x98]
push edx
push eax
push ecx
push ebp
push esi
push 2
lea ecx, [edi + 0xb8]
call fcn.00523220
lea ecx, [esp + 0xb0]
mov byte [esp + 0xf0], bl
call fcn.005c41ec
lea ecx, [esp + 0x74]
mov byte [esp + 0xf0], 7
call fcn.005c41ec
lea ecx, [esp + 0x9c]
mov byte [esp + 0xf0], 6
call fcn.005c41ec
lea ecx, [esp + 0x4c]
mov byte [esp + 0xf0], 4
call fcn.005c41ec
lea ecx, [esp + 0x60]
mov byte [esp + 0xf0], 3
call fcn.005c41ec
lea ecx, [esp + 0x38]
mov byte [esp + 0xf0], 1
call fcn.005c41ec
mov byte [esp + 0xf0], 0
lea ecx, [esp + 0xc4]
call fcn.005c41ec
lea ecx, [esp + 0x88]
mov dword [esp + 0xf0], 0xffffffff
call fcn.005c41ec
mov ecx, dword [esp + 0xe8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xe4
ret 4