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

Disassembly:
push 0xffffffffffffffff
push 0x61e397
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x682d00]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.004ff100
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.005ebb00
lea ecx, [esi + 0x1c]
mov byte [esp + 0x24], 1
call fcn.005ebb00
fld qword [str.ffffff]
mov eax, 8
fst qword [esi + 0x48]
fld qword [0x634bd0]
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 + 0xe8], cx
lea ecx, [esi + 0x1504]
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 word [esi + 0xe4], dx
mov word [esi + 0xe6], ax
mov dword [esi + 0x8ec], edi
mov dword [esi + 0x8f0], ebx
mov dword [esi + 0x8f4], ebx
mov dword [esi + 0x8f8], edi
mov dword [esi + 0x8fc], ebx
mov dword [esi + 0x900], ebx
call fcn.005ebb00
lea ecx, [esi + 0x1514]
mov byte [esp + 0x24], 3
call fcn.005ebb00
lea ecx, [esi + 0x1520]
mov byte [esp + 0x24], 4
call fcn.005f1fa0
lea ecx, [esi + 0x152c]
mov byte [esp + 0x24], 5
call fcn.005f1fa0
lea ecx, [esi + 0x153c]
mov byte [esp + 0x24], 6
call fcn.005f1fa0
lea ecx, [esi + 0x1548]
mov byte [esp + 0x24], 7
call fcn.005f1fa0
lea ecx, [esi + 0x1960]
mov byte [esp + 0x24], 8
call fcn.005ebb00
fldz
lea ecx, [esi + 0x1978]
fstp qword [esi + 0x1970]
mov byte [esp + 0x24], 9
call fcn.005f1fa0
lea ecx, [esi + 0x1984]
mov byte [esp + 0x24], 0xa
call fcn.005f1fa0
push str.bdfana
lea ecx, [esi + 0x1994]
mov byte [esp + 0x28], 0xb
mov dword [esi + 0x1990], ebx
call fcn.005ec6d0
lea ecx, [esi + 0x19bc]
mov byte [esp + 0x24], 0xc
mov dword [esi + 0x19a0], edi
mov dword [esi + 0x19a4], edi
mov dword [esi + 0x19a8], ebx
mov dword [esi + 0x19ac], ebx
mov dword [esi + 0x19b0], ebx
mov dword [esi + 0x19b4], edi
mov dword [esi + 0x19b8], ebx
call fcn.005f1fa0
mov byte [esp + 0x24], 0xd
mov dword [esi + 0x19c8], ebx
push ebx
lea ecx, [esi + 0x19d4]
mov dword [esi + 0x19cc], ebx
mov dword [esi + 0x19d0], ebx
call fcn.005ed260
mov dword [esi + 0x19e8], 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 + 0x19e0], ebx
mov dword [esi + 0x19ec], ebx
mov dword [esi + 0x19f0], ebx
mov dword [esi + 0x19f4], ebx
mov dword [esi + 0x19f8], ebx
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
mov dword [esi + 0x19fc], ebx
mov dword [esi + 0x1a00], 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 0x4fa38c
push fcn.005ebd80
push fcn.005ebb00
push edi
lea ebp, [eax + 4]
push 0xc
push ebp
mov dword [eax], edi
call fcn.005f9bc7
jmp 0x4fa38e
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 0x4fa3b9
xor ebp, ebp
mov ecx, dword [esi + 0x28]
add ecx, ebp
push ebx
call fcn.005ec540
movzx edx, word [esi + 0x3c]
inc edi
add ebp, 0xc
cmp edi, edx
jl 0x4fa3a2
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 0x4fa40b
push fcn.005ebd80
push fcn.005ebb00
push edi
lea ebp, [eax + 4]
push 0xc
push ebp
mov dword [eax], edi
call fcn.005f9bc7
jmp 0x4fa40d
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 0x4fa438
xor ebp, ebp
mov ecx, dword [esi + 0x2c]
add ecx, ebp
push ebx
call fcn.005ec540
movzx edx, word [esi + 0x3e]
inc edi
add ebp, 0xc
cmp edi, edx
jl 0x4fa421
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 0x4fa48a
push fcn.005ebd80
push fcn.005ebb00
push edi
lea ebp, [eax + 4]
push 0xc
push ebp
mov dword [eax], edi
call fcn.005f9bc7
jmp 0x4fa48c
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 0x4fa4b7
xor ebp, ebp
mov ecx, dword [esi + 0x30]
push ebx
add ecx, ebp
call fcn.005ec540
movzx edx, word [esi + 0x40]
inc edi
add ebp, 0xc
cmp edi, edx
jl 0x4fa4a0
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 0x4fa4f0
mov edx, dword [esi + 0x34]
mov dword [edx + eax*4], ebx
movzx ecx, word [esi + 0x40]
inc eax
cmp eax, ecx
jl 0x4fa4e1
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 0x4fa52f
lea ebx, [ebx]
mov edx, dword [esi + 0x38]
mov dword [edx + eax*4], ebx
movzx ecx, word [esi + 0x40]
inc eax
cmp eax, ecx
jl 0x4fa520
mov eax, dword [str.Lucida_Console_12_Bold]
xor ebp, ebp
cmp eax, ebx
je 0x4fa55a
xor edi, edi
lea esp, [esp]
mov ecx, dword [esi + 0x28]
push eax
add ecx, edi
call fcn.005ec540
mov eax, dword [ebp*4 + 0x67ebe4]
inc ebp
add edi, 0xc
cmp eax, ebx
jne 0x4fa540
mov eax, dword [str.system.xbm]
xor ebp, ebp
cmp eax, ebx
je 0x4fa581
xor edi, edi
mov ecx, dword [esi + 0x2c]
push eax
add ecx, edi
call fcn.005ec540
mov eax, dword [ebp*4 + 0x67ec04]
inc ebp
add edi, 0xc
cmp eax, ebx
jne 0x4fa567
lea edi, [esi + 0x1520]
mov byte [esi + 0xea], bl
mov byte [esi + 0x4ea], bl
mov byte [esi + 0x904], bl
mov byte [esi + 0xd04], bl
mov byte [esi + 0x1104], bl
push ebx
mov ecx, edi
mov dword [esi + 0x1510], ebx
call fcn.005f1b40
mov dword [edi], ebx
lea edi, [esi + 0x152c]
push ebx
mov ecx, edi
call fcn.005f1b40
mov dword [edi], ebx
push 0x63cbec
mov dword [esi + 0x1538], ebx
or dword [esi + 8], 1
push 4
call dword [sym.imp.MSVCR90.dll_setlocale]
or eax, 0xffffffff
add esp, 8
mov byte [esi + 0x155c], bl
lea edi, [esi + 0x1984]
mov dword [esi + 0x1554], eax
push 1
mov ecx, edi
mov dword [esi + 0x1558], eax
call fcn.005ed0b0
push ebx
mov ecx, edi
mov dword [edi], 1
call fcn.005ed0b0
mov ecx, esi
mov dword [edi], ebx
call fcn.004f9f10
mov dword [esi + 0x19e4], 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