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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x28]
lea edx, [ebp - 0xc]
push edx
push 0x63ec60
xor esi, esi
push str.container
mov dword [ebp - 0xc], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xb4]
test eax, eax
js 0x549fb8
mov ebx, dword [edi + 0x3c]
jmp 0x549f87
cmp ebx, esi
je 0x549f84
cmp dword [ebx + 0xc], esi
je 0x549f84
cmp dword [ebx + 0x14], esi
jne 0x549f84
lea eax, [ebp - 8]
push eax
push str.ButtonEx
mov dword [ebp - 8], esi
call fcn.004f23da
cmp eax, esi
jl 0x549f77
push ecx
mov eax, esp
push str.ButtonEx_Text_Templete2
mov dword [ebp - 0x14], esi
call fcn.004250cb
lea eax, [ebp - 0x14]
push eax
mov eax, edi
call fcn.00549bf0
test eax, eax
js 0x549d4b
mov edi, dword [ebp - 8]
push 0xd
pop eax
mov word [ebp - 0x3c], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
cmp eax, esi
je 0x549d32
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [edi]
lea ecx, [ebp - 0x3c]
push ecx
push 0x3e8
push edi
call dword [eax + 0x2c]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor eax, eax
mov dword [ebp - 0x64], esi
lea edi, [ebp - 0x60]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x64]
push eax
push 0x18
push dword [ebx + 0xc]
call dword [sym.imp.GDI32.dll_GetObjectW]
cmp dword [ebp - 0x60], esi
jge 0x549d75
cmp dword [ebp - 0x5c], esi
jl 0x549f92
lea eax, [ebp - 0x10]
push eax
push 0x39
mov dword [ebp - 0x10], esi
call fcn.004df2cc
push dword [ebx + 0xc]
lea eax, [ebp - 0x10]
call fcn.004df648
push dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push str.Background1
push eax
call dword [ecx + pe_nt_image_headers32]
push dword [ebx + 0xc]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push eax
push str.Content
push ecx
call dword [edx + 0x94]
push dword [ebx + 0xc]
call esi
push dword [ebp - 0x60]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 0x391
push eax
call dword [ecx + 0x78]
push dword [ebp - 0x5c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 0x392
push eax
call dword [ecx + 0x78]
push 2
pop eax
mov word [ebp - 0x2c], ax
mov word [ebp - 0x2a], ax
xor eax, eax
mov word [ebp - 0x28], ax
mov word [ebp - 0x26], ax
push dword [ebp - 0x28]
mov eax, dword [ebp - 8]
push dword [ebp - 0x2c]
mov ecx, dword [eax]
push 0x397
push eax
call dword [ecx + 0x74]
mov eax, dword [ebx + 4]
xor ecx, ecx
push eax
lea esi, [ebp - 0x4c]
mov word [ebp - 0x4c], cx
call fcn.00433dfd
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, esi
push edx
push 0x385
push eax
call dword [ecx + 0x2c]
mov eax, esi
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push str.res_image
push 0x384
push eax
call dword [ecx + 0x94]
mov eax, dword [ebp - 0xc]
xor edi, edi
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], edi
mov ecx, dword [eax]
push edx
mov esi, 0x638524
push esi
push eax
call dword [ecx]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x549e84
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x18], edi
mov ecx, dword [eax]
push eax
call dword [ecx]
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x549eb6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edx, [ebp - 0x18]
push edx
mov dword [ebx + 0x14], 1
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x18], edi
mov ecx, dword [eax]
push eax
call dword [ecx]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x1c], edi
mov ecx, dword [eax]
push eax
call dword [ecx]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
and eax, 0x80000001
jns 0x549efe
dec eax
or eax, 0xfffffffe
inc eax
xor ecx, ecx
test eax, eax
mov eax, dword [ebp - 0x24]
setg cl
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + ecx]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x549f1d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x549f2a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
add edx, 2
imul edx, esi
push edx
push 0x392
push eax
call dword [ecx + 0x78]
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
lea edx, [edx + edx + 4]
push edx
push 0x391
push eax
call dword [ecx + 0x78]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x549f65
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x549f72
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [ebp + 8]
xor esi, esi
mov eax, dword [ebp - 8]
cmp eax, esi
je 0x549f84
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
add ebx, 0x18
cmp ebx, dword [edi + 0x40]
jne 0x549cc6
jmp 0x549fb8
push dword [ebx + 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0xc], esi
cmp eax, esi
je 0x549fab
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
cmp eax, esi
je 0x549fb8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
cmp eax, esi
je 0x549fc5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
pop ebx
leave
ret 4