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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59dba7
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], 0x5bae3c
mov eax, dword [0x66377c]
mov dword [esp + 0x498], esi
neg eax
sbb eax, eax
and eax, 8
add eax, 0x18
mov dword [0x6636a4], eax
mov eax, dword [ebp + 8]
cmp eax, esi
je 0x437742
push 0x2010
push esi
push esi
push esi
push eax
push esi
jmp 0x43775d
call fcn.005928ec
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.0058b810
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 + 0xef0], edx
mov edx, dword [esp + 0x58]
mov dword [edi + 0xef4], edx
mov edi, dword [ebp + 0x10]
test bl, bl
je 0x4377b2
mov ecx, edi
call fcn.00582f5e
mov eax, dword [0x6636a4]
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.00582fa7
test bl, bl
je 0x4377f7
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 0x4377ec
lea ecx, [esp + 0x38]
call fcn.0058ad38
push 0
mov byte [esp + 0x49c], 1
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x3c]
call fcn.0058adef
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 [0x6636a4]
and eax, 0xffff
cmp ecx, 0x20
mov dword [esp + 0x18], eax
jne 0x437882
cmp eax, 0x20
je 0x437898
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.00584a5c
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], 0x5bae3c
mov dword [esp + 0x28], esi
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x49c], 2
call fcn.0058b810
mov al, byte [ebp + 0x18]
test al, al
je 0x437acd
cmp dword [esp + 0x18], 0x20
jne 0x437a07
mov edi, dword [esp + 0x14]
test edi, edi
jle 0x437ad4
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 [0x5bd0a0]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fmul qword [0x5bd098]
faddp st(1)
fild dword [esp + 0x14]
fmul qword [0x5bd090]
faddp st(1)
fst qword [esp + 0x2c]
fmul qword [0x5bd088]
fld qword [0x5bd080]
call fcn.0056e900
fmul qword [0x5bd078]
call fcn.0056cb34
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 0x437978
jmp 0x437ad4
cmp dword [esp + 0x14], esi
jle 0x437acd
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 0x437a5d
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 0x437abe
fild dword [esp + 0x4c]
fmul qword [0x5bd0a0]
fild dword [esp + 0x48]
fmul qword [0x5bd090]
faddp st(1)
fild dword [esp + 0x2c]
fmul qword [0x5bd098]
faddp st(1)
fst qword [esp + 0x2c]
fmul qword [0x5bd088]
fld qword [0x5bd080]
call fcn.0056e900
fmul qword [0x5bd078]
call fcn.0056cb34
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 0x437a11
cmp dword [esp + 0x18], 0x20
jne 0x437af4
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 0x437b15
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.00584a85
mov esi, vtable.CGdiObject.0
add esp, 4
mov dword [esp + 0x24], esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x498], 3
call fcn.0058b867
lea ecx, [esp + 0x38]
mov byte [esp + 0x498], 0
call fcn.0058ae57
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x498], 4
call fcn.0058b867
mov ecx, dword [esp + 0x490]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14