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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5e9aa3
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 0x4cff9d
push ebp
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004bc480
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov ecx, esi
mov edi, dword [eax + 4]
mov dword [esp + 0x24], edi
call fcn.004bbee0
cmp edi, ebp
mov dword [esp + 0x28], eax
je 0x4cff9d
push edi
mov ecx, esi
call fcn.004bbf40
mov edi, dword [esp + 0xf8]
mov ebx, eax
push ebp
push esi
mov ecx, edi
mov dword [esp + 0x34], ebx
call fcn.004b7e10
lea ecx, [esp + 0x88]
call fcn.005bcf0e
lea edx, [esp + 0x88]
mov ecx, esi
push edx
mov dword [esp + 0xf4], ebp
call fcn.004d1f30
lea ecx, [esp + 0xc4]
call fcn.005bcf0e
lea eax, [esp + 0xc4]
mov ecx, esi
push eax
mov byte [esp + 0xf4], 1
call fcn.004d1fb0
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.005bdc25
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov byte [esp + 0xf0], 2
je 0x4cfb5e
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.004c4dd0
mov ebp, eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xf0], 1
call fcn.005bcf0e
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.004bc6c0
lea ecx, [esp + 0x60]
mov dword [esp + 0x14], eax
call fcn.005bcf0e
mov eax, dword [esp + 0x14]
mov byte [esp + 0xf0], 4
test eax, eax
mov dword [esp + 0x10], 0
jle 0x4cfc8d
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 0x4cfc71
push 0x200
call fcn.005bdc25
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xf0], 5
je 0x4cfc34
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.00543e70
mov edi, eax
jmp 0x4cfc36
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.004bc0c0
push edi
mov ecx, ebp
call fcn.004bbfa0
mov edx, dword [esp + 0x68]
push edi
push edx
lea ecx, [esp + 0x68]
call fcn.005bc7cb
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4cfbbe
mov edi, dword [esp + 0xf8]
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x40]
call fcn.005bcbe4
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.004bc6c0
xor ecx, ecx
mov dword [esp + 0x14], eax
test eax, eax
jle 0x4cfcd8
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 0x4cfcc2
lea ecx, [esp + 0x4c]
call fcn.005bcf0e
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
mov byte [esp + 0xf0], 6
mov dword [esp + 0x14], eax
jge 0x4cfdb5
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
call fcn.004bbf40
mov ecx, dword [eax + 0x8c]
mov dword [esp + 0x1c], eax
test ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], 0
jle 0x4cfda0
jmp 0x4cfd29
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, eax
call fcn.0056c8a0
mov edi, eax
test edi, edi
je 0x4cfd88
mov edx, dword [esp + 0x54]
push edi
push edx
lea ecx, [esp + 0x54]
call fcn.005bc7cb
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 0x4cfd25
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 0x4cfcfd
mov eax, dword [esp + 0x54]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x20], eax
jle 0x4cfdec
mov ecx, dword [esp + 0x50]
push 0
mov edi, dword [ecx + ebx*4]
mov ecx, esi
push edi
call fcn.004c1780
push edi
mov ecx, ebp
call fcn.004c17e0
mov eax, dword [esp + 0x20]
inc ebx
cmp ebx, eax
jl 0x4cfdc3
mov edi, dword [esp + 0xf8]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1e8]
test eax, eax
je 0x4cfe31
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.004b7e40
mov ecx, ebp
call fcn.004bc2a0
mov ecx, esi
call fcn.004bc2a0
push 0
push ebp
mov ecx, edi
call fcn.004b7e10
lea ecx, [esp + 0x9c]
call fcn.005bcf0e
lea ecx, [esp + 0x9c]
mov byte [esp + 0xf0], 7
push ecx
mov ecx, esi
call fcn.004d1f30
lea ecx, [esp + 0x74]
call fcn.005bcf0e
lea edx, [esp + 0x74]
mov bl, 8
push edx
mov ecx, esi
mov byte [esp + 0xf4], bl
call fcn.004d1fb0
lea ecx, [esp + 0xb0]
call fcn.005bcf0e
lea eax, [esp + 0xb0]
mov ecx, ebp
push eax
mov byte [esp + 0xf4], 9
call fcn.004d1fb0
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.0051a880
lea ecx, [esp + 0xb0]
mov byte [esp + 0xf0], bl
call fcn.005bcf41
lea ecx, [esp + 0x74]
mov byte [esp + 0xf0], 7
call fcn.005bcf41
lea ecx, [esp + 0x9c]
mov byte [esp + 0xf0], 6
call fcn.005bcf41
lea ecx, [esp + 0x4c]
mov byte [esp + 0xf0], 4
call fcn.005bcf41
lea ecx, [esp + 0x60]
mov byte [esp + 0xf0], 3
call fcn.005bcf41
lea ecx, [esp + 0x38]
mov byte [esp + 0xf0], 1
call fcn.005bcf41
mov byte [esp + 0xf0], 0
lea ecx, [esp + 0xc4]
call fcn.005bcf41
lea ecx, [esp + 0x88]
mov dword [esp + 0xf0], 0xffffffff
call fcn.005bcf41
mov ecx, dword [esp + 0xe8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xe4
ret 4