Function at 0x57ed20
Capabilities:
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x57ed28
push ecx
push ebx
push esi
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x57f2c4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
add eax, 0xa094
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.004c09bc
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf0]
mov ecx, 0x57f2e0
mov edx, 0x57f308
mov ebx, dword [eax]
call dword [ebx]
xor edx, edx
xor eax, eax
call sym.StartupControl.exe__Sgraphutils_CreateBmp32_qqrxixi
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xa094], eax
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xa05c], 0
je 0x57ef43
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xec]
mov ebx, dword [eax + 0xc]
dec ebx
test ebx, ebx
jl 0x57f076
inc ebx
mov dword [ebp - 0x10], 0
mov esi, dword [ebp - 0x10]
lea esi, [esi + esi*2]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xec]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi*4]
lea edx, [ebp - 0x18]
call fcn.004a9ff0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.004c31ac
jne 0x57ef34
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xec]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi*4 + 8]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004a9ff0
mov edx, dword [ebp - 0x1c]
mov eax, 0x57f32c
call fcn.004c34cc
test eax, eax
jle 0x57eeeb
mov dl, 1
mov eax, dword [sym.StartupControl.exe__Acpng_TPNGGraphic_]
call sym.StartupControl.exe__Acpng_TPNGGraphic__bctr_qqrv
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x57eee4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xec]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + esi*4 + 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xa094]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0xa094]
mov byte [ebx + 0x30], 1
mov eax, ebx
call fcn.00502e58
cmp al, 7
jne 0x57ee98
push 0x1fffffff
mov edx, 0x57ed14
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xa094]
mov ecx, 0xffff00ff
call sym.StartupControl.exe__Sgraphutils_ChangeBitmapPixels_qqrp16Graphics_TBitmappqqrr15Sconst_TsColor_xi_vi15Graphics_TColor
jmp 0x57eece
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xa094]
mov dl, 7
call fcn.00503f4c
push 0xff00ff
push 0
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0xa094]
mov eax, ebx
call sym.StartupControl.exe__Acntutils_MkRect_qqrp16Graphics_TBitmap
lea edx, [ebp - 0x2c]
mov eax, ebx
mov cl, 0xff
call sym.StartupControl.exe__Salphagraph_FillAlphaRect_qqrpx16Graphics_TBitmaprx11Types_TRectuc15Graphics_TColor36System__DynamicArray_
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57ef09
mov eax, dword [ebp - 0x14]
call fcn.004c09bc
ret
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xec]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + esi*4 + 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xa094]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xa094]
call fcn.00502d6c
call fcn.004fdd24
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xa094]
call fcn.00502d6c
call fcn.004fd650
jmp 0x57f076
inc dword [ebp - 0x10]
dec ebx
jne 0x57edb4
jmp 0x57f076
mov edx, dword [ebp - 4]
mov eax, 0x57f344
call fcn.004c34cc
test eax, eax
jg 0x57ef68
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xa19c]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
call fcn.004c2edc
cmp dword [ebp - 8], 0
je 0x57f076
mov eax, dword [ebp - 8]
call fcn.004ab478
test al, al
je 0x57f076
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.004a9ff0
mov edx, dword [ebp - 0x30]
mov eax, 0x57f32c
call fcn.004c34cc
test eax, eax
jle 0x57f065
mov dl, 1
mov eax, dword [sym.StartupControl.exe__Acpng_TPNGGraphic_]
call sym.StartupControl.exe__Acpng_TPNGGraphic__bctr_qqrv
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x57f05e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xa094]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0xa094]
mov byte [ebx + 0x30], 1
mov eax, ebx
call fcn.00502e58
cmp al, 7
jne 0x57f012
push 0x1fffffff
mov edx, 0x57ed14
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xa094]
mov ecx, 0xffff00ff
call sym.StartupControl.exe__Sgraphutils_ChangeBitmapPixels_qqrp16Graphics_TBitmappqqrr15Sconst_TsColor_xi_vi15Graphics_TColor
jmp 0x57f048
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xa094]
mov dl, 7
call fcn.00503f4c
push 0xff00ff
push 0
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0xa094]
mov eax, ebx
call sym.StartupControl.exe__Acntutils_MkRect_qqrp16Graphics_TBitmap
lea edx, [ebp - 0x2c]
mov eax, ebx
mov cl, 0xff
call sym.StartupControl.exe__Salphagraph_FillAlphaRect_qqrpx16Graphics_TBitmaprx11Types_TRectuc15Graphics_TColor36System__DynamicArray_
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57f076
mov eax, dword [ebp - 0x14]
call fcn.004c09bc
ret
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xa094]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xa094]
call fcn.00502e58
cmp al, 7
je 0x57f0be
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xa094]
mov dl, 7
call fcn.00503f4c
push 0xff00ff
push 0
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0xa094]
mov eax, ebx
call sym.StartupControl.exe__Acntutils_MkRect_qqrp16Graphics_TBitmap
lea edx, [ebp - 0x2c]
mov eax, ebx
mov cl, 0xff
call sym.StartupControl.exe__Salphagraph_FillAlphaRect_qqrpx16Graphics_TBitmaprx11Types_TRectuc15Graphics_TColor36System__DynamicArray_
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xa094]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xa094]
mov edx, 0xff00ff
call fcn.005040b4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xa094]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [ebp - 0xc]
lea ebx, [eax + 0xa188]
push 0
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf0]
push eax
mov edx, 0x57f308
mov ecx, 0x57f354
pop eax
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 0x10]
call fcn.004c29f8
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf0]
push eax
mov edx, 0x57f308
mov ecx, 0x57f370
pop eax
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x38]
lea eax, [ebx + 0x1c]
call fcn.004c29f8
push 0
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf0]
push eax
mov edx, 0x57f308
mov ecx, 0x57f394
pop eax
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x3c]
lea eax, [ebx + 0x18]
call fcn.004c29f8
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf0]
push eax
mov edx, 0x57f308
mov ecx, 0x57f3b4
pop eax
mov esi, dword [eax]
call dword [esi + 8]
test eax, eax
setne al
mov byte [ebx + 1], al
push 0xffffffffffffffce
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf0]
push eax
mov edx, 0x57f308
mov ecx, 0x57f3d4
pop eax
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x3c], eax
push 0x32
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf0]
push eax
mov edx, 0x57f308
mov ecx, 0x57f3f4
pop eax
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x40], eax
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf0]
push eax
mov edx, 0x57f308
mov ecx, 0x57f414
pop eax
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x34], eax
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf0]
push eax
mov edx, 0x57f308
mov ecx, 0x57f434
pop eax
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x38], eax
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf0]
push eax
mov edx, 0x57f308
mov ecx, 0x57f454
pop eax
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x24], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf0]
push eax
mov edx, 0x57f308
mov ecx, 0x57f47c
pop eax
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x28], eax
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf0]
push eax
mov edx, 0x57f308
mov ecx, 0x57f49c
pop eax
mov esi, dword [eax]
call dword [esi + 8]
mov byte [ebx + 0x30], al
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf0]
call fcn.0057966c
fstp qword [ebx + 8]
wait
mov eax, dword [ebp - 0xc]
call sym.StartupControl.exe__Sskinmanager_TsSkinManager_CheckVersion_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57f2cb
lea eax, [ebp - 0x3c]
mov edx, 4
call fcn.004c29f0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004c29f0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004c29f0
ret