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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1e
push 0
push 0
dec ecx
jne 0x4bfe80
push ebx
push esi
mov dword [ebp - 4], eax
lea ebx, [ebp - 4]
xor eax, eax
push ebp
push 0x4c08e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx]
mov byte [eax + 0x108], 0
mov eax, dword [ebx]
mov al, byte [eax + 0xd8]
add al, 0xfe
sub al, 2
jae 0x4bffc7
mov eax, dword [ebx]
cmp byte [eax + 0x11a], 0
jne 0x4bff4d
mov dword [ebp - 8], 4
mov esi, dword [0x4cc5e4]
lea eax, [ebp - 0xc]
mov ecx, dword [esi]
mov edx, 0x4c08f8
call fcn.0040411c
mov edx, dword [ebp - 0xc]
or ecx, 0xffffffff
mov eax, dword [ebx]
call fcn.004aa410
movsx ecx, ax
cmp ecx, 0xffff
jbe 0x4bff00
call fcn.00403020
cmp cx, 0xea
je 0x4bff0e
cmp cx, 0x14e
jne 0x4bff26
mov eax, dword [ebx]
mov edx, dword [eax]
call dword [edx + 0xa4]
mov eax, dword [ebx]
mov byte [eax + 0x108], 1
jmp 0x4bffc7
movzx eax, cx
mov ecx, 0x1f4
xor edx, edx
div ecx
cmp eax, 1
je 0x4bff43
mov eax, dword [ebx]
call fcn.004ab7c0
jmp 0x4bffc7
add esi, 4
dec dword [ebp - 8]
jne 0x4bfed4
jmp 0x4bffc7
mov eax, dword [ebx]
movzx eax, byte [eax + 0x11a]
sub eax, 1
jno 0x4bff60
call fcn.00403028
cmp eax, 3
jbe 0x4bff6a
call fcn.00403020
mov edx, dword [0x4cc5e4]
mov ecx, dword [edx + eax*4]
lea eax, [ebp - 0x10]
mov edx, 0x4c08f8
call fcn.0040411c
mov edx, dword [ebp - 0x10]
or ecx, 0xffffffff
mov eax, dword [ebx]
call fcn.004aa410
movsx ecx, ax
cmp ecx, 0xffff
jbe 0x4bff9d
call fcn.00403020
cmp cx, 0xea
je 0x4bffab
cmp cx, 0x14e
jne 0x4bffc0
mov eax, dword [ebx]
mov edx, dword [eax]
call dword [edx + 0xa4]
mov eax, dword [ebx]
mov byte [eax + 0x108], 1
jmp 0x4bffc7
mov eax, dword [ebx]
call fcn.004ab7c0
mov eax, dword [ebx]
cmp byte [eax + 0x108], 0
jne 0x4bffd9
mov eax, dword [ebx]
call fcn.004ab7d8
mov eax, dword [ebx]
mov esi, dword [eax + 0x198]
xor eax, eax
mov al, byte [esi + 0x10]
cmp eax, 8
ja case.default.0x4bffef
jmp dword [eax*4 + 0x4bfff6]
push 2
mov eax, dword [ebx]
mov ecx, dword [eax + 0xbc]
lea eax, [ebp - 0x14]
mov edx, 0x4c0908
call fcn.0040411c
mov edx, dword [ebp - 0x14]
mov word [ebp - 0x1c], 0xe6
mov word [ebp - 0x1a], 0xe8
mov word [ebp - 0x18], 0x14b
lea ecx, [ebp - 0x1c]
mov eax, dword [ebx]
mov esi, dword [eax]
call dword [esi + 0x78]
cmp ax, 0x14b
jne case.default.0x4bffef
lea edx, [ebp - 0x24]
mov eax, dword [ebx]
call fcn.004c1a08
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, 0x4c0918
call fcn.0040411c
mov edx, dword [ebp - 0x20]
mov cx, 0xe6
mov eax, dword [ebx]
call fcn.004aa410
jmp case.default.0x4bffef
mov eax, dword [esi + 8]
call fcn.004040d0
test eax, eax
jle 0x4c00f2
push 1
mov eax, dword [ebx]
mov eax, dword [eax + 0x198]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x28]
mov edx, 0x4c0908
call fcn.0040411c
mov edx, dword [ebp - 0x28]
mov word [ebp - 0x2c], 0xe6
mov word [ebp - 0x2a], 0x14b
lea ecx, [ebp - 0x2c]
mov eax, dword [ebx]
mov esi, dword [eax]
call dword [esi + 0x78]
cmp ax, 0x14b
jne 0x4c00f2
mov eax, dword [ebx]
mov eax, dword [eax + 0x198]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 0x30]
mov edx, 0x4c0918
call fcn.0040411c
mov edx, dword [ebp - 0x30]
mov cx, 0xe6
mov eax, dword [ebx]
call fcn.004aa410
push 2
push 0x4c0908
mov eax, dword [ebx]
push dword [eax + 0xbc]
push 0x4c0928
push ebp
lea eax, [ebp - 0x38]
call fcn.004bfde0
pop ecx
push dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00404190
mov edx, dword [ebp - 0x34]
mov word [ebp - 0x1c], 0xe6
mov word [ebp - 0x1a], 0xe8
mov word [ebp - 0x18], 0x14b
lea ecx, [ebp - 0x1c]
mov eax, dword [ebx]
mov esi, dword [eax]
call dword [esi + 0x78]
cmp ax, 0x14b
jne case.default.0x4bffef
lea edx, [ebp - 0x40]
mov eax, dword [ebx]
call fcn.004c1a08
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov edx, 0x4c0918
call fcn.0040411c
mov edx, dword [ebp - 0x3c]
mov cx, 0xe6
mov eax, dword [ebx]
call fcn.004aa410
jmp case.default.0x4bffef
mov eax, dword [ebx]
mov eax, dword [eax + 0x198]
mov eax, dword [eax + 8]
call fcn.004040d0
test eax, eax
jle 0x4c01e9
push 1
mov eax, dword [ebx]
mov eax, dword [eax + 0x198]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x44]
mov edx, 0x4c0908
call fcn.0040411c
mov edx, dword [ebp - 0x44]
mov word [ebp - 0x2c], 0xe6
mov word [ebp - 0x2a], 0x14b
lea ecx, [ebp - 0x2c]
mov eax, dword [ebx]
mov esi, dword [eax]
call dword [esi + 0x78]
cmp ax, 0x14b
jne 0x4c01e9
mov eax, dword [ebx]
mov eax, dword [eax + 0x198]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 0x48]
mov edx, 0x4c0918
call fcn.0040411c
mov edx, dword [ebp - 0x48]
mov cx, 0xe6
mov eax, dword [ebx]
call fcn.004aa410
push ebp
lea eax, [ebp - 0x50]
call fcn.004bfde0
pop ecx
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov edx, 0x4c0934
call fcn.0040411c
mov edx, dword [ebp - 0x4c]
or ecx, 0xffffffff
mov eax, dword [ebx]
call fcn.004aa410
push 2
mov eax, dword [ebx]
mov ecx, dword [eax + 0xbc]
lea eax, [ebp - 0x54]
mov edx, 0x4c0908
call fcn.0040411c
mov edx, dword [ebp - 0x54]
mov word [ebp - 0x1c], 0xe6
mov word [ebp - 0x1a], 0xe8
mov word [ebp - 0x18], 0x14b
lea ecx, [ebp - 0x1c]
mov eax, dword [ebx]
mov esi, dword [eax]
call dword [esi + 0x78]
cmp ax, 0x14b
jne case.default.0x4bffef
lea edx, [ebp - 0x5c]
mov eax, dword [ebx]
call fcn.004c1a08
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
mov edx, 0x4c0918
call fcn.0040411c
mov edx, dword [ebp - 0x58]
mov cx, 0xe6
mov eax, dword [ebx]
call fcn.004aa410
jmp case.default.0x4bffef
mov eax, dword [ebx]
mov eax, dword [eax + 0x198]
mov eax, dword [eax + 8]
call fcn.004040d0
test eax, eax
jle 0x4c02f2
push 1
mov eax, dword [ebx]
mov eax, dword [eax + 0x198]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x60]
mov edx, 0x4c0908
call fcn.0040411c
mov edx, dword [ebp - 0x60]
mov word [ebp - 0x2c], 0xe6
mov word [ebp - 0x2a], 0x14b
lea ecx, [ebp - 0x2c]
mov eax, dword [ebx]
mov esi, dword [eax]
call dword [esi + 0x78]
cmp ax, 0x14b
jne 0x4c02f2
lea edx, [ebp - 0x68]
mov eax, dword [ebx]
call fcn.004c1a08
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
mov edx, 0x4c0918
call fcn.0040411c
mov edx, dword [ebp - 0x64]
mov cx, 0xe6
mov eax, dword [ebx]
call fcn.004aa410
push ebp
lea eax, [ebp - 0x70]
call fcn.004bfde0
pop ecx
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
mov edx, 0x4c0944
call fcn.0040411c
mov edx, dword [ebp - 0x6c]
or ecx, 0xffffffff
mov eax, dword [ebx]
call fcn.004aa410
push 2
mov eax, dword [ebx]
mov ecx, dword [eax + 0xbc]
lea eax, [ebp - 0x74]
mov edx, 0x4c0908
call fcn.0040411c
mov edx, dword [ebp - 0x74]
mov word [ebp - 0x1c], 0xe6
mov word [ebp - 0x1a], 0xe8
mov word [ebp - 0x18], 0x14b
lea ecx, [ebp - 0x1c]
mov eax, dword [ebx]
mov esi, dword [eax]
call dword [esi + 0x78]
cmp ax, 0x14b
jne case.default.0x4bffef
lea edx, [ebp - 0x7c]
mov eax, dword [ebx]
call fcn.004c1a08
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
mov edx, 0x4c0918
call fcn.0040411c
mov edx, dword [ebp - 0x78]
mov cx, 0xe6
mov eax, dword [ebx]
call fcn.004aa410
jmp case.default.0x4bffef
push 2
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xbc]
mov dword [ebp - 0x98], eax
mov byte [ebp - 0x94], 0xb
mov eax, dword [ebx]
mov eax, dword [eax + 0x198]
mov eax, dword [eax + 8]
mov dword [ebp - 0x90], eax
mov byte [ebp - 0x8c], 0xb
push ebp
lea eax, [ebp - 0x9c]
call fcn.004bfde0
pop ecx
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0xb
lea edx, [ebp - 0x98]
mov ecx, 2
mov eax, 0x4c0954
call fcn.0040a3e8
mov edx, dword [ebp - 0x80]
mov word [ebp - 0x1c], 0xe6
mov word [ebp - 0x1a], 0xe8
mov word [ebp - 0x18], 0x14b
lea ecx, [ebp - 0x1c]
mov eax, dword [ebx]
mov esi, dword [eax]
call dword [esi + 0x78]
cmp ax, 0x14b
jne case.default.0x4bffef
mov eax, dword [ebx]
mov eax, dword [eax + 0x198]
mov eax, dword [eax + 0xc]
call fcn.004040d0
test eax, eax
jle 0x4c0479
push 0x4c0918
lea edx, [ebp - 0xa4]
mov eax, dword [ebx]
call fcn.004c1a08
push dword [ebp - 0xa4]
push 0x4c0928
mov eax, dword [ebx]
mov eax, dword [eax + 0x198]
push dword [eax + 0xc]
lea eax, [ebp - 0xa0]
mov edx, 4
call fcn.00404190
mov edx, dword [ebp - 0xa0]
mov cx, 0xe6
mov eax, dword [ebx]
call fcn.004aa410
jmp case.default.0x4bffef
lea edx, [ebp - 0xac]
mov eax, dword [ebx]
call fcn.004c1a08
mov ecx, dword [ebp - 0xac]
lea eax, [ebp - 0xa8]
mov edx, 0x4c0918
call fcn.0040411c
mov edx, dword [ebp - 0xa8]
mov cx, 0xe6
mov eax, dword [ebx]
call fcn.004aa410
jmp case.default.0x4bffef
mov eax, dword [ebx]
mov eax, dword [eax + 0x198]
mov eax, dword [eax + 8]
call fcn.004040d0
test eax, eax
jle 0x4c0531
push 1
mov eax, dword [ebx]
mov eax, dword [eax + 0x198]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0xb0]
mov edx, 0x4c0908
call fcn.0040411c
mov edx, dword [ebp - 0xb0]
mov word [ebp - 0x2c], 0xe6
mov word [ebp - 0x2a], 0x14b
lea ecx, [ebp - 0x2c]
mov eax, dword [ebx]
mov esi, dword [eax]
call dword [esi + 0x78]
cmp ax, 0x14b
jne 0x4c0531
mov eax, dword [ebx]
mov eax, dword [eax + 0x198]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 0xb4]
mov edx, 0x4c0918
call fcn.0040411c
mov edx, dword [ebp - 0xb4]
mov cx, 0xe6
mov eax, dword [ebx]
call fcn.004aa410
push 2
mov eax, dword [ebx]
mov ecx, dword [eax + 0xbc]
lea eax, [ebp - 0xb8]
mov edx, 0x4c0908
call fcn.0040411c
mov edx, dword [ebp - 0xb8]
mov word [ebp - 0x1c], 0xe6
mov word [ebp - 0x1a], 0xe8
mov word [ebp - 0x18], 0x14b
lea ecx, [ebp - 0x1c]
mov eax, dword [ebx]
mov esi, dword [eax]
call dword [esi + 0x78]
cmp ax, 0x14b
jne case.default.0x4bffef
lea edx, [ebp - 0xc0]
mov eax, dword [ebx]
call fcn.004c1a08
mov ecx, dword [ebp - 0xc0]
lea eax, [ebp - 0xbc]
mov edx, 0x4c0918
call fcn.0040411c
mov edx, dword [ebp - 0xbc]
mov cx, 0xe6
mov eax, dword [ebx]
call fcn.004aa410
jmp case.default.0x4bffef
push 1
push 0x4c0908
mov eax, dword [ebx]
push dword [eax + 0xbc]
push 0x4c0928
push ebp
lea eax, [ebp - 0xcc]
call fcn.004bfde0
pop ecx
push dword [ebp - 0xcc]
push 0x4c096c
mov eax, dword [ebx]
mov eax, dword [eax + 0x198]
push dword [eax + 8]
lea eax, [ebp - 0xc8]
mov edx, 6
call fcn.00404190
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0xc4]
call fcn.0040935c
mov edx, dword [ebp - 0xc4]
mov word [ebp - 0x2c], 0xe6
mov word [ebp - 0x2a], 0x14b
lea ecx, [ebp - 0x2c]
mov eax, dword [ebx]
mov esi, dword [eax]
call dword [esi + 0x78]
cmp ax, 0x14b
jne case.default.0x4bffef
push 3
lea edx, [ebp - 0xd4]
mov eax, dword [ebx]
call fcn.004c1a08
mov ecx, dword [ebp - 0xd4]
lea eax, [ebp - 0xd0]
mov edx, 0x4c0918
call fcn.0040411c
mov edx, dword [ebp - 0xd0]
mov word [ebp - 0xdc], 0xe6
mov word [ebp - 0xda], 0xe8
mov word [ebp - 0xd8], 0xca
mov word [ebp - 0xd6], 0x14c
lea ecx, [ebp - 0xdc]
mov eax, dword [ebx]
mov esi, dword [eax]
call dword [esi + 0x78]
cmp ax, 0x14c
jne case.default.0x4bffef
mov eax, dword [ebx]
mov eax, dword [eax + 0x198]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 0xe0]
mov edx, 0x4c0978
call fcn.0040411c
mov edx, dword [ebp - 0xe0]
or ecx, 0xffffffff
mov eax, dword [ebx]
call fcn.004aa410
jmp case.default.0x4bffef
lea edx, [ebp - 0xe4]
mov eax, dword [0x4cc480]
call fcn.004066f0
mov ecx, dword [ebp - 0xe4]
mov dl, 1
mov eax, dword [0x49f860]
call fcn.00496e30
call fcn.00403880
jmp case.default.0x4bffef
mov eax, dword [ebx]
call fcn.004c1994
mov eax, dword [ebx]
mov edx, dword [eax + 0x70]
mov eax, dword [ebx]
mov eax, dword [eax + 0x114]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x114]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, eax
mov eax, dword [ebx]
call fcn.004c2250
or ecx, 0xffffffff
mov edx, 0x4c0988
mov eax, dword [ebx]
call fcn.004aa410
mov eax, dword [ebx]
mov eax, dword [eax + 0xf8]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [ebx]
mov eax, dword [eax + 0x70]
mov edx, dword [eax + 0x18]
mov eax, dword [ebx]
mov eax, dword [eax + 0xf8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebx]
mov eax, dword [eax + 0xf8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4c0766
mov eax, dword [ebx]
mov eax, dword [eax + 0xf8]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebx]
mov eax, dword [eax + 0xf8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4c0799
mov eax, dword [ebx]
mov esi, dword [eax + 0xf8]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
sub edx, 1
jno 0x4c0792
call fcn.00403028
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebx]
cmp byte [eax + 0x10c], 0
je 0x4c07d2
mov edx, 0x4c0998
mov eax, dword [ebx]
call fcn.004c1590
test al, al
je 0x4c07c4
mov edx, 0x4c09a8
mov eax, dword [ebx]
call fcn.004c1590
test al, al
jne 0x4c07c8
xor eax, eax
jmp 0x4c07ca
mov al, 1
mov edx, dword [ebx]
mov byte [edx + 0x10c], al
lea edx, [ebp - 0xe8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x104]
call fcn.004c1b4c
cmp dword [ebp - 0xe8], 0
je 0x4c0837
mov edx, 0x4c09b8
mov eax, dword [ebx]
call fcn.004c1590
test al, al
je 0x4c0837
lea edx, [ebp - 0xf0]
mov eax, dword [ebx]
mov eax, dword [eax + 0x104]
call fcn.004c1b4c
mov ecx, dword [ebp - 0xf0]
lea eax, [ebp - 0xec]
mov edx, 0x4c09c8
call fcn.0040411c
mov edx, dword [ebp - 0xec]
or ecx, 0xffffffff
mov eax, dword [ebx]
call fcn.004aa410
mov eax, dword [ebx]
cmp byte [eax + 0x19e], 0
je 0x4c0862
mov edx, 0x4c09d8
mov eax, dword [ebx]
call fcn.004c1590
test al, al
jne 0x4c0866
mov edx, 0x4c09e8
mov eax, dword [ebx]
call fcn.004c1590
test al, al
jne 0x4c0866
xor eax, eax
jmp 0x4c0868
mov al, 1
mov edx, dword [ebx]
mov byte [edx + 0x10a], al
mov eax, dword [ebx]
mov ecx, dword [eax + 0x1a0]
mov edx, 0x4c09f8
mov eax, dword [ebx]
call fcn.004c1670
mov eax, dword [ebx]
call fcn.004be584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c08e7
lea eax, [ebp - 0xf0]
mov edx, 5
call fcn.00403e74
lea eax, [ebp - 0xd4]
mov edx, 0xf
call fcn.00403e74
lea eax, [ebp - 0x80]
mov edx, 0x15
call fcn.00403e74
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00403e74
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403e74
ret