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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x4be8da
sub esp, 0x9c
xor ebx, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
xor ebx, ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
xor ebx, ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
xor ebx, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0xac]
cmp eax, 3
jl 0x4bdff3
cmp eax, 3
jne 0x4be76c
mov dword [esp], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 4], eax
mov ebx, 0x5f69ea
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 3
call fcn.00453720
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x10]
cmp ebx, 0
jg 0x4be76c
cmp eax, 3
jl 0x4be037
cmp eax, 3
jne 0x4be5fe
mov dword [esp], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 4], eax
mov ebx, 0x5f69c6
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 3
call fcn.00453720
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x10]
cmp ebx, 0
jg 0x4be5fe
cmp eax, 2
jne 0x4be564
mov dword [esp], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 4], eax
mov ebp, 0x5f67fb
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 2
call fcn.004535f0
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4be564
mov ebx, dword [esp + 0xb4]
cmp ebx, 0
je 0x4be099
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x4c], ebx
mov dword [esp], 0x5d0700
call fcn.0040f320
mov eax, dword [esp + 4]
mov ecx, 0x4c7920
mov dword [eax], ecx
mov dword [esp + 0x34], eax
mov ebp, dword [esp + 0xac]
mov dword [eax + 8], ebp
mov ebp, dword [esp + 0xa8]
cmp byte [0x6dae38], 0
jne 0x4be54c
mov dword [eax + 4], ebp
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x4c]
cmp ebx, 0
jne 0x4be1b2
mov ebx, dword [0x61b770]
mov dword [esp], ebx
mov ebx, dword [0x61b774]
mov dword [esp + 4], ebx
mov ebx, dword [0x61b778]
mov dword [esp + 8], ebx
mov ebx, dword [0x61b77c]
mov dword [esp + 0xc], ebx
mov ebx, dword [0x61b780]
mov dword [esp + 0x10], ebx
mov edx, eax
mov ebx, dword [eax]
call ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x64], ebx
mov dword [esp], 0x5bde40
call fcn.0040f320
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ebp, dword [esp + 0x60]
mov dword [eax], ebp
mov ebp, dword [esp + 0x64]
cmp byte [0x6dae38], 0
jne 0x4be19d
mov dword [eax + 4], ebp
cmp eax, 0
je 0x4be199
mov ecx, 1
mov ebp, 1
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], ebp
xor ebx, ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
add esp, 0x9c
ret
mov dword [eax], eax
jmp 0x4be163
lea esi, [eax + 4]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0040fcf0
mov eax, dword [esp + 0x30]
jmp 0x4be15e
xor ebx, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 4], ebx
call fcn.004bc050
mov eax, dword [esp + 8]
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x80], ebp
mov edi, dword [esp + 0x10]
mov dword [esp + 0x84], edi
mov dword [esp + 0x7c], eax
cmp eax, 0
je 0x4be2cf
xor edx, edx
mov dword [esp + 0x88], eax
mov dword [esp], eax
mov dword [esp + 0x8c], ebp
mov dword [esp + 4], ebp
mov dword [esp + 0x90], edi
mov dword [esp + 8], edi
mov dword [esp + 0x94], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x98], edx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x2c]
mov ebx, dword [edx]
call ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x64], ebx
mov dword [esp], 0x5bde40
call fcn.0040f320
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ebp, dword [esp + 0x60]
mov dword [eax], ebp
mov ebp, dword [esp + 0x64]
cmp byte [0x6dae38], 0
jne 0x4be2ba
mov dword [eax + 4], ebp
cmp eax, 0
je 0x4be2b6
mov ecx, 1
mov ebp, 1
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], ebp
xor ebx, ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
add esp, 0x9c
ret
mov dword [eax], eax
jmp 0x4be280
lea esi, [eax + 4]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0040fcf0
mov eax, dword [esp + 0x30]
jmp 0x4be27b
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 4], ebx
mov byte [esp + 8], 1
call fcn.004bc2d0
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x80], esi
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x84], ebp
mov edx, dword [esp + 0x18]
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x7c], eax
cmp eax, 0
je 0x4be3f7
xor ebx, ebx
mov dword [esp + 0x88], eax
mov dword [esp], eax
mov dword [esp + 0x8c], esi
mov dword [esp + 4], esi
mov dword [esp + 0x90], ebp
mov dword [esp + 8], ebp
mov dword [esp + 0x94], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x2c]
mov ebx, dword [edx]
call ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x64], ebx
mov dword [esp], 0x5bde40
call fcn.0040f320
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ebp, dword [esp + 0x60]
mov dword [eax], ebp
mov ebp, dword [esp + 0x64]
cmp byte [0x6dae38], 0
jne 0x4be3e2
mov dword [eax + 4], ebp
cmp eax, 0
je 0x4be3de
mov ecx, 1
mov ebp, 1
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], ebp
xor ebx, ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
add esp, 0x9c
ret
mov dword [eax], eax
jmp 0x4be3a8
lea esi, [eax + 4]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0040fcf0
mov eax, dword [esp + 0x30]
jmp 0x4be3a3
mov ebx, dword [esp + 0xa0]
mov dword [esp], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0xc], ebx
call fcn.004bf9b0
mov eax, dword [esp + 0xac]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x70], ebx
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], ecx
cmp ecx, 0
je 0x4be479
xor ebx, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], edx
add esp, 0x9c
ret
xor ecx, ecx
cmp eax, 0
je 0x4be540
mov ebx, eax
dec ebx
cmp ebx, eax
jae 0x4be545
mov ebp, dword [esp + 0xa8]
add ebp, ebx
movzx ebx, byte [ebp]
cmp bl, 0x34
jne 0x4be540
mov ecx, 0x61acdc
cmp eax, 0
je 0x4be537
mov ebx, eax
dec ebx
cmp ebx, eax
jae 0x4be539
mov ebp, dword [esp + 0xa8]
add ebp, ebx
movzx ebx, byte [ebp]
cmp bl, 0x36
jne 0x4be537
mov ecx, 0x61ace0
mov dword [esp], ecx
mov ebx, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov dword [esp + 0x74], edi
mov dword [esp + 8], edi
mov dword [esp + 0x78], esi
mov dword [esp + 0xc], esi
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x10], ebx
call fcn.004bd480
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x9c
ret
jmp 0x4be4d1
call fcn.004291a0
ud2
jmp 0x4be4aa
call fcn.004291a0
ud2
lea esi, [eax + 4]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0040fcf0
mov eax, dword [esp + 0x34]
jmp 0x4be0d5
mov dword [esp + 0x5c], eax
cmp eax, 3
jne 0x4be598
mov dword [esp], ecx
mov dword [esp + 4], eax
mov ebp, 0x5f69c6
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 3
call fcn.004535f0
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x4be077
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 0x6c], ebx
xor ebx, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp], 0x6b2030
lea ebx, [esp + 0x68]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
call fcn.0040c4d0
mov ebx, dword [esp + 0xc]
mov dword [esp + 0xc4], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xc8], ebx
add esp, 0x9c
ret
cmp eax, 3
jne 0x4be63a
mov dword [esp], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 4], eax
mov ebp, 0x5f69c9
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 3
call fcn.004535f0
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x4be077
mov dword [esp + 0x5c], eax
cmp eax, 3
jne 0x4be598
mov dword [esp], ecx
mov dword [esp + 4], eax
mov ebp, 0x5f69ea
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 3
call fcn.004535f0
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4be598
mov ebx, dword [esp + 0xb4]
cmp ebx, 0
je 0x4be099
mov ebx, dword [esp + 0xb0]
mov dword [esp], ebx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 4], ebx
call fcn.004bd7f0
mov ebx, dword [esp + 8]
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x4c], ebx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], eax
cmp eax, 0
je 0x4be6f5
xor ebx, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ebp
add esp, 0x9c
ret
mov ebx, dword [esp + 0xa8]
mov dword [esp], ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 4], ebx
mov dword [esp + 0x40], edx
mov dword [esp + 8], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0xc], ecx
call fcn.004c0150
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], eax
cmp eax, 0
je 0x4be099
xor ebx, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0x9c
ret
cmp eax, 4
jl 0x4be7ac
cmp eax, 4
jne 0x4be825
mov dword [esp], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 4], eax
mov ebx, 0x5f6ca5
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 4
call fcn.00453720
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x10]
cmp ebx, 0
jg 0x4be825
cmp eax, 3
jne 0x4be7e8
mov dword [esp], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 4], eax
mov ebp, 0x5f69f0
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 3
call fcn.004535f0
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x4be672
mov dword [esp + 0x5c], eax
cmp eax, 4
jne 0x4be598
mov dword [esp], ecx
mov dword [esp + 4], eax
mov ebp, 0x5f6ca5
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 4
call fcn.004535f0
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x4be672
jmp 0x4be598
cmp eax, 4
jne 0x4be861
mov dword [esp], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 4], eax
mov ebp, 0x5f6ca9
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 4
call fcn.004535f0
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x4be672
cmp eax, 4
jne 0x4be89d
mov dword [esp], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 4], eax
mov ebp, 0x5f6cb5
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 4
call fcn.004535f0
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x4be672
mov dword [esp + 0x5c], eax
cmp eax, 4
jne 0x4be598
mov dword [esp], ecx
mov dword [esp + 4], eax
mov ebp, 0x5f6cb9
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 4
call fcn.004535f0
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x4be672
jmp 0x4be598
call fcn.004518d0
jmp fcn.004bdf30