Function at 0x43eea0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x4fc00c]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [esp + 0x14]
push edi
push eax
push esi
push 0x4dc30c
mov edi, ecx
call fcn.004523e0
mov ecx, eax
call fcn.004526f0
mov ebx, eax
test ebx, ebx
jne 0x43eef4
lea edx, [esp + 0x18]
mov ecx, esi
call fcn.0044eb80
mov ebx, eax
test ebx, ebx
je 0x43f3d0
push ebx
mov ecx, edi
call fcn.0044e750
push 0x8000
push 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualFree]
mov esi, eax
mov dword [esp + 0x24], ebx
call ebx
test esi, esi
je 0x43f3d0
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x88], eax
test eax, eax
jne 0x43efdd
movzx eax, word [edi + 0x28]
push 4
push 0x3000
shl eax, 5
push eax
push 0
mov dword [edi + 0x80], 0x20
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [edi + 0xa0], edx
test edx, edx
je 0x43f3d0
xor eax, eax
xor esi, esi
cmp ax, word [edi + 0x28]
jae 0x43f0e3
nop word [eax + eax]
mov eax, dword [edi + 0x2c]
movzx ecx, si
inc esi
shl ecx, 5
movss xmm0, dword [ecx + eax + 4]
movss xmm1, dword [ecx + eax + 8]
mov eax, dword [ecx + eax]
mov dword [ecx + edx], eax
movss dword [ecx + edx + 4], xmm0
movss dword [ecx + edx + 8], xmm1
mov eax, dword [edi + 0x2c]
movss xmm0, dword [ecx + eax + 0x10]
movss xmm1, dword [ecx + eax + 0x14]
mov eax, dword [ecx + eax + 0xc]
mov dword [ecx + edx + 0xc], eax
movss dword [ecx + edx + 0x10], xmm0
movss dword [ecx + edx + 0x14], xmm1
mov eax, dword [edi + 0x2c]
movss xmm0, dword [ecx + eax + 0x1c]
mov eax, dword [ecx + eax + 0x18]
mov dword [ecx + edx + 0x18], eax
movss dword [ecx + edx + 0x1c], xmm0
cmp si, word [edi + 0x28]
jb 0x43ef70
jmp 0x43f0e3
cmp eax, 1
jne 0x43f0e3
movzx eax, word [edi + 0x28]
push 4
push 0x3000
mov dword [edi + 0x80], 0x24
lea eax, [eax + eax*8]
shl eax, 2
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [edi + 0xa0], edx
test edx, edx
je 0x43f3d0
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x14], eax
cmp cx, word [edi + 0x28]
jae 0x43f0e3
nop dword [eax]
movzx ebx, ax
mov eax, dword [edi + 0x2c]
mov ecx, ebx
shl ecx, 5
lea esi, [ebx + ebx*8]
movss xmm0, dword [ecx + eax + 4]
movss xmm1, dword [ecx + eax + 8]
mov eax, dword [ecx + eax]
mov dword [edx + esi*4], eax
movss dword [edx + esi*4 + 4], xmm0
movss dword [edx + esi*4 + 8], xmm1
mov eax, dword [edi + 0x2c]
movss xmm0, dword [ecx + eax + 0x1c]
mov eax, dword [ecx + eax + 0x18]
mov dword [edx + esi*4 + 0x1c], eax
movss dword [edx + esi*4 + 0x20], xmm0
cmp byte [edi + 0x40], 0
je 0x43f0a6
mov eax, dword [edi + 0x44]
add ebx, ebx
mov eax, dword [eax + ebx*8 + 0xc]
mov dword [edx + esi*4 + 0x18], eax
mov eax, dword [edi + 0x44]
mov eax, dword [eax + ebx*8]
mov dword [edx + esi*4 + 0xc], eax
mov eax, dword [edi + 0x44]
mov eax, dword [eax + ebx*8 + 4]
mov dword [edx + esi*4 + 0x10], eax
mov eax, dword [edi + 0x44]
movss xmm0, dword [eax + ebx*8 + 8]
jmp 0x43f0c6
movss xmm0, dword [0x4f3cd0]
mov dword [edx + esi*4 + 0x10], 0x3f800000
mov dword [edx + esi*4 + 0xc], 0x3f800000
mov dword [edx + esi*4 + 0x18], 0x3f800000
movss dword [edx + esi*4 + 0x14], xmm0
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp ax, word [edi + 0x28]
jb 0x43f030
mov ebx, dword [esp + 0x18]
mov eax, dword [edi + 0x2c]
mov byte [edi + 0x90], 0
test eax, eax
je 0x43f102
push 0x8000
push 0
push eax
call ebx
mov dword [edi + 0x2c], 0
mov eax, dword [edi + 0x44]
test eax, eax
je 0x43f11a
push 0x8000
push 0
push eax
call ebx
mov dword [edi + 0x44], 0
xor eax, eax
mov dword [edi + 0x98], eax
mov word [edi + 0x9c], ax
call fcn.0043add0
mov ebx, dword [eax + 0x54]
xor al, al
mov dword [esp + 0x18], ebx
mov byte [esp + 0x13], al
cmp byte [edi + 0x20], al
jbe 0x43f3e9
mov ebx, dword [edi + 0x24]
movzx eax, al
imul esi, eax, 0x58
mov dword [esp + 0x24], eax
add ebx, esi
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43f158
sub ecx, edx
je 0x43f1f9
call fcn.0043add0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0
push ecx
push ebx
mov ecx, eax
call fcn.0043afe0
cmp eax, 2
jne 0x43f1a0
mov eax, dword [esp + 0x14]
inc eax
movzx ecx, ax
test cx, cx
je 0x43f1a0
mov eax, dword [edi + 0x24]
mov word [esi + eax + 0x40], cx
jmp 0x43f384
xor ebx, ebx
cmp byte [edi + 0x84], bl
setne bl
call fcn.0043add0
push 0
mov dword [eax + 0x54], ebx
mov eax, dword [edi + 0x24]
add eax, esi
push eax
call fcn.0043add0
mov ecx, eax
call fcn.0043b1a0
mov ecx, dword [edi + 0x24]
mov word [esi + ecx + 0x40], ax
mov eax, dword [edi + 0x24]
add eax, esi
cmp word [eax + 0x40], 0
je 0x43f3a5
movzx eax, word [edi + 0x98]
mov ecx, dword [esp + 0x24]
bts eax, ecx
mov word [edi + 0x98], ax
jmp 0x43f384
call fcn.0043add0
push 0
push 0x1c
push ecx
push 1
push 2
push 2
push 0
mov ecx, eax
call fcn.0043b090
movzx ecx, ax
mov eax, dword [edi + 0x24]
mov word [esi + eax + 0x40], cx
mov ecx, dword [edi + 0x24]
movzx eax, word [esi + ecx + 0x40]
mov edx, eax
mov ebx, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], edx
test ax, ax
je 0x43f37d
movss xmm2, dword [esi + ecx + 0x4c]
movss xmm0, dword [esi + ecx + 0x44]
comiss xmm0, dword [0x4f3cd0]
movss xmm1, dword [esi + ecx + 0x48]
movss dword [esp + 0x28], xmm2
xorps xmm2, xmm2
movss dword [esp + 0x14], xmm1
jb 0x43f26b
mov esi, 0xff
jmp 0x43f294
comiss xmm2, xmm0
jb 0x43f274
xor esi, esi
jmp 0x43f294
mulss xmm0, dword [0x4f3fa4]
addss xmm0, dword [0x4f3c8c]
call fcn.004c0680
movss xmm1, dword [esp + 0x14]
mov esi, eax
xorps xmm2, xmm2
comiss xmm1, dword [0x4f3cd0]
jb 0x43f2a7
mov dword [esp + 0x20], 0xff
jmp 0x43f2d2
comiss xmm2, xmm1
jb 0x43f2b6
mov dword [esp + 0x20], 0
jmp 0x43f2d2
mulss xmm1, dword [0x4f3fa4]
addss xmm1, dword [0x4f3c8c]
movaps xmm0, xmm1
call fcn.004c0680
mov dword [esp + 0x20], eax
movss xmm0, dword [esp + 0x28]
comiss xmm0, dword [0x4f3cd0]
jb 0x43f2eb
mov dword [esp + 0x14], 0xff
jmp 0x43f321
xorps xmm1, xmm1
comiss xmm1, xmm0
jb 0x43f301
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], 0
jmp 0x43f31e
mulss xmm0, dword [0x4f3fa4]
addss xmm0, dword [0x4f3c8c]
call fcn.004c0680
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
movzx ebx, ax
call fcn.0043add0
cmp bx, word [eax]
jae 0x43f366
mov eax, dword [eax + 4]
or esi, 0xffffff00
movzx ecx, bx
add eax, 0xffffffdc
imul ecx, ecx, 0x6c
shl esi, 8
or esi, dword [esp + 0x20]
shl esi, 8
or esi, dword [esp + 0x14]
add ecx, eax
push esi
movzx eax, word [ecx + 0xa]
push eax
movzx eax, word [ecx + 8]
push eax
sub esp, 8
push dword [0x4fe45c]
call fcn.0043c180
movzx eax, word [edi + 0x98]
mov ecx, dword [esp + 0x24]
bts eax, ecx
mov word [edi + 0x98], ax
jmp 0x43f384
xor eax, eax
mov word [esi + ecx + 0x40], ax
mov al, byte [esp + 0x13]
inc al
mov byte [esp + 0x13], al
cmp al, byte [edi + 0x20]
jb 0x43f144
call fcn.0043add0
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x54], ecx
jmp 0x43f3f1
push eax
lea eax, [esp + 0x34]
push str.__s__color_map_load_failed_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call fcn.0043add0
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x54], ecx
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0047d312
mov esp, ebp
pop ebp
ret 0x10
call fcn.0043add0
mov dword [eax + 0x54], ebx
movzx eax, word [edi + 0x30]
lea esi, [edi + 0x50]
mov ecx, esi
lea ebx, [eax + eax]
push ebx
push dword [0x4fe45c]
call fcn.00442120
test al, al
je 0x43f3d0
mov eax, dword [esi + 4]
mov dword [esi], 3
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
mov dword [esi + 0x2c], 0x39
movzx ebx, word [edi + 0x30]
mov eax, dword [esi]
add ebx, ebx
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x43f49f
lea edi, [esi + 0xc]
cmp eax, 1
jne 0x43f471
mov eax, dword [edi]
test eax, eax
je 0x43f49f
push ebx
push ecx
push eax
call fcn.004803e0
add esp, 0xc
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0047d312
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 4]
push edi
push 0
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x43f49f
push ebx
push dword [esp + 0x20]
push dword [edi]
call fcn.004803e0
mov eax, dword [esi + 4]
add esp, 0xc
mov ecx, dword [eax]
push 0
push 0
push eax
call dword [ecx + 0x24]
mov ecx, dword [esp + 0x134]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047d312
mov esp, ebp
pop ebp
ret 0x10