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

Disassembly:
push 0xffffffffffffffff
push 0x3b57491b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], ebx
call fcn.3b53f1e0
mov eax, dword [esp + 0x7c]
xor edi, edi
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], edi
call fcn.3b53ff40
test eax, eax
jne 0x3b523a09
lea ecx, [esp + 0x3c]
mov dword [esp + 0x74], 0xffffffff
call fcn.3b53f270
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 4
lea ecx, [esp + 0x3c]
call fcn.3b540620
push str.TWMTemplateObj
lea ecx, [esp + 0x40]
call fcn.3b540150
test eax, eax
jne 0x3b523a4b
lea ecx, [esp + 0x3c]
mov dword [esp + 0x74], 0xffffffff
call fcn.3b53f270
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 4
lea ecx, [esp + 0x3c]
call fcn.3b540590
lea ecx, [esp + 0x3c]
call fcn.3b540620
push str.Type
lea ecx, [esp + 0x40]
call fcn.3b540150
test eax, eax
jne 0x3b523a96
lea ecx, [esp + 0x3c]
mov dword [esp + 0x74], 0xffffffff
call fcn.3b53f270
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 4
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x40]
call fcn.3b540700
mov eax, dword [eax]
lea edx, [esp + 0x7c]
push edx
push 0x3b58ce88
push eax
mov dword [esp + 0x88], edi
call fcn.3b546589
mov eax, dword [esp + 0x88]
add esp, 0xc
lea ecx, [esp + 0x10]
mov dword [ebx + 4], eax
call fcn.3b52fec0
lea ecx, [esp + 0x3c]
call fcn.3b540620
push str.Transparency
lea ecx, [esp + 0x40]
call fcn.3b540150
test eax, eax
jne 0x3b523b15
lea ecx, [esp + 0x3c]
mov dword [esp + 0x74], 0xffffffff
call fcn.3b53f270
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 4
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x40]
call fcn.3b540700
mov eax, dword [eax]
lea edx, [esp + 0x7c]
push edx
push 0x3b58ce88
push eax
mov dword [esp + 0x88], edi
call fcn.3b546589
mov eax, dword [esp + 0x88]
add esp, 0xc
lea ecx, [esp + 0x10]
mov dword [ebx + 8], eax
call fcn.3b52fec0
lea ecx, [esp + 0x3c]
call fcn.3b540620
push str.CustomAttributes
lea ecx, [esp + 0x40]
call fcn.3b540150
test eax, eax
je 0x3b523bd7
lea ecx, [esp + 0x3c]
call fcn.3b540590
push str.Attribute
lea ecx, [esp + 0x40]
call fcn.3b540150
test eax, eax
je 0x3b523bce
lea esi, [ebx + 0xc]
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x40]
call fcn.3b540700
mov eax, dword [esi + 4]
lea edx, [esp + 0x7c]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x7c], 1
call fcn.3b535e50
lea ecx, [esp + 0x7c]
mov byte [esp + 0x74], 0
call fcn.3b52fec0
push str.Attribute
lea ecx, [esp + 0x40]
call fcn.3b540150
test eax, eax
jne 0x3b523b8b
lea ecx, [esp + 0x3c]
call fcn.3b5405c0
lea ecx, [esp + 0x3c]
call fcn.3b540620
push str.Angle
lea ecx, [esp + 0x40]
call fcn.3b540150
test eax, eax
jne 0x3b523c19
lea ecx, [esp + 0x3c]
mov dword [esp + 0x74], 0xffffffff
call fcn.3b53f270
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 4
lea eax, [esp + 0x10]
lea ecx, [esp + 0x3c]
push eax
call fcn.3b540700
mov eax, dword [eax]
lea ecx, [esp + 0x7c]
push ecx
push 0x3b58ce88
push eax
mov dword [esp + 0x88], edi
call fcn.3b546589
mov edx, dword [esp + 0x88]
add esp, 0xc
lea ecx, [esp + 0x10]
mov dword [ebx + 0x20], edx
call fcn.3b52fec0
lea ecx, [esp + 0x3c]
call fcn.3b540620
push str.MarginLeft
lea ecx, [esp + 0x40]
call fcn.3b540150
test eax, eax
jne 0x3b523c98
lea ecx, [esp + 0x3c]
mov dword [esp + 0x74], 0xffffffff
call fcn.3b53f270
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 4
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x3c]
push eax
call fcn.3b540700
mov eax, dword [eax]
push edi
push eax
call fcn.3b546f6d
fstp dword [ebx + 0x24]
add esp, 8
lea ecx, [esp + 0x7c]
call fcn.3b52fec0
lea ecx, [esp + 0x3c]
call fcn.3b540620
push str.MarginTop
lea ecx, [esp + 0x40]
call fcn.3b540150
test eax, eax
jne 0x3b523d00
lea ecx, [esp + 0x3c]
mov dword [esp + 0x74], 0xffffffff
call fcn.3b53f270
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 4
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x40]
call fcn.3b540700
mov eax, dword [eax]
push edi
push eax
call fcn.3b546f6d
fstp dword [ebx + 0x2c]
add esp, 8
lea ecx, [esp + 0x7c]
call fcn.3b52fec0
lea ecx, [esp + 0x3c]
call fcn.3b540620
push str.MarginRight
lea ecx, [esp + 0x40]
call fcn.3b540150
test eax, eax
jne 0x3b523d68
lea ecx, [esp + 0x3c]
mov dword [esp + 0x74], 0xffffffff
call fcn.3b53f270
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 4
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x3c]
push edx
call fcn.3b540700
mov eax, dword [eax]
push edi
push eax
call fcn.3b546f6d
fstp dword [ebx + 0x28]
add esp, 8
lea ecx, [esp + 0x7c]
call fcn.3b52fec0
lea ecx, [esp + 0x3c]
call fcn.3b540620
push str.MarginBottom
lea ecx, [esp + 0x40]
call fcn.3b540150
test eax, eax
jne 0x3b523dd0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x74], 0xffffffff
call fcn.3b53f270
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 4
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x3c]
push eax
call fcn.3b540700
mov eax, dword [eax]
push edi
push eax
call fcn.3b546f6d
fstp dword [ebx + 0x30]
add esp, 8
lea ecx, [esp + 0x7c]
call fcn.3b52fec0
lea ecx, [esp + 0x3c]
call fcn.3b540620
push str.UniType
lea ecx, [esp + 0x40]
call fcn.3b540150
test eax, eax
jne 0x3b523e38
lea ecx, [esp + 0x3c]
mov dword [esp + 0x74], 0xffffffff
call fcn.3b53f270
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 4
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x40]
call fcn.3b540700
mov eax, dword [eax]
lea edx, [esp + 0x7c]
push edx
push 0x3b58ce88
push eax
mov dword [esp + 0x88], edi
call fcn.3b546589
mov eax, dword [esp + 0x88]
add esp, 0xc
lea ecx, [esp + 0x10]
mov dword [ebx + 0x34], eax
call fcn.3b52fec0
lea ecx, [esp + 0x3c]
call fcn.3b540620
push str.Performance
lea ecx, [esp + 0x40]
call fcn.3b540150
test eax, eax
je 0x3b523eb5
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x40]
call fcn.3b540700
mov eax, dword [eax]
push eax
call fcn.3b5473ce
add esp, 4
lea ecx, [esp + 0x7c]
mov dword [ebx + 0x1c], eax
call fcn.3b52fec0
lea ecx, [esp + 0x3c]
call fcn.3b540620
push str.Block
lea ecx, [esp + 0x40]
mov dword [esp + 0x80], edi
mov dword [esp + 0x10], edi
call fcn.3b540150
test eax, eax
je 0x3b5241eb
push ebp
lea ecx, [esp + 0x40]
call fcn.3b540590
push edi
push edi
lea ecx, [esp + 0x34]
call fcn.3b521f00
lea edx, [esp + 0x40]
lea ecx, [esp + 0x2c]
push edx
mov byte [esp + 0x7c], 2
call fcn.3b522010
test eax, eax
je 0x3b5241bd
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
call dword [eax]
mov ebp, 1
cmp eax, ebp
jne 0x3b523f74
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov edx, dword [ecx]
call dword [edx]
cmp eax, ebp
jne 0x3b523f48
cmp dword [esp + 0x80], edi
jne 0x3b523f45
mov dword [esp + 0x80], ebp
mov dword [esi + 8], ebp
jmp 0x3b523f48
mov dword [esi + 8], edi
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
call dword [eax]
cmp eax, 2
je 0x3b523f62
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
call dword [edx]
cmp eax, 3
jne 0x3b523f74
cmp dword [esp + 0x10], edi
jne 0x3b523f71
mov dword [esp + 0x10], ebp
mov dword [esi + 8], ebp
jmp 0x3b523f74
mov dword [esi + 8], edi
mov eax, dword [ebx + 0x3c]
mov ebp, eax
mov dword [esp + 0x24], ebp
inc ebp
cmp ebp, edi
jne 0x3b523fba
mov esi, dword [ebx + 0x38]
cmp esi, edi
je 0x3b523faf
mov ecx, eax
dec eax
test ecx, ecx
je 0x3b523fa0
lea ebp, [eax + 1]
mov ecx, esi
call fcn.3b521fc0
add esi, 0x14
dec ebp
jne 0x3b523f93
mov eax, dword [ebx + 0x38]
push eax
call fcn.3b54606f
add esp, 4
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x40], edi
mov dword [ebx + 0x3c], edi
jmp 0x3b5241a6
mov ecx, dword [ebx + 0x38]
cmp ecx, edi
jne 0x3b524023
lea edi, [ebp + ebp*4]
shl edi, 2
push edi
call fcn.3b546472
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
mov dword [ebx + 0x38], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x14], esi
rep stosb byte es:[edi], al
lea edi, [ebp]
mov dword [esp + 0x20], esi
test esi, esi
mov byte [esp + 0x78], 3
je 0x3b524009
push 0
push 0
mov ecx, esi
call fcn.3b521f00
add esi, 0x14
dec edi
mov byte [esp + 0x78], 2
mov dword [esp + 0x14], esi
jne 0x3b523ff1
mov dword [ebx + 0x40], ebp
mov dword [ebx + 0x3c], ebp
jmp 0x3b5241a4
mov esi, dword [ebx + 0x40]
cmp ebp, esi
jg 0x3b5240c1
cmp eax, ebp
jge 0x3b524095
mov edx, ebp
sub edx, eax
lea eax, [eax + eax*4]
lea edi, [ecx + eax*4]
lea ecx, [edx + edx*4]
shl ecx, 2
mov esi, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0x14], edi
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, edx
dec edx
test ecx, ecx
je 0x3b5240b7
mov esi, dword [esp + 0x14]
lea edi, [edx + 1]
mov dword [esp + 0x20], esi
test esi, esi
mov byte [esp + 0x78], 4
je 0x3b52407c
push 0
push 0
mov ecx, esi
call fcn.3b521f00
add esi, 0x14
dec edi
mov byte [esp + 0x78], 2
mov dword [esp + 0x14], esi
jne 0x3b524064
xor edi, edi
mov dword [ebx + 0x3c], ebp
jmp 0x3b5241a6
jle 0x3b5240b9
lea edx, [ebp + ebp*4]
sub eax, ebp
lea esi, [ecx + edx*4]
mov ecx, eax
dec eax
test ecx, ecx
je 0x3b5240b9
lea edi, [eax + 1]
mov ecx, esi
call fcn.3b521fc0
add esi, 0x14
dec edi
jne 0x3b5240aa
xor edi, edi
mov dword [ebx + 0x3c], ebp
jmp 0x3b5241a6
mov ecx, dword [ebx + 0x44]
cmp ecx, edi
jne 0x3b5240ec
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x3b5240df
mov ecx, 4
jmp 0x3b5240ec
cmp ecx, 0x400
jle 0x3b5240ec
mov ecx, 0x400
lea eax, [esi + ecx]
cmp ebp, eax
jl 0x3b5240f5
mov eax, ebp
lea edx, [eax + eax*4]
mov dword [esp + 0x14], eax
shl edx, 2
push edx
call fcn.3b546472
mov ecx, dword [ebx + 0x3c]
mov esi, dword [ebx + 0x38]
mov edi, eax
mov dword [esp + 0x24], eax
lea ecx, [ecx + ecx*4]
add esp, 4
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebx, dword [ebx + 0x3c]
sub edx, ebx
lea ecx, [ebx + ebx*4]
lea esi, [eax + ecx*4]
lea ecx, [edx + edx*4]
shl ecx, 2
mov ebx, ecx
xor eax, eax
mov edi, esi
mov dword [esp + 0x18], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
dec edx
test eax, eax
je 0x3b524183
lea edi, [edx + 1]
mov bl, 5
mov dword [esp + 0x28], esi
test esi, esi
mov byte [esp + 0x78], bl
je 0x3b524174
push 0
push 0
mov ecx, esi
call fcn.3b521f00
add esi, 0x14
dec edi
mov byte [esp + 0x78], 2
mov dword [esp + 0x18], esi
jne 0x3b52415d
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x38]
push eax
call fcn.3b54606f
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], ebp
mov dword [ebx + 0x40], edx
xor edi, edi
mov edx, dword [ebx + 0x38]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [eax + eax*4]
lea ecx, [edx + ecx*4]
call fcn.3b5223d0
lea ecx, [esp + 0x40]
call fcn.3b5405c0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 0
call fcn.3b521fc0
push str.Block
lea ecx, [esp + 0x44]
call fcn.3b540150
test eax, eax
jne 0x3b523ee0
pop ebp
lea ecx, [esp + 0x3c]
call fcn.3b5405c0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x74], 0xffffffff
call fcn.3b53f270
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 4