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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1dc
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
lea edi, [esp + 0x1c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.00475be0
xor eax, eax
mov ebx, 0x100d37f8
lea edi, [esp + 0x34]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call fcn.00475be0
mov eax, dword [0x100ef824]
push 0x100d3ce0
push ecx
push eax
mov ecx, edi
push ecx
lea esi, [esp + 0xc8]
call fcn.004a20b0
add esp, 0xc
push eax
lea edx, [esp + 0xa4]
push edx
call fcn.004ccef0
mov eax, dword [esp + 0xc4]
xor esi, esi
add esp, 0xc
cmp eax, esi
je 0x4f7aef
call fcn.00472510
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], esi
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x4f7b08
call fcn.00472510
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
push 0x100cf980
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0xe4]
push ecx
call fcn.004ccef0
mov edx, dword [eax]
add esp, 0xc
xor ebx, ebx
cmp word [edx], si
mov eax, edx
je 0x4f7b3b
add eax, 2
add ebx, 1
cmp word [eax], si
jne 0x4f7b30
mov esi, dword [ebp + 8]
mov eax, esi
call fcn.0053c7f0
test eax, eax
je 0x4f7b63
mov edx, dword [esp + 0x9c]
mov eax, esi
call fcn.0053c780
test eax, eax
je 0x4f7b63
xor ebx, ebx
mov byte [esp + 0x13], bl
jmp 0x4f7b6a
mov byte [esp + 0x13], 1
xor ebx, ebx
mov eax, dword [esp + 0xdc]
cmp eax, ebx
je 0x4f7b8f
call fcn.00472510
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebx
cmp byte [esp + 0x13], bl
je 0x4f7cdc
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
lea ebx, [esi + edx*2]
lea edi, [esp + 0x70]
call fcn.00475be0
mov ebx, dword [esp + 0x70]
lea edi, [esp + 0x1c]
call fcn.00475be0
xor esi, esi
cmp ebx, esi
je 0x4f7bde
mov eax, ebx
call fcn.00472510
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov ebx, 0x100d37f8
lea edi, [esp + 0x40]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call fcn.00475be0
lea eax, [esp + 0x1c]
push eax
push ecx
push 0x100d5bcc
push ecx
mov ecx, dword [0x100ef824]
push ecx
mov edx, edi
push edx
lea esi, [esp + 0x100]
call fcn.004a20b0
add esp, 0xc
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.004ccef0
add esp, 0x10
push eax
lea esi, [esp + 0xfc]
call fcn.004a20b0
mov ebx, dword [eax]
add esp, 8
lea edi, [esp + 0x1c]
call fcn.00475be0
mov eax, dword [esp + 0xf4]
xor esi, esi
cmp eax, esi
je 0x4f7c70
call fcn.00472510
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf8], esi
mov dword [esp + 0xfc], esi
mov eax, dword [esp + 0xd0]
cmp eax, esi
je 0x4f7c95
call fcn.00472510
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd8], esi
mov eax, dword [esp + 0xe8]
cmp eax, esi
je 0x4f7cba
call fcn.00472510
mov dword [esp + 0xe8], esi
mov dword [esp + 0xec], esi
mov dword [esp + 0xf0], esi
mov eax, dword [esp + 0x40]
cmp eax, esi
je 0x4f7cd3
call fcn.00472510
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov ecx, dword [esp + 0x1c]
mov dword [ebp + 8], ecx
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov ebx, 0x100d37f8
lea edi, [esp + 0x28]
call fcn.00475be0
mov edx, dword [0x100ef824]
push edx
mov eax, edi
push eax
lea esi, [esp + 0xcc]
call fcn.004a20b0
mov ebx, dword [eax]
xor ecx, ecx
add esp, 8
lea edi, [esp + 0x124]
mov dword [esp + 0x120], 0x80000001
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], ecx
mov dword [esp + 0x12c], ecx
call fcn.00475be0
mov eax, dword [esp + 0xc4]
xor esi, esi
cmp eax, esi
je 0x4f7d66
call fcn.00472510
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], esi
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x4f7d7f
call fcn.00472510
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov ebx, 0x100d4b9c
lea edi, [esp + 0x134]
mov dword [esp + 0x130], 0x80000003
mov dword [esp + 0x134], esi
mov dword [esp + 0x138], esi
mov dword [esp + 0x13c], esi
call fcn.00475be0
xor eax, eax
mov ebx, 0x100d5bf0
lea edi, [esp + 0x144]
mov dword [esp + 0x140], 0x80000005
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], eax
call fcn.00475be0
xor eax, eax
mov ebx, 0x100d3d04
lea edi, [esp + 0x154]
mov dword [esp + 0x150], 0x80000002
mov dword [esp + 0x154], eax
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], eax
call fcn.00475be0
lea ecx, [esp + 0x124]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ecx
jmp 0x4f7e30
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov esi, dword [0x100cf068]
push eax
call esi
mov edi, eax
mov eax, dword [ebp + 8]
push eax
call esi
cmp eax, edi
jl 0x4f7f1a
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx]
push eax
call esi
mov edi, eax
add edi, 1
mov esi, 0
mov eax, esi
je 0x4f7ef2
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x1ac]
call fcn.00532c00
mov edx, dword [0x100ef808]
lea ecx, [edi + edi]
push ecx
push 1
push edx
call dword [0x100cf14c]
cmp byte [esp + 0x1c4], 0
mov esi, eax
je 0x4f7eec
mov eax, dword [esp + 0x1c0]
mov ecx, dword [eax + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [eax + 0x10]
mov ebx, eax
add eax, 0x10
cmp dword [ecx], 0
jne 0x4f7eec
mov edx, ecx
mov dword [edx], 0
mov eax, dword [ebx + 8]
push 0
push eax
call dword [0x100cf084]
mov ecx, dword [ebx + 0xc]
test ecx, ecx
lea eax, [ebx + 0xc]
jle 0x4f7eec
push eax
call dword [0x100cf080]
mov edx, dword [ebx + 0x14]
push 0
push 1
push edx
call dword [0x100cf088]
mov ebx, dword [esp + 0x14]
mov eax, edi
mov edi, dword [ebp + 8]
push eax
push edi
push esi
call dword [0x100cf100]
mov edx, dword [ebx]
mov eax, esi
call fcn.0053c780
test eax, eax
je 0x4f8249
test esi, esi
je 0x4f7f1a
mov eax, esi
call fcn.00472510
mov eax, dword [esp + 0x18]
add dword [esp + 0x14], 0x10
add eax, 1
cmp eax, 4
mov dword [esp + 0x18], eax
jb 0x4f7e30
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor eax, eax
lea edi, [esp + 0x58]
mov dword [ecx], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
call fcn.00475be0
mov esi, dword [esp + 0x58]
mov edi, dword [ebp + 0x10]
mov ebx, esi
call fcn.00475be0
xor ebx, ebx
cmp esi, ebx
je 0x4f7feb
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x1cc]
call fcn.00532c00
mov edx, dword [0x100ef808]
push esi
push 1
push edx
call dword [0x100cf260]
cmp byte [esp + 0x1e4], bl
je 0x4f7fdf
mov eax, dword [esp + 0x1e0]
mov ecx, dword [eax + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [eax + 0x10]
mov esi, eax
add eax, 0x10
cmp dword [ecx], ebx
jne 0x4f7fdf
mov edx, ecx
mov dword [edx], ebx
mov eax, dword [esi + 8]
push ebx
push eax
call dword [0x100cf084]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea eax, [esi + 0xc]
jle 0x4f7fdf
push eax
call dword [0x100cf080]
mov edx, dword [esi + 0x14]
push ebx
push 1
push edx
call dword [0x100cf088]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x14], 3
lea eax, [esp + 0x164]
lea ebx, [ebx]
mov edi, dword [eax - 0x10]
sub eax, 0x10
cmp edi, ebx
mov dword [esp + 0x18], eax
je 0x4f813c
mov eax, 0x100ef4b8
mov dword [esp + 0xac], ebx
mov ecx, 0x100ef4b4
mov dword [esp + 0xb4], ebx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0xb4]
lea edx, [esp + 0x7c]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
call fcn.00535fe0
call dword [0x100cf08c]
mov esi, eax
mov eax, dword [esp + 0x84]
mov ecx, dword [eax]
cmp esi, ecx
je 0x4f80bf
mov edx, dword [esp + 0x84]
mov eax, dword [edx]
test eax, eax
jne 0x4f8439
mov ecx, dword [esp + 0x84]
push ebx
push esi
push ecx
call dword [0x100cf090]
test eax, eax
sete al
cmp al, bl
je 0x4f8439
mov edx, dword [esp + 0x8c]
mov dword [edx], ebx
mov eax, dword [esp + 0x8c]
add dword [eax], 1
mov al, 1
push edi
mov byte [esp + 0x9c], al
mov eax, dword [0x100ef808]
push 1
push eax
call dword [0x100cf260]
cmp byte [esp + 0x98], bl
je 0x4f8130
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [eax + 0x10]
mov edi, eax
add eax, 0x10
cmp dword [ecx], ebx
jne 0x4f8130
mov edx, ecx
mov dword [edx], ebx
mov eax, dword [edi + 8]
push ebx
push eax
call dword [0x100cf084]
mov ecx, dword [edi + 0xc]
test ecx, ecx
lea eax, [edi + 0xc]
jle 0x4f8130
push eax
call dword [0x100cf080]
mov edx, dword [edi + 0x14]
push ebx
push 1
push edx
call dword [0x100cf088]
mov eax, dword [esp + 0x18]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
sub dword [esp + 0x14], 1
jns 0x4f8000
mov esi, dword [esp + 0x9c]
cmp esi, ebx
je 0x4f81c4
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x16c]
call fcn.00532c00
mov eax, dword [0x100ef808]
push esi
push 1
push eax
call dword [0x100cf260]
cmp byte [esp + 0x184], bl
je 0x4f81c4
mov esi, dword [esp + 0x180]
mov ecx, dword [esi + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [esi + 0x10]
cmp dword [ecx], ebx
lea eax, [esi + 0x10]
jne 0x4f81c4
mov edx, ecx
mov dword [edx], ebx
mov eax, dword [esi + 8]
push ebx
push eax
call dword [0x100cf084]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea eax, [esi + 0xc]
jle 0x4f81c4
push eax
call dword [0x100cf080]
mov edx, dword [esi + 0x14]
push ebx
push 1
push edx
call dword [0x100cf088]
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x4f8240
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x18c]
call fcn.00532c00
mov eax, dword [0x100ef808]
push esi
push 1
push eax
call dword [0x100cf260]
cmp byte [esp + 0x1a4], bl
je 0x4f8240
mov eax, dword [esp + 0x1a0]
mov ecx, dword [eax + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [eax + 0x10]
mov esi, eax
add eax, 0x10
cmp dword [ecx], ebx
jne 0x4f8240
mov edx, ecx
mov dword [edx], ebx
mov eax, dword [esi + 8]
push ebx
push eax
call dword [0x100cf084]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea eax, [esi + 0xc]
jle 0x4f8240
push eax
call dword [0x100cf080]
mov edx, dword [esi + 0x14]
push ebx
push 1
push edx
call dword [0x100cf088]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebx]
mov eax, dword [ebx - 4]
mov ecx, dword [ebp + 0xc]
push edx
mov dword [ecx], eax
call dword [0x100cf068]
lea ebx, [edi + eax*2]
xor eax, eax
cmp word [ebx], 0x5c
jne 0x4f82a4
add ebx, 2
lea edi, [esp + 0x64]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
call fcn.00475be0
mov ebx, dword [esp + 0x64]
mov edi, dword [ebp + 0x10]
call fcn.00475be0
xor edi, edi
cmp ebx, edi
je 0x4f82e0
mov eax, ebx
call fcn.00472510
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
jmp 0x4f82e0
lea edi, [esp + 0x4c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
call fcn.00475be0
mov ebx, dword [esp + 0x4c]
mov edi, dword [ebp + 0x10]
call fcn.00475be0
test ebx, ebx
je 0x4f82de
mov eax, ebx
call fcn.00472510
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
xor edi, edi
cmp esi, edi
je 0x4f82eb
mov eax, esi
call fcn.00472510
mov dword [esp + 0x14], 3
lea eax, [esp + 0x164]
lea ebx, [ebx]
mov esi, dword [eax - 0x10]
sub eax, 0x10
cmp esi, edi
mov dword [esp + 0x18], eax
je 0x4f8404
mov dword [esp + 0xac], edi
mov eax, 0x100ef4b8
mov ecx, 0x100ef4b4
mov dword [esp + 0xb4], edi
lea edx, [esp + 0x100]
mov dword [esp + 0x100], edi
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x110], ecx
mov ecx, dword [esp + 0xb4]
lea ebx, [esp + 0x13]
mov edi, edx
mov dword [esp + 0x104], 0xffffffff
mov dword [esp + 0x10c], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
call fcn.00535220
test al, al
je 0x4f838f
mov eax, dword [esp + 0x110]
add dword [eax], 1
mov al, 1
push esi
mov byte [esp + 0x120], al
mov eax, dword [0x100ef808]
push 1
push eax
call dword [0x100cf260]
xor ebx, ebx
cmp byte [esp + 0x11c], bl
je 0x4f83f6
mov eax, dword [esp + 0x118]
mov ecx, dword [eax + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [eax + 0x10]
mov edi, eax
add eax, 0x10
cmp dword [ecx], ebx
jne 0x4f83f6
mov edx, ecx
mov dword [edx], ebx
mov eax, dword [edi + 8]
push ebx
push eax
call dword [0x100cf084]
mov ecx, dword [edi + 0xc]
test ecx, ecx
lea eax, [edi + 0xc]
jle 0x4f83f6
push eax
call dword [0x100cf080]
mov edx, dword [edi + 0x14]
push ebx
push 1
push edx
call dword [0x100cf088]
mov eax, dword [esp + 0x18]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
xor edi, edi
sub dword [esp + 0x14], 1
jns 0x4f8300
mov eax, dword [esp + 0x9c]
cmp eax, edi
je 0x4f841f
call fcn.00472510
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x4f8240
call fcn.00472510
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
lea eax, [esp + 0x80]
call fcn.00535290
test al, al
jne 0x4f80bf
jmp 0x4f80cb