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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x41a584
push ebx
push esi
push edi
mov edi, dword [0x42519c]
xor eax, eax
push ebp
push 0x41ab0d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x425164]
mov eax, dword [eax]
call fcn.0040301c
push eax
mov eax, dword [edi]
push eax
call sub.user32.dll_SetWindowTextA
mov eax, dword [0x425164]
mov eax, dword [eax + 0x18]
call fcn.0040301c
push eax
push 1
mov eax, dword [edi]
push eax
call sub.user32.dll_SetDlgItemTextA
mov eax, dword [0x425164]
mov eax, dword [eax + 4]
cmp eax, 1
jne 0x41a653
push 0xffffffffffffffff
push 7
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_EnableWindow
push 0
push 0x14
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_EnableWindow
push 1
push 7
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x14
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x425164]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
lea eax, [ebp - 0xc]
mov edx, 0x41ab24
call fcn.00402e70
mov eax, dword [ebp - 0xc]
call fcn.0040301c
push eax
push 7
mov eax, dword [edi]
push eax
call sub.user32.dll_SetDlgItemTextA
jmp 0x41a700
mov edx, dword [0x425164]
cmp eax, 1
jbe 0x41a700
push 0
push 7
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 1
push 0x14
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 7
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_EnableWindow
push 0xffffffffffffffff
push 0x14
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_EnableWindow
mov esi, dword [0x425164]
mov esi, dword [esi + 4]
dec esi
test esi, esi
jl 0x41a6e7
inc esi
xor ebx, ebx
mov eax, dword [0x425164]
mov eax, dword [eax + 8]
mov eax, dword [eax + ebx*4]
call fcn.0040301c
push eax
push 0
push 0x143
push 0x14
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
inc ebx
dec esi
jne 0x41a6bb
push 0
push 0
push 0x14e
push 0x14
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
mov ecx, dword [0x425164]
mov ecx, dword [ecx + 0xc]
lea eax, [ebp - 0x10]
mov edx, 0x41ab24
call fcn.00402e70
mov eax, dword [ebp - 0x10]
call fcn.0040301c
push eax
push 8
mov eax, dword [edi]
push eax
call sub.user32.dll_SetDlgItemTextA
mov ecx, dword [0x425164]
mov ecx, dword [ecx + 0x10]
lea eax, [ebp - 0x14]
mov edx, 0x41ab24
call fcn.00402e70
mov eax, dword [ebp - 0x14]
call fcn.0040301c
push eax
push 0xa
mov eax, dword [edi]
push eax
call sub.user32.dll_SetDlgItemTextA
mov ecx, dword [0x425164]
mov ecx, dword [ecx + 0x14]
lea eax, [ebp - 0x18]
mov edx, 0x41ab24
call fcn.00402e70
mov eax, dword [ebp - 0x18]
call fcn.0040301c
push eax
push 0xb
mov eax, dword [edi]
push eax
call sub.user32.dll_SetDlgItemTextA
lea eax, [ebp - 8]
mov edx, dword [0x425164]
mov edx, dword [edx + 0x21]
call fcn.00402c68
jmp 0x41a833
mov edx, dword [ebp - 8]
mov eax, 0x41ab30
call fcn.00403100
test eax, eax
jle 0x41a82b
lea eax, [ebp - 4]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x41ab30
call fcn.00403100
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00403078
mov edx, dword [ebp - 8]
mov eax, 0x41ab30
call fcn.00403100
mov ecx, eax
inc ecx
lea eax, [ebp - 8]
mov edx, 1
call fcn.004030b8
mov eax, dword [ebp - 4]
call fcn.0040301c
push eax
push 0
push 0x180
push 0x12
mov eax, dword [edi]
push eax
call sub.user32.dll_SendDlgItemMessageA
mov edx, dword [ebp - 8]
mov eax, 0x41ab30
call fcn.00403100
test eax, eax
jne 0x41a833
mov eax, dword [ebp - 8]
call fcn.0040301c
push eax
push 0
push 0x180
push 0x12
mov eax, dword [edi]
push eax
call sub.user32.dll_SendDlgItemMessageA
jmp 0x41a833
lea eax, [ebp - 8]
call fcn.00402bd0
mov eax, dword [ebp - 8]
call fcn.00402e24
test eax, eax
jne 0x41a791
mov eax, dword [0x425198]
cmp byte [eax], 0xff
jle 0x41a9ba
mov eax, dword [0x425164]
cmp dword [eax + 4], 1
jne 0x41a8f5
mov eax, dword [0x425198]
mov eax, dword [eax + 1]
mov ecx, dword [eax + 1]
lea eax, [ebp - 0x1c]
mov edx, 0x41ab24
call fcn.00402e70
mov eax, dword [ebp - 0x1c]
call fcn.0040301c
push eax
push 9
mov eax, dword [edi]
push eax
call sub.user32.dll_SetDlgItemTextA
mov esi, dword [0x425198]
movsx esi, byte [esi]
dec esi
test esi, esi
jle 0x41a9ba
mov ebx, 1
push 9
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
lea edx, [ebp - 0x24]
call fcn.0040644c
push dword [ebp - 0x24]
push 0x41ab3c
imul eax, ebx, 0xb
mov edx, dword [0x425198]
mov edx, dword [edx + 1]
push dword [edx + eax*4 + 1]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00402ee4
mov eax, dword [ebp - 0x20]
call fcn.0040301c
push eax
push 9
mov eax, dword [edi]
push eax
call sub.user32.dll_SetDlgItemTextA
inc ebx
dec esi
jne 0x41a8a2
jmp 0x41a9ba
mov eax, dword [0x425198]
mov eax, dword [eax + 1]
mov eax, dword [eax + 5]
cmp eax, 0xffffffff
je 0x41a90f
mov edx, dword [0x425198]
test eax, eax
jne 0x41a93a
mov eax, dword [0x425198]
mov eax, dword [eax + 1]
mov ecx, dword [eax + 1]
lea eax, [ebp - 0x28]
mov edx, 0x41ab24
call fcn.00402e70
mov eax, dword [ebp - 0x28]
call fcn.0040301c
push eax
push 9
mov eax, dword [edi]
push eax
call sub.user32.dll_SetDlgItemTextA
mov esi, dword [0x425198]
movsx esi, byte [esi]
dec esi
test esi, esi
jle 0x41a9ba
mov ebx, 1
imul eax, ebx, 0xb
mov edx, dword [0x425198]
mov edx, dword [edx + 1]
mov eax, dword [edx + eax*4 + 5]
cmp eax, 0xffffffff
je 0x41a96c
mov edx, dword [0x425198]
test eax, eax
jne 0x41a9b6
push 9
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
lea edx, [ebp - 0x30]
call fcn.0040644c
push dword [ebp - 0x30]
push 0x41ab3c
imul eax, ebx, 0xb
mov edx, dword [0x425198]
mov edx, dword [edx + 1]
push dword [edx + eax*4 + 1]
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00402ee4
mov eax, dword [ebp - 0x2c]
call fcn.0040301c
push eax
push 9
mov eax, dword [edi]
push eax
call sub.user32.dll_SetDlgItemTextA
inc ebx
dec esi
jne 0x41a94d
push 0
mov eax, dword [0x425164]
movzx eax, byte [eax + 0x42]
push eax
push 0xf1
push 0xe
mov eax, dword [edi]
push eax
call sub.user32.dll_SendDlgItemMessageA
push 0
mov eax, dword [0x425164]
movzx eax, byte [eax + 0x40]
push eax
push 0xf1
push 0x11
mov eax, dword [edi]
push eax
call sub.user32.dll_SendDlgItemMessageA
mov eax, dword [0x425164]
cmp byte [eax + 0x40], 0
je 0x41aa0f
push 0x13
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [edi]
push eax
call sub.user32.dll_SetWindowPos
push 0xa
push 0x41ab40
mov eax, dword [0x426674]
push eax
call sub.kernel32.dll_FindResourceA
test eax, eax
jne 0x41aa3c
push 0
push 0xf
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_EnableWindow
jmp 0x41aaf2
push 0xffffffffffffffff
push 0xf
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_EnableWindow
mov byte [0x425158], 1
call fcn.00408014
push 0
push 0xac44
push 0
call fcn.00408b57
push 0x106
push 0
push 0xa
push 0x41ab40
mov eax, dword [0x426674]
push eax
call sub.kernel32.dll_FindResourceA
push eax
mov eax, dword [0x426674]
push eax
call sub.kernel32.dll_SizeofResource
push eax
push 0xa
push 0x41ab40
mov eax, dword [0x426674]
push eax
call sub.kernel32.dll_FindResourceA
push eax
mov eax, dword [0x426674]
push eax
call sub.kernel32.dll_LoadResource
push eax
call sub.kernel32.dll_LockResource
push eax
push 0xffffffffffffffff
call fcn.00410824
push 0
mov eax, dword [0x425164]
movzx eax, byte [eax + 0x3f]
push eax
push 0xf1
push 0xf
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [0x425164]
cmp byte [eax + 0x3f], 0
je 0x41aaed
call fcn.00413ccd
jmp 0x41aaf2
call fcn.00408a34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ab14
lea eax, [ebp - 0x30]
mov edx, 0xc
call fcn.00402bf4
ret