Function at 0x402452
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x40cd67
call fcn.00407bd0
sub esp, 0x6dc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [esi + 4], edi
call fcn.00407e88
pop ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea ecx, [ebp - 0x60]
call fcn.00408d5c
xor ebx, ebx
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], ebx
call fcn.00408d5c
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.00408ef0
push eax
lea ecx, [ebp - 0x60]
call fcn.00408ef0
mov ecx, dword [esi + 0x28]
push eax
call fcn.00409a4e
test eax, eax
jne 0x4024da
push str.Modem_was_not_detected...
push ebx
push 0x434
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
xor esi, esi
jmp 0x402ac0
movzx eax, word [esi + 0x450]
push eax
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
push 1
push 0x80
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x10], eax
call edi
push dword [ebp - 0x10]
push ebx
push 0x80
push dword [ebp + 8]
call edi
lea eax, [esi + 0x458]
push eax
push 0x100
push 0x465
push dword [esi + 8]
call edi
lea eax, [esi + 0x458]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x3f4
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x402585
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402585
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x44]
push ebx
sub eax, dword [ebp - 0x4c]
lea ecx, [esi + 0x55c]
push eax
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x50]
push eax
push dword [ebp - 0x10]
push 0x81
push dword [esi + 0xc]
call fcn.0040153c
lea eax, [ebp - 0xd0]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x4024d3
lea eax, [ebp - 0x6e8]
push eax
mov eax, dword [0x414784]
push 0x400
push 0x466
push dword [eax + 8]
call edi
lea ecx, [ebp - 0x40]
call fcn.00408d5c
mov eax, dword [esi + 0x2c]
lea edi, [esi + 0x2c]
push 1
lea ecx, [ebp - 0x6e8]
push 0x2001f
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov ecx, edi
mov byte [ebp - 4], 2
call dword [eax + 8]
cmp eax, 2
je 0x40260e
mov ebx, dword [edi]
mov eax, 0x7d00
push 1
push eax
push eax
lea ecx, [ebp - 0x40]
call fcn.004094e0
push eax
push str.TermsAndConditions
mov ecx, edi
call dword [ebx + 0x18]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
xor ebx, ebx
lea ecx, [ebp - 0x40]
call fcn.00403f74
lea ecx, [ebp - 0x40]
call fcn.00408ee3
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x402894
lea ecx, [ebp - 0x40]
call fcn.00408ef0
mov dword [ebp - 0x10], eax
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call fcn.00404025
push dword [ebp - 0x10]
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea ecx, [ebp - 0x20]
push dword [ebp - 0x10]
call fcn.00404140
push dword [esi + 4]
mov byte [ebp - 4], 3
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402884
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x30], al
call fcn.00404025
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
cmp eax, ebx
jne 0x402690
mov eax, 0x40e35c
push eax
call sub.MSVCRT.dll_strlen
cmp dword [ebp - 0x24], eax
pop ecx
jae 0x4026a6
push ebx
push eax
lea ecx, [ebp - 0x30]
call fcn.00403fa0
push 0x411184
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push ebx
push 0x411184
lea ecx, [ebp - 0x20]
call fcn.00403ef2
cmp eax, ebx
mov dword [ebp - 0x10], eax
jl 0x40282f
jmp 0x4026d0
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jle 0x40277c
lea ecx, [eax - 1]
cmp dword [ebp - 0x18], ecx
jb 0x4026fb
cmp dword [ebp - 0x1c], ebx
je 0x4026fb
lea ecx, [ebp - 0x20]
call fcn.00403f74
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
dec eax
add ecx, eax
mov eax, dword [ebp - 0x10]
jmp 0x402700
mov ecx, 0x40e35c
cmp byte [ecx], 0xd
jne 0x40277c
inc eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xa0]
push ebx
push eax
call fcn.00403df1
push dword [0x40e358]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
push ebx
push eax
call fcn.00404061
push 1
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.00404025
push dword [0x40e358]
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x10]
push eax
call fcn.00403df1
push dword [0x40e358]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
push ebx
push eax
call fcn.00403e24
mov byte [ebp - 4], 4
push 1
lea ecx, [ebp - 0xb0]
jmp 0x402805
push eax
lea eax, [ebp - 0x90]
push ebx
push eax
lea ecx, [ebp - 0x20]
call fcn.00403df1
push dword [0x40e358]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
push ebx
push eax
call fcn.00404061
push 1
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 4
call fcn.00404025
push 0x411180
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push 0x411180
lea ecx, [ebp - 0x30]
call fcn.004040e9
mov eax, dword [ebp - 0x10]
push dword [0x40e358]
inc eax
lea ecx, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00403df1
push dword [0x40e358]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
push ebx
push eax
call fcn.00403e24
mov byte [ebp - 4], 4
push 1
lea ecx, [ebp - 0xc0]
call fcn.00404025
push 0x411184
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push ebx
push 0x411184
lea ecx, [ebp - 0x20]
call fcn.00403ef2
cmp eax, ebx
mov dword [ebp - 0x10], eax
jge 0x4026cd
push dword [0x40e358]
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x30]
push ebx
push eax
call fcn.00404061
push 0x414778
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push 0x414778
lea ecx, [ebp - 0x20]
call fcn.00404140
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x402867
mov eax, 0x40e35c
push eax
push 0x3e8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00404025
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00404025
jmp 0x4028d3
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push 0xa
push 0xad
push eax
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, ebx
je 0x4028d3
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, ebx
je 0x4028d3
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
cmp eax, ebx
je 0x4028d3
push eax
push 0x3e8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x100
lea eax, [ebp - 0x2e8]
push ebx
push eax
mov dword [ebp - 0x10], ebx
call sub.MSVCRT.dll_memset
mov eax, dword [edi]
add esp, 0xc
lea ecx, [ebp - 0x6e8]
push 1
push 0x2001f
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov ecx, edi
call dword [eax + 8]
cmp eax, 2
je 0x4029c9
mov eax, dword [edi]
push 1
lea ecx, [ebp - 0x2e8]
push 0x100
push ecx
push str.Password_Lock
mov ecx, edi
call dword [eax + 0x18]
test eax, eax
je 0x402933
mov dword [ebp - 0x10], 1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
cmp dword [ebp - 0x10], ebx
je 0x4029c9
lea eax, [ebp - 0x2e8]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
je 0x4029c9
lea ecx, [ebp - 0x1e8]
call fcn.00401b49
push dword [ebp + 8]
lea ecx, [ebp - 0x1e8]
mov byte [ebp - 4], 9
call fcn.00401bd8
cmp eax, 1
je 0x4029ba
push 2
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0x1e8]
mov byte [ebp - 4], 2
call fcn.00401ba8
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00408e57
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], bl
call fcn.00408e57
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00408e57
xor eax, eax
jmp 0x402ad9
lea ecx, [ebp - 0x1e8]
mov byte [ebp - 4], 2
call fcn.00401ba8
push 3
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [esi + 4]
call fcn.00407f08
mov eax, dword [esi + 0x28]
pop ecx
lea ecx, [eax + 0x54]
call fcn.00408ee3
push eax
lea ecx, [esi + 0x18]
call fcn.00408f37
push dword [esi + 4]
call fcn.00407f08
pop ecx
lea ecx, [ebp - 0x80]
call fcn.00408d5c
mov eax, dword [edi]
push 1
lea ecx, [ebp - 0x6e8]
push 0x2001f
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov ecx, edi
mov byte [ebp - 4], 0xa
call dword [eax + 8]
cmp eax, 2
je 0x402a52
mov ebx, dword [edi]
mov eax, 0x100
push 1
push eax
push eax
lea ecx, [ebp - 0x80]
call fcn.004094e0
push eax
push str.DialingPrefix
mov ecx, edi
call dword [ebx + 0x18]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
xor ebx, ebx
push 0xd0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
cmp esi, ebx
je 0x402aa5
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402aa5
lea ecx, [ebp - 0x80]
call fcn.00408ee3
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x41117c
push ebx
push 0x143
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.00408e57
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00408e57
push 1
pop esi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], bl
call fcn.00408e57
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00408e57
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4