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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x10052040]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov edi, dword [0x100528f0]
mov dword [esp + 0x28], edi
mov eax, dword [edi + 0x3dbc]
cmp eax, dword [edi + 0x3db8]
je 0x10009b74
call fcn.10009870
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.10006390
cmp dword [edi + 0x3fc0], 0
mov dword [esp + 0x10], 0
je 0x10009c78
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.10018100
add esi, 0xc
sub ebx, 1
jne 0x10009bd5
mov esi, dword [esp + 0x1c]
cmp dword [esi + 0x30], ebx
je 0x10009c58
push str.Background
xor edx, edx
mov ecx, esi
call fcn.100063e0
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x10009c58
cmp ecx, 1
jne 0x10009c1c
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x1c], ebx
jne 0x10009c1c
cmp dword [ecx + 0x20], ebx
je 0x10009c58
mov ecx, dword [esi + 0x68]
lea ebx, [esi + 0x64]
mov esi, dword [ebx]
cmp esi, ecx
jne 0x10009c4a
inc esi
test ecx, ecx
je 0x10009c38
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10009c3d
mov eax, 8
cmp eax, esi
mov ecx, ebx
cmovg esi, eax
push esi
call fcn.10017f10
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 0x10009bc0
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x18]
je 0x10009c87
call fcn.10009250
mov ecx, dword [edi + 0x411c]
test ecx, ecx
je 0x10009cb0
test dword [ecx + 8], 0x2000
jne 0x10009cb0
mov eax, dword [ecx + 0x2e8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x4124]
jmp 0x10009cc8
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x10009cc6
mov eax, dword [edi + 0x4124]
jmp 0x10009cc8
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
cmp dword [edi + 0x3dd0], ebx
je 0x10009d29
xor esi, esi
nop dword [eax]
mov eax, dword [edi + 0x3dd8]
mov ecx, dword [esi + eax]
cmp byte [ecx + 0x8e], 0
je 0x10009d1d
cmp byte [ecx + 0x95], 0
jne 0x10009d1d
mov edx, dword [ecx + 8]
test edx, 0x1000000
jne 0x10009d1d
cmp ecx, dword [esp + 0x14]
je 0x10009d1d
cmp ecx, dword [esp + 0x10]
je 0x10009d1d
shr edx, 0x19
and edx, 1
call fcn.10008f10
inc ebx
add esi, 4
cmp ebx, dword [edi + 0x3dd0]
jne 0x10009ce0
xor esi, esi
nop dword [eax + eax]
mov ecx, dword [esp + esi*4 + 0x1c]
test ecx, ecx
je 0x10009d58
cmp byte [ecx + 0x8e], 0
je 0x10009d58
cmp byte [ecx + 0x95], 0
jne 0x10009d58
mov edx, dword [ecx + 8]
shr edx, 0x19
and edx, 1
call fcn.10008f10
inc esi
cmp esi, 2
jl 0x10009d30
cmp byte [edi + 0x60], 0
je 0x10009d98
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x18]
je 0x10009d98
mov ecx, dword [edi + 0x4148]
cmp ecx, 0xffffffff
je 0x10009d98
push dword [edi + 0xdbc]
movss xmm0, dword [edi + 0x3850]
push dword [edi + 0xdb8]
sub esp, 8
call fcn.100053a0
add esp, 0x10
cmp dword [edi + 0x3fc0], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa0], 0
mov dword [esp + 0x14], 0
jle 0x10009f79
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.10018100
mov eax, dword [esi + 0x70]
test eax, eax
je 0x10009e19
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.10018100
cmp dword [esi + 0x34], 0
je 0x10009e96
push str.Foreground
mov edx, 1
mov ecx, esi
call fcn.100063e0
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x10009e96
cmp ecx, 1
jne 0x10009e51
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x1c], 0
jne 0x10009e51
cmp dword [ecx + 0x20], 0
je 0x10009e96
mov edx, dword [esi + 0x64]
mov ecx, dword [esi + 0x68]
cmp edx, ecx
jne 0x10009e86
inc edx
mov dword [esp + 0x1c], edx
test ecx, ecx
je 0x10009e73
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, ecx
jmp 0x10009e78
mov eax, 8
cmp eax, edx
lea ecx, [esi + 0x64]
cmovg edx, eax
push edx
call fcn.10017f10
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 0x10009eab
mov eax, dword [edx]
jmp 0x10009ead
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 [0x100528f0]
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 0x10009f4a
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 0x10009f22
mov ebx, dword [edx + 8]
lea ecx, [eax + eax*4]
cmp dword [ebx + ecx*8 - 0xc], 0
jne 0x10009f22
cmp dword [ebx + ecx*8 - 8], 0
jne 0x10009f22
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 0x10009f00
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 0x10009dd0
xor esi, esi
cmp dword [edi + 0x523c], esi
jle 0x10009fb4
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [edi + 0x5244]
add eax, ebx
cmp dword [eax + 4], 5
jne 0x10009fa8
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 0x10009f90
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100446c0
mov esp, ebp
pop ebp
ret