Function at 0x481770
Capabilities:
Capture screenshot
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x98
push ebx
mov ebx, dword [esp + 0xa0]
mov eax, dword [ebx + 4]
push ebp
xor ebp, ebp
cmp eax, ebp
push esi
mov esi, 1
mov dword [esp + 0x6c], esi
mov byte [esp + 0x3b], 0
mov byte [esp + 0x23], 0
mov byte [esp + 0x1b], 0
mov byte [esp + 0x39], 0
mov byte [esp + 0x3a], 0
mov byte [esp + 0xf], 1
mov dword [esp + 0x5c], 0xd
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
je 0x4818a7
cmp byte [eax], 0x2d
jne 0x4818a7
push 0x69
push eax
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x4817ec
mov dword [esp + 0x5c], 0xa
mov eax, dword [ebx + 4]
push 0x68
push eax
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x481803
mov byte [esp + 0x3b], 1
mov ecx, dword [ebx + 4]
push 0x6e
push ecx
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x48181a
mov byte [esp + 0xf], 0
mov edx, dword [ebx + 4]
push 0x72
push edx
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x481831
mov byte [esp + 0x23], 1
mov eax, dword [ebx + 4]
push 0x66
push eax
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x481848
mov byte [esp + 0x1b], 1
mov ecx, dword [ebx + 4]
push 0x65
push ecx
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x48185f
mov byte [esp + 0x39], 1
mov edx, dword [ebx + 4]
push 0x63
push edx
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x481876
mov byte [esp + 0x3a], 1
mov eax, dword [ebx + 4]
push 0x73
push eax
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x48188c
mov dword [esp + 0x2c], esi
mov ecx, dword [ebx + 4]
push 0x64
push ecx
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x4818a2
mov dword [esp + 0x60], esi
mov esi, 2
mov eax, dword [ebx + esi*4]
cmp eax, ebp
jne 0x4818c6
mov edx, dword [ebx]
push ebp
push ebp
push edx
push ebp
call fcn.0048a440
add esp, 0x10
pop esi
pop ebp
pop ebx
add esp, 0x98
ret
push edi
push ebp
push eax
call fcn.00503170
mov edi, eax
add esp, 8
cmp edi, ebp
mov dword [esp + 0x34], edi
je 0x482742
cmp dword [edi + 0x87c], ebp
je 0x482742
cmp dword [edi + 0x754], ebp
je 0x482742
cmp dword [edi + 0x95c], ebp
je 0x482742
cmp dword [edi + 0x71c], 9
jne 0x482742
mov al, byte [esp + 0x3f]
test al, al
je 0x481923
mov eax, dword [edi]
push eax
call fcn.0058b370
add esp, 4
mov eax, dword [ebx + esi*4 + 4]
inc esi
cmp eax, ebp
jne 0x481951
mov al, byte [esp + 0x13]
test al, al
je 0x4819ea
push edi
call fcn.00481320
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x98
ret
mov cl, byte [esp + 0x27]
test cl, cl
push eax
je 0x481968
call fcn.005cbdc9
add esp, 4
mov dword [esp + 0x2c], eax
jmp 0x481985
call fcn.005cbe51
push eax
call fcn.0043bf80
mov edx, dword [eax*4 + 0x612870]
add esp, 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], edx
mov eax, dword [ebx + esi*4 + 4]
inc esi
cmp eax, ebp
mov dword [esp + 0x20], esi
je 0x481a9c
mov ecx, dword [esp + 0xb4]
dec ecx
cmp ecx, 4
mov dword [esp + 0x38], ecx
ja case.default.0x4819ab
jmp dword [ecx*4 + 0x48275c]
push eax
call fcn.005cbe51
mov ecx, 1
add esp, 4
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x4819cf
cmp eax, 0x1000
jle 0x4819d3
mov dword [esp + 0x18], ecx
mov eax, dword [ebx + esi*4 + 4]
inc esi
cmp eax, ebp
mov dword [esp + 0x20], esi
je 0x4819ea
cmp dword [ebx + esi*4 + 4], ebp
jne case.default.0x4819ab
mov ecx, dword [ebx]
push ebp
push ebp
push ecx
push ebp
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret
push eax
call fcn.005cbe51
mov ecx, 1
add esp, 4
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x481a20
cmp eax, 0x1000
jle 0x481a24
mov dword [esp + 0x18], ecx
mov eax, dword [ebx + esi*4 + 4]
inc esi
cmp eax, ebp
mov dword [esp + 0x20], esi
je 0x481ae9
cmp dword [ebx + esi*4 + 4], ebp
jne case.default.0x4819ab
mov edx, dword [ebx]
push ebp
push ebp
push edx
push ebp
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret
push eax
call fcn.005cbe51
mov ecx, 1
add esp, 4
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x481a75
cmp eax, 0x1000
jle 0x481a79
mov dword [esp + 0x18], ecx
mov eax, dword [ebx + esi*4 + 4]
inc esi
cmp eax, ebp
mov dword [esp + 0x20], esi
je 0x481a9c
cmp dword [ebx + esi*4 + 4], ebp
je 0x481a9c
cmp dword [ebx + esi*4 + 8], ebp
je 0x481a9c
cmp dword [ebx + esi*4 + 0xc], ebp
jne case.default.0x4819ab
push ebp
jmp 0x482744
mov cl, byte [esp + 0x27]
test cl, cl
push eax
je 0x481ab9
call fcn.005cbdc9
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x481ad6
call fcn.005cbe51
push eax
call fcn.0043bf80
mov ecx, dword [eax*4 + 0x612870]
add esp, 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + esi*4 + 4]
inc esi
cmp eax, ebp
mov dword [esp + 0x20], esi
je 0x481ae9
cmp dword [ebx + esi*4 + 4], ebp
jne case.default.0x4819ab
mov edx, dword [ebx]
push ebp
push ebp
push edx
push ebp
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret
mov cl, byte [esp + 0x27]
test cl, cl
push eax
je 0x481b15
call fcn.005cbdc9
add esp, 4
jmp 0x481b2e
call fcn.005cbe51
push eax
call fcn.0043bf80
mov dword [esp + 0x20], eax
mov eax, dword [eax*4 + 0x612870]
add esp, 8
inc esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], esi
mov ecx, dword [edi + 0x87c]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x28], edi
je 0x481b6d
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, eax
test ebp, ebp
jne 0x481b7a
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x87c]
push edi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x98
ret
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x95c]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [sym.imp.GDI32.dll_SetROP2]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x60]
push eax
push ebp
call edi
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x28]
push ecx
push edx
call edi
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x38]
xor edi, edi
cmp eax, 4
mov dword [esp + 0x50], edi
mov dword [esp + 0x68], edi
ja case.default.0x481bc1
jmp dword [eax*4 + 0x482770]
mov edi, dword [esp + 0x2c]
push edi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push edi
push 1
mov dword [esp + 0x58], eax
push 5
jmp 0x481c1f
mov edi, dword [esp + 0x2c]
push edi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [esp + 0x18]
push edi
mov dword [esp + 0x54], eax
push ecx
jmp 0x481c1d
mov al, byte [esp + 0x1f]
test al, al
je 0x481c0a
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
jmp 0x481c12
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x2c]
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov edi, eax
mov dword [esp + 0x68], edi
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x28]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x50]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x28]
push edi
push ecx
mov dword [esp + 0x64], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebp
mov dword [esp + 0x80], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x38]
cmp eax, 4
ja case.default.0x481c7d
mov edx, eax
jmp dword [edx*4 + 0x482784]
lea edi, [ebx + esi*4]
mov dword [esp + 0x30], edi
jmp 0x481c90
mov eax, dword [edi]
push eax
call fcn.005cbe51
mov ecx, dword [edi + 4]
push ecx
mov esi, eax
call fcn.005cbe51
mov edi, eax
mov eax, dword [esp + 0x20]
add esp, 8
cmp eax, 1
jne 0x481d01
mov edx, dword [esp + 0x2c]
mov ebx, dword [sym.imp.GDI32.dll_SetPixelV]
push edx
push edi
push esi
push ebp
call ebx
mov al, byte [esp + 0x13]
test al, al
je 0x481cd7
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push edi
push esi
push ecx
call ebx
mov eax, dword [esp + 0x34]
cmp esi, dword [eax + 0x968]
jle 0x481ce9
mov dword [eax + 0x968], esi
cmp edi, dword [eax + 0x96c]
jle 0x481d79
mov edx, dword [esp + 0x34]
mov dword [edx + 0x96c], edi
jmp 0x481d79
mov eax, dword [esp + 0x18]
or edx, 0xffffffff
sub edx, eax
lea ebx, [eax + esi - 1]
add esi, edx
lea ecx, [eax + edi - 1]
push ecx
or edx, 0xffffffff
sub edx, eax
push ebx
add edi, edx
push edi
push esi
push ebp
mov dword [esp + 0x60], ecx
call dword [sym.imp.GDI32.dll_Ellipse]
mov al, byte [esp + 0x13]
test al, al
je 0x481d55
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x28]
push 0xcc0020
push edi
push esi
push ebp
sub eax, edi
inc eax
push eax
mov ecx, ebx
sub ecx, esi
inc ecx
push ecx
push edi
push esi
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x34]
cmp ebx, dword [eax + 0x968]
jle 0x481d67
mov dword [eax + 0x968], ebx
mov ecx, dword [esp + 0x4c]
cmp ecx, dword [eax + 0x96c]
jle 0x481d79
mov dword [eax + 0x96c], ecx
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 8]
add edi, 8
test eax, eax
mov dword [esp + 0x30], edi
je case.default.0x481c7d
mov eax, dword [edi + 4]
test eax, eax
jne 0x481c90
jmp case.default.0x481c7d
mov edi, dword [esp + 0x28]
lea ebx, [ebx + esi*4]
mov byte [esp + 0x1f], 1
mov dword [esp + 0x30], ebx
nop
mov eax, dword [ebx]
push eax
call fcn.005cbe51
mov ecx, dword [ebx + 4]
push ecx
mov esi, eax
call fcn.005cbe51
mov ebx, eax
mov al, byte [esp + 0x27]
add esp, 8
test al, al
je 0x481df5
push 0
push ebx
push esi
push ebp
call dword [sym.imp.GDI32.dll_MoveToEx]
mov al, byte [esp + 0x13]
test al, al
je 0x481dee
push 0
push ebx
push esi
push edi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov byte [esp + 0x1f], 0
jmp 0x481e2f
push ebx
push esi
push ebp
call dword [sym.imp.GDI32.dll_LineTo]
mov al, byte [esp + 0x13]
test al, al
je 0x481e0f
push ebx
push esi
push edi
call dword [sym.imp.GDI32.dll_LineTo]
mov eax, dword [esp + 0x34]
cmp esi, dword [eax + 0x968]
jle 0x481e21
mov dword [eax + 0x968], esi
cmp ebx, dword [eax + 0x96c]
jle 0x481e2f
mov dword [eax + 0x96c], ebx
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 8]
add ebx, 8
test eax, eax
mov dword [esp + 0x30], ebx
je case.default.0x481c7d
mov eax, dword [ebx + 4]
test eax, eax
jne 0x481db0
jmp case.default.0x481c7d
mov eax, dword [esp + 0x18]
test eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x54], 0
jle 0x4821c1
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0x20]
lea ecx, [edx + eax*4 + 4]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov ecx, dword [edx + eax*4]
dec ebx
push ecx
mov dword [esp + 0x1c], ebx
call fcn.005cbe51
mov edx, dword [esp + 0x70]
mov esi, eax
mov eax, dword [edx]
push eax
add esi, ebx
call fcn.005cbe51
mov edx, dword [esp + 0xb4]
mov edi, eax
mov eax, dword [esp + 0x28]
lea ecx, [ebx + ebx]
mov dword [esp + 0x40], ecx
mov ecx, dword [edx + eax*4 + 8]
push ecx
add edi, ebx
call fcn.005cbe51
mov ecx, dword [esp + 0x2c]
mov ebx, eax
mov eax, dword [esp + 0x44]
mov edx, esi
sub edx, eax
mov eax, dword [esp + 0xb8]
add ebx, edx
mov edx, dword [eax + ecx*4 + 0xc]
push edx
call fcn.005cbe51
mov edx, dword [esp + 0x48]
mov ecx, edi
sub ecx, edx
add eax, ecx
add esp, 0x10
cmp esi, ebx
mov dword [esp + 0x4c], eax
jle 0x481f09
mov eax, esi
mov esi, ebx
mov ebx, eax
mov eax, dword [esp + 0x4c]
cmp edi, eax
jle 0x481f1b
mov ecx, edi
mov edi, eax
mov eax, ecx
mov dword [esp + 0x4c], eax
mov cl, byte [esp + 0x3e]
test cl, cl
je 0x48205e
dec ebx
dec eax
cmp esi, ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x14], esi
jg 0x481f56
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
push edx
push edi
push eax
push ebp
call dword [sym.imp.GDI32.dll_SetPixelV]
mov eax, dword [esp + 0x14]
add eax, 2
cmp eax, ebx
mov dword [esp + 0x14], eax
jle 0x481f35
mov eax, dword [esp + 0x14]
lea ecx, [ebx + 2]
cmp eax, ecx
lea eax, [edi + 2]
je 0x481f67
lea eax, [edi + 1]
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
jg 0x481f96
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
push edx
push eax
push ebx
push ebp
call dword [sym.imp.GDI32.dll_SetPixelV]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
add eax, 2
cmp eax, ecx
mov dword [esp + 0x14], eax
jle 0x481f71
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
add ecx, 2
cmp eax, ecx
lea eax, [ebx - 2]
je 0x481fab
lea eax, [ebx - 1]
cmp eax, esi
mov dword [esp + 0x14], eax
jl 0x481fd8
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SetPixelV]
mov eax, dword [esp + 0x14]
sub eax, 2
cmp eax, esi
mov dword [esp + 0x14], eax
jge 0x481fb3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
lea edx, [esi - 2]
cmp eax, edx
jne 0x481fec
add ecx, 0xfffffffe
jmp 0x481fed
dec ecx
lea eax, [edi + 2]
cmp ecx, eax
mov dword [esp + 0x14], ecx
jl 0x482024
jmp 0x482000
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push esi
push ebp
call dword [sym.imp.GDI32.dll_SetPixelV]
mov eax, dword [esp + 0x14]
sub eax, 2
lea ecx, [edi + 2]
cmp eax, ecx
mov dword [esp + 0x14], eax
jge 0x482000
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x482191
mov al, byte [esp + 0x13]
test al, al
je 0x482191
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x28]
push 0xcc0020
push edi
push esi
push ebp
sub edx, edi
mov eax, ebx
inc edx
push edx
sub eax, esi
inc eax
push eax
push edi
push esi
push ecx
jmp 0x48218b
mov cl, byte [esp + 0x3d]
test cl, cl
je 0x48209c
mov edx, dword [esp + 0x4c]
push edx
push ebx
push edi
push esi
push ebp
call dword [sym.imp.GDI32.dll_Ellipse]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x482191
mov al, byte [esp + 0x13]
test al, al
je 0x482191
mov eax, dword [esp + 0x4c]
mov ecx, ebx
sub eax, edi
sub ecx, esi
jmp 0x48217a
cmp ebx, esi
jne 0x4820e1
cmp eax, edi
jne 0x4820e1
mov eax, dword [esp + 0x2c]
push eax
push edi
push esi
push ebp
call dword [sym.imp.GDI32.dll_SetPixelV]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x482191
mov al, byte [esp + 0x13]
test al, al
je 0x48215e
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edi
push esi
push edx
call dword [sym.imp.GDI32.dll_SetPixelV]
jmp 0x48215e
mov eax, dword [esp + 0x64]
test eax, eax
je 0x48214f
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + ecx*4 + 0x10]
test eax, eax
je 0x48212f
cmp dword [edx + ecx*4 + 0x14], 0
je 0x48212f
push eax
call fcn.005cbe51
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xb0]
mov edx, dword [eax + ecx*4 + 0x14]
push edx
call fcn.005cbe51
add esp, 8
mov dword [esp + 0x54], 1
jmp 0x482138
mov eax, 0xf
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x3c]
push eax
push ecx
push ebx
push edi
push esi
push ebp
call dword [sym.imp.GDI32.dll_RoundRect]
jmp 0x48215e
mov edx, dword [esp + 0x4c]
push edx
push ebx
push edi
push esi
push ebp
call dword [sym.imp.GDI32.dll_Rectangle]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x482191
mov al, byte [esp + 0x13]
test al, al
je 0x482191
mov eax, dword [esp + 0x4c]
sub eax, edi
mov ecx, ebx
sub ecx, esi
inc eax
inc ecx
mov edx, dword [esp + 0x28]
push 0xcc0020
push edi
push esi
push ebp
push eax
push ecx
push edi
push esi
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x34]
cmp ebx, dword [eax + 0x968]
jle 0x4821a3
mov dword [eax + 0x968], ebx
mov ecx, dword [esp + 0x4c]
cmp ecx, dword [eax + 0x96c]
jle 0x4821b5
mov dword [eax + 0x96c], ecx
mov eax, dword [esp + 0x18]
test eax, eax
jg 0x481e80
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4821d6
add dword [esp + 0x20], 2
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xac]
mov edx, dword [ecx + eax*4 + 0x10]
add eax, 4
test edx, edx
mov dword [esp + 0x20], eax
je case.default.0x481c7d
mov edx, ecx
mov ecx, dword [edx + eax*4 + 4]
test ecx, ecx
je case.default.0x481c7d
mov ecx, edx
mov edx, eax
mov eax, dword [ecx + edx*4 + 8]
test eax, eax
je case.default.0x481c7d
mov eax, ecx
mov ecx, edx
mov edx, dword [eax + ecx*4 + 0xc]
test edx, edx
jne case.0x481c7d.2
jmp case.default.0x481c7d
mov edx, dword [ebx + esi*4]
push edx
call fcn.005cbe51
mov dword [esp + 0x48], eax
mov eax, dword [ebx + esi*4 + 4]
push eax
call fcn.005cbe51
add esi, 2
mov dword [esp + 0x48], eax
mov eax, dword [ebx + esi*4]
add esp, 8
xor edi, edi
test eax, eax
je 0x4822ef
push eax
call fcn.00515900
add esp, 4
test eax, eax
jne 0x4822ef
mov edi, dword [esp + 0xb0]
push eax
push 0x104
push edi
push esi
push ebx
call fcn.005165a0
mov esi, eax
add esp, 0x14
test esi, esi
jl 0x482345
push edi
push edi
call fcn.004222b0
add esp, 8
test eax, eax
je 0x482358
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
push 0
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x5c]
push edx
push ecx
push edi
call fcn.00429110
mov eax, dword [esp + 0x68]
add esp, 0x14
test eax, eax
je 0x48236b
push eax
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
mov edx, dword [esp + 0x54]
push edx
mov edi, eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x5c]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x5c], eax
inc esi
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
push ecx
push ebp
call dword [sym.imp.GDI32.dll_ExtFloodFill]
test edi, edi
je 0x482331
mov edx, dword [esp + 0x5c]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x50]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x5c], eax
cmp dword [ebx + esi*4], 0
je 0x4823a5
mov eax, dword [ebx + esi*4 + 4]
test eax, eax
jne case.0x481c7d.3
jmp 0x4823a5
mov ecx, dword [ebx]
push 3
push 0
push ecx
push 0
call fcn.0048a440
add esp, 0x10
jmp 0x4823a5
mov edx, dword [ebx]
push 3
push 0
push edx
push 0
call fcn.0048a440
add esp, 0x10
jmp 0x4823a5
mov eax, dword [ebx]
push edi
push eax
push 0
push 0x835
call fcn.00421db0
add esp, 8
push eax
push 0x615410
call dword [sym.imp.USER32.dll_wsprintfA]
push 6
push 0
push 0x615410
push 0
call fcn.0048a440
add esp, 0x20
mov dword [esp + 0x70], 0
mov esi, dword [esp + 0x34]
mov edx, dword [esi + 0x95c]
lea ecx, [esp + 0x80]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov al, byte [esp + 0x13]
test al, al
je 0x4823f1
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x28]
push 0xcc0020
push 0
push 0
push ebp
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x84]
mov dword [esi + 0x968], eax
mov ecx, dword [esp + 0x88]
mov dword [esi + 0x96c], ecx
jmp case.default.0x481c7d
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x95c]
lea edx, [esp + 0x80]
push edx
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
push eax
xor ebx, ebx
push ebp
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x28]
push ecx
push edi
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
mov dword [esp + 0x54], eax
je 0x4826b2
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x28]
push ecx
mov dword [esp + 0x5c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
je 0x48269b
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x95c]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push 0xcc0020
push ebx
push ebx
push edi
push ecx
push edx
push ebx
push ebx
push ebp
mov dword [esp + 0x44], eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
test eax, eax
mov dword [esp + 0x30], eax
je 0x482684
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
push ebp
call fcn.004871c0
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x4c], eax
mov eax, dword [edx + esi*4]
add esp, 0x14
test eax, eax
je 0x48256c
mov ecx, edx
mov edx, dword [ecx + esi*4 + 4]
test edx, edx
je 0x48256c
mov edx, dword [ecx + esi*4 + 8]
test edx, edx
je 0x48256c
mov edx, dword [ecx + esi*4 + 0xc]
test edx, edx
je 0x48256c
push eax
call fcn.005cbe51
mov ebx, eax
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + esi*4 + 4]
push ecx
call fcn.005cbe51
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x4c], eax
mov eax, dword [edx + esi*4 + 8]
push eax
call fcn.005cbe51
mov ecx, dword [esp + 0xb8]
mov edx, dword [ecx + esi*4 + 0xc]
push edx
mov dword [esp + 0x58], eax
call fcn.005cbe51
add esp, 0x10
mov dword [esp + 0x4c], eax
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
add eax, ebx
add ecx, esi
push 0
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea edx, [esp + 0x9c]
push edx
push edi
call dword [sym.imp.USER32.dll_FillRect]
push 0
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x14]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
push 0x8800c6
push esi
push ebx
push ecx
push edx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x5c]
push eax
push esi
push ebx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push 0xee0086
push esi
push ebx
push ebp
push ecx
push edx
push esi
push ebx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x6c]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x64]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov al, byte [esp + 0x13]
test al, al
je 0x482646
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
push 0xcc0020
push esi
push ebx
push edi
push edx
push eax
push esi
push ebx
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x968], edx
mov dword [eax + 0x96c], ecx
mov eax, dword [esp + 0x38]
test eax, eax
je 0x482679
mov edx, dword [esp + 0x30]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x482694
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x58]
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x54]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x95c]
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x74]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push edx
push ebp
call esi
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x28]
push eax
push edi
call esi
mov ecx, dword [esp + 0x68]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push ecx
call ebx
mov edx, dword [esp + 0x5c]
push edx
push ebp
call esi
mov eax, dword [esp + 0x7c]
push eax
push edi
call esi
mov ecx, dword [esp + 0x50]
push ecx
call ebx
mov edx, dword [esp + 0x58]
push edx
push ebp
call esi
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x60]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetROP2]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x87c]
push edi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret
push 7
mov eax, dword [ebx]
push ebp
push eax
push ebp
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret