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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x25c], edx
mov dword [ebp - 0x258], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4bf3b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xe
lea eax, [ebp - 0x54]
mov edx, 0x10
call fcn.00407c84
cmp dword [ebx + 0x10], 0
je 0x4becc6
cmp dword [ebx + 0x14], 0
jne 0x4becd2
mov dword [ebp - 4], 2
jmp 0x4bf38c
cmp dword [ebx], 0
je 0x4becdd
cmp dword [ebx + 4], 0
jne 0x4bece9
mov dword [ebp - 4], 4
jmp 0x4bf38c
cmp dword [ebx + 0x98], 0
jne 0x4becfe
mov dword [ebp - 4], 7
jmp 0x4bf38c
cmp byte [ebx + 0x34], 0
je 0x4bed22
mov esi, dword [ebx + 0x38]
test esi, esi
je 0x4bed16
mov eax, esi
call fcn.0040a0f4
test eax, eax
jne 0x4bed22
mov dword [ebp - 4], 0x10
jmp 0x4bf38c
mov eax, dword [ebx + 8]
cmp eax, 5
ja case.default.0x4bed2a
jmp dword [eax*4 + 0x4bed31]
mov byte [ebp - 0x48], 1
jmp 0x4bed79
mov byte [ebp - 0x48], 1
jmp 0x4bed79
mov byte [ebp - 0x48], 0
jmp 0x4bed79
mov byte [ebp - 0x48], 7
jmp 0x4bed79
mov byte [ebp - 0x48], 4
jmp 0x4bed79
mov byte [ebp - 0x48], 5
jmp 0x4bed79
mov dword [ebp - 4], 0xa
jmp 0x4bf38c
mov edx, dword [ebx + 0x14]
lea eax, [ebp - 0x10]
call fcn.00404bb0
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
mov eax, dword [ebp - 0x10]
call fcn.00407c7c
xor eax, eax
push ebp
push 0x4bee22
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0xc]
cmp eax, 4
ja case.default.0x4beda8
jmp dword [eax*4 + 0x4bedaf]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call 0x4bc114
jmp 0x4bee18
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.004bc21c
jmp 0x4bee18
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.004bc330
jmp 0x4bee18
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.004bc44c
jmp 0x4bee18
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.004bc578
jmp 0x4bee18
mov dword [ebp - 4], 0xb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bf38c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bee36
mov eax, dword [ebp - 0x14]
call fcn.00404824
test eax, eax
je 0x4bf38c
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [ebp - 0x3d], al
mov esi, 1
xor edi, edi
mov eax, esi
push eax
push 0
lea ecx, [ebp - 0x3d]
mov dl, byte [ebx + 4]
mov eax, dword [ebx]
call fcn.004bcfb4
add esi, 2
test byte [ebp - 0x3d], 1
je 0x4bee73
add esi, 2
test byte [ebp - 0x3d], 2
je 0x4bee7c
add esi, 6
test byte [ebp - 0x3d], 4
je 0x4beece
lea eax, [ebp - 0x258]
mov edx, dword [ebx + 0x98]
call fcn.0040475c
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x254]
mov edx, dword [ebx + 0x38]
call fcn.004bd030
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x4beec6
cmp byte [ebx + 0x34], 0
je 0x4bf38c
mov dword [ebp - 4], 0xf
jmp 0x4bf38c
mov eax, dword [ebp - 0x3c]
sub eax, 2
add esi, eax
test byte [ebp - 0x3d], 0x10
je 0x4beed7
add esi, 2
test byte [ebp - 0x3d], 8
je 0x4beee0
add esi, 2
test byte [ebp - 0x3d], 0x20
je 0x4beee9
add esi, 2
test byte [ebp - 0x3d], 0x40
je 0x4beef2
add esi, 2
test byte [ebp - 0x3d], 0x80
je 0x4bef33
mov eax, dword [ebp - 0x14]
mov al, byte [eax + esi]
mov byte [ebp - 0x3e], al
mov edi, 1
mov eax, edi
push eax
push 0
lea ecx, [ebp - 0x3e]
mov dl, byte [ebx + 4]
mov eax, dword [ebx]
call fcn.004bcfb4
test byte [ebp - 0x3e], 1
je 0x4bef21
add edi, 2
test byte [ebp - 0x3e], 2
je 0x4bef2a
add edi, 2
test byte [ebp - 0x3e], 4
je 0x4bef33
add edi, 2
add esi, edi
mov eax, dword [ebp - 0x14]
call fcn.00404824
cdq
push edx
push eax
mov eax, esi
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4bef56
cmp eax, dword [esp]
pop edx
pop eax
jb 0x4bef5e
jmp 0x4bf38c
pop edx
pop eax
jge 0x4bf38c
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.00404a84
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404824
cdq
push edx
push eax
mov eax, esi
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov ecx, eax
lea edx, [esi + 1]
mov eax, dword [ebp - 0x14]
call fcn.00404a84
mov edx, dword [ebx + 4]
lea eax, [ebp - 0x10]
call fcn.00404bb0
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
mov eax, dword [ebp - 0x10]
call fcn.00407c7c
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00404870
lea eax, [ebp - 0x25c]
mov edx, dword [ebx + 0x98]
call fcn.0040475c
mov eax, dword [ebp - 0x25c]
lea edx, [ebp - 0x54]
call fcn.004bd474
test al, al
jne 0x4beff7
mov dword [ebp - 4], 9
lea eax, [ebp - 0x54]
call fcn.004bcd6c
jmp 0x4bf38c
xor ecx, ecx
push ebp
push 0x4bf385
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 0x54]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.004be834
test al, al
je 0x4bf36f
mov eax, dword [ebp - 0xc]
call fcn.00404824
mov ecx, eax
lea eax, [ebp - 0x154]
mov edx, dword [ebp - 0xc]
call fcn.00407c7c
mov eax, dword [ebp - 0xc]
call fcn.00404824
mov esi, eax
mov eax, esi
mov edx, edi
sub al, dl
push eax
push 0
lea ecx, [ebp - 0x154]
mov dl, byte [ebx + 4]
mov eax, dword [ebx]
call fcn.004bcfb4
mov eax, edi
push eax
push 0
sub esi, edi
lea ecx, [ebp + esi - 0x154]
mov dl, byte [ebx + 4]
mov eax, dword [ebx]
call fcn.004bcfb4
xor esi, esi
mov al, byte [ebp + esi - 0x154]
mov byte [ebp - 0x3d], al
inc esi
mov cx, 1
mov dx, 1
mov ax, 0x7d0
call fcn.0040bbd4
lea eax, [ebp + esi - 0x154]
movzx eax, word [eax]
mov dword [ebp - 0x260], eax
fild dword [ebp - 0x260]
faddp st(1)
fstp qword [ebp - 0x20]
wait
add esi, 2
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0047d574
movzx eax, ax
mov dword [ebx + 0x18], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0047d598
movzx eax, ax
mov dword [ebx + 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0047d5bc
movzx eax, ax
mov dword [ebx + 0x20], eax
test byte [ebp - 0x3d], 1
je 0x4bf14d
mov byte [ebx + 0x24], 1
mov cx, 1
mov dx, 1
mov ax, 0x7d0
call fcn.0040bbd4
lea eax, [ebp + esi - 0x154]
movzx eax, word [eax]
mov dword [ebp - 0x260], eax
fild dword [ebp - 0x260]
faddp st(1)
fstp qword [ebp - 0x28]
wait
add esi, 2
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.0047d574
movzx eax, ax
mov dword [ebx + 0x28], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.0047d598
movzx eax, ax
mov dword [ebx + 0x2c], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.0047d5bc
movzx eax, ax
mov dword [ebx + 0x30], eax
jmp 0x4bf151
mov byte [ebx + 0x24], 0
test byte [ebp - 0x3d], 2
je 0x4bf192
lea eax, [ebp + esi - 0x154]
mov eax, dword [eax]
mov dword [ebx + 0x84], eax
add esi, 4
lea eax, [ebp + esi - 0x154]
mov ax, word [eax]
add esi, 2
mov edx, 1
test al, 1
je 0x4bf187
mov byte [ebx + edx + 0x87], 1
movzx eax, ax
shr eax, 1
inc edx
cmp edx, 0x11
jne 0x4bf17b
test byte [ebp - 0x3d], 4
je 0x4bf1cd
mov edi, dword [ebp - 0x3c]
sub edi, 2
mov ecx, edi
lea edx, [ebp - 0x252]
lea eax, [ebp + esi - 0x154]
call fcn.004092a8
test al, al
jne 0x4bf1c7
mov dword [ebp - 4], 0x11
call fcn.00403f54
jmp 0x4bf38c
add esi, edi
mov byte [ebx + 0x34], 1
test byte [ebp - 0x3d], 0x10
je 0x4bf1e9
mov byte [ebx + 0x3c], 1
lea eax, [ebp + esi - 0x154]
movzx eax, word [eax]
mov dword [ebx + 0x40], eax
add esi, 2
jmp 0x4bf1ed
mov byte [ebx + 0x3c], 0
test byte [ebp - 0x3d], 8
je 0x4bf209
mov byte [ebx + 0x44], 1
lea eax, [ebp + esi - 0x154]
movzx eax, word [eax]
mov dword [ebx + 0x48], eax
add esi, 2
jmp 0x4bf20d
mov byte [ebx + 0x44], 0
test byte [ebp - 0x3d], 0x20
je 0x4bf229
mov byte [ebx + 0x4c], 1
lea eax, [ebp + esi - 0x154]
movzx eax, word [eax]
mov dword [ebx + 0x50], eax
add esi, 2
jmp 0x4bf22d
mov byte [ebx + 0x4c], 0
test byte [ebp - 0x3d], 0x40
je 0x4bf249
mov byte [ebx + 0x54], 1
lea eax, [ebp + esi - 0x154]
movzx eax, word [eax]
mov dword [ebx + 0x58], eax
add esi, 2
jmp 0x4bf24d
mov byte [ebx + 0x54], 0
test byte [ebp - 0x3d], 0x80
je 0x4bf36a
lea eax, [ebp + esi - 0x154]
mov al, byte [eax]
mov byte [ebp - 0x3e], al
inc esi
test byte [ebp - 0x3e], 1
je 0x4bf280
mov byte [ebx + 0x5c], 1
lea eax, [ebp + esi - 0x154]
movzx eax, word [eax]
mov dword [ebx + 0x60], eax
add esi, 2
jmp 0x4bf284
mov byte [ebx + 0x5c], 0
test byte [ebp - 0x3e], 2
je 0x4bf2f3
mov byte [ebx + 0x64], 1
mov cx, 1
mov dx, 1
mov ax, 0x7d0
call fcn.0040bbd4
lea eax, [ebp + esi - 0x154]
movzx eax, word [eax]
mov dword [ebp - 0x260], eax
fild dword [ebp - 0x260]
faddp st(1)
fstp qword [ebp - 0x30]
wait
add esi, 2
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.0047d574
movzx eax, ax
mov dword [ebx + 0x68], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.0047d598
movzx eax, ax
mov dword [ebx + 0x6c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.0047d5bc
movzx eax, ax
mov dword [ebx + 0x70], eax
jmp 0x4bf2f7
mov byte [ebx + 0x64], 0
test byte [ebp - 0x3e], 4
je 0x4bf366
mov byte [ebx + 0x74], 1
mov cx, 1
mov dx, 1
mov ax, 0x7d0
call fcn.0040bbd4
lea eax, [ebp + esi - 0x154]
movzx eax, word [eax]
mov dword [ebp - 0x260], eax
fild dword [ebp - 0x260]
faddp st(1)
fstp qword [ebp - 0x38]
wait
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.0047d574
movzx eax, ax
mov dword [ebx + 0x78], eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.0047d598
movzx eax, ax
mov dword [ebx + 0x7c], eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.0047d5bc
movzx eax, ax
mov dword [ebx + 0x80], eax
jmp 0x4bf36a
mov byte [ebx + 0x74], 0
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf38c
lea eax, [ebp - 0x54]
call fcn.004bcd6c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf3be
lea eax, [ebp - 0x25c]
mov edx, 2
call fcn.00404578
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404578
ret