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

Disassembly:
push 0xffffffffffffffff
push 0x61a527
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.004fc600
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.005e8490
lea ecx, [esi + 0x1c]
mov byte [esp + 0x24], 1
call fcn.005e8490
fld qword [str.ffffff]
mov eax, 8
fst qword [esi + 0x48]
fld qword [0x62ff68]
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.005e8490
lea ecx, [esi + 0x1514]
mov byte [esp + 0x24], 3
call fcn.005e8490
lea ecx, [esi + 0x1520]
mov byte [esp + 0x24], 4
call fcn.00405fd0
lea ecx, [esi + 0x152c]
mov byte [esp + 0x24], 5
call fcn.00405fd0
lea ecx, [esi + 0x153c]
mov byte [esp + 0x24], 6
call fcn.00405fd0
lea ecx, [esi + 0x1548]
mov byte [esp + 0x24], 7
call fcn.00405fd0
lea ecx, [esi + 0x1960]
mov byte [esp + 0x24], 8
call fcn.005e8490
fldz
lea ecx, [esi + 0x1978]
fstp qword [esi + 0x1970]
mov byte [esp + 0x24], 9
call fcn.00405fd0
lea ecx, [esi + 0x1984]
mov byte [esp + 0x24], 0xa
call fcn.00405fd0
push str.bdfana
lea ecx, [esi + 0x1994]
mov byte [esp + 0x28], 0xb
mov dword [esi + 0x1990], ebx
call fcn.005e9060
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.00405fd0
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.005e9b80
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
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], 0xf
cmp eax, ebx
je 0x4f7a2e
push fcn.005e8710
push fcn.005e8490
push edi
lea ebp, [eax + 4]
push 0xc
push ebp
mov dword [eax], edi
call fcn.005f6257
jmp 0x4f7a30
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 0x4f7a5b
xor ebp, ebp
mov ecx, dword [esi + 0x28]
add ecx, ebp
push ebx
call fcn.005e8ed0
movzx edx, word [esi + 0x3c]
inc edi
add ebp, 0xc
cmp edi, edx
jl 0x4f7a44
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 0x4f7aad
push fcn.005e8710
push fcn.005e8490
push edi
lea ebp, [eax + 4]
push 0xc
push ebp
mov dword [eax], edi
call fcn.005f6257
jmp 0x4f7aaf
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 0x4f7ada
xor ebp, ebp
mov ecx, dword [esi + 0x2c]
add ecx, ebp
push ebx
call fcn.005e8ed0
movzx edx, word [esi + 0x3e]
inc edi
add ebp, 0xc
cmp edi, edx
jl 0x4f7ac3
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 0x4f7b2c
push fcn.005e8710
push fcn.005e8490
push edi
lea ebp, [eax + 4]
push 0xc
push ebp
mov dword [eax], edi
call fcn.005f6257
jmp 0x4f7b2e
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 0x4f7b59
xor ebp, ebp
mov ecx, dword [esi + 0x30]
push ebx
add ecx, ebp
call fcn.005e8ed0
movzx edx, word [esi + 0x40]
inc edi
add ebp, 0xc
cmp edi, edx
jl 0x4f7b42
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 0x4f7b92
mov edx, dword [esi + 0x34]
mov dword [edx + eax*4], ebx
movzx ecx, word [esi + 0x40]
inc eax
cmp eax, ecx
jl 0x4f7b83
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 0x4f7bcf
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 0x4f7bc0
mov eax, dword [str.Lucida_Console_12_Bold]
xor ebp, ebp
cmp eax, ebx
je 0x4f7bfa
xor edi, edi
lea esp, [esp]
mov ecx, dword [esi + 0x28]
push eax
add ecx, edi
call fcn.005e8ed0
mov eax, dword [ebp*4 + 0x679b78]
inc ebp
add edi, 0xc
cmp eax, ebx
jne 0x4f7be0
mov eax, dword [str.system.xbm]
xor ebp, ebp
cmp eax, ebx
je 0x4f7c21
xor edi, edi
mov ecx, dword [esi + 0x2c]
push eax
add ecx, edi
call fcn.005e8ed0
mov eax, dword [ebp*4 + 0x679b98]
inc ebp
add edi, 0xc
cmp eax, ebx
jne 0x4f7c07
lea edi, [esi + 0x1520]
push ebx
mov ecx, edi
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
mov dword [esi + 0x1510], ebx
call fcn.005ee1f0
mov dword [edi], ebx
lea edi, [esi + 0x152c]
push ebx
mov ecx, edi
call fcn.005ee1f0
mov dword [edi], ebx
or dword [esi + 8], 1
push 0x637fec
push 4
mov dword [esi + 0x1538], ebx
call dword [sym.imp.MSVCR90.dll_setlocale]
add esp, 8
or eax, 0xffffffff
lea edi, [esi + 0x1984]
push 1
mov ecx, edi
mov byte [esi + 0x155c], bl
mov dword [esi + 0x1554], eax
mov dword [esi + 0x1558], eax
call fcn.005e99d0
push ebx
mov ecx, edi
mov dword [edi], 1
call fcn.005e99d0
mov ecx, esi
mov dword [edi], ebx
call fcn.004f75d0
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