Function at 0x407f90
Capabilities:
Extract resource via kernel32 functions
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x41c4a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
push 0
lea ecx, [esi + 4]
call fcn.00407990
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.LICENSE
push 0x417c90
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
push ebx
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push 0
mov dword [ebp - 0x8c], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x40803c
cmp dword [ebp - 0x8c], 0
je 0x40803c
lea eax, [edi + 1]
push eax
call fcn.0040ae7b
mov ecx, dword [ebp - 0x8c]
push edi
mov ebx, eax
push ecx
push ebx
call fcn.0040b460
add esp, 0x10
push ebx
mov byte [ebx + edi], 0
mov edx, dword [esi + 4]
push 0x3f7
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push ebx
call fcn.00408740
add esp, 4
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, dword [0x41d75c]
push 0
push 0xc
call edi
push eax
push 0xb
call edi
push eax
push 1
push 0x80
push ebx
mov ebx, dword [sym.imp.USER32.dll_LoadImageW]
call ebx
push eax
mov eax, dword [esi + 4]
push 1
push 0x80
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x41d75c]
push 0
push 0x32
mov dword [ebp - 0x8c], ecx
call edi
push eax
push 0x31
call edi
mov edx, dword [ebp - 0x8c]
push eax
push 1
push 0x80
push edx
call ebx
push eax
mov eax, dword [esi + 4]
push 0
push 0x80
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0x3e80000
push 0
push 0x401
push 0x3ed
push ecx
call edi
mov edx, esi
mov eax, dword [edx + 0x24]
add eax, 0x48
mov ecx, eax
lea edx, [ecx + 1]
lea ebx, [ebx]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x4080e0
sub ecx, edx
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x8c], ecx
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.00401300
xor edx, edx
mov word [ebp - 0x50], dx
mov edx, dword [str.C:SysGCC_]
mov dword [ebp - 0x50], edx
mov edx, dword [0x417c7c]
mov dword [ebp - 0x4c], edx
mov edx, dword [0x417c80]
mov dword [ebp - 0x48], edx
mov edx, dword [0x417c84]
mov ecx, 0xb
mov dword [ebp - 0x44], edx
mov edx, dword [0x417c88]
add esp, 8
lea ebx, [ebp - 0x50]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], ecx
lea edx, [ecx - 1]
test ecx, ecx
jne 0x408154
xor edx, edx
jmp 0x40815a
xor ecx, ecx
mov word [ebx + edx*2], cx
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x58], edx
call fcn.004048d0
push eax
lea ecx, [ebp - 0x88]
call fcn.00404640
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x40818d
lea edx, [ebp - 0x50]
cmp eax, edx
je 0x40818d
push eax
call fcn.0040af1a
add esp, 4
mov eax, dword [ebp - 0x88]
test eax, eax
jne 0x40819c
mov eax, 0x41a184
push eax
mov eax, dword [esi + 4]
push 0x3e8
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x4081c6
lea ecx, [ebp - 0x7c]
cmp eax, ecx
je 0x4081c6
push eax
call fcn.0040af1a
add esp, 4
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4081dd
lea edx, [ebp - 0x24]
cmp eax, edx
je 0x4081dd
push eax
call fcn.0040af1a
add esp, 4
mov eax, dword [esi + 4]
push 0
push 1
push 0xf1
push 0x3ec
push eax
call edi
mov ecx, dword [esi + 4]
push 0
push 1
push 0xf1
push 0x3ee
push ecx
call edi
push 0
lea edx, [ebp - 0x98]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWARE
push 0x80000002
mov dword [ebp - 0x98], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jle 0x408245
and eax, 0xffff
or eax, 0x80070000
test eax, eax
push 0
push 1
push 0xf1
jns 0x408263
mov eax, dword [esi + 4]
push 0x3e9
push eax
call edi
mov ebx, esi
mov byte [ebx + 0x28], 1
jmp 0x408270
mov ecx, dword [esi + 4]
push 0x3ea
push ecx
call edi
mov ebx, esi
mov edx, dword [esi + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push str.Calibri
push 0
push 4
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffd8
call dword [sym.imp.GDI32.dll_CreateFontW]
push 1
push eax
mov eax, dword [esi + 4]
push 0x30
push 0x3f0
push eax
call edi
mov eax, dword [ebx + 0x24]
add eax, 0x48
push eax
lea ecx, [ebp - 0x30]
push str.GNU_toolchain_for__S
push ecx
call fcn.00404740
mov eax, dword [eax]
add esp, 0xc
test eax, eax
jne 0x4082dd
mov eax, 0x41a184
mov edx, dword [esi + 4]
push eax
push 0x3f0
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x408304
lea ecx, [ebp - 0x24]
cmp eax, ecx
je 0x408304
push eax
call fcn.0040af1a
add esp, 4
mov ecx, dword [ebx + 0x24]
add ecx, 0x78
mov eax, ecx
lea edi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x408310
sub eax, edi
lea edx, [ebp - 0x90]
mov dword [ebp - 0x8c], eax
push edx
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x90], ecx
call fcn.00401300
mov eax, dword [eax]
add esp, 8
test eax, eax
jne 0x408343
mov eax, 0x41a184
mov ecx, dword [esi + 4]
push eax
push 0x3f1
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x40836a
lea edx, [ebp - 0x24]
cmp eax, edx
je 0x40836a
push eax
call fcn.0040af1a
add esp, 4
mov ecx, dword [ebx + 0x24]
add ecx, 0x58
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x408375
sub eax, edi
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], ecx
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.00401300
mov eax, dword [eax]
add esp, 8
test eax, eax
jne 0x4083a8
mov eax, 0x41a184
mov edx, dword [esi + 4]
push eax
push 0x3f2
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4083cf
lea ecx, [ebp - 0x24]
cmp eax, ecx
je 0x4083cf
push eax
call fcn.0040af1a
add esp, 4
mov ecx, dword [ebx + 0x24]
add ecx, 0x68
mov eax, ecx
lea edi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4083e0
sub eax, edi
lea edx, [ebp - 0x90]
mov dword [ebp - 0x8c], eax
push edx
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x90], ecx
call fcn.00401300
mov eax, dword [eax]
add esp, 8
test eax, eax
jne 0x408413
mov eax, 0x41a184
mov ecx, dword [esi + 4]
push eax
push 0x3f3
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x40843a
lea edx, [ebp - 0x24]
cmp eax, edx
je 0x40843a
push eax
call fcn.0040af1a
add esp, 4
mov ecx, dword [ebx + 0x24]
add ecx, 0x88
cmp byte [ecx], 0
je 0x4084ac
mov eax, ecx
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x408450
sub eax, edi
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], ecx
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.00401300
mov eax, dword [eax]
add esp, 8
test eax, eax
jne 0x408483
mov eax, 0x41a184
mov edx, dword [esi + 4]
push eax
push 0x3f4
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4084d8
lea ecx, [ebp - 0x24]
cmp eax, ecx
je 0x4084d8
push eax
call fcn.0040af1a
add esp, 4
jmp 0x4084d8
mov edx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f5
push edx
call ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
mov eax, dword [esi + 4]
push 0x3f4
push eax
call ebx
push 0
push eax
call edi
mov ecx, dword [ebp - 0x98]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0040b16b
mov esp, ebp
pop ebp
ret 0x10