Function at 0x547150
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword [0x628cfc]
sub esp, 0x20
dec eax
je 0x547185
dec eax
je 0x54716b
dec eax
mov dword [esp], 0x628ed8
xor eax, eax
jmp 0x547192
mov dword [esp], 0x628e18
mov dword [esp + 4], 0xbd9e7b
mov dword [esp + 8], 0xffffff
jmp 0x54719a
mov dword [esp], 0x628d58
mov eax, 0xbd9e7b
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.user32.dll_Ordinal_75_1]
mov ebp, dword [sym.imp.gdi32.dll_Ordinal_467]
mov edi, dword [sym.imp.gdi32.dll_Ordinal_463]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
mov eax, ebx
and eax, 0x80000000
mov dword [esp + 0x1c], eax
je 0x547293
push 0xffffffffffffffff
lea edx, [esp + 0x24]
push 0xffffffffffffffff
push edx
call dword [sym.imp.user32.dll_Ordinal_395]
push 0
dec dword [esp + 0x28]
call dword [sym.imp.gdi32.dll_Ordinal_423]
push eax
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.user32.dll_Ordinal_234]
test bl, 1
mov eax, 0xbdcfce
jne 0x547209
mov eax, dword [esp + 0x14]
push eax
push 1
push 0
call dword [sym.imp.gdi32.dll_Ordinal_72]
mov ebx, dword [sym.imp.gdi32.dll_Ordinal_528]
push eax
push esi
call ebx
push 0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
add ecx, 2
mov dword [esp + 0x3c], eax
push ecx
push edx
push esi
call ebp
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
add eax, 0xfffffffe
push eax
push ecx
push esi
call edi
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
add eax, 0xfffffffe
push edx
push eax
push esi
call edi
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
inc edx
push ecx
push edx
push esi
call edi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
add eax, 0xfffffffe
dec ecx
push eax
push ecx
push esi
call edi
mov edx, dword [esp + 0x38]
push edx
push esi
call ebx
push eax
call dword [sym.imp.gdi32.dll_Ordinal_144]
push 0xffffffffffffffff
lea eax, [esp + 0x24]
push 0xffffffffffffffff
push eax
call dword [sym.imp.user32.dll_Ordinal_395]
jmp 0x547299
mov ebx, dword [sym.imp.gdi32.dll_Ordinal_528]
mov ecx, dword [esp + 0x3c]
mov eax, ecx
and eax, 1
mov dword [esp + 0x34], eax
je 0x5472ac
xor eax, eax
jmp 0x5472c5
test cl, 2
je 0x5472b8
mov eax, 1
jmp 0x5472c5
not cl
movsx eax, cl
and eax, 4
or al, 8
shr eax, 2
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x20]
shl eax, 4
add eax, edx
push eax
push ecx
push esi
call fcn.00547040
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5473a4
push 0xffffffffffffffff
lea edx, [esp + 0x24]
push 0xffffffffffffffff
push edx
call dword [sym.imp.user32.dll_Ordinal_395]
push 0
dec dword [esp + 0x28]
call dword [sym.imp.gdi32.dll_Ordinal_423]
push eax
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.user32.dll_Ordinal_234]
mov ecx, dword [esp + 0x34]
neg ecx
sbb ecx, ecx
and ecx, 0xffe71932
add ecx, 0xd6b69c
push ecx
push 1
push 0
call dword [sym.imp.gdi32.dll_Ordinal_72]
push eax
push esi
call ebx
push 0
mov edx, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
add edx, 2
push edx
push eax
push esi
call ebp
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
add ecx, 0xfffffffe
push ecx
push edx
push esi
call edi
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
add ecx, 0xfffffffe
push eax
push ecx
push esi
call edi
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
inc eax
push edx
push eax
push esi
call edi
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
add ecx, 0xfffffffe
dec edx
push ecx
push edx
push esi
call edi
mov eax, dword [esp + 0x38]
push eax
push esi
call ebx
push eax
call dword [sym.imp.gdi32.dll_Ordinal_144]
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.user32.dll_Ordinal_395]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x5473b6
mov dword [esp + 0x38], 0
jmp 0x5473d9
mov eax, dword [esp + 0x3c]
test al, 2
je 0x5473c8
mov dword [esp + 0x38], 1
jmp 0x5473d9
not al
movsx eax, al
and eax, 4
or al, 8
shr eax, 2
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
shl edx, 4
lea ecx, [esp + 0x20]
lea ebx, [edx + eax]
push ebx
push ecx
push esi
call fcn.00547040
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
add edx, 4
shl edx, 4
mov ecx, dword [edx + eax]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
push esi
call dword [sym.imp.gdi32.dll_Ordinal_563]
mov ecx, dword [ebx + 0x44]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
dec eax
push edx
push eax
push esi
call dword [sym.imp.gdi32.dll_Ordinal_563]
mov ecx, dword [ebx + 0x48]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
dec edx
push ecx
push edx
push eax
push esi
call dword [sym.imp.gdi32.dll_Ordinal_563]
mov ecx, dword [ebx + 0x4c]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
dec edx
push ecx
dec eax
push edx
push eax
push esi
call dword [sym.imp.gdi32.dll_Ordinal_563]
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.user32.dll_Ordinal_395]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
add edx, 8
shl edx, 4
add edx, eax
lea eax, [esp + 0x20]
push edx
push eax
push esi
call fcn.00547040
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
sub eax, ecx
mov ebx, dword [esp + 0x3c]
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x24]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov dword [esp + 0x24], ecx
test ebx, 0x2000000
je 0x5475ce
push 0xfff7ef
push 1
push 0
call dword [sym.imp.gdi32.dll_Ordinal_72]
push eax
push esi
call dword [sym.imp.gdi32.dll_Ordinal_528]
mov ebx, 0xfffffffc
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
and eax, 0x20
mov dword [esp + 0x3c], eax
jmp 0x5474ef
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
push 0
test eax, eax
je 0x547519
mov edx, dword [esp + 0x24]
add ecx, 0xfffffffd
push ecx
lea eax, [ebx + edx]
push eax
push esi
call ebp
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add ecx, 3
push ecx
lea eax, [ebx + edx]
jmp 0x547537
mov eax, dword [esp + 0x24]
lea edx, [ebx + ecx]
add eax, 0xfffffffd
push edx
push eax
push esi
call ebp
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add eax, 3
lea edx, [ebx + ecx]
push edx
push eax
push esi
call edi
add ebx, 2
cmp ebx, 2
jle 0x5474eb
mov ecx, dword [esp + 0x38]
mov ebx, dword [sym.imp.gdi32.dll_Ordinal_528]
push ecx
push esi
call ebx
push eax
call dword [sym.imp.gdi32.dll_Ordinal_144]
push 0xffffffffffffffff
push 1
push 0
call dword [sym.imp.gdi32.dll_Ordinal_72]
push eax
push esi
call ebx
mov ebx, 0xfffffffd
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
test eax, eax
push 0
je 0x54759f
mov eax, dword [esp + 0x24]
add edx, 0xfffffffe
push edx
lea ecx, [ebx + eax]
push ecx
push esi
call ebp
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add edx, 4
push edx
lea ecx, [ebx + eax]
jmp 0x5475bd
mov ecx, dword [esp + 0x24]
lea eax, [ebx + edx]
add ecx, 0xfffffffe
push eax
push ecx
push esi
call ebp
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add ecx, 4
lea eax, [ebx + edx]
push eax
push ecx
push esi
call edi
add ebx, 2
cmp ebx, 3
jle 0x547571
jmp 0x547ba6
mov eax, dword [esp + 0x34]
test eax, eax
mov eax, 0xc6cbce
jne 0x5475df
mov eax, dword [esp + 0x18]
push eax
push 1
push 0
call dword [sym.imp.gdi32.dll_Ordinal_72]
push eax
push esi
call dword [sym.imp.gdi32.dll_Ordinal_528]
test ebx, 0x1000000
mov dword [esp + 0x38], eax
je 0x5478c3
test ebx, 0x8000000
je 0x5476b2
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add edx, 0xfffffffc
push 0
inc eax
push edx
push eax
push esi
call ebp
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add edx, 0xfffffffd
push ecx
push edx
push esi
call edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add eax, 5
add ecx, 2
push eax
push ecx
push esi
call edi
push 0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add edx, 0xfffffffd
inc eax
push edx
push eax
push esi
call ebp
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add edx, 0xfffffffe
push ecx
push edx
push esi
call edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add eax, 4
add ecx, 2
push eax
push ecx
push esi
call edi
push 0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add edx, 0xfffffffd
add eax, 2
push edx
push eax
push esi
call ebp
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
dec edx
push ecx
push edx
push esi
call edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add eax, 4
add ecx, 3
push eax
push ecx
jmp 0x547ba3
test ebx, 0x10000000
je 0x547762
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
inc edx
push 0
add eax, 0xfffffffc
push edx
push eax
push esi
call ebp
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add ecx, 0xfffffffd
push ecx
push edx
push esi
call edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add eax, 2
add ecx, 5
push eax
push ecx
push esi
call edi
push 0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
inc edx
add eax, 0xfffffffd
push edx
push eax
push esi
call ebp
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add ecx, 0xfffffffe
push ecx
push edx
push esi
call edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add eax, 2
add ecx, 4
push eax
push ecx
push esi
call edi
push 0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add edx, 2
add eax, 0xfffffffd
push edx
push eax
push esi
call ebp
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
dec ecx
push ecx
push edx
push esi
call edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add eax, 3
add ecx, 4
push eax
push ecx
jmp 0x547ba3
test ebx, 0x20000000
je 0x547812
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add edx, 0xfffffffc
push 0
dec eax
push edx
push eax
push esi
call ebp
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add edx, 3
push ecx
push edx
push esi
call edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add eax, 5
add ecx, 0xfffffffe
push eax
push ecx
push esi
call edi
push 0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add edx, 0xfffffffd
dec eax
push edx
push eax
push esi
call ebp
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add edx, 2
push ecx
push edx
push esi
call edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add eax, 4
add ecx, 0xfffffffe
push eax
push ecx
push esi
call edi
push 0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add edx, 0xfffffffd
add eax, 0xfffffffe
push edx
push eax
push esi
call ebp
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
inc edx
push ecx
push edx
push esi
call edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add eax, 4
add ecx, 0xfffffffd
push eax
push ecx
jmp 0x547ba3
test ebx, 0x40000000
je 0x547ba6
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add edx, 0xfffffffe
push 0
add eax, 0xfffffffc
push edx
push eax
push esi
call ebp
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add ecx, 2
push ecx
push edx
push esi
call edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add eax, 0xfffffffd
add ecx, 5
push eax
push ecx
push esi
call edi
push 0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add edx, 0xfffffffe
add eax, 0xfffffffd
push edx
push eax
push esi
call ebp
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
inc ecx
push ecx
push edx
push esi
call edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add eax, 0xfffffffd
add ecx, 4
push eax
push ecx
push esi
call edi
push 0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add edx, 0xfffffffd
add eax, 0xfffffffd
push edx
push eax
push esi
call ebp
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
push esi
call edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add eax, 0xfffffffc
add ecx, 4
push eax
push ecx
jmp 0x547ba3
test ebx, 0x4000000
je 0x547ba6
test ebx, 0x8000000
je 0x547980
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push 0
add eax, 0xfffffffe
push edx
push eax
push esi
call ebp
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
inc ecx
add edx, 0xfffffffe
push ecx
push edx
push esi
call edi
push 0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
dec eax
dec ecx
push eax
push ecx
push esi
call ebp
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add edx, 2
dec eax
push edx
push eax
push esi
call edi
push 0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
add ecx, 0xfffffffe
push ecx
push edx
push esi
call ebp
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add eax, 3
push eax
push ecx
push esi
call edi
push 0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add edx, 0xfffffffd
inc eax
push edx
push eax
push esi
call ebp
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
inc edx
push ecx
push edx
push esi
call edi
push 0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
inc eax
inc ecx
push eax
push ecx
push esi
call ebp
mov edx, dword [esp + 0x24]
add edx, 4
jmp 0x547b9c
test ebx, 0x10000000
je 0x547a38
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
inc ecx
push 0
add edx, 0xfffffffd
push ecx
push edx
push esi
call ebp
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
inc eax
push eax
push ecx
push esi
call edi
push 0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
inc edx
inc eax
push edx
push eax
push esi
call ebp
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
inc ecx
add edx, 4
push ecx
push edx
push esi
call edi
push 0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add ecx, 0xfffffffe
push eax
push ecx
push esi
call ebp
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add eax, 3
push edx
push eax
push esi
call edi
push 0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
dec ecx
dec edx
push ecx
push edx
push esi
call ebp
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
dec eax
add ecx, 2
push eax
push ecx
push esi
call edi
push 0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add edx, 0xfffffffe
push edx
push eax
push esi
call ebp
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add ecx, 0xfffffffe
inc edx
push ecx
push edx
jmp 0x547ba3
test ebx, 0x20000000
je 0x547af0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push 0
add ecx, 2
push eax
push ecx
push esi
call ebp
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
inc edx
add eax, 2
push edx
push eax
push esi
call edi
push 0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
dec ecx
inc edx
push ecx
push edx
push esi
call ebp
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add eax, 2
inc ecx
push eax
push ecx
push esi
call edi
push 0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add edx, 0xfffffffe
push edx
push eax
push esi
call ebp
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add ecx, 3
push ecx
push edx
push esi
call edi
push 0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add eax, 0xfffffffd
dec ecx
push eax
push ecx
push esi
call ebp
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
dec eax
push edx
push eax
push esi
call edi
push 0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
inc ecx
dec edx
push ecx
push edx
push esi
call ebp
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add eax, 4
dec ecx
push eax
push ecx
jmp 0x547ba3
test ebx, 0x40000000
je 0x547ba6
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
dec edx
push 0
add eax, 0xfffffffd
push edx
push eax
push esi
call ebp
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
dec ecx
push ecx
push edx
push esi
call edi
push 0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
dec eax
inc ecx
push eax
push ecx
push esi
call ebp
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
dec edx
add eax, 4
push edx
push eax
push esi
call edi
push 0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add edx, 0xfffffffe
push ecx
push edx
push esi
call ebp
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add ecx, 3
push eax
push ecx
push esi
call edi
push 0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
inc edx
dec eax
push edx
push eax
push esi
call ebp
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
inc ecx
add edx, 2
push ecx
push edx
push esi
call edi
push 0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add eax, 2
push eax
push ecx
push esi
call ebp
mov edx, dword [esp + 0x24]
add edx, 2
mov eax, dword [esp + 0x20]
push edx
inc eax
push eax
push esi
call edi
mov ecx, dword [esp + 0x38]
push ecx
push esi
call dword [sym.imp.gdi32.dll_Ordinal_528]
push eax
call dword [sym.imp.gdi32.dll_Ordinal_144]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc