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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x10050040]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov edi, dword [0x100508f0]
mov dword [esp + 0x28], edi
mov eax, dword [edi + 0x3dbc]
cmp eax, dword [edi + 0x3db8]
je 0x10009b34
call fcn.10009830
mov eax, dword [edi + 0x3dc0]
mov edx, 4
mov dword [esp + 0x24], eax
mov ecx, edi
mov eax, dword [edi + 0x3db8]
mov dword [esp + 0x18], eax
mov dword [edi + 0x3dc0], eax
mov dword [edi + 0xa8], 0
call fcn.10006350
cmp dword [edi + 0x3fc0], 0
mov dword [esp + 0x10], 0
je 0x10009c38
xor edx, edx
mov dword [esp + 0x14], edx
nop
mov eax, dword [edi + 0x3fc8]
mov ebx, 2
mov eax, dword [edx + eax]
mov dword [esp + 0x1c], eax
lea esi, [eax + 0x64]
push 0
mov ecx, esi
call fcn.100180d0
add esi, 0xc
sub ebx, 1
jne 0x10009b95
mov esi, dword [esp + 0x1c]
cmp dword [esi + 0x30], ebx
je 0x10009c18
push str.Background
xor edx, edx
mov ecx, esi
call fcn.100063a0
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x10009c18
cmp ecx, 1
jne 0x10009bdc
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x1c], ebx
jne 0x10009bdc
cmp dword [ecx + 0x20], ebx
je 0x10009c18
mov ecx, dword [esi + 0x68]
lea ebx, [esi + 0x64]
mov esi, dword [ebx]
cmp esi, ecx
jne 0x10009c0a
inc esi
test ecx, ecx
je 0x10009bf8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10009bfd
mov eax, 8
cmp eax, esi
mov ecx, ebx
cmovg esi, eax
push esi
call fcn.10017ee0
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], edx
inc dword [ebx]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
inc ecx
add edx, 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
cmp ecx, dword [edi + 0x3fc0]
jne 0x10009b80
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x18]
je 0x10009c47
call fcn.10009210
mov ecx, dword [edi + 0x411c]
test ecx, ecx
je 0x10009c70
test dword [ecx + 8], 0x2000
jne 0x10009c70
mov eax, dword [ecx + 0x2e8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x4124]
jmp 0x10009c88
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x10009c86
mov eax, dword [edi + 0x4124]
jmp 0x10009c88
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
cmp dword [edi + 0x3dd0], ebx
je 0x10009ce9
xor esi, esi
nop dword [eax]
mov eax, dword [edi + 0x3dd8]
mov ecx, dword [esi + eax]
cmp byte [ecx + 0x8e], 0
je 0x10009cdd
cmp byte [ecx + 0x95], 0
jne 0x10009cdd
mov edx, dword [ecx + 8]
test edx, 0x1000000
jne 0x10009cdd
cmp ecx, dword [esp + 0x14]
je 0x10009cdd
cmp ecx, dword [esp + 0x10]
je 0x10009cdd
shr edx, 0x19
and edx, 1
call fcn.10008ed0
inc ebx
add esi, 4
cmp ebx, dword [edi + 0x3dd0]
jne 0x10009ca0
xor esi, esi
nop dword [eax + eax]
mov ecx, dword [esp + esi*4 + 0x1c]
test ecx, ecx
je 0x10009d18
cmp byte [ecx + 0x8e], 0
je 0x10009d18
cmp byte [ecx + 0x95], 0
jne 0x10009d18
mov edx, dword [ecx + 8]
shr edx, 0x19
and edx, 1
call fcn.10008ed0
inc esi
cmp esi, 2
jl 0x10009cf0
cmp byte [edi + 0x60], 0
je 0x10009d58
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x18]
je 0x10009d58
mov ecx, dword [edi + 0x4148]
cmp ecx, 0xffffffff
je 0x10009d58
push dword [edi + 0xdbc]
movss xmm0, dword [edi + 0x3850]
push dword [edi + 0xdb8]
sub esp, 8
call fcn.10005360
add esp, 0x10
cmp dword [edi + 0x3fc0], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa0], 0
mov dword [esp + 0x14], 0
jle 0x10009f39
xor ecx, ecx
mov dword [esp + 0x10], ecx
nop word [eax + eax]
mov eax, dword [edi + 0x3fc8]
mov esi, dword [ecx + eax]
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x70]
add eax, ecx
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esi + 0x64]
call fcn.100180d0
mov eax, dword [esi + 0x70]
test eax, eax
je 0x10009dd9
mov ecx, dword [esp + 0x1c]
shl eax, 2
push eax
mov eax, dword [esi + 0x6c]
push dword [esi + 0x78]
lea eax, [eax + ecx*4]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [esi + 0x70]
push 0
call fcn.100180d0
cmp dword [esi + 0x34], 0
je 0x10009e56
push str.Foreground
mov edx, 1
mov ecx, esi
call fcn.100063a0
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x10009e56
cmp ecx, 1
jne 0x10009e11
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x1c], 0
jne 0x10009e11
cmp dword [ecx + 0x20], 0
je 0x10009e56
mov edx, dword [esi + 0x64]
mov ecx, dword [esi + 0x68]
cmp edx, ecx
jne 0x10009e46
inc edx
mov dword [esp + 0x1c], edx
test ecx, ecx
je 0x10009e33
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, ecx
jmp 0x10009e38
mov eax, 8
cmp eax, edx
lea ecx, [esi + 0x64]
cmovg edx, eax
push edx
call fcn.10017ee0
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x6c]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], edx
inc dword [esi + 0x64]
mov byte [esi + 0x38], 1
lea edx, [esi + 0x6c]
cmp dword [esi + 0x64], 0
mov dword [esp + 0x24], edx
jle 0x10009e6b
mov eax, dword [edx]
jmp 0x10009e6d
xor eax, eax
mov dword [esi + 0x48], eax
xor ebx, ebx
mov eax, dword [esi + 0x64]
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esi + 0x50], ecx
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x58], ecx
mov ecx, dword [0x100508f0]
mov dword [esi + 0x54], eax
mov eax, dword [ecx + 0x58]
mov ecx, dword [ecx + 0x5c]
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], ecx
cmp dword [esi + 0x64], ebx
jle 0x10009f0a
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov edi, ecx
nop dword [eax]
mov eax, dword [edx]
mov edx, dword [ecx + eax]
mov eax, dword [edx]
test eax, eax
je 0x10009ee2
mov ebx, dword [edx + 8]
lea ecx, [eax + eax*4]
cmp dword [ebx + ecx*8 - 0xc], 0
jne 0x10009ee2
cmp dword [ebx + ecx*8 - 8], 0
jne 0x10009ee2
dec eax
mov dword [edx], eax
mov ebx, dword [edx + 0x18]
inc edi
add ebx, dword [esi + 0x44]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x44], ebx
add ecx, 4
mov eax, dword [edx + 0xc]
add dword [esi + 0x40], eax
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], ecx
cmp edi, dword [esi + 0x64]
jl 0x10009ec0
mov edi, dword [esp + 0x28]
add dword [edi + 0xa0], ebx
mov eax, dword [esi + 0x40]
add dword [edi + 0xa4], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
inc eax
add ecx, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
cmp eax, dword [edi + 0x3fc0]
jl 0x10009d90
xor esi, esi
cmp dword [edi + 0x523c], esi
jle 0x10009f74
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [edi + 0x5244]
add eax, ebx
cmp dword [eax + 4], 5
jne 0x10009f68
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x523c]
jl 0x10009f50
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10043d30
mov esp, ebp
pop ebp
ret