Function at 0x415977
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x47afac
call fcn.00478530
sub esp, 0x60
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0x45c]
cmp eax, ebx
je 0x4159a2
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [esi + 0x45c], ebx
mov eax, dword [esi + 0x2a8]
cmp eax, ebx
je 0x4159b9
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x2a8], ebx
mov edi, dword [esi + 0x458]
mov eax, dword [esi + 0x454]
push edi
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], ebx
call fcn.0040b9be
push ecx
lea ecx, [ebp - 0x48]
mov eax, esp
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], esp
and byte [eax + 3], 0
or byte [eax + 2], 0xff
and byte [eax + 1], 0
and byte [eax], 0
call fcn.0040ba20
lea eax, [edi - 0x24]
push 1
mov dword [ebp - 0x10], eax
mov eax, 0xbc
push ebx
push eax
push eax
lea ecx, [ebp - 0x48]
call fcn.0040ba5b
push dword [ebp - 0x10]
lea ecx, [ebp - 0x48]
push 1
push 0xd2
push 0xfb
call fcn.0040ba5b
mov eax, dword [ebp - 0x10]
push 1
inc eax
lea ecx, [ebp - 0x48]
push eax
mov eax, 0xb2
push eax
push eax
call fcn.0040ba5b
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x48]
sub edi, eax
add eax, 2
dec edi
dec edi
push edi
push eax
push 0xb1
push 0xed
call fcn.0040ba5b
lea ecx, [ebp - 0x6c]
call fcn.00426a17
push 0x58
lea eax, [ebp - 0x6c]
push dword [ebp - 0x10]
mov byte [ebp - 4], 1
push 0x49253c
push eax
call fcn.004167ce
add esp, 0x10
lea ecx, [ebp - 0x6c]
push 2
push 0xff8c8c8c
push 1
push 0x106
call fcn.00422c4a
push eax
lea ecx, [ebp - 0x48]
call fcn.0040cad0
and byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00426ad9
movzx eax, word [0x4927a0]
movzx edi, word [0x4927a2]
mov dword [ebp - 0x14], eax
add edi, edi
mov dword [ebp - 0x3c], ebx
push edi
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040b9be
push ebx
push ebx
push 0x4927a0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.004163dd
lea ecx, [ebp - 0x3c]
call fcn.004160f1
or byte [ebp - 0x10], 0xff
or byte [ebp - 0xf], 0xff
or byte [ebp - 0xe], 0xff
or byte [ebp - 0xd], 0xff
push dword [ebp - 0x10]
lea ecx, [ebp - 0x3c]
call fcn.0041615b
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], ebx
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x48]
push eax
push edi
push dword [ebp - 0x14]
mov byte [ebp - 4], 4
push 0x45
push 0xa2
call fcn.00416082
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x48]
push eax
push edi
push dword [ebp - 0x14]
push 0x45
push 0xa2
call fcn.00416082
push ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
lea ecx, [ebp - 0x54]
call fcn.00416376
lea ecx, [ebp - 0x3c]
call fcn.0040ca05
push 0x46
lea ecx, [ebp - 0x3c]
call fcn.004161d7
push ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
lea ecx, [ebp - 0x60]
call fcn.00416376
lea eax, [ebp - 0x54]
lea ecx, [esi + 0x438]
push eax
lea eax, [ebp - 0x60]
push eax
push 0x4fd
push dword [esi + 4]
push edi
push dword [ebp - 0x14]
push 0x45
push 0xa2
call fcn.0041be0a
cmp dword [ebp - 0x54], ebx
je 0x415b9f
push dword [ebp - 0x54]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
cmp dword [ebp - 0x60], ebx
je 0x415bae
push dword [ebp - 0x60]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
and byte [ebp - 4], 0
cmp dword [ebp - 0x3c], ebx
je 0x415bc1
push dword [ebp - 0x3c]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push 0xffffffffffffffff
push 0x18
push 0x9d
push 0x45
push 0x118
lea ecx, [ebp - 0x48]
call fcn.00416293
mov edi, 0xff7f9db9
lea ecx, [ebp - 0x48]
push edi
push 0x18
push 0x9d
push 0x45
push 0x118
call fcn.004162f3
push 0xff60756c
push 0xd2f5de
push edi
push 0x491af4
push 0x64
push 0x3d
lea eax, [ebp - 0x48]
push 6
push eax
call fcn.00416546
push 0xff60756c
push 0xd4e8f6
push edi
push 0x491c34
push 0xa4
push 0x79
lea eax, [ebp - 0x48]
push 6
push eax
call fcn.00416546
add esp, 0x40
lea ecx, [esi + 0x2b8]
call fcn.00422c4a
test eax, eax
jne 0x415d85
movzx eax, word [0x491c94]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x54], ebx
movzx eax, word [0x491c96]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
lea eax, [esi + 0x2b8]
mov byte [ebp - 4], 6
xor edi, edi
mov dword [ebp - 0x28], eax
mov eax, edi
mov dword [ebp - 0x18], 0xff96f997
cdq
sub eax, edx
sar eax, 1
cmp eax, 5
mov dword [ebp - 0x34], eax
jl 0x415c9a
add eax, 0xfffffffd
mov dword [ebp - 0x14], eax
lea eax, [eax + eax*2]
push 2
lea eax, [eax*4 + 0xc4]
pop ecx
mov dword [ebp - 0x24], eax
mov eax, edi
cdq
idiv ecx
cmp dword [ebp - 0x14], 3
lea eax, [edx + edx*2]
lea eax, [eax*4 + 0x44]
mov dword [ebp - 0x10], eax
jne 0x415ccc
mov dword [ebp - 0x18], 0xfffbfd8b
cmp dword [ebp - 0x14], 4
jne 0x415cd9
mov dword [ebp - 0x18], 0xfffe6b73
cmp dword [ebp - 0x34], 5
jl 0x415ce3
add dword [ebp - 0x10], 0x3c
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x10]
push dword [ebp - 0x24]
call fcn.00416082
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x10]
push dword [ebp - 0x24]
call fcn.00416082
push 0xfff7f7f7
push ebx
push ebx
lea ecx, [ebp - 0x54]
call fcn.00416481
push dword [ebp - 0x18]
lea ecx, [ebp - 0x60]
push ebx
push ebx
call fcn.00416481
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [edi + 0x4df]
push eax
push dword [esi + 4]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x10]
push dword [ebp - 0x24]
call fcn.0041be0a
add dword [ebp - 0x28], 0x18
inc edi
cmp edi, 0x10
jb 0x415c81
cmp dword [ebp - 0x60], ebx
je 0x415d72
push dword [ebp - 0x60]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
and byte [ebp - 4], 0
cmp dword [ebp - 0x54], ebx
je 0x415d85
push dword [ebp - 0x54]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
lea ecx, [ebp - 0x48]
call fcn.0040bad2
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
cmp eax, ebx
mov dword [esi + 0x2a8], eax
jne 0x415db9
push 0x527
push str.S:Ammyy_sourcesmainDlgMain.cpp
lea ecx, [ebp - 0x38]
call fcn.0042328b
mov ecx, eax
call fcn.00423397
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push edi
push eax
mov dword [esi + 0x45c], eax
call ebx
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push 1
push dword [esi + 0x45c]
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [esi + 0x2ac]
mov dword [ebp - 0x14], eax
push dword [esi + 0x45c]
call ebx
push 8
mov dword [ebp - 0x10], eax
push dword [esi + 0x45c]
call dword [sym.imp.GDI32.dll_SetTextAlign]
push 0x6e6e6e
push dword [esi + 0x45c]
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [ebp - 0x30]
mov edi, 0x4a7558
push 1
push eax
mov ecx, edi
call fcn.0041c91a
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 7
call fcn.00429782
push 0x4940ec
push 0x4940e4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.0042a310
lea eax, [ebp - 0x30]
push eax
push 0x41
push 0x22
push dword [esi + 0x45c]
call fcn.00416868
lea eax, [ebp - 0x2c]
push eax
push 0x7d
push 0x22
push dword [esi + 0x45c]
call fcn.00416868
add esp, 0x20
lea eax, [ebp - 0x34]
mov ecx, edi
push 5
push eax
call fcn.0041c91a
push eax
push 0x41
push 0x118
mov byte [ebp - 4], 9
push dword [esi + 0x45c]
call fcn.00416868
add esp, 0x10
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.00429a78
push dword [esi + 0x2b4]
push dword [esi + 0x45c]
call ebx
push 0xe
push dword [esi + 0x45c]
call dword [sym.imp.GDI32.dll_SetTextAlign]
push 0x4940e0
lea ecx, [ebp - 0x28]
call fcn.00429b38
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x18]
push 0x32
push eax
mov ecx, edi
call fcn.0041c91a
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x1c]
push 2
push eax
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.0041c91a
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00429cf0
push dword [ebp - 0x34]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00429cf0
push eax
mov eax, dword [esi + 0x454]
push 0x1a
push 4
cdq
pop ecx
mov byte [ebp - 4], 0xe
idiv ecx
push eax
push dword [esi + 0x45c]
call fcn.00416868
add esp, 0x28
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
call fcn.00429a78
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call fcn.00429a78
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call fcn.00429a78
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.00429a78
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.00429a78
push 0x4940e0
lea ecx, [ebp - 0x28]
call fcn.00429b38
lea eax, [ebp - 0x18]
push 0x33
push eax
mov ecx, edi
mov byte [ebp - 4], 0xf
call fcn.0041c91a
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x1c]
push 3
push eax
mov ecx, edi
mov byte [ebp - 4], 0x10
call fcn.0041c91a
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x11
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00429cf0
push dword [ebp - 0x34]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00429cf0
push eax
mov eax, dword [esi + 0x454]
push 0x1a
push 4
lea eax, [eax + eax*2]
pop ecx
cdq
idiv ecx
mov byte [ebp - 4], 0x13
push eax
push dword [esi + 0x45c]
call fcn.00416868
add esp, 0x28
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x12
call fcn.00429a78
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x11
call fcn.00429a78
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x10
call fcn.00429a78
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xf
call fcn.00429a78
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.00429a78
push dword [ebp - 0x14]
push dword [esi + 0x45c]
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebp - 0x10]
push dword [esi + 0x45c]
call ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.00429a78
and byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00429a78
cmp dword [ebp - 0x48], 0
je 0x416073
push dword [ebp - 0x48]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret