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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x556c97
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], 0x56a284
mov eax, dword [0x5c7564]
mov dword [esp + 0x498], esi
neg eax
sbb eax, eax
and eax, 8
add eax, 0x18
mov dword [0x5c74c8], eax
mov eax, dword [ebp + 8]
cmp eax, esi
je 0x42b3f2
push 0x2010
push esi
push esi
push esi
push eax
push esi
jmp 0x42b40d
call fcn.0054c4a1
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.005453c5
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 + 0xed0], edx
mov edx, dword [esp + 0x58]
mov dword [edi + 0xed4], edx
mov edi, dword [ebp + 0x10]
test bl, bl
je 0x42b462
mov ecx, edi
call fcn.0053caad
mov eax, dword [0x5c74c8]
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.0053caf6
test bl, bl
je 0x42b4a7
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 0x42b49c
lea ecx, [esp + 0x38]
call fcn.005448ed
push 0
mov byte [esp + 0x49c], 1
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x3c]
call fcn.005449a4
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 [0x5c74c8]
and eax, 0xffff
cmp ecx, 0x20
mov dword [esp + 0x18], eax
jne 0x42b532
cmp eax, 0x20
je 0x42b548
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.0054276d
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], 0x56a284
mov dword [esp + 0x28], esi
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x49c], 2
call fcn.005453c5
mov al, byte [ebp + 0x18]
test al, al
je 0x42b77d
cmp dword [esp + 0x18], 0x20
jne 0x42b6b7
mov edi, dword [esp + 0x14]
test edi, edi
jle 0x42b784
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 [0x56b568]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fmul qword [0x56b560]
faddp st(1)
fild dword [esp + 0x14]
fmul qword [0x56b558]
faddp st(1)
fst qword [esp + 0x2c]
fmul qword [0x56b550]
fld qword [0x56b548]
call fcn.00528d80
fmul qword [0x56b540]
call fcn.0052706c
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 0x42b628
jmp 0x42b784
cmp dword [esp + 0x14], esi
jle 0x42b77d
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 0x42b70d
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 0x42b76e
fild dword [esp + 0x4c]
fmul qword [0x56b568]
fild dword [esp + 0x48]
fmul qword [0x56b558]
faddp st(1)
fild dword [esp + 0x2c]
fmul qword [0x56b560]
faddp st(1)
fst qword [esp + 0x2c]
fmul qword [0x56b550]
fld qword [0x56b548]
call fcn.00528d80
fmul qword [0x56b540]
call fcn.0052706c
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 0x42b6c1
cmp dword [esp + 0x18], 0x20
jne 0x42b7a4
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 0x42b7c5
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.00542796
mov esi, vtable.CGdiObject.0
add esp, 4
mov dword [esp + 0x24], esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x498], 3
call fcn.0054541c
lea ecx, [esp + 0x38]
mov byte [esp + 0x498], 0
call fcn.00544a0c
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x498], 4
call fcn.0054541c
mov ecx, dword [esp + 0x490]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14