Function at 0x476ef0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7db230
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
push esi
push edi
push ecx
lea edi, [ebp - 0x1b8]
mov ecx, 0x6b
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x87fbc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x30], 1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x8c], 0
jne 0x476f5d
mov eax, 1
jmp 0x4775c8
call fcn.00415ef0
cmp dword [eax + 0x1ac], 8
jg 0x476f75
mov eax, 1
jmp 0x4775c8
lea ecx, [ebp - 0x28]
call fcn.004b36e0
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00491180
nop
mov esi, esp
lea ecx, [ebp - 0x48]
push ecx
push 0x18
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x8c]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp esi, esp
call fcn.00784930
test eax, eax
jne 0x476fd6
mov dword [ebp - 0x17c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004b3a70
mov eax, dword [ebp - 0x17c]
jmp 0x4775c8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x8c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00493fc0
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x477021
mov dword [ebp - 0x180], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004b3a70
mov eax, dword [ebp - 0x180]
jmp 0x4775c8
lea ecx, [ebp - 0x6c]
call fcn.004b36e0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x6c]
call fcn.00491180
mov dword [ebp - 0xa0], 0x28
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x98], ecx
mov edx, 1
mov word [ebp - 0x94], dx
mov eax, 0x20
mov word [ebp - 0x92], ax
mov dword [ebp - 0x90], 0
mov ecx, dword [ebp - 0x50]
imul ecx, dword [ebp - 0x54]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0xac], 0
mov esi, esp
push 0
push 0
lea edx, [ebp - 0xac]
push edx
push 0
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
jne 0x477123
mov edx, dword [ebp - 0x58]
push edx
lea ecx, [ebp - 0x28]
call fcn.00493fc0
nop
mov dword [ebp - 0x184], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.004b3a70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004b3a70
mov eax, dword [ebp - 0x184]
jmp 0x4775c8
mov eax, dword [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00493fc0
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jne 0x47719d
mov ecx, dword [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00493fc0
mov esi, esp
mov edx, dword [ebp - 0xb4]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0x188], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.004b3a70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004b3a70
mov eax, dword [ebp - 0x188]
jmp 0x4775c8
push 0xcc0020
push 0
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x50]
push edx
push 0
push 0
lea ecx, [ebp - 0x6c]
call fcn.00490f20
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xc], 0
jg 0x4771d3
mov dword [ebp - 0x19c], 0x82
jmp 0x4771df
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x19c], edx
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 8], 0x20
jne 0x4774be
mov esi, esp
lea edx, [ebp - 0x114]
push edx
push 0x54
mov eax, dword [ebp - 0xb4]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp esi, esp
call fcn.00784930
test eax, eax
jne 0x477263
xor ecx, ecx
jne 0x477233
push 0xcbd
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_afxtoolbarimages.cpp
call fcn.004053b0
test eax, eax
je 0x477233
int3
mov dword [ebp - 0x18c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.004b3a70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004b3a70
mov eax, dword [ebp - 0x18c]
jmp 0x4775c8
movzx eax, word [ebp - 0x102]
cmp eax, 0x20
je 0x4772b7
xor ecx, ecx
jne 0x477287
push 0xcc3
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_afxtoolbarimages.cpp
call fcn.004053b0
test eax, eax
je 0x477287
int3
mov dword [ebp - 0x190], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.004b3a70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004b3a70
mov eax, dword [ebp - 0x190]
jmp 0x4775c8
cmp dword [ebp - 0x100], 0
jne 0x477308
xor eax, eax
jne 0x4772d8
push 0xcc9
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_afxtoolbarimages.cpp
call fcn.004053b0
test eax, eax
je 0x4772d8
int3
mov dword [ebp - 0x194], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.004b3a70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004b3a70
mov eax, dword [ebp - 0x194]
jmp 0x4775c8
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x120], 0
jmp 0x47732f
mov eax, dword [ebp - 0x120]
add eax, 1
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x110]
imul ecx, dword [ebp - 0x10c]
cmp dword [ebp - 0x120], ecx
jge 0x4774b9
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x11c]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x124], ecx
lea edx, [ebp - 0x150]
push edx
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x124]
movzx eax, byte [edx + 2]
mov ecx, dword [ebp - 0x124]
movzx edx, byte [ecx + 1]
shl edx, 8
or eax, edx
mov ecx, dword [ebp - 0x124]
movzx edx, byte [ecx]
shl edx, 0x10
or eax, edx
push eax
call fcn.0063b4f0
fild dword [ebp - 0xbc]
fstp qword [ebp - 0x1a4]
fld qword [ebp - 0x1a4]
fmul qword [0x7fc0d0]
sub esp, 8
fstp qword [esp]
fild dword [ebp - 0xbc]
fstp qword [ebp - 0x1ac]
fld qword [ebp - 0x1ac]
fmul qword [0x7fc0d0]
sub esp, 8
fstp qword [esp]
fild dword [ebp - 0xbc]
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1b4]
fmul qword [0x7fc0d0]
sub esp, 8
fstp qword [esp]
sub esp, 8
fldz
fstp qword [esp]
sub esp, 8
fld qword [ebp - 0x150]
fstp qword [esp]
sub esp, 8
fld qword [ebp - 0x130]
fstp qword [esp]
call fcn.00639890
push eax
call fcn.0063af40
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
and eax, 0xff
movzx eax, al
mov ecx, dword [ebp - 0x124]
movzx edx, byte [ecx + 3]
imul eax, edx
cdq
mov ecx, 0xff
idiv ecx
mov edx, dword [ebp - 0x124]
mov byte [edx + 2], al
movzx eax, word [ebp - 0x158]
sar eax, 8
and eax, 0xff
movzx eax, al
mov ecx, dword [ebp - 0x124]
movzx edx, byte [ecx + 3]
imul eax, edx
cdq
mov ecx, 0xff
idiv ecx
mov edx, dword [ebp - 0x124]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x158]
shr eax, 0x10
and eax, 0xff
movzx eax, al
mov ecx, dword [ebp - 0x124]
movzx edx, byte [ecx + 3]
imul eax, edx
cdq
mov ecx, 0xff
idiv ecx
mov edx, dword [ebp - 0x124]
mov byte [edx], al
jmp 0x477320
jmp 0x47755a
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x164]
call fcn.00633bc0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0xa8], 0xffffffff
jne 0x4774ed
call fcn.00415ef0
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x1b8], edx
jmp 0x4774fc
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xa8]
mov dword [ebp - 0x1b8], ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x50]
push eax
push 0
push 0
lea ecx, [ebp - 0x178]
call fcn.0040ea30
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x1b8]
push ecx
mov edx, dword [ebp - 0xbc]
push edx
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x164]
call fcn.00639210
nop
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x164]
call fcn.00633c00
nop
mov ecx, dword [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.00493fc0
mov edx, dword [ebp - 0x58]
push edx
lea ecx, [ebp - 0x28]
call fcn.00493fc0
mov esi, esp
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x8c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.00784930
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xb4]
mov dword [edx + 0x8c], eax
mov dword [ebp - 0x198], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.004b3a70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004b3a70
mov eax, dword [ebp - 0x198]
push edx
mov ecx, ebp
push eax
lea edx, [0x477604]
call fcn.007848d0
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00783b00
add esp, 0x1b8
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret 4