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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x598910
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x128]
mov dword [esp + 0x38], ecx
call fcn.0043bdb0
test eax, eax
je 0x43db36
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x43d5f5
cmp ebx, 0xffffffff
mov dword [esp + 0x28], 1
jne 0x43d5fd
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x54]
call fcn.0043bb00
add esi, 0x2c
xor edi, edi
push esi
lea ecx, [esp + 0x58]
mov dword [esp + 0xc4], edi
call fcn.0043bbe0
lea ecx, [esp + 0x54]
call fcn.0043bde0
test eax, eax
jne 0x43d8f5
lea eax, [esp + 0x40]
lea ecx, [esp + 0x54]
push eax
call fcn.004c2150
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x43db14
mov ecx, dword [esp + 0x50]
push ecx
call fcn.005745d3
push eax
push edi
lea ecx, [esp + 0x80]
call fcn.0046c180
mov edx, dword [esp + 0x4c]
mov byte [esp + 0xc0], 1
push edx
call fcn.005745d3
push eax
push edi
lea ecx, [esp + 0xac]
call fcn.0046c180
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x8c]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x90]
test eax, eax
jle 0x43d8aa
mov eax, dword [esp + 0x94]
xor esi, esi
test eax, eax
jle 0x43d89a
mov edx, dword [esp + 0xa8]
push esi
push edi
push edx
call dword [sym.imp.GDI32.dll_GetPixel]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x7c]
push esi
push edi
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x43d88a
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x43d7fe
xor ecx, ecx
mov edx, eax
mov cl, ah
and eax, 0xff
and ecx, 0xff
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 8]
fild dword [esp + 0x10]
shr edx, 0x10
and edx, 0xff
fmul qword [0x5b3718]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, ebx
shr eax, 0x10
fmul qword [0x5b3710]
and eax, 0xff
shr ecx, 0x10
faddp st(1)
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
and ecx, 0xff
fmul qword [0x5b3708]
faddp st(1)
fmul qword [0x5b3700]
fld qword [0x5abc60]
fsub st(1)
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
fmul st(1)
fild dword [esp + 0x10]
fmul st(3)
faddp st(1)
call fcn.00424c6c
xor edx, edx
xor ecx, ecx
mov dh, al
xor eax, eax
mov cl, byte [ebp + 9]
mov al, bh
and eax, 0xff
and ecx, 0xff
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
fmul st(1)
fild dword [esp + 0x10]
mov ebx, edx
fmul st(3)
faddp st(1)
call fcn.00424c6c
mov edx, dword [ebp + 0xc]
and edx, 0xff
mov bl, al
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
and eax, 0xff
mov dword [esp + 0x10], eax
fmul st(1)
fild dword [esp + 0x10]
shl ebx, 8
fmul st(3)
faddp st(1)
call fcn.00424c6c
mov ecx, dword [esp + 0x7c]
and eax, 0xff
or eax, ebx
push eax
push esi
fstp st(0)
push edi
push ecx
fstp st(0)
call dword [sym.imp.GDI32.dll_SetPixel]
mov ebx, dword [ebp + 0xc]
jmp 0x43d88a
xor edx, edx
mov ecx, eax
mov dl, ah
and eax, 0xff
and edx, 0xff
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
shr ecx, 0x10
and ecx, 0xff
fmul qword [0x5b3718]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fmul qword [0x5b3710]
faddp st(1)
fild dword [esp + 0x10]
fmul qword [0x5b3708]
faddp st(1)
fst qword [esp + 0x2c]
fmul qword [0x5b3700]
fld qword [0x5f6a20]
call fcn.00564e30
fmul qword [0x5b36e8]
call fcn.00424c6c
and eax, 0xff
and eax, 0xff
mov edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
mov eax, dword [esp + 0x7c]
push edx
push esi
push edi
push eax
call dword [sym.imp.GDI32.dll_SetPixel]
mov eax, dword [esp + 0x94]
inc esi
cmp esi, eax
jl 0x43d6b7
mov ecx, dword [esp + 0x90]
inc edi
cmp edi, ecx
jl 0x43d6ad
lea ecx, [esp + 0xa4]
call fcn.0046c2b0
lea ecx, [esp + 0x78]
mov byte [esp + 0xc0], 0
call fcn.0046c2b0
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.USER32.dll_CreateIconIndirect]
push eax
lea ecx, [esp + 0x58]
call fcn.0043bd20
mov edx, dword [esp + 0x4c]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push edx
call esi
mov eax, dword [esp + 0x50]
push eax
call esi
jmp 0x43db14
lea ecx, [esp + 0x54]
call fcn.0043c360
test eax, eax
je 0x43db14
lea ecx, [esp + 0x54]
call fcn.0043c360
lea ecx, [esp + 0x2c]
mov edi, eax
push ecx
lea ecx, [esp + 0x58]
call fcn.0043be70
mov eax, dword [esp + 0x30]
imul eax, dword [esp + 0x2c]
test eax, eax
jbe 0x43db14
mov dword [esp + 0x10], eax
xor edx, edx
mov dl, byte [edi + 3]
mov esi, edx
test esi, esi
mov dword [esp + 0x3c], esi
je 0x43db02
xor ecx, ecx
mov cl, byte [edi]
mov eax, ecx
shl eax, 8
sub eax, ecx
xor ecx, ecx
cdq
idiv esi
mov cl, byte [edi + 1]
mov dword [esp + 0x24], eax
mov eax, ecx
shl eax, 8
sub eax, ecx
xor ecx, ecx
cdq
idiv esi
mov cl, byte [edi + 2]
mov dword [esp + 0x20], eax
mov eax, ecx
shl eax, 8
sub eax, ecx
cdq
fild dword [esp + 0x20]
idiv esi
fmul qword [0x5b3718]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
fild dword [esp + 0x14]
test eax, eax
fmul qword [0x5b3708]
faddp st(1)
fild dword [esp + 0x24]
fmul qword [0x5b3710]
faddp st(1)
je 0x43da64
mov ecx, dword [ebp + 8]
mov eax, ebx
fmul qword [0x5b3700]
fld qword [0x5abc60]
shr eax, 0x10
and eax, 0xff
fsub st(1)
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
shr ecx, 0x10
and ecx, 0xff
fmul st(1)
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fmul st(3)
faddp st(1)
call fcn.00424c6c
xor edx, edx
and eax, 0xff
mov dl, bh
mov dword [esp + 0x24], eax
and edx, 0xff
xor eax, eax
mov al, byte [ebp + 9]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
and eax, 0xff
mov dword [esp + 0x14], eax
fmul st(1)
fild dword [esp + 0x14]
fmul st(3)
faddp st(1)
call fcn.00424c6c
mov ecx, dword [ebp + 8]
and ebx, 0xff
mov dword [esp + 0x14], ebx
and ecx, 0xff
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
and eax, 0xff
mov dword [esp + 0x20], eax
fmul st(1)
fild dword [esp + 0x14]
fmul st(3)
faddp st(1)
call fcn.00424c6c
fstp st(0)
and eax, 0xff
fstp st(0)
mov ebx, eax
jmp 0x43daa9
fst qword [esp + 0x14]
fmul qword [0x5b3700]
fld qword [0x5f6a20]
call fcn.00564e30
fmul qword [0x5b36e8]
call fcn.00424c6c
fild dword [esp + 0x3c]
and eax, 0xff
mov ebx, eax
fdiv qword [0x5f6a18]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.00424c6c
and eax, 0xff
mov esi, eax
mov eax, dword [esp + 0x24]
imul ebx, esi
imul eax, esi
mov ecx, eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x20]
imul eax, esi
mov ecx, eax
mov eax, 0x80808081
mov byte [edi], dl
imul ecx
add edx, ecx
mov eax, 0x80808081
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov byte [edi + 1], dl
imul ebx
add edx, ebx
mov ebx, dword [ebp + 0xc]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov byte [edi + 2], dl
mov eax, dword [esp + 0x10]
add edi, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x43d934
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.0043bbe0
lea ecx, [esp + 0x54]
mov dword [esp + 0xc0], 0xffffffff
call fcn.0043bda0
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8