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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f1c9b
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push ebp
mov ebp, dword [esp + 0xd4]
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], ebp
jne 0x4bfe5f
mov eax, dword [esi + 0x3c]
mov ecx, dword [esp + 0xe0]
cmp eax, ecx
je 0x4c05f3
mov eax, dword [esi + 0x28]
xor edi, edi
test eax, eax
jle 0x4bfe92
dec eax
lea ecx, [esp + 0x44]
push eax
push ecx
lea ecx, [esi + 0x20]
call fcn.00416560
mov ecx, dword [eax + 0xc]
cmp ecx, 3
lea ecx, [esp + 0x44]
sete bl
call fcn.004ba050
test bl, bl
je 0x4bfe92
mov edi, 1
lea ecx, [esp + 0x6c]
call fcn.004ba030
mov eax, dword [esi + 0x5c]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0xcc], ebx
je 0x4c032b
cmp edi, ebx
je 0x4c032b
lea ecx, [esp + 0x58]
mov dword [esp + 0x28], ebx
call fcn.004ba030
lea ecx, [esp + 0x44]
mov byte [esp + 0xcc], 1
call fcn.004ba030
mov byte [esp + 0xcc], 2
xor ebp, ebp
lea edi, [esp + 0xac]
lea ebx, [esi + 0x20]
mov ecx, ebx
call fcn.004272c0
mov ecx, dword [esp + 0x28]
sub esp, 0x14
sub eax, ecx
mov edx, esp
mov dword [esp + 0x24], esp
push eax
push edx
mov ecx, ebx
call fcn.00416560
lea eax, [esp + 0x44]
lea ecx, [esp + 0x6c]
push eax
call fcn.004ba0a0
lea ecx, [esp + 0x30]
call fcn.004ba050
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x64]
inc ecx
cmp eax, 0xa
mov dword [esp + 0x28], ecx
je 0x4bfee6
lea eax, [esp + 0x58]
lea ecx, [esp + 0x5c]
neg eax
sbb eax, eax
add edi, 8
and eax, ecx
inc ebp
cmp ebp, 3
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi - 8], edx
mov dword [edi - 4], eax
jl 0x4bfee6
mov edx, dword [esp + 0xe0]
mov ebp, dword [esp + 0xdc]
mov edi, dword [esp + 0xb0]
mov ebx, dword [esp + 0xac]
mov eax, dword [esp + 0xb8]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xc8]
push ebp
push edi
push ebx
push eax
mov eax, dword [esp + 0xd4]
push ecx
push edx
push eax
mov ecx, esi
call fcn.004c0740
test eax, eax
jne 0x4bffca
lea ecx, [esp + 0x44]
mov byte [esp + 0xcc], 1
call fcn.004ba050
lea ecx, [esp + 0x58]
mov byte [esp + 0xcc], 0
call fcn.004ba050
jmp 0x4c05df
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ecx
push eax
mov dword [esp + 0x18], edx
call fcn.004346a0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.00434770
add esp, 0xc
test eax, eax
je 0x4bffa3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
push eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], edx
call fcn.004346a0
lea ecx, [esp + 0x2c]
push ecx
call fcn.004346a0
lea edx, [esp + 0x28]
push edx
call fcn.004346a0
add esp, 0xc
lea ecx, [esp + 0x80]
call fcn.004d9b70
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x30]
mov dword [esp + 0x98], ecx
push 1
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0xd4], 3
mov byte [esp + 0x8c], 0x14
mov dword [esp + 0xa4], edx
call fcn.004d9d50
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
push edx
call fcn.00434770
add esp, 8
test eax, eax
je 0x4c0312
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
push ecx
call fcn.00434770
add esp, 8
test eax, eax
je 0x4c0312
lea ecx, [esp + 0x80]
mov byte [esp + 0xcc], 2
call fcn.004d9ba0
mov eax, dword [esi + 0xd8]
mov edi, dword [esp + 0xd8]
mov ebx, dword [esp + 0xd4]
test eax, eax
je 0x4c013c
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
push 0
push 0
push edx
push eax
push edi
push ebx
mov ecx, esi
mov dword [esi + 0xe0], 1
call fcn.004c2d60
mov dword [esi + 0xd8], 0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 5
push ecx
push edx
lea ecx, [esp + 0x50]
call fcn.004ba080
lea eax, [esp + 0x44]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x5c]
and eax, edx
mov ecx, esp
lea ebp, [esi + 0x20]
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x64]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x68]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
mov ecx, ebp
call fcn.00416650
mov ecx, dword [esp + 0xe0]
mov edx, dword [esp + 0xdc]
push 3
push ecx
push edx
lea ecx, [esp + 0x64]
call fcn.004ba080
lea eax, [esp + 0x58]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x70]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x78]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x7c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
mov ecx, ebp
call fcn.00416650
xor edi, 0xffffff
push 7
push edi
push ebx
mov ecx, esi
mov dword [esi + 0xe0], 1
call fcn.004c28d0
mov eax, dword [esi + 0x14]
sub esp, 0x14
inc eax
lea edx, [esp + 0x70]
mov dword [esi + 0x14], eax
lea eax, [esp + 0x6c]
neg eax
sbb eax, eax
mov ecx, esp
and eax, edx
mov dword [esp + 0x24], esp
lea edi, [esi + 0x34]
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x78]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x7c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
call fcn.004ba0a0
lea ecx, [esp + 0x30]
call fcn.004ba050
lea eax, [esp + 0x44]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x5c]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x64]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x68]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esi + 0x48]
call fcn.004ba0a0
lea ecx, [esp + 0x30]
call fcn.004ba050
sub esp, 0x14
test edi, edi
mov dword [esp + 0x24], esp
mov eax, esp
je 0x4c02b7
lea ecx, [edi + 4]
jmp 0x4c02b9
xor ecx, ecx
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [eax + 0xc], edx
mov ecx, dword [edi + 0x10]
lea edx, [esp + 0x44]
mov dword [eax + 0x10], ecx
push edx
lea ecx, [esp + 0x84]
mov dword [eax], 0x4f57e8
call fcn.004ba0a0
lea ecx, [esp + 0x30]
call fcn.004ba050
lea ecx, [esp + 0x44]
mov byte [esp + 0xcc], 1
call fcn.004ba050
mov byte [esp + 0xcc], 0
lea ecx, [esp + 0x58]
jmp 0x4c06ff
lea ecx, [esp + 0x80]
mov byte [esp + 0xcc], 2
call fcn.004d9ba0
jmp 0x4bffa3
cmp dword [esi + 0xdc], ebx
je 0x4c05fa
lea ebx, [esi + 0x48]
test ebx, ebx
je 0x4c0343
lea eax, [esi + 0x4c]
jmp 0x4c0345
xor eax, eax
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp ecx, ebp
jne 0x4c035b
cmp eax, dword [esp + 0xe0]
je 0x4c05df
test ebx, ebx
je 0x4c0364
lea eax, [esi + 0x4c]
jmp 0x4c0366
xor eax, eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea edi, [esi + 0x34]
mov dword [esp + 0x20], ecx
mov eax, edi
lea ecx, [esi + 0x38]
neg eax
sbb eax, eax
mov dword [esp + 0x24], edx
and eax, ecx
mov dword [esp + 0x10], ebp
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], edx
push ecx
mov dword [esp + 0x18], eax
call fcn.004346a0
lea edx, [esp + 0x1c]
push edx
call fcn.004346a0
lea eax, [esp + 0x18]
push eax
call fcn.004346a0
add esp, 0xc
lea ecx, [esp + 0x80]
call fcn.004d9b70
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x94], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x14]
push 1
push ecx
lea ecx, [esp + 0x88]
mov byte [esp + 0xd4], 4
mov byte [esp + 0x8c], 0x14
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], eax
call fcn.004d9d50
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
call fcn.00434770
add esp, 8
test eax, eax
je 0x4c05cb
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ecx
push edx
call fcn.00434770
add esp, 8
test eax, eax
je 0x4c05cb
lea ecx, [esp + 0x80]
mov byte [esp + 0xcc], 0
call fcn.004d9ba0
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x4c04b7
sub esp, 0x14
test ebx, ebx
mov dword [esp + 0x24], esp
mov eax, esp
je 0x4c0490
lea ecx, [ebx + 4]
jmp 0x4c0492
xor ecx, ecx
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 8], ecx
mov edx, dword [ebx + 0xc]
mov dword [eax + 0xc], edx
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0x10], ecx
lea ecx, [esi + 0x20]
mov dword [eax], 0x4f57e8
call fcn.00416650
sub esp, 0x14
test edi, edi
mov dword [esp + 0x24], esp
mov eax, esp
je 0x4c04c9
lea ecx, [edi + 4]
jmp 0x4c04cb
xor ecx, ecx
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [eax + 0xc], edx
mov ecx, dword [edi + 0x10]
lea edi, [esi + 0x20]
mov dword [eax + 0x10], ecx
mov ecx, edi
mov dword [eax], 0x4f57e8
call fcn.00416650
mov edx, dword [esp + 0xe0]
push 3
push edx
push ebp
lea ecx, [esp + 0x78]
call fcn.004ba080
lea eax, [esp + 0x6c]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x84]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x8c]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x90]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
mov ecx, edi
call fcn.00416650
mov eax, dword [esi + 0xd8]
mov edi, dword [esp + 0xd8]
mov ebx, dword [esp + 0xd4]
mov ebp, 1
test eax, eax
je 0x4c059f
mov eax, dword [esi + 0x5c]
mov dword [esi + 0xe0], ebp
test eax, eax
je 0x4c0580
mov dword [esi + 0xf0], 0
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
push 0
push 0
push ecx
push edx
push edi
push ebx
mov ecx, esi
call fcn.004c2d60
mov dword [esi + 0xd8], 0
xor edi, 0xffffff
push 7
push edi
push ebx
mov ecx, esi
mov dword [esi + 0xe0], ebp
call fcn.004c28d0
mov dword [esi + 0xf4], ebp
mov dword [esi + 0xdc], 0
jmp 0x4c0660
lea ecx, [esp + 0x80]
mov byte [esp + 0xcc], 0
call fcn.004d9ba0
lea ecx, [esp + 0x6c]
mov dword [esp + 0xcc], 0xffffffff
call fcn.004ba050
xor eax, eax
jmp 0x4c071d
mov ecx, dword [esi + 0xd8]
mov edi, 1
cmp ecx, ebx
je 0x4c0640
cmp eax, ebx
mov dword [esi + 0xe0], edi
je 0x4c0619
mov dword [esi + 0xf0], ebx
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
mov edx, dword [esp + 0xd8]
push ebx
push ebx
push eax
mov eax, dword [esp + 0xe0]
push ecx
push edx
push eax
mov ecx, esi
call fcn.004c2d60
mov dword [esi + 0xd8], ebx
mov ecx, dword [esp + 0xe0]
push 5
push ecx
push ebp
lea ecx, [esp + 0x78]
mov dword [esi + 0xe0], edi
mov dword [esi + 0xdc], edi
call fcn.004ba080
lea edi, [esi + 0x34]
sub esp, 0x14
test edi, edi
mov dword [esp + 0x24], esp
mov eax, esp
je 0x4c0675
lea ecx, [edi + 4]
jmp 0x4c0677
xor ecx, ecx
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [eax + 0xc], edx
mov ecx, dword [edi + 0x10]
lea edx, [esp + 0x58]
mov dword [eax + 0x10], ecx
push edx
lea ecx, [esi + 0x48]
mov dword [eax], 0x4f57e8
call fcn.004ba0a0
lea ecx, [esp + 0x44]
call fcn.004ba050
lea eax, [esp + 0x6c]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x84]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x8c]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x90]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0xc0]
push ecx
mov ecx, edi
call fcn.004ba0a0
lea ecx, [esp + 0xac]
call fcn.004ba050
lea ecx, [esp + 0x6c]
mov dword [esp + 0xcc], 0xffffffff
call fcn.004ba050
mov eax, 1
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc0
ret 0x10