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

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
push ebx
sub esp, 0xac
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x84], 0x6f2308
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
movzx ecx, byte [ebx + 0x9c]
mov eax, dword [ebx]
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x7f], cl
movzx ecx, byte [ebp - 0x7e]
movzx edx, byte [ebx + 0x9d]
and byte [ebp - 0x7c], 0xfe
and ecx, 0xfffffff0
and edx, 0xf
or ecx, edx
cmp al, 0xc
mov byte [ebp - 0x7e], cl
mov esi, dword [ebx + 0xa0]
mov byte [ebp - 0x80], al
mov dword [ebp - 0x38], esi
je 0x4f5b80
movzx eax, byte [ebp - 0x20]
and byte [ebp - 0x24], 0x80
or byte [ebp - 0x1c], 0xf
and eax, 0xfffffff8
or eax, 4
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x27], 0
mov byte [ebp - 0x20], al
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0xa4]
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 0x18]
test ecx, ecx
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x50]
lea ebx, [ebp - 0x8c]
mov dword [ebp - 0x3c], eax
je 0x4f5625
mov eax, dword [ecx + 0x50]
lea ebx, [ebp - 0x8c]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [eax + 4]
mov dword [ebp - 0x9c], eax
call fcn.004cb890
mov dword [esp], 8
mov ecx, eax
call fcn.004cba30
sub esp, 4
mov esi, eax
call fcn.004cb890
test esi, esi
mov dword [ebp - 0x8c], eax
je 0x4f561f
mov eax, dword [ebp - 0x9c]
mov ecx, esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.005f4b30
sub esp, 8
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x38]
and word [ebp - 0x72], 0xfe3f
test esi, esi
je 0x4f5693
mov eax, dword [edi]
mov ecx, edi
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [esp], edx
mov dword [esp + 0x10], str.arrayed_constructor
mov dword [esp + 0xc], 0x6c69a9
mov dword [esp + 8], 0x78
mov dword [esp + 4], 1
call eax
mov eax, dword [edi]
mov ecx, edi
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x14]
sub esp, 0x14
mov dword [esp + 0x10], str.arrayed_constructor
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x12c
mov dword [esp + 4], 8
mov dword [esp], edx
call eax
sub esp, 0x14
mov ecx, dword [edi + 0x28]
lea eax, [ebp - 0x84]
mov dword [esp], eax
call fcn.005136e0
sub esp, 4
test eax, eax
mov esi, eax
jne 0x4f5801
movzx ecx, byte [ebp - 0x80]
mov eax, dword [edi]
cmp ecx, 0xe
mov esi, dword [eax + 0x70]
mov eax, 0x6c637f
jbe 0x4f5b70
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], 0x6c5660
mov dword [esp + 8], 0x6c85d4
mov dword [esp], edi
mov dword [esp + 4], eax
call esi
movzx eax, byte [ebp - 0x20]
mov esi, 0x144
and byte [ebp - 0x74], 0xc0
and word [ebp - 0x74], 0xc03f
and byte [ebp - 0x24], 0x80
and eax, 0xfffffff8
or eax, 4
mov byte [ebp - 0x20], al
mov eax, dword [ebp - 0x74]
mov byte [ebp - 0x80], 1
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x27], 0
and eax, 0xffc03fff
mov dword [ebp - 0x74], eax
shr eax, 0x10
and ax, 0xfe3f
mov word [ebp - 0x72], ax
movzx eax, byte [ebp - 0x5c]
or byte [ebp - 0x1c], 0xf
and byte [ebp - 0x6f], 0x80
and byte [ebp - 0x6c], 0x80
and eax, 0xfffffff8
or eax, 4
mov byte [ebp - 0x5c], al
movzx eax, word [ebp - 0x5a]
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x68], 0xffffffff
and ax, 0xf80f
or ax, 0x3f0
mov word [ebp - 0x5a], ax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], 0xffffffff
or word [ebp - 0x60], 0xfff
or dword [ebp - 0x58], 0x7fff8000
or eax, 0x7f8000
mov dword [ebp - 0x54], eax
shr eax, 0x18
or eax, 0xffffff80
mov byte [ebp - 0x51], al
movzx eax, word [ebp - 0x46]
or byte [ebp - 0x50], 0x7f
or word [ebp - 0x50], 0x780
or dword [ebp - 0x4c], 0x1ff80
or ax, 0x1fe0
or word [ebp - 0x48], 0x1ff8
and byte [ebp - 0x41], 0x1f
and byte [ebp - 0x40], 0xe0
and byte [ebp - 0x7e], 0xf0
and byte [ebp - 0x7c], 0xfe
mov word [ebp - 0x46], ax
shr ax, 8
or eax, 0xffffffe0
mov byte [ebp - 0x45], al
mov byte [ebp - 0x44], 0xff
mov byte [ebp - 0x3f], 0
mov byte [ebp - 0x3e], 0
mov byte [ebp - 0x3d], 0
mov dword [ebp - 0x3c], 0xfffff800
mov byte [ebp - 0x7f], 1
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.004cb890
mov ecx, ebx
mov dword [esp], 0x6c5660
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x90]
mov dword [esp + 4], eax
call fcn.005f4b30
sub esp, 8
call fcn.004cb890
mov dword [esp], 0xac
mov ecx, eax
call fcn.004cba30
sub esp, 4
mov edi, eax
mov dword [eax + 4], ebx
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov byte [eax + 0x14], 1
mov dword [eax], 0x6f24e8
call fcn.004cb890
lea edx, [edi + 0x98]
and byte [edi + 0x38], 0xc0
and byte [edi + 0x2e], 0xf0
and byte [edi + 0x30], 0xfe
and byte [edi + 0x88], 0x80
or byte [edi + 0x90], 0xf
and word [edi + 0x3a], 0xfe3f
and word [edi + 0x38], 0xc03f
and byte [edi + 0x3d], 0x80
mov dword [edi + 0x18], eax
movzx eax, byte [edi + 0x8c]
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
and eax, 0xfffffff8
or eax, 4
mov byte [edi + 0x8c], al
mov dword [edi + 0x28], 0x6f2308
mov byte [edi + 0x2c], 0
mov byte [edi + 0x2d], 1
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov byte [edi + 0x84], 0
mov byte [edi + 0x85], 0
mov dword [edi + 0x34], 0
mov byte [edi + 0x3c], 0
and byte [edi + 0x40], 0x80
movzx eax, word [edi + 0x52]
movzx ecx, word [edi + 0x66]
or byte [edi + 0x5c], 0x7f
or dword [edi + 0x54], 0x7fff8000
and ax, 0xf80f
or ax, 0x3f0
or cx, 0x1fe0
mov word [edi + 0x52], ax
movzx eax, byte [edi + 0x50]
mov word [edi + 0x66], cx
shr cx, 8
or word [edi + 0x4c], 0xfff
or word [edi + 0x5c], 0x780
and eax, 0xfffffff8
or eax, 4
mov byte [edi + 0x50], al
mov eax, dword [edi + 0x58]
or dword [edi + 0x60], 0x1ff80
or word [edi + 0x64], 0x1ff8
or eax, 0x7f8000
mov dword [edi + 0x58], eax
shr eax, 0x18
or eax, 0xffffff80
or ecx, 0xffffffe0
mov byte [edi + 0x5b], al
mov byte [edi + 0x67], cl
mov ecx, edx
and byte [edi + 0x6b], 0x1f
and byte [edi + 0x6c], 0xe0
mov dword [edi + 0x44], 0xffffffff
mov dword [edi + 0x48], 0xffffffff
mov byte [edi + 0x6d], 0
mov byte [edi + 0x6e], 0
mov byte [edi + 0x6f], 0
mov dword [edi + 0x70], 0xfffff800
mov byte [edi + 0x68], 0xff
and dword [edi + 0x38], 0xffc03fff
mov dword [esp], ebx
mov dword [ebp - 0x9c], edx
call fcn.005f4c40
mov eax, dword [edi + 0x9c]
mov edx, dword [ebp - 0x9c]
mov ecx, dword [eax - 0xc]
sub esp, 4
cmp ecx, 0x3ffffffc
je 0x4f5b9d
lea ebx, [ecx + 1]
cmp ebx, dword [eax - 8]
jbe 0x4f5b60
mov ecx, edx
mov dword [esp], ebx
call fcn.005f4880
mov eax, dword [edi + 0x9c]
mov ecx, dword [eax - 0xc]
sub esp, 4
mov byte [eax + ecx], 0x28
mov eax, dword [edi + 0x9c]
mov dword [eax - 4], 0
mov dword [eax - 0xc], ebx
mov byte [eax + ebx], 0
movzx eax, byte [ebp - 0x80]
mov dword [edi + 0xa0], esi
mov byte [edi + 0xa4], 0
mov byte [edi + 0xa5], 0
mov byte [edi + 0x2c], al
mov eax, dword [ebp - 0x28]
mov byte [edi + 0xa6], 0
mov byte [edi + 0xa7], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0x84], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 0x88], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x8c], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x90], eax
mov eax, dword [ebp - 0x78]
mov dword [edi + 0x34], eax
mov eax, dword [ebp - 0x74]
mov dword [edi + 0x38], eax
mov eax, dword [ebp - 0x70]
mov dword [edi + 0x3c], eax
mov eax, dword [ebp - 0x6c]
mov dword [edi + 0x40], eax
mov eax, dword [ebp - 0x68]
mov dword [edi + 0x44], eax
mov eax, dword [ebp - 0x64]
mov dword [edi + 0x48], eax
mov eax, dword [ebp - 0x60]
mov dword [edi + 0x4c], eax
mov eax, dword [ebp - 0x5c]
mov dword [edi + 0x50], eax
mov eax, dword [ebp - 0x58]
mov dword [edi + 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [edi + 0x58], eax
mov eax, dword [ebp - 0x50]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp - 0x4c]
mov dword [edi + 0x60], eax
mov eax, dword [ebp - 0x48]
mov dword [edi + 0x64], eax
mov eax, dword [ebp - 0x44]
mov dword [edi + 0x68], eax
mov eax, dword [ebp - 0x40]
mov dword [edi + 0x6c], eax
mov eax, dword [ebp - 0x3c]
mov dword [edi + 0x70], eax
movzx eax, byte [edi + 0x2d]
movzx ecx, byte [ebp - 0x7f]
and eax, 0xfffffff0
and ecx, 0xf
or eax, ecx
mov byte [edi + 0x2d], al
movzx ecx, byte [ebp - 0x7f]
and eax, 0xf
and ecx, 0xfffffff0
or eax, ecx
mov byte [edi + 0x2d], al
movzx eax, byte [edi + 0x2e]
movzx ecx, byte [ebp - 0x7e]
and eax, 0xfffffff0
and ecx, 0xf
or eax, ecx
mov byte [edi + 0x2e], al
movzx eax, byte [edi + 0x30]
movzx ecx, byte [ebp - 0x7c]
and eax, 0xfffffffe
and ecx, 1
or eax, ecx
mov byte [edi + 0x30], al
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x84]
mov dword [edi + 0x74], eax
mov eax, dword [ebp - 0x34]
mov dword [edi + 0x78], eax
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x7c], eax
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0x80], eax
call fcn.005cdf10
movzx eax, word [eax + 4]
shr ax, 6
movzx eax, al
mov dword [edi + 0x94], eax
mov eax, dword [ebp - 0x88]
lock sub dword [eax - 4], 1
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 8
cmp dword [eax - 4], 0
jg 0x4f59df
jmp 0x4f59f5
mov eax, dword [ecx*4 + 0x6cb5a0]
jmp 0x4f56c8
mov eax, dword [ebx + 4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x1c], eax
jmp 0x4f5557
mov dword [esp], 0x6c85ef
call fcn.0064ba80
nop
lea esi, [esi]