Function at 0x53c190
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57c938
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e68f0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
push eax
xor ebx, ebx
push ebx
lea ecx, [esp + 0x24]
call fcn.005556a0
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
sub ecx, dword [eax + 4]
sub edx, dword [eax]
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x14], edx
mov dword [ebp + 0x20], ebx
mov dword [esp + 0x4c], 1
cmp eax, 1
je 0x53c337
cmp eax, 3
je 0x53c337
cmp edx, ebx
jle 0x53c462
xor esi, esi
cmp dword [ebp + 0x14], esi
jle 0x53c245
mov ecx, dword [esp + 0x20]
push esi
push ebx
push ecx
call dword [sym.imp.GDI32.dll_GetPixel]
cmp eax, dword [esp + 0x50]
jne 0x53c230
inc esi
cmp esi, dword [ebp + 0x14]
jl 0x53c217
test esi, esi
jle 0x53c245
push esi
lea edx, [ebx + 1]
push edx
push 0
push ebx
push ebp
call fcn.0053c0b0
add esp, 0x14
mov edi, dword [esp + 0x40]
lea esi, [edi - 1]
sub edi, dword [ebp + 0x1c]
cmp esi, edi
jl 0x53c2c2
cmp esi, edi
mov dword [esp + 0x48], esi
jl 0x53c2c2
jmp 0x53c260
mov eax, dword [esp + 0x20]
push esi
push ebx
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
cmp eax, dword [esp + 0x50]
jne 0x53c278
dec esi
cmp esi, edi
jge 0x53c260
mov eax, dword [esp + 0x48]
cmp esi, eax
je 0x53c29b
sub eax, edi
inc eax
push eax
mov edx, esi
lea ecx, [ebx + 1]
push ecx
sub edx, edi
inc edx
push edx
lea eax, [ebp + 8]
push ebx
push eax
call fcn.0053c0b0
add esp, 0x14
cmp esi, edi
jl 0x53c2b8
nop
mov ecx, dword [esp + 0x20]
push esi
push ebx
push ecx
call dword [sym.imp.GDI32.dll_GetPixel]
cmp eax, dword [esp + 0x50]
je 0x53c2b8
dec esi
cmp esi, edi
jge 0x53c2a0
cmp esi, dword [esp + 0x48]
je 0x53c2c2
cmp esi, edi
jge 0x53c253
cmp dword [esp + 0x4c], 0
je 0x53c327
cmp dword [esp + 0x44], 0
mov esi, dword [ebp + 0x14]
jne 0x53c2d7
mov edi, ebx
jmp 0x53c2de
mov edi, dword [esp + 0x14]
sub edi, ebx
dec edi
mov edx, dword [esp + 0x40]
sub edx, dword [ebp + 0x1c]
cmp esi, edx
jge 0x53c30f
lea esp, [esp]
mov eax, dword [esp + 0x20]
push esi
push edi
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
cmp eax, dword [esp + 0x50]
jne 0x53c30f
mov ecx, dword [esp + 0x40]
sub ecx, dword [ebp + 0x1c]
inc esi
cmp esi, ecx
jl 0x53c2f0
mov edx, dword [esp + 0x40]
sub edx, dword [ebp + 0x1c]
cmp esi, edx
jne 0x53c31f
inc dword [ebp + 0x20]
jmp 0x53c327
mov dword [esp + 0x4c], 0
inc ebx
cmp ebx, dword [esp + 0x14]
jl 0x53c210
jmp 0x53c462
cmp ecx, ebx
jle 0x53c462
xor esi, esi
cmp dword [ebp + 0x10], esi
jle 0x53c374
mov eax, dword [esp + 0x20]
push ebx
push esi
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
cmp eax, dword [esp + 0x50]
jne 0x53c35f
inc esi
cmp esi, dword [ebp + 0x10]
jl 0x53c346
test esi, esi
jle 0x53c374
lea ecx, [ebx + 1]
push ecx
push esi
push ebx
push 0
push ebp
call fcn.0053c0b0
add esp, 0x14
mov edi, dword [esp + 0x14]
lea esi, [edi - 1]
sub edi, dword [ebp + 0x18]
cmp esi, edi
jl 0x53c3f4
cmp esi, edi
mov ebp, esi
jl 0x53c3f0
mov edx, dword [esp + 0x20]
push ebx
push esi
push edx
call dword [sym.imp.GDI32.dll_GetPixel]
cmp eax, dword [esp + 0x50]
jne 0x53c3a0
dec esi
cmp esi, edi
jge 0x53c388
cmp esi, ebp
je 0x53c3c5
mov ecx, ebp
lea eax, [ebx + 1]
push eax
mov eax, dword [esp + 0x4c]
sub ecx, edi
inc ecx
push ecx
mov edx, esi
sub edx, edi
push ebx
inc edx
push edx
add eax, 8
push eax
call fcn.0053c0b0
add esp, 0x14
cmp esi, edi
jl 0x53c3e8
lea esp, [esp]
mov ecx, dword [esp + 0x20]
push ebx
push esi
push ecx
call dword [sym.imp.GDI32.dll_GetPixel]
cmp eax, dword [esp + 0x50]
je 0x53c3e8
dec esi
cmp esi, edi
jge 0x53c3d0
cmp esi, ebp
je 0x53c3f0
cmp esi, edi
jge 0x53c382
mov ebp, dword [esp + 0x48]
cmp dword [esp + 0x4c], 0
je 0x53c457
cmp dword [esp + 0x44], 1
mov esi, dword [ebp + 0x10]
jne 0x53c409
mov edi, ebx
jmp 0x53c410
mov edi, dword [esp + 0x40]
sub edi, ebx
dec edi
mov edx, dword [esp + 0x14]
sub edx, dword [ebp + 0x18]
cmp esi, edx
jge 0x53c43f
jmp 0x53c420
mov eax, dword [esp + 0x20]
push edi
push esi
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
cmp eax, dword [esp + 0x50]
jne 0x53c43f
mov ecx, dword [esp + 0x14]
sub ecx, dword [ebp + 0x18]
inc esi
cmp esi, ecx
jl 0x53c420
mov edx, dword [esp + 0x14]
sub edx, dword [ebp + 0x18]
cmp esi, edx
jne 0x53c44f
inc dword [ebp + 0x20]
jmp 0x53c457
mov dword [esp + 0x4c], 0
inc ebx
cmp ebx, dword [esp + 0x40]
jl 0x53c33f
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.005557b0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x14