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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x495040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x497418]
push edi
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x3dd4]
cmp eax, dword [esi + 0x3dd0]
je 0x67706b
call fcn.00676cec
mov eax, dword [esi + 0x3dd8]
xor edi, edi
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x3dd0]
mov dword [ebp - 8], eax
mov dword [esi + 0x3dd8], eax
mov dword [esi + 0xa0], 0
cmp dword [esi + 0x523c], edi
jle 0x6770c0
xor ebx, ebx
nop dword [eax]
mov eax, dword [esi + 0x5244]
add eax, ebx
cmp dword [eax + 4], 4
jne 0x6770b4
push eax
mov eax, dword [eax + 0xc]
push esi
call eax
add esp, 8
inc edi
add ebx, 0x14
cmp edi, dword [esi + 0x523c]
jl 0x67709c
xor ecx, ecx
mov dword [ebp - 0x14], ecx
cmp dword [esi + 0x3fdc], ecx
je 0x677183
nop word [eax + eax]
mov eax, dword [esi + 0x3fe4]
mov ebx, 2
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0xc], eax
lea edi, [eax + 0x64]
push 0
mov ecx, edi
call fcn.0068486c
add edi, 0xc
sub ebx, 1
jne 0x6770f0
mov edi, dword [ebp - 0xc]
cmp dword [edi + 0x30], ebx
je 0x677170
push str.Background
xor edx, edx
mov ecx, edi
call fcn.0067331c
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x677170
cmp ecx, 1
jne 0x677135
mov eax, dword [eax + 8]
cmp dword [eax + 0x1c], ebx
jne 0x677135
cmp dword [eax + 0x20], ebx
je 0x677170
mov ecx, dword [edi + 0x68]
lea ebx, [edi + 0x64]
mov edi, dword [ebx]
cmp edi, ecx
jne 0x677163
inc edi
test ecx, ecx
je 0x677151
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x677156
mov eax, 8
cmp eax, edi
mov ecx, ebx
cmovg edi, eax
push edi
call fcn.006847cc
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0xc]
mov dword [eax + ecx*4], edx
inc dword [ebx]
mov ecx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, dword [esi + 0x3fdc]
jne 0x6770dc
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 8]
je 0x677190
call fcn.006768ec
mov eax, dword [esi + 0x4138]
test eax, eax
je 0x6771b4
test dword [eax + 8], 0x2000
jne 0x6771b4
mov ebx, dword [eax + 0x2e8]
mov eax, dword [esi + 0x4140]
mov dword [ebp - 0x10], ebx
jmp 0x6771c7
xor ebx, ebx
mov dword [ebp - 0x10], ebx
test eax, eax
je 0x6771c5
mov eax, dword [esi + 0x4140]
jmp 0x6771c7
xor eax, eax
xor edi, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
cmp dword [esi + 0x3de8], edi
je 0x67721f
nop dword [eax + eax]
mov eax, dword [esi + 0x3df0]
mov ecx, dword [eax + edi*4]
cmp byte [ecx + 0x8e], 0
je 0x677216
cmp byte [ecx + 0x95], 0
jne 0x677216
mov edx, dword [ecx + 8]
test edx, 0x1000000
jne 0x677216
cmp ecx, ebx
je 0x677216
cmp ecx, dword [ebp - 0x14]
je 0x677216
shr edx, 0x19
and edx, 1
call fcn.0067651c
inc edi
cmp edi, dword [esi + 0x3de8]
jne 0x6771dc
xor edi, edi
mov ecx, dword [ebp + edi*4 - 0x10]
test ecx, ecx
je 0x677249
cmp byte [ecx + 0x8e], 0
je 0x677249
cmp byte [ecx + 0x95], 0
jne 0x677249
mov edx, dword [ecx + 8]
shr edx, 0x19
and edx, 1
call fcn.0067651c
inc edi
cmp edi, 2
jl 0x677221
cmp byte [esi + 0x58], 0
je 0x677287
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 8]
je 0x677287
mov ecx, dword [esi + 0x4154]
cmp ecx, 0xffffffff
je 0x677287
push dword [esi + 0xd54]
movss xmm0, dword [esi + 0x3868]
push dword [esi + 0xd50]
sub esp, 8
call fcn.006722dc
add esp, 0x10
xor ecx, ecx
mov dword [esi + 0x9c], 0
mov dword [esi + 0x98], 0
mov dword [ebp - 0x18], ecx
cmp dword [esi + 0x3fdc], ecx
jle 0x677435
mov eax, dword [esi + 0x3fe4]
mov ebx, dword [eax + ecx*4]
mov ecx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x70]
add eax, ecx
mov dword [ebp - 0xc], ecx
push eax
lea ecx, [ebx + 0x64]
call fcn.0068486c
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x6772f3
mov ecx, dword [ebp - 0xc]
shl eax, 2
push eax
mov eax, dword [ebx + 0x6c]
push dword [ebx + 0x78]
lea eax, [eax + ecx*4]
push eax
call fcn.006c081c
add esp, 0xc
lea ecx, [ebx + 0x70]
push 0
call fcn.0068486c
cmp dword [ebx + 0x34], 0
je 0x67736c
push str.Foreground
mov edx, 1
mov ecx, ebx
call fcn.0067331c
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x67736c
cmp ecx, 1
jne 0x67732a
mov eax, dword [eax + 8]
cmp dword [eax + 0x1c], 0
jne 0x67732a
cmp dword [eax + 0x20], 0
je 0x67736c
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x68]
cmp edx, ecx
jne 0x67735d
inc edx
mov dword [ebp - 0xc], edx
test ecx, ecx
je 0x67734a
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0xc]
sar eax, 1
add eax, ecx
jmp 0x67734f
mov eax, 8
cmp eax, edx
lea ecx, [ebx + 0x64]
cmovg edx, eax
push edx
call fcn.006847cc
mov ecx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x6c]
mov edx, dword [ebp - 8]
mov dword [eax + ecx*4], edx
inc dword [ebx + 0x64]
mov edx, dword [0x497418]
mov byte [ebx + 0x38], 1
cmp dword [ebx + 0x64], 0
jle 0x677381
mov eax, dword [ebx + 0x6c]
jmp 0x677383
xor eax, eax
mov dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x64]
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x50], ecx
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x58], ecx
mov eax, dword [edx + 0x50]
mov ecx, dword [edx + 0x54]
mov dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x60], ecx
xor ecx, ecx
mov dword [ebp - 8], ecx
cmp dword [ebx + 0x64], eax
jle 0x677413
nop
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax + ecx*4]
mov eax, dword [edx]
test eax, eax
je 0x6773ef
mov esi, dword [edx + 8]
lea ecx, [eax + eax*4]
cmp dword [esi + ecx*8 - 0xc], 0
jne 0x6773ef
cmp dword [esi + ecx*8 - 8], 0
jne 0x6773ef
dec eax
mov dword [edx], eax
mov eax, dword [ebx + 0x44]
add eax, dword [edx + 0x18]
mov ecx, dword [ebp - 8]
mov dword [ebx + 0x44], eax
inc ecx
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0xc]
add dword [ebx + 0x40], eax
mov dword [ebp - 8], ecx
cmp ecx, dword [ebx + 0x64]
jl 0x6773cc
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
add dword [esi + 0x98], eax
inc ecx
mov eax, dword [ebx + 0x40]
add dword [esi + 0x9c], eax
mov dword [ebp - 0x18], ecx
cmp ecx, dword [esi + 0x3fdc]
jl 0x6772ac
xor edi, edi
cmp dword [esi + 0x523c], edi
jle 0x677470
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [esi + 0x5244]
add eax, ebx
cmp dword [eax + 4], 5
jne 0x677464
push eax
mov eax, dword [eax + 0xc]
push esi
call eax
add esp, 8
inc edi
add ebx, 0x14
cmp edi, dword [esi + 0x523c]
jl 0x67744c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006bc02b
mov esp, ebp
pop ebp
ret