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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1005f008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x1005f6a4]
push esi
push edi
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebx + 0x3dcc]
cmp eax, dword [ebx + 0x3dc8]
je 0x1000bd6f
call fcn.1000ba40
mov eax, dword [ebx + 0x3dd0]
mov edx, 4
mov dword [ebp - 0x18], eax
mov ecx, ebx
mov eax, dword [ebx + 0x3dc8]
mov dword [ebp - 8], eax
mov dword [ebx + 0x3dd0], eax
mov dword [ebx + 0xa8], 0
call fcn.10008160
xor ecx, ecx
mov dword [ebp - 0x14], ecx
cmp dword [ebx + 0x4788], ecx
je 0x1000be5a
nop
mov eax, dword [ebx + 0x4790]
mov edi, 2
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0xc], eax
lea esi, [eax + 0x64]
push 0
mov ecx, esi
call fcn.1001a050
add esi, 0xc
sub edi, 1
jne 0x1000bdc4
mov edi, dword [ebp - 0xc]
cmp dword [edi + 0x30], 0
je 0x1000be47
push str.Background
xor edx, edx
mov ecx, edi
call fcn.100081b0
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x1000be47
cmp ecx, 1
jne 0x1000be0c
mov eax, dword [eax + 8]
cmp dword [eax + 0x1c], 0
jne 0x1000be0c
cmp dword [eax + 0x20], 0
je 0x1000be47
mov ecx, dword [edi + 0x68]
lea esi, [edi + 0x64]
mov edi, dword [esi]
cmp edi, ecx
jne 0x1000be3a
inc edi
test ecx, ecx
je 0x1000be28
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1000be2d
mov eax, 8
cmp eax, edi
mov ecx, esi
cmovg edi, eax
push edi
call fcn.10019da0
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov edx, dword [ebp - 0xc]
mov dword [eax + ecx*4], edx
inc dword [esi]
mov ecx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebx + 0x4788]
jne 0x1000bdb0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 8]
je 0x1000be67
call fcn.1000b640
mov eax, dword [ebx + 0x48ec]
test eax, eax
je 0x1000be8b
test dword [eax + 8], 0x2000
jne 0x1000be8b
mov edi, dword [eax + 0x2e4]
mov eax, dword [ebx + 0x48f4]
mov dword [ebp - 0x10], edi
jmp 0x1000be9e
xor edi, edi
mov dword [ebp - 0x10], edi
test eax, eax
je 0x1000be9c
mov eax, dword [ebx + 0x48f4]
jmp 0x1000be9e
xor eax, eax
xor esi, esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x3de0], esi
je 0x1000bef3
nop
mov eax, dword [ebx + 0x3de8]
mov ecx, dword [eax + esi*4]
cmp byte [ecx + 0x8e], 0
je 0x1000beea
cmp byte [ecx + 0x95], 0
jne 0x1000beea
mov edx, dword [ecx + 8]
test edx, 0x1000000
jne 0x1000beea
cmp ecx, edi
je 0x1000beea
cmp ecx, dword [ebp - 0x14]
je 0x1000beea
shr edx, 0x19
and edx, 1
call fcn.1000b260
inc esi
cmp esi, dword [ebx + 0x3de0]
jne 0x1000beb0
xor esi, esi
mov ecx, dword [ebp + esi*4 - 0x10]
test ecx, ecx
je 0x1000bf1d
cmp byte [ecx + 0x8e], 0
je 0x1000bf1d
cmp byte [ecx + 0x95], 0
jne 0x1000bf1d
mov edx, dword [ecx + 8]
shr edx, 0x19
and edx, 1
call fcn.1000b260
inc esi
cmp esi, 2
jl 0x1000bef5
cmp byte [ebx + 0x60], 0
je 0x1000bf5b
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 8]
je 0x1000bf5b
mov ecx, dword [ebx + 0x4918]
cmp ecx, 0xffffffff
je 0x1000bf5b
push dword [ebx + 0xdbc]
movss xmm0, dword [ebx + 0x3850]
push dword [ebx + 0xdb8]
sub esp, 8
call fcn.10007060
add esp, 0x10
xor ecx, ecx
mov dword [ebx + 0xa4], 0
mov dword [ebx + 0xa0], 0
mov dword [ebp - 0x18], ecx
cmp dword [ebx + 0x4788], ecx
jle 0x1000c109
mov eax, dword [ebx + 0x4790]
mov edi, dword [eax + ecx*4]
mov ecx, dword [edi + 0x64]
mov eax, dword [edi + 0x70]
add eax, ecx
mov dword [ebp - 0xc], ecx
push eax
lea ecx, [edi + 0x64]
call fcn.1001a050
mov eax, dword [edi + 0x70]
test eax, eax
je 0x1000bfc7
mov ecx, dword [ebp - 0xc]
shl eax, 2
push eax
mov eax, dword [edi + 0x6c]
push dword [edi + 0x78]
lea eax, [eax + ecx*4]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [edi + 0x70]
push 0
call fcn.1001a050
cmp dword [edi + 0x34], 0
je 0x1000c040
push str.Foreground
mov edx, 1
mov ecx, edi
call fcn.100081b0
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x1000c040
cmp ecx, 1
jne 0x1000bffe
mov eax, dword [eax + 8]
cmp dword [eax + 0x1c], 0
jne 0x1000bffe
cmp dword [eax + 0x20], 0
je 0x1000c040
mov edx, dword [edi + 0x64]
mov ecx, dword [edi + 0x68]
cmp edx, ecx
jne 0x1000c031
inc edx
mov dword [ebp - 0xc], edx
test ecx, ecx
je 0x1000c01e
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0xc]
sar eax, 1
add eax, ecx
jmp 0x1000c023
mov eax, 8
cmp eax, edx
lea ecx, [edi + 0x64]
cmovg edx, eax
push edx
call fcn.10019da0
mov ecx, dword [edi + 0x64]
mov eax, dword [edi + 0x6c]
mov edx, dword [ebp - 8]
mov dword [eax + ecx*4], edx
inc dword [edi + 0x64]
mov edx, dword [0x1005f6a4]
mov byte [edi + 0x38], 1
cmp dword [edi + 0x64], 0
jle 0x1000c055
mov eax, dword [edi + 0x6c]
jmp 0x1000c057
xor eax, eax
mov dword [edi + 0x48], eax
mov eax, dword [edi + 0x64]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [edi + 0x4c], eax
mov dword [edi + 0x50], ecx
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], ecx
mov eax, dword [edx + 0x58]
mov ecx, dword [edx + 0x5c]
mov dword [edi + 0x5c], eax
xor eax, eax
mov dword [edi + 0x60], ecx
xor ecx, ecx
mov dword [ebp - 8], ecx
cmp dword [edi + 0x64], eax
jle 0x1000c0e7
nop
mov eax, dword [edi + 0x6c]
mov edx, dword [eax + ecx*4]
mov eax, dword [edx]
test eax, eax
je 0x1000c0c3
mov ebx, dword [edx + 8]
lea ecx, [eax + eax*4]
cmp dword [ebx + ecx*8 - 0xc], 0
jne 0x1000c0c3
cmp dword [ebx + ecx*8 - 8], 0
jne 0x1000c0c3
dec eax
mov dword [edx], eax
mov eax, dword [edi + 0x44]
add eax, dword [edx + 0x18]
mov ecx, dword [ebp - 8]
mov dword [edi + 0x44], eax
inc ecx
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0xc]
add dword [edi + 0x40], eax
mov dword [ebp - 8], ecx
cmp ecx, dword [edi + 0x64]
jl 0x1000c0a0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
add dword [ebx + 0xa0], eax
inc ecx
mov eax, dword [edi + 0x40]
add dword [ebx + 0xa4], eax
mov dword [ebp - 0x18], ecx
cmp ecx, dword [ebx + 0x4788]
jl 0x1000bf80
xor esi, esi
cmp dword [ebx + 0x5a0c], esi
jle 0x1000c144
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebx + 0x5a14]
add eax, edi
cmp dword [eax + 4], 5
jne 0x1000c138
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x5a0c]
jl 0x1000c120
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100377fa
mov esp, ebp
pop ebp
ret