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

Disassembly:
push 0xffffffffffffffff
push 0x6202a7
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.004ffe70
xor ebx, ebx
lea ecx, [esi + 0x10]
mov dword [esp + 0x24], ebx
mov dword [esi], vtable.ZbrdResource.0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.005ed1b0
lea ecx, [esi + 0x1c]
mov byte [esp + 0x24], 1
call fcn.005ed1b0
fld qword [str.ffffff]
mov eax, 8
fst qword [esi + 0x48]
fld qword [0x636e80]
mov word [esi + 0x3c], ax
mov eax, 0x64
fstp qword [esi + 0x58]
mov ecx, eax
mov word [esi + 0x3e], cx
fstp qword [esi + 0x78]
xor ecx, ecx
mov word [esi + 0x64], cx
mov edi, 1
mov edx, eax
mov word [esi + 0x40], dx
mov edx, edi
mov word [esi + 0x66], dx
mov ecx, 0xa
mov edx, ecx
mov word [esi + 0x68], cx
mov ecx, 3
mov word [esi + 0x70], cx
xor ecx, ecx
mov word [esi + 0x6a], dx
mov dword [esi + 0x74], edx
xor edx, edx
mov word [esi + 0x82], cx
mov word [esi + 0x80], dx
mov word [esi + 0x84], dx
mov edx, 5
mov ecx, edi
mov word [esi + 0x86], cx
mov ecx, edx
mov word [esi + 0x8a], cx
mov ecx, 0xa
mov word [esi + 0x8e], cx
mov ecx, 0x14
mov word [esi + 0x88], dx
mov word [esi + 0x8c], dx
mov word [esi + 0x92], cx
mov ecx, edi
mov edx, 0xf
mov word [esi + 0x90], dx
mov edx, edi
mov word [esi + 0x96], cx
mov word [esi + 0x9a], cx
mov word [esi + 0x9e], cx
mov word [esi + 0xa2], cx
mov word [esi + 0xa6], cx
mov word [esi + 0xaa], cx
mov word [esi + 0xae], cx
xor ecx, ecx
mov byte [esp + 0x24], 2
mov dword [esi + 0x28], ebx
mov dword [esi + 0x50], eax
mov dword [esi + 0x60], 0x1f4
mov dword [esi + 0x6c], 0x3e8
mov word [esi + 0x94], dx
mov word [esi + 0x98], dx
mov word [esi + 0x9c], dx
mov word [esi + 0xa0], dx
mov word [esi + 0xa4], dx
mov word [esi + 0xa8], dx
mov word [esi + 0xac], dx
mov word [esi + 0xb0], dx
mov word [esi + 0xb2], cx
mov word [esi + 0xb4], dx
mov dword [esi + 0xb8], eax
mov word [esi + 0xc2], cx
mov eax, 5
mov ecx, edi
mov word [esi + 0xc0], ax
xor edx, edx
mov eax, edi
mov word [esi + 0xec], cx
lea ecx, [esi + 0x1508]
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov word [esi + 0xe8], dx
mov word [esi + 0xea], ax
mov dword [esi + 0x8f0], edi
mov dword [esi + 0x8f4], ebx
mov dword [esi + 0x8f8], ebx
mov dword [esi + 0x8fc], edi
mov dword [esi + 0x900], ebx
mov dword [esi + 0x904], ebx
call fcn.005ed1b0
lea ecx, [esi + 0x1518]
mov byte [esp + 0x24], 3
call fcn.005ed1b0
lea ecx, [esi + 0x1524]
mov byte [esp + 0x24], 4
call fcn.005f3af0
lea ecx, [esi + 0x1530]
mov byte [esp + 0x24], 5
call fcn.005f3af0
lea ecx, [esi + 0x1540]
mov byte [esp + 0x24], 6
call fcn.005f3af0
lea ecx, [esi + 0x154c]
mov byte [esp + 0x24], 7
call fcn.005f3af0
lea ecx, [esi + 0x1964]
mov byte [esp + 0x24], 8
call fcn.005ed1b0
fldz
lea ecx, [esi + 0x1980]
fstp qword [esi + 0x1978]
mov byte [esp + 0x24], 9
call fcn.005f3af0
lea ecx, [esi + 0x198c]
mov byte [esp + 0x24], 0xa
call fcn.005f3af0
push str.bdfana
lea ecx, [esi + 0x199c]
mov byte [esp + 0x28], 0xb
mov dword [esi + 0x1998], ebx
call fcn.005edd80
lea ecx, [esi + 0x19c4]
mov byte [esp + 0x24], 0xc
mov dword [esi + 0x19a8], edi
mov dword [esi + 0x19ac], edi
mov dword [esi + 0x19b0], ebx
mov dword [esi + 0x19b4], ebx
mov dword [esi + 0x19b8], ebx
mov dword [esi + 0x19bc], edi
mov dword [esi + 0x19c0], ebx
call fcn.005f3af0
mov byte [esp + 0x24], 0xd
push ebx
lea ecx, [esi + 0x19dc]
mov dword [esi + 0x19d0], ebx
mov dword [esi + 0x19d4], ebx
mov dword [esi + 0x19d8], ebx
call fcn.005ee900
mov dword [esi + 0x19f0], edi
movzx edi, word [esi + 0x3c]
xor ecx, ecx
mov eax, edi
mov edx, 0xc
mul edx
seto cl
mov byte [esp + 0x24], 0xe
mov dword [esi + 0x19e8], ebx
mov dword [esi + 0x19f4], ebx
mov dword [esi + 0x19f8], ebx
mov dword [esi + 0x19fc], ebx
mov dword [esi + 0x1a00], ebx
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
mov dword [esi + 0x1a04], ebx
mov dword [esi + 0x1a08], ebx
neg eax
or eax, ecx
push eax
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 0xf
cmp eax, ebx
je 0x4fb0c2
push fcn.005ed430
push fcn.005ed1b0
push edi
lea ebp, [eax + 4]
push 0xc
push ebp
mov dword [eax], edi
call fcn.005fbaa7
jmp 0x4fb0c4
xor ebp, ebp
xor ecx, ecx
xor edi, edi
mov byte [esp + 0x24], 0xe
mov dword [esi + 0x28], ebp
cmp cx, word [esi + 0x3c]
jae 0x4fb0ef
xor ebp, ebp
mov ecx, dword [esi + 0x28]
add ecx, ebp
push ebx
call fcn.005edbf0
movzx edx, word [esi + 0x3c]
inc edi
add ebp, 0xc
cmp edi, edx
jl 0x4fb0d8
movzx edi, word [esi + 0x3e]
xor ecx, ecx
mov eax, edi
mov edx, 0xc
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 0x10
cmp eax, ebx
je 0x4fb141
push fcn.005ed430
push fcn.005ed1b0
push edi
lea ebp, [eax + 4]
push 0xc
push ebp
mov dword [eax], edi
call fcn.005fbaa7
jmp 0x4fb143
xor ebp, ebp
xor ecx, ecx
xor edi, edi
mov byte [esp + 0x24], 0xe
mov dword [esi + 0x2c], ebp
cmp cx, word [esi + 0x3e]
jae 0x4fb16e
xor ebp, ebp
mov ecx, dword [esi + 0x2c]
add ecx, ebp
push ebx
call fcn.005edbf0
movzx edx, word [esi + 0x3e]
inc edi
add ebp, 0xc
cmp edi, edx
jl 0x4fb157
movzx edi, word [esi + 0x40]
xor ecx, ecx
mov eax, edi
mov edx, 0xc
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 0x11
cmp eax, ebx
je 0x4fb1c0
push fcn.005ed430
push fcn.005ed1b0
push edi
lea ebp, [eax + 4]
push 0xc
push ebp
mov dword [eax], edi
call fcn.005fbaa7
jmp 0x4fb1c2
xor ebp, ebp
xor ecx, ecx
xor edi, edi
mov byte [esp + 0x24], 0xe
mov dword [esi + 0x30], ebp
cmp cx, word [esi + 0x40]
jae 0x4fb1ed
xor ebp, ebp
mov ecx, dword [esi + 0x30]
push ebx
add ecx, ebp
call fcn.005edbf0
movzx edx, word [esi + 0x40]
inc edi
add ebp, 0xc
cmp edi, edx
jl 0x4fb1d6
movzx eax, word [esi + 0x40]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
mov dword [esi + 0x34], eax
xor ecx, ecx
add esp, 4
xor eax, eax
cmp cx, word [esi + 0x40]
jae 0x4fb22f
jmp 0x4fb220
mov edx, dword [esi + 0x34]
mov dword [edx + eax*4], ebx
movzx ecx, word [esi + 0x40]
inc eax
cmp eax, ecx
jl 0x4fb220
movzx eax, word [esi + 0x40]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
mov dword [esi + 0x38], eax
xor ecx, ecx
add esp, 4
xor eax, eax
cmp cx, word [esi + 0x40]
jae 0x4fb26f
lea esp, [esp]
mov edx, dword [esi + 0x38]
mov dword [edx + eax*4], ebx
movzx ecx, word [esi + 0x40]
inc eax
cmp eax, ecx
jl 0x4fb260
mov eax, dword [str.Lucida_Console_12_Bold]
xor ebp, ebp
cmp eax, ebx
je 0x4fb29a
xor edi, edi
lea esp, [esp]
mov ecx, dword [esi + 0x28]
push eax
add ecx, edi
call fcn.005edbf0
mov eax, dword [ebp*4 + 0x681be0]
inc ebp
add edi, 0xc
cmp eax, ebx
jne 0x4fb280
mov eax, dword [str.system.xbm]
xor ebp, ebp
cmp eax, ebx
je 0x4fb2c1
xor edi, edi
mov ecx, dword [esi + 0x2c]
push eax
add ecx, edi
call fcn.005edbf0
mov eax, dword [ebp*4 + 0x681c00]
inc ebp
add edi, 0xc
cmp eax, ebx
jne 0x4fb2a7
mov byte [esi + 0xee], bl
mov byte [esi + 0x4ee], bl
mov byte [esi + 0x908], bl
mov byte [esi + 0xd08], bl
lea edi, [esi + 0x1524]
mov byte [esi + 0x1108], bl
push ebx
mov ecx, edi
mov dword [esi + 0x1514], ebx
call fcn.005f3cc0
mov dword [edi], ebx
lea edi, [esi + 0x1530]
push ebx
mov ecx, edi
call fcn.005f3cc0
mov dword [edi], ebx
push 0x63ee9c
mov dword [esi + 0x153c], ebx
or dword [esi + 8], 1
push 4
call dword [sym.imp.MSVCR90.dll_setlocale]
or eax, 0xffffffff
add esp, 8
mov byte [esi + 0x1560], bl
lea edi, [esi + 0x198c]
mov dword [esi + 0x1558], eax
push 1
mov ecx, edi
mov dword [esi + 0x155c], eax
call fcn.005ee750
push ebx
mov ecx, edi
mov dword [edi], 1
call fcn.005ee750
mov ecx, esi
mov dword [edi], ebx
call fcn.004fac40
mov dword [esi + 0x19ec], 0xfffffffd
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret