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

Disassembly:
push 0xffffffffffffffff
push 0x5f15a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
mov ebx, dword [esp + 0x60]
push ebp
mov ebp, ecx
push esi
mov ecx, ebx
call fcn.004eb430
mov esi, eax
cmp esi, 0xffff
mov dword [esp + 0x54], esi
je 0x4f24db
push edi
push 0x663474
lea ecx, [esp + 0x18]
call fcn.005bc48f
mov eax, dword [0x6707bc]
xor edi, edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
cmp esi, 0xfffd
mov byte [esp + 0x64], 2
mov dword [esp + 0x24], edi
jg 0x4f1e3f
je 0x4f1c71
test esi, esi
je 0x4f1c2e
cmp esi, 0xfffc
jne 0x4f20dd
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + eax + 0xc]
lea eax, [ebx + eax + 0xc]
lea esi, [eax + ecx + 4]
push esi
call fcn.004eada0
add esp, 4
test eax, eax
jne 0x4f20dd
push eax
push eax
push eax
lea edx, [esp + 0x24]
push eax
push edx
push esi
mov ecx, ebp
call fcn.004ed6a0
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4f2461
lea eax, [esp + 0x14]
push 0x66bfd8
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.005bc6b6
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 9
call fcn.005bc55a
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], 2
call fcn.005bc421
mov edx, dword [esp + 0x18]
push edi
lea eax, [esp + 0x14]
push edx
push eax
mov ecx, ebp
call fcn.004eca40
push 0x65d268
lea ecx, [esp + 0x14]
call fcn.005bc7fd
jmp 0x4f20dd
push ebx
mov ecx, ebp
call fcn.004ee1f0
mov esi, eax
mov ecx, dword [esi]
push ecx
lea ecx, [esp + 0x1c]
call fcn.005bc5aa
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4f2461
mov eax, dword [ebp + 0xd0]
mov cx, word [ebx + 4]
lea edx, [esp + 0x10]
push edx
push eax
push esi
push ecx
mov ecx, 0x6756e0
call fcn.0047d420
jmp 0x4f20dd
mov eax, dword [ebx]
mov ecx, dword [ebp + 0xd0]
lea edx, [esp + 0x1c]
push 0
push edx
push eax
add ecx, 0x29c
call fcn.004f4970
test eax, eax
jne 0x4f1cae
mov edx, dword [ebx]
lea ecx, [esp + 0x18]
push ecx
push edx
mov ecx, dword [ebp + 0xd0]
add ecx, 0x2f4
call fcn.004ec9a0
jmp 0x4f20dd
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx]
push ecx
lea edx, [esp + 0x1c]
mov eax, dword [eax]
mov ecx, ebp
push eax
push edx
call fcn.004eca40
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4f2461
lea eax, [esp + 0x14]
push 0x66bfcc
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.005bc6b6
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 5
call fcn.005bc55a
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 2
call fcn.005bc421
mov edx, dword [esp + 0x1c]
push 0
mov ecx, ebp
mov eax, dword [edx]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004eca40
push 0x65d268
lea ecx, [esp + 0x14]
call fcn.005bc7fd
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 4]
lea eax, [ecx + 4]
mov esi, dword [edx - 8]
test esi, esi
je 0x4f1d74
push eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.005bc650
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 6
call fcn.005bc839
lea ecx, [esp + 0x38]
mov byte [esp + 0x64], 2
call fcn.005bc421
push 0x65d268
lea ecx, [esp + 0x14]
call fcn.005bc7fd
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x30]
mov eax, dword [edx - 8]
test eax, eax
je 0x4f1dd2
lea eax, [esp + 0x14]
push 0x66bfb0
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.005bc6b6
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 7
call fcn.005bc839
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], 2
call fcn.005bc421
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
add edx, 0x30
push edx
call fcn.005bc839
push 0x65d268
lea ecx, [esp + 0x14]
call fcn.005bc7fd
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x34]
mov edx, dword [eax - 8]
test edx, edx
je 0x4f1e30
lea ecx, [esp + 0x14]
push 0x66bf90
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.005bc6b6
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 8
call fcn.005bc839
lea ecx, [esp + 0x40]
mov byte [esp + 0x64], 2
call fcn.005bc421
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
add eax, 0x34
push eax
call fcn.005bc839
push 0x65d268
lea ecx, [esp + 0x14]
call fcn.005bc7fd
mov ecx, dword [esp + 0x1c]
mov edi, dword [ecx + 0xc]
add ecx, 0x10
mov dword [esp + 0x24], ecx
jmp 0x4f20dd
cmp esi, 0xfffe
jne 0x4f20dd
mov esi, dword [ebx]
lea ecx, [esp + 0x1c]
push 0
push ecx
mov ecx, dword [ebp + 0xd0]
push esi
add ecx, 0x264
mov dword [esp + 0x54], esi
call fcn.004f4970
test eax, eax
jne 0x4f1e79
lea edx, [esp + 0x18]
push edx
push esi
jmp 0x4f1c98
mov eax, dword [esp + 0x1c]
push esi
lea ecx, [esp + 0x1c]
mov eax, dword [eax]
push eax
push ecx
mov ecx, ebp
call fcn.004eca40
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4f2461
lea edx, [esp + 0x14]
push 0x66bf84
lea eax, [esp + 0x48]
push edx
push eax
call fcn.005bc6b6
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 3
call fcn.005bc55a
lea ecx, [esp + 0x44]
mov byte [esp + 0x64], 2
call fcn.005bc421
mov ecx, dword [esp + 0x1c]
xor esi, esi
push esi
lea edx, [esp + 0x14]
mov eax, dword [ecx]
mov ecx, ebp
push eax
push edx
call fcn.004eca40
mov eax, dword [ebp + 0xd0]
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], esi
mov eax, dword [eax + 0x1bc]
cmp eax, esi
mov dword [esp + 0x50], eax
jle 0x4f2031
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4f2071
mov ecx, dword [ebp + 0xd0]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], 0
mov edx, dword [ecx + 0x1b8]
mov ebx, dword [edx + eax*4]
mov eax, dword [ebx + 0x140]
shr eax, 2
test eax, eax
mov dword [esp + 0x4c], eax
jle 0x4f2014
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4f2014
mov ecx, dword [ebx + 0x138]
mov edx, dword [esp + 0x20]
mov esi, dword [ecx + edx*4]
push esi
call fcn.004f4060
add esp, 4
cmp eax, 0x4000000
jne 0x4f1fff
mov eax, dword [ebx + 0x14c]
mov ecx, dword [esp + 0x20]
mov edi, dword [eax + ecx*4]
test edi, edi
jle 0x4f1fff
mov ecx, dword [ebp + 0xd0]
lea edx, [esp + 0x28]
push edx
push 0
push esi
add ecx, 0x264
mov dword [esp + 0x34], 0xffffffff
call fcn.004f4970
cmp dword [esp + 0x28], 0xffffffff
je 0x4f1fff
xor esi, esi
test edi, edi
jle 0x4f1fff
mov eax, dword [esp + 0x28]
lea ecx, [esi + eax]
push ecx
mov ecx, dword [ebp + 0xd0]
add ecx, 0x264
call fcn.004f4910
cmp eax, dword [esp + 0x48]
je 0x4f1fd2
inc esi
cmp esi, edi
jl 0x4f1fac
jmp 0x4f1fff
mov edx, dword [ebx + 4]
lea esi, [ebx + 4]
mov eax, dword [edx - 8]
test eax, eax
je 0x4f1ff7
push 0x66bf74
lea ecx, [esp + 0x14]
call fcn.005bc7fd
push esi
lea ecx, [esp + 0x14]
call fcn.005bc839
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x4c]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x4f1f3c
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x50]
inc eax
cmp eax, ecx
mov dword [esp + 0x2c], eax
jl 0x4f1f00
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4f2071
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x50]
push 0
push eax
mov edx, dword [ecx + 0xc]
mov ecx, dword [ebp + 0xd0]
push edx
add ecx, 0x280
call fcn.004f4970
test eax, eax
je 0x4f2071
push 0x66bf64
lea ecx, [esp + 0x14]
call fcn.005bc7fd
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x10]
push eax
call fcn.005bc839
push 0x65d268
lea ecx, [esp + 0x14]
call fcn.005bc7fd
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 8]
lea eax, [ecx + 8]
mov esi, dword [edx - 8]
test esi, esi
je 0x4f20cf
push eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x58]
push eax
push ecx
call fcn.005bc650
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 4
call fcn.005bc839
lea ecx, [esp + 0x54]
mov byte [esp + 0x64], 2
call fcn.005bc421
push 0x65d268
lea ecx, [esp + 0x14]
call fcn.005bc7fd
mov ecx, dword [esp + 0x1c]
mov edi, dword [ecx + 0x14]
mov ebx, dword [esp + 0x6c]
add ecx, 0x38
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4f2461
mov esi, dword [esp + 0x74]
test esi, esi
je 0x4f213a
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4f20fc
xor eax, eax
jmp 0x4f20ff
mov eax, dword [esi + 8]
add ecx, eax
cmp eax, ecx
jae 0x4f2124
mov edx, dword [ebx]
cmp dword [eax], edx
jne 0x4f2119
mov si, word [eax + 4]
cmp si, word [ebx + 4]
je 0x4f2461
add eax, 6
cmp eax, ecx
jb 0x4f2107
mov esi, dword [esp + 0x74]
mov edx, dword [ebx]
mov ecx, esi
push edx
call fcn.00491be0
mov ax, word [ebx + 4]
mov ecx, esi
push eax
call fcn.00491b70
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx]
mov eax, dword [edx - 8]
test eax, eax
je 0x4f2151
push str._r_n____________________r_n
call fcn.005bc7fd
test edi, edi
je 0x4f2206
mov eax, dword [0x6707bc]
mov dword [esp + 0x1c], eax
push 0xffff
push 0
lea ecx, [esp + 0x24]
push 0
mov bl, 0xa
push ecx
mov ecx, dword [ebp + 0xd0]
push edi
mov byte [esp + 0x78], bl
call fcn.00462b20
test eax, eax
jne 0x4f219d
mov ecx, dword [ebp + 0xd0]
lea edx, [esp + 0x1c]
push edx
push edi
add ecx, 0x2f4
call fcn.004f1470
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4f21f4
lea ecx, [esp + 0x14]
push 0x66bf3c
lea edx, [esp + 0x58]
push ecx
push edx
call fcn.005bc6b6
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 0xb
call fcn.005bc839
lea ecx, [esp + 0x54]
mov byte [esp + 0x64], bl
call fcn.005bc421
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
call fcn.005bc839
push 0x65d268
lea ecx, [esp + 0x14]
call fcn.005bc7fd
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 2
call fcn.005bc421
mov ebx, dword [esp + 0x6c]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4f2453
mov ecx, dword [0x6707bc]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], ecx
push 0x64ae6c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 0xc
call fcn.005bc48f
mov byte [esp + 0x64], 0xd
mov ecx, dword [esp + 0x2c]
push 0
mov eax, ecx
inc ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x28]
push eax
call fcn.004f4110
mov esi, eax
test esi, esi
je 0x4f2433
lea ecx, [esp + 0x1c]
call fcn.005bc3ac
mov eax, dword [esi]
mov ecx, dword [ebp + 0xd0]
push 0xffff
push 0
lea edx, [esp + 0x24]
push 0
push edx
push eax
call fcn.00462b20
test eax, eax
jne 0x4f229f
mov edx, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 0xd0]
push edx
add ecx, 0x2f4
call fcn.004f1470
mov bx, word [esi + 4]
mov eax, dword [esp + 0x58]
add esi, 4
add esi, 2
cmp eax, 0xfffe
je 0x4f22c8
cmp eax, 0xfffd
je 0x4f22c8
push esi
call fcn.004eab40
add esp, 4
mov edi, eax
jmp 0x4f22d0
mov edi, ebx
shr edi, 3
and edi, 1
push esi
call fcn.004ea860
add esi, eax
push esi
call fcn.00492700
add esp, 8
test eax, eax
jne 0x4f223c
mov eax, dword [esp + 0x2c]
push esi
push eax
lea ecx, [esp + 0x58]
push 0x66bf24
push ecx
call fcn.00503c60
add esp, 0x10
push eax
lea edx, [esp + 0x18]
lea eax, [esp + 0x58]
push edx
push eax
mov byte [esp + 0x70], 0xe
call fcn.005bc650
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 0xf
call fcn.005bc839
lea ecx, [esp + 0x54]
mov byte [esp + 0x64], 0xe
call fcn.005bc421
lea ecx, [esp + 0x50]
mov byte [esp + 0x64], 0xd
call fcn.005bc421
push esi
call fcn.00492830
add esi, eax
mov eax, dword [esp + 0x20]
add esp, 4
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4f2387
push eax
lea ecx, [esp + 0x50]
push 0x66ba20
push ecx
call fcn.00503c60
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 0x10
call fcn.005bc839
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 0xd
call fcn.005bc421
test bl, 2
je 0x4f239a
push 0x66bf00
lea ecx, [esp + 0x14]
call fcn.005bc7fd
test bl, 4
je 0x4f23ad
push 0x66bee8
lea ecx, [esp + 0x14]
call fcn.005bc7fd
cmp edi, 1
jne 0x4f23c0
push 0x66bed4
lea ecx, [esp + 0x14]
call fcn.005bc7fd
push 0x64ae6c
lea ecx, [esp + 0x14]
call fcn.005bc7fd
push esi
call fcn.00492700
add esp, 4
test eax, eax
jne 0x4f2420
push 0x66a1c8
lea ecx, [esp + 0x14]
call fcn.005bc7fd
push esi
lea ecx, [esp + 0x14]
call fcn.005bc7fd
mov eax, dword [esp + 0x10]
mov edx, dword [eax - 8]
cmp byte [edx + eax - 1], 0x20
jb 0x4f2420
lea eax, [esp + 0x10]
push eax
call fcn.00501770
add esp, 4
test eax, eax
jne 0x4f2420
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x14]
call fcn.005bc839
push 0x65d268
lea ecx, [esp + 0x14]
call fcn.005bc7fd
jmp 0x4f223c
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], 0xc
call fcn.005bc421
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 2
call fcn.005bc421
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x10]
push edx
call fcn.005bc839
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x4f2473
lea eax, [esp + 0x18]
push eax
call fcn.005bc839
mov edi, dword [esp + 0x78]
test edi, edi
je 0x4f24ad
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + ecx + 0xc]
lea eax, [ebx + ecx + 0xc]
mov ebx, dword [esp + 0x74]
mov ecx, ebp
lea esi, [eax + edx + 4]
push ebx
push edi
push esi
call fcn.004f24f0
push ebx
push edi
push esi
call fcn.004eab60
add esp, 4
add eax, esi
mov ecx, ebp
push eax
call fcn.004f2680
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 1
call fcn.005bc421
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 0
call fcn.005bc421
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], 0xffffffff
call fcn.005bc421
pop edi
mov ecx, dword [esp + 0x58]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0x10