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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x10054040]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov edi, dword [0x10055178]
mov dword [esp + 0x28], edi
mov eax, dword [edi + 0x3dbc]
cmp eax, dword [edi + 0x3db8]
je 0x1000a584
call fcn.1000a280
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.10006480
cmp dword [edi + 0x3fc0], 0
mov dword [esp + 0x10], 0
je 0x1000a688
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.10018a70
add esi, 0xc
sub ebx, 1
jne 0x1000a5e5
mov esi, dword [esp + 0x1c]
cmp dword [esi + 0x30], ebx
je 0x1000a668
push str.Background
xor edx, edx
mov ecx, esi
call fcn.100064d0
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x1000a668
cmp ecx, 1
jne 0x1000a62c
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x1c], ebx
jne 0x1000a62c
cmp dword [ecx + 0x20], ebx
je 0x1000a668
mov ecx, dword [esi + 0x68]
lea ebx, [esi + 0x64]
mov esi, dword [ebx]
cmp esi, ecx
jne 0x1000a65a
inc esi
test ecx, ecx
je 0x1000a648
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1000a64d
mov eax, 8
cmp eax, esi
mov ecx, ebx
cmovg esi, eax
push esi
call fcn.10018880
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 0x1000a5d0
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x18]
je 0x1000a697
call fcn.10009c60
mov ecx, dword [edi + 0x411c]
test ecx, ecx
je 0x1000a6c0
test dword [ecx + 8], 0x2000
jne 0x1000a6c0
mov eax, dword [ecx + 0x2e8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x4124]
jmp 0x1000a6d8
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x1000a6d6
mov eax, dword [edi + 0x4124]
jmp 0x1000a6d8
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
cmp dword [edi + 0x3dd0], ebx
je 0x1000a739
xor esi, esi
nop dword [eax]
mov eax, dword [edi + 0x3dd8]
mov ecx, dword [esi + eax]
cmp byte [ecx + 0x8e], 0
je 0x1000a72d
cmp byte [ecx + 0x95], 0
jne 0x1000a72d
mov edx, dword [ecx + 8]
test edx, 0x1000000
jne 0x1000a72d
cmp ecx, dword [esp + 0x14]
je 0x1000a72d
cmp ecx, dword [esp + 0x10]
je 0x1000a72d
shr edx, 0x19
and edx, 1
call fcn.10009920
inc ebx
add esi, 4
cmp ebx, dword [edi + 0x3dd0]
jne 0x1000a6f0
xor esi, esi
nop dword [eax + eax]
mov ecx, dword [esp + esi*4 + 0x1c]
test ecx, ecx
je 0x1000a768
cmp byte [ecx + 0x8e], 0
je 0x1000a768
cmp byte [ecx + 0x95], 0
jne 0x1000a768
mov edx, dword [ecx + 8]
shr edx, 0x19
and edx, 1
call fcn.10009920
inc esi
cmp esi, 2
jl 0x1000a740
cmp byte [edi + 0x60], 0
je 0x1000a7a8
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x18]
je 0x1000a7a8
mov ecx, dword [edi + 0x4148]
cmp ecx, 0xffffffff
je 0x1000a7a8
push dword [edi + 0xdbc]
movss xmm0, dword [edi + 0x3850]
push dword [edi + 0xdb8]
sub esp, 8
call fcn.10005100
add esp, 0x10
cmp dword [edi + 0x3fc0], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa0], 0
mov dword [esp + 0x14], 0
jle 0x1000a989
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.10018a70
mov eax, dword [esi + 0x70]
test eax, eax
je 0x1000a829
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.10018a70
cmp dword [esi + 0x34], 0
je 0x1000a8a6
push str.Foreground
mov edx, 1
mov ecx, esi
call fcn.100064d0
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x1000a8a6
cmp ecx, 1
jne 0x1000a861
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x1c], 0
jne 0x1000a861
cmp dword [ecx + 0x20], 0
je 0x1000a8a6
mov edx, dword [esi + 0x64]
mov ecx, dword [esi + 0x68]
cmp edx, ecx
jne 0x1000a896
inc edx
mov dword [esp + 0x1c], edx
test ecx, ecx
je 0x1000a883
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, ecx
jmp 0x1000a888
mov eax, 8
cmp eax, edx
lea ecx, [esi + 0x64]
cmovg edx, eax
push edx
call fcn.10018880
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 0x1000a8bb
mov eax, dword [edx]
jmp 0x1000a8bd
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 [0x10055178]
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 0x1000a95a
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 0x1000a932
mov ebx, dword [edx + 8]
lea ecx, [eax + eax*4]
cmp dword [ebx + ecx*8 - 0xc], 0
jne 0x1000a932
cmp dword [ebx + ecx*8 - 8], 0
jne 0x1000a932
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 0x1000a910
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 0x1000a7e0
xor esi, esi
cmp dword [edi + 0x523c], esi
jle 0x1000a9c4
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [edi + 0x5244]
add eax, ebx
cmp dword [eax + 4], 5
jne 0x1000a9b8
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 0x1000a9a0
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100462db
mov esp, ebp
pop ebp
ret