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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b09a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x484
push ebx
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0x5cee7c
mov eax, dword [0x67a14c]
mov dword [esp + 0x498], esi
neg eax
sbb eax, eax
and eax, 8
add eax, 0x18
mov dword [0x67a074], eax
mov eax, dword [ebp + 8]
cmp eax, esi
je 0x43dfb8
push 0x2010
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.USER32.dll_LoadImageW]
jmp 0x43dfd9
call fcn.005a4ddf
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
push 0x2040
push esi
push esi
and ecx, 0xffff
push esi
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
lea ecx, [esp + 0x20]
call fcn.0059dd98
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x50]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, 0x2aaaaaab
mov bl, byte [ebp + 0x14]
imul dword [esp + 0x54]
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov dword [edi + 0x1424], edx
mov edx, dword [esp + 0x58]
mov dword [edi + 0x1428], edx
mov edi, dword [ebp + 0x10]
test bl, bl
je 0x43e028
mov ecx, edi
call fcn.005955db
mov eax, dword [0x67a074]
push 1
or al, 1
push 0xc
push eax
mov eax, 0x2aaaaaab
imul dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
sar edx, 1
mov eax, edx
push ecx
shr eax, 0x1f
add edx, eax
mov ecx, edi
push edx
call fcn.00595624
test bl, bl
je 0x43e06d
mov esi, dword [sym.imp.COMCTL32.dll_ImageList_Remove]
mov ebx, 0xc
mov ecx, dword [edi + 4]
push 0
push ecx
call esi
dec ebx
jne 0x43e062
lea ecx, [esp + 0x38]
call fcn.0059d341
push 0
mov byte [esp + 0x49c], 1
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x3c]
call fcn.0059d3f8
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x68]
mov edx, dword [esp + 0x3c]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x1c]
neg eax
sbb eax, eax
lea ecx, [esp + 0x38]
and eax, edi
mov esi, dword [sym.imp.GDI32.dll_GetDIBits]
neg ecx
sbb ecx, ecx
push 0
and ecx, edx
lea edx, [esp + 0x6c]
push edx
push 0
push 0
push 0
push eax
push ecx
mov dword [esp + 0x84], 0x28
call esi
mov eax, dword [esp + 0x76]
mov ecx, dword [0x67a074]
and eax, 0xffff
cmp ecx, 0x20
mov dword [esp + 0x18], eax
jne 0x43e0f8
cmp eax, 0x20
je 0x43e10e
mov eax, 0x18
mov dword [esp + 0x78], 0
mov word [esp + 0x76], ax
mov dword [esp + 0x18], eax
xor ecx, ecx
cmp eax, 0x20
sete cl
add ecx, 3
imul ecx, dword [esp + 0x6c]
add ecx, 3
and ecx, 0xfffffffc
imul ecx, dword [esp + 0x70]
mov edi, ecx
push edi
mov dword [esp + 0x18], edi
call fcn.005970d9
mov ecx, dword [esp + 0x24]
mov ebx, eax
lea eax, [esp + 0x20]
add esp, 4
neg eax
mov edx, dword [esp + 0x3c]
push 0
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x3c]
neg ecx
sbb ecx, ecx
and ecx, edx
lea edx, [esp + 0x6c]
push edx
mov edx, dword [esp + 0x78]
push ebx
push edx
push 0
push eax
push ecx
call esi
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x38]
neg eax
push 0
lea ecx, [esp + 0x14]
sbb eax, eax
push 0
push ecx
lea edx, [esp + 0x74]
and eax, esi
push 0
push edx
push eax
mov dword [esp + 0x28], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ecx, edi
mov edi, dword [esp + 0x10]
mov edx, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
mov dword [esp + 0x24], 0x5cee7c
mov dword [esp + 0x28], esi
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x49c], 2
call fcn.0059dd98
mov al, byte [ebp + 0x18]
test al, al
je 0x43e343
cmp dword [esp + 0x18], 0x20
jne 0x43e27d
mov edi, dword [esp + 0x14]
test edi, edi
jle 0x43e34a
xor eax, eax
xor ecx, ecx
mov al, byte [ebx + esi + 1]
mov cl, byte [ebx + esi]
mov dword [esp + 0x14], eax
xor edx, edx
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
mov dl, byte [ebx + esi + 2]
fmul qword [0x5d10e0]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fmul qword [0x5d10d8]
faddp st(1)
fild dword [esp + 0x14]
fmul qword [0x5d10d0]
faddp st(1)
fst qword [esp + 0x2c]
fmul qword [0x5d10c8]
fld qword [0x5d10c0]
call fcn.00580c90
fmul qword [0x5d10b8]
call fcn.0057edf8
mov ecx, dword [esp + 0x10]
add esi, 4
cmp esi, edi
mov byte [esi + ecx - 2], al
mov eax, dword [esp + 0x10]
mov dl, byte [esi + eax - 2]
mov byte [esi + eax - 3], dl
mov eax, dword [esp + 0x10]
mov cl, byte [esi + eax - 3]
mov byte [esi + eax - 4], cl
jl 0x43e1ee
jmp 0x43e34a
cmp dword [esp + 0x14], esi
jle 0x43e343
xor eax, eax
xor edx, edx
mov al, byte [ebx + esi]
mov dl, byte [ebx + esi + 1]
mov dword [esp + 0x2c], eax
mov edi, edx
shl eax, 8
xor ecx, ecx
or eax, edi
mov cl, byte [ebx + esi + 2]
mov dword [esp + 0x4c], edi
shl eax, 8
or eax, ecx
mov dword [esp + 0x48], ecx
cmp eax, 0xc0c0c0
jne 0x43e2d3
mov eax, dword [esp + 0x10]
mov byte [esi + eax + 2], 0xc0
mov ecx, dword [esp + 0x10]
mov byte [esi + ecx + 1], 0xc0
mov edx, dword [esp + 0x10]
mov byte [esi + edx], 0xc0
jmp 0x43e334
fild dword [esp + 0x4c]
fmul qword [0x5d10e0]
fild dword [esp + 0x48]
fmul qword [0x5d10d0]
faddp st(1)
fild dword [esp + 0x2c]
fmul qword [0x5d10d8]
faddp st(1)
fst qword [esp + 0x2c]
fmul qword [0x5d10c8]
fld qword [0x5d10c0]
call fcn.00580c90
fmul qword [0x5d10b8]
call fcn.0057edf8
mov ecx, dword [esp + 0x10]
mov byte [esi + ecx + 2], al
mov eax, dword [esp + 0x10]
mov dl, byte [esi + eax + 2]
mov byte [esi + eax + 1], dl
mov eax, dword [esp + 0x10]
mov cl, byte [esi + eax + 1]
mov byte [esi + eax], cl
mov eax, dword [esp + 0x14]
add esi, 3
cmp esi, eax
jl 0x43e287
cmp dword [esp + 0x18], 0x20
jne 0x43e36a
mov edi, dword [esp + 0x28]
mov edx, dword [ebp + 0x10]
lea eax, [esp + 0x24]
push 0
neg eax
sbb eax, eax
and eax, edi
push eax
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
jmp 0x43e38b
mov esi, dword [esp + 0x28]
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x24]
push 0xc0c0c0
mov edx, dword [ecx + 4]
neg eax
sbb eax, eax
and eax, esi
push eax
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push ebx
call fcn.00597102
mov esi, 0x61859c
add esp, 4
mov dword [esp + 0x24], esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x498], 3
call fcn.0059ddef
lea ecx, [esp + 0x38]
mov byte [esp + 0x498], 0
call fcn.0059d460
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x498], 4
call fcn.0059ddef
mov ecx, dword [esp + 0x490]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14