Function at 0x407020
Capabilities:
Inspect load icon resource
Resolve function by parsing pe exports
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x454a44
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x46ec3c]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46ec3c]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
xor edi, edi
mov ebp, ecx
mov dword [esp + 0x24], edi
call fcn.0041cbec
mov eax, dword [ebp + 0x20]
push edi
push eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.00425dab
mov esi, eax
cmp esi, edi
je 0x407217
call fcn.00425e9e
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40709d
push 0x80004005
call fcn.00401790
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
push 0x65
mov dword [esp + 0xd0], edi
call fcn.00425e93
cmp eax, edi
je 0x4070cf
push 0x65
push eax
lea ecx, [esp + 0x1c]
call fcn.00402690
mov ebx, dword [esp + 0x14]
cmp dword [ebx - 0xc], edi
je 0x4070f4
mov ecx, dword [esi + 4]
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_AppendMenuA]
push 0x800
push ecx
call edi
mov edx, dword [esi + 4]
push ebx
push 0x10
push 0
push edx
call edi
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
call fcn.004016f0
test eax, eax
jne 0x407110
push 0x7805a5
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 0x11
mov esi, 0x458e00
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.00401690
test eax, eax
jne 0x407159
lea eax, [ebx - 0x10]
mov dword [esp + 0xcc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407152
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x407b8c
lea ecx, [esp + 0x18]
push ecx
push 0x162a
call fcn.00401600
add esp, 8
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x407183
lea ecx, [esp + 0x14]
call fcn.00401060
xor eax, eax
jmp 0x407b8c
mov ebx, dword [0x46d08c]
mov edi, dword [str.aYmXa6qcjVMGO6ggef5CzKefdcOotAXtAjWC9yKJluSDZWpq7fVQRxqZM]
push ebx
push edi
call fcn.004013c0
mov esi, eax
push ebx
push edi
add esi, 0x79eac49d
call fcn.004013c0
mov edx, dword [str.aYmXa6qcjVMGO6ggef5CzKefdcOotAXtAjWC9yKJluSDZWpq7fVQRxqZM]
mov edi, eax
push ebx
push edx
add edi, 0x79eae45d
call fcn.004013c0
add esp, 0x18
push esi
add eax, 0x79ead45d
or eax, edi
push eax
lea eax, [esp + 0x20]
push eax
push 0
lea ecx, [esp + 0x30]
push ecx
push 0xffffffffffffffff
call dword [0x470478]
test eax, eax
jl 0x4071ff
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
push 0x46
lea eax, [esp + 0x80]
push eax
push ecx
push edx
call fcn.00406be0
add esp, 0x14
call dword [esp + 0x20]
lea ecx, [esp + 0x14]
mov dword [esp + 0xcc], 0xffffffff
call fcn.00401060
mov eax, dword [ebp + 0x74]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov eax, dword [ebp + 0x20]
push 1
push 0x80
push eax
call ebx
mov eax, dword [ebp + 0x74]
mov ecx, dword [ebp + 0x20]
push eax
push 0
push 0x80
push ecx
call ebx
push 0
push 1
push 0x11
push 0x10
lea edi, [ebp + 0x168]
push 0x10
mov ecx, edi
call fcn.0041d807
call fcn.00425c83
call fcn.00425c83
mov eax, dword [eax + 0xc]
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x84
push eax
call esi
mov ecx, dword [ebp + 0x16c]
push eax
push 0xffffffffffffffff
push ecx
call fcn.00425c83
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00401fd0
call fcn.00425c83
call fcn.00425c83
mov eax, dword [eax + 0xc]
push 0x86
push eax
call esi
mov ecx, dword [ebp + 0x16c]
push eax
push 0xffffffffffffffff
push ecx
call fcn.00425c83
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.00401fd0
call fcn.00425c83
call fcn.00425c83
mov eax, dword [eax + 0xc]
push 0x85
push eax
call esi
mov ecx, dword [ebp + 0x16c]
push eax
push 0xffffffffffffffff
push ecx
call fcn.00425c83
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.00401fd0
call fcn.00425c83
call fcn.00425c83
mov eax, dword [eax + 0xc]
push 0x87
push eax
call esi
mov ecx, dword [ebp + 0x16c]
push eax
push 0xffffffffffffffff
push ecx
call fcn.00425c83
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00401fd0
call fcn.00425c83
call fcn.00425c83
mov eax, dword [eax + 0xc]
push 0x89
push eax
call esi
mov ecx, dword [ebp + 0x16c]
push eax
push 0xffffffffffffffff
push ecx
call fcn.00425c83
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.00401fd0
call fcn.00425c83
call fcn.00425c83
mov eax, dword [eax + 0xc]
push 0x88
push eax
call esi
mov ecx, dword [ebp + 0x16c]
push eax
push 0xffffffffffffffff
push ecx
call fcn.00425c83
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.00401fd0
lea eax, [ebp + 0x78]
push edi
push eax
mov dword [esp + 0x1c], eax
call fcn.0040b4f0
add esp, 8
test edi, edi
mov dword [esp + 0x20], eax
jne 0x40738d
xor eax, eax
jmp 0x407390
mov eax, dword [edi + 4]
mov edx, dword [ebp + 0x98]
push eax
push 1
push 0x1003
push edx
call ebx
push eax
call fcn.0041d74a
fld qword [str.333333]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x13c]
sub esp, 8
fstp qword [esp]
call edx
push 0x18
call fcn.0041a58a
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
test esi, esi
mov dword [esp + 0xcc], 1
je 0x4073ef
mov ecx, esi
call fcn.004168e0
mov dword [esi], vtable.CGridRowTraitXP.0
jmp 0x4073f1
xor esi, esi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
mov edx, dword [eax + 0x144]
push esi
mov ecx, edi
mov dword [esp + 0xd0], 0xffffffff
call edx
push 1
mov ecx, edi
call fcn.0040d820
mov eax, dword [edi]
mov edx, dword [eax + 0x16c]
mov ecx, edi
call edx
xor edi, edi
mov dword [esp + 0x1c], edi
call fcn.00425e9e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x40784e
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x64], esi
mov dword [esp + 0xcc], 2
call fcn.00425e9e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x407093
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0xcc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407498
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4074b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 4
jge 0x407858
push edi
lea ecx, [esp + 0x38]
lea esi, [ebp + 0x150]
push ecx
mov ecx, esi
call fcn.00404c40
xor ebx, ebx
test edi, edi
mov dword [esp + 0xcc], 3
jne 0x4075ef
push edi
push str.HHHASASQEhfhgdfgsdf
push edi
mov ecx, ebp
call fcn.0042020d
push edi
mov ecx, ebp
call fcn.00424101
push 0x78
call fcn.0041a58a
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov byte [esp + 0xcc], 4
je 0x407520
mov ecx, eax
call fcn.00408990
mov ebx, eax
jmp 0x407522
xor ebx, ebx
lea edx, [esp + 0x38]
push edx
mov ecx, esi
mov byte [esp + 0xd0], 3
call fcn.00406df0
lea ecx, [esp + 0x38]
mov byte [esp + 0xcc], 5
xor esi, esi
call fcn.00401770
test eax, eax
jbe 0x40758a
lea ecx, [ecx]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x407565
mov eax, dword [esp + 0x40]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x40756e
call fcn.00439274
mov ecx, dword [esp + 0x3c]
lea eax, [ecx + esi*4]
push eax
push esi
mov ecx, ebx
call fcn.00408a60
lea ecx, [esp + 0x38]
add esi, 1
call fcn.00401770
cmp esi, eax
jb 0x407550
mov esi, dword [esp + 0x3c]
xor eax, eax
cmp esi, eax
mov byte [esp + 0xcc], 3
je 0x4075de
mov eax, dword [esp + 0x40]
cmp esi, eax
mov edi, eax
je 0x4075cf
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4075c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x4075a6
mov esi, dword [esp + 0x3c]
push esi
call fcn.0041a5ba
mov edi, dword [esp + 0x20]
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
jmp 0x4077f3
cmp edi, 1
jne 0x407635
push 0x60
call fcn.0041a58a
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov byte [esp + 0xcc], 6
je 0x407624
mov ecx, eax
call fcn.00409ea0
mov byte [esp + 0xcc], 3
mov ebx, eax
jmp 0x4077f3
xor eax, eax
mov byte [esp + 0xcc], 3
mov ebx, eax
jmp 0x4077f3
cmp edi, 2
jne 0x407775
push 0x68
call fcn.0041a58a
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov byte [esp + 0xcc], 7
je 0x407663
mov ecx, eax
call fcn.004096c0
mov esi, eax
jmp 0x407665
xor esi, esi
push 0x458b51
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd0], 3
call fcn.00403e30
mov ebx, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x1c]
push ecx
push ebx
mov ecx, esi
mov byte [esp + 0xd8], 8
call fcn.0040c120
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xcc], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4076be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, 1
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov word [esp + 0x4a], cx
mov word [esp + 0x4e], cx
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x4c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
push edx
mov word [esp + 0x50], 0x7b2
mov word [esp + 0x58], ax
mov word [esp + 0x5a], ax
mov word [esp + 0x5c], ax
call fcn.00401860
add esp, 8
neg eax
sbb eax, eax
add eax, 1
push 0x400
mov dword [esp + 0x64], eax
push 0
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x64]
call fcn.00404330
push 1
push eax
add ebx, 1
push ebx
mov ecx, esi
mov byte [esp + 0xd8], 9
call fcn.0040c120
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0xcc], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407765
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
mov ecx, esi
call fcn.0040a760
mov ebx, esi
jmp 0x4077f3
cmp edi, 3
jne 0x4077f3
push 0x74
call fcn.0041a58a
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov byte [esp + 0xcc], 0xa
je 0x40779f
mov ecx, eax
call fcn.0040a540
mov ebx, eax
jmp 0x4077a1
xor ebx, ebx
push str.http:__en.wikipedia.org_wiki_UEFA_Euro_
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd0], 3
call fcn.00403e30
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
mov byte [esp + 0xd0], 0xb
call fcn.0040a3d0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0xcc], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4077f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x174]
push ebx
push edi
push 0x64
push 0
lea eax, [esp + 0x44]
push eax
lea esi, [edi + 1]
push esi
call edx
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [esp + 0xcc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40783b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, esi
mov dword [esp + 0x1c], edi
call fcn.00425e9e
test eax, eax
jne 0x40743c
push 0x80004005
call fcn.00401790
mov ebx, dword [esp + 0x14]
xor esi, esi
xor edi, edi
add ebp, 0x150
mov dword [esp + 0x1c], ebp
mov eax, dword [ebp + 4]
test eax, eax
mov dword [esp + 0x18], edi
je 0x407a5b
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x407a5b
push 0
push edi
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebp
add esi, 1
call fcn.00404b30
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
push esi
push 1
mov ecx, ebx
mov dword [esp + 0xe8], 0xc
call fcn.0041d3f8
mov esi, eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0xcc], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4078f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
push 0
push 0
push 0
push 0
push 4
push 0
push esi
mov ecx, ebx
call fcn.0041d444
xor ebp, ebp
lea ecx, [ecx]
call fcn.00425e9e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x407093
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x64], ebx
mov dword [esp + 0xcc], 0xd
call fcn.00425e9e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x407093
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0xcc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407980
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40799c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebp, 4
jge 0x407a40
mov ecx, dword [esp + 0x18]
push ebp
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x3c]
push edx
call fcn.00404b30
mov ebx, dword [esp + 0x14]
lea edi, [ebp + 1]
mov ebp, dword [esp + 0x34]
push ebp
push edi
push esi
mov ecx, ebx
mov dword [esp + 0xd8], 0xe
call fcn.0041d2b1
cmp edi, 3
jne 0x407a0e
push 0x458b51
push ebp
call fcn.004393a0
add esp, 8
test eax, eax
sete al
test al, al
je 0x4079fc
mov eax, dword [esp + 0x20]
push eax
jmp 0x407a04
mov ecx, dword [esp + 0x20]
add ecx, 1
push ecx
push 3
push esi
mov ecx, ebx
call fcn.0040dda0
lea eax, [ebp - 0x10]
mov dword [esp + 0xcc], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407a35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, edi
mov edi, dword [esp + 0x18]
jmp 0x407910
mov ebx, dword [esp + 0x14]
push esi
push 1
push esi
mov ecx, ebx
call fcn.0040dda0
mov ebp, dword [esp + 0x1c]
add edi, 1
jmp 0x40786a
push 0x20
call fcn.0041a58a
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
test esi, esi
mov dword [esp + 0xcc], 0xf
je 0x407aa8
push str.Sample_List
lea ecx, [esp + 0x20]
call fcn.00403e30
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov byte [esp + 0xd0], 0x10
mov dword [esp + 0x28], 1
call fcn.00418690
mov esi, eax
jmp 0x407aaa
xor esi, esi
or edi, 0xffffffff
test byte [esp + 0x24], 1
mov dword [esp + 0xcc], edi
je 0x407ada
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407ada
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.Default
lea ecx, [esp + 0x28]
call fcn.00403e30
mov edx, dword [esi]
mov edx, dword [edx + 0xa4]
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov dword [esp + 0xd0], 0x12
call edx
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0xcc], edi
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407b2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.Special
lea ecx, [esp + 0x2c]
call fcn.00403e30
mov edx, dword [esi]
mov edx, dword [edx + 0xa4]
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov dword [esp + 0xd0], 0x13
call edx
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0xcc], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x407b78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x190]
push 1
push esi
mov ecx, ebx
call eax
mov eax, 1
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.00438d51
add esp, 0xbc
ret