Function at 0x40fa90
Capabilities:
Get local ipv4 addresses
Get socket information
Read .ini file
Set socket configuration

Disassembly:
sub esp, 0x358
mov dword [esp + 4], 1
push ebx
push esi
push edi
xor ebx, ebx
push ebp
cmp dword [0x42f7dc], ebx
je 0x40faea
lea eax, [esp + 0x18]
push 0x100
push eax
mov ecx, dword [0x438580]
push 0x36b4
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x18]
push ecx
push str.___s
call fcn.0040cf50
add esp, 8
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x358
ret
mov esi, dword [esp + 0x36c]
inc dword [0x42f7e0]
mov dword [0x42f330], 0
mov dword [0x42fbd4], 0
mov eax, dword [esi + 0x488]
push str.Please_enter_a_userid_for_the_connection_to__s:
mov dword [esi + 0x4ac], 6
lea ecx, [esp + 0x1c]
mov dword [0x42f334], eax
mov dword [0x42f844], 0
mov byte [0x42f538], 0
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [esi + 0x150], 0
jne 0x40fb62
lea eax, [esi + 0x50]
lea ecx, [esp + 0x18]
push eax
lea edx, [esi + 0x150]
push ecx
push edx
call fcn.00411820
add esp, 0xc
mov dword [0x42f844], 0
mov byte [0x42f538], 0
cmp dword [esi + 0x4a4], 0
je 0x40fc53
push 0x438470
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 1
push str.FIRETYPE
push str.FIREWALL
call edi
cmp eax, 6
mov ebx, eax
je 0x40fbc5
lea eax, [esp + 0x118]
push 0x438470
push 0x4f
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0
push str.HOST
push str.FIREWALL
call ebp
jmp 0x40fbdd
lea eax, [esi + 0x50]
lea ecx, [esp + 0x118]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x438470
push 0x4f
push 0x42f638
push 0
push 0x42f888
push str.FIREWALL
call ebp
push 0x438470
push 0x6f
push 0x438c30
push 0
push 0x42f88c
push str.FIREWALL
call ebp
test eax, eax
je 0x40fc33
push 0x438c30
push 0x42f638
call fcn.004011c0
add esp, 8
push eax
push 0x42f688
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp ebx, 6
je 0x40fc65
push 0x438470
push 0x15
push str.PORT
push str.FIREWALL
call edi
mov dword [esi + 0x490], eax
jmp 0x40fc65
lea eax, [esi + 0x50]
lea ecx, [esp + 0x118]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x430f68
mov eax, dword [esi + 0x490]
lea ecx, [esp + 0x11c]
push eax
push ecx
call fcn.00419b70
add esp, 0xc
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x40fcd4
lea eax, [esp + 0x18]
push 0x100
push eax
mov ecx, dword [0x438580]
push 0x36c2
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x118]
lea edx, [esp + 0x18]
push ecx
push edx
push str.___s__s
call fcn.0040cf50
add esp, 0xc
mov eax, 0xffffffff
dec dword [0x42f7e0]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x358
ret
mov dword [esp + 0x10], 0x10
lea eax, [esp + 0x10]
push eax
push 0x437340
push ebp
call sub.WSOCK32.dll_getsockname
cmp eax, 0xffffffff
jne 0x40fd2d
call sub.WSOCK32.dll_WSAGetLastError
push eax
push str.getsockname
call fcn.0041a860
add esp, 8
dec dword [0x42f7e0]
mov dword [0x42f7dc], 0
push ebp
call fcn.004160f0
add esp, 4
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x358
ret
mov ax, word [0x437342]
push eax
call sub.WSOCK32.dll_ntohs
movzx eax, ax
push eax
mov ecx, dword [0x437344]
push ecx
call sub.WSOCK32.dll_inet_ntoa
lea ecx, [esp + 0x26c]
push eax
push ebp
push str.__u__from__s_port__u
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x27c]
add esp, 0x14
xor edi, edi
push ecx
call fcn.0040cf20
add esp, 4
mov dword [0x430e84], edi
mov dword [0x430e7c], 1
mov dword [0x430e88], edi
push ebp
call fcn.0040b610
add esp, 4
cmp eax, 1
jne 0x40fe12
cmp dword [0x42f330], edi
jne 0x40fe12
push str._WS_FTP
push 0x438c30
call fcn.004202f0
add esp, 8
test eax, eax
je 0x40fdec
cmp byte [eax - 2], 0x58
jne 0x40fdec
dec eax
push eax
call fcn.00420160
add esp, 4
mov dword [0x430e88], eax
push 0x28
push 0x438c30
call fcn.00420180
add esp, 8
test eax, eax
je 0x40fdec
inc eax
push eax
call fcn.004200b0
add esp, 4
mov dword [0x430e84], eax
cmp dword [esi + 0x4a4], edi
jne 0x40fd89
cmp dword [esi + 0x48c], 0x1770
jne 0x40fd89
push 0x438c30
call fcn.00418620
add esp, 4
jmp 0x40fd89
xor edi, edi
cmp eax, 4
mov dword [0x430e7c], edi
jne 0x40fe7a
lea eax, [esp + 0x18]
push 0x100
push eax
mov ecx, dword [0x438580]
push 0x36c2
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x118]
lea edx, [esp + 0x18]
push ecx
push edx
push str.___s__s
call fcn.0040cf50
add esp, 0xc
dec dword [0x42f7e0]
push ebp
call fcn.004160f0
add esp, 4
mov eax, 0xffffffff
mov dword [0x42f330], edi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x358
ret
cmp eax, 2
jne 0x4109d8
push str._WS_FTP
push 0x438c30
call fcn.004202f0
add esp, 8
test eax, eax
je 0x40fed0
cmp byte [eax - 2], 0x58
jne 0x40fed0
dec eax
push eax
call fcn.00420160
add esp, 4
mov dword [0x430e88], eax
push 0x28
push 0x438c30
call fcn.00420180
add esp, 8
test eax, eax
je 0x40fed0
inc eax
push eax
call fcn.004200b0
add esp, 4
mov dword [0x430e84], eax
cmp dword [esi + 0x4a4], 0
jne 0x40fef2
cmp dword [esi + 0x48c], 0x1770
jne 0x40fef2
push 0x438c30
call fcn.00418620
add esp, 4
lea eax, [esp + 0x14]
push 4
push eax
push 0x100
push 0xffff
push ebp
call sub.WSOCK32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x40ff21
call sub.WSOCK32.dll_WSAGetLastError
push eax
push str.setsockopt
call fcn.0041a860
add esp, 8
dec dword [0x42f7e0]
mov eax, dword [esi + 0x4a4]
test eax, eax
je 0x410318
cmp ebx, 6
jne 0x4101a6
push 0x42f638
push str.USER__s
push ebp
call fcn.00415e20
add esp, 0xc
cmp eax, 3
jne 0x40ffc5
lea eax, [esp + 0x18]
push 0x100
push eax
mov ecx, dword [0x438580]
push 0x377d
xor ebx, ebx
mov dword [0x42f844], 0x52
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [0x42f688], bl
jne 0x40ffa6
lea eax, [esp + 0x18]
push 0x42f0f0
push 0x42f638
push eax
push 0x42f688
call fcn.004118d0
add esp, 0x10
test eax, eax
jne 0x40ff7e
xor eax, eax
push 0x42f688
push str.PASS__s
mov dword [0x42f844], eax
push ebp
mov byte [0x42f538], al
call fcn.00415e20
add esp, 0xc
cmp eax, 2
jne 0x41057c
push 0x438c30
call fcn.00418620
add esp, 4
lea eax, [esp + 0x18]
push 0x100
push eax
mov ecx, dword [0x438580]
push 0x3784
lea edi, [esi + 0x1a0]
mov dword [0x42f844], 0x50
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [edi], 0
jne 0x410025
lea eax, [esi + 0x50]
lea ecx, [esi + 0x150]
lea edx, [esp + 0x18]
push eax
push ecx
push edx
push edi
call fcn.004118d0
add esp, 0x10
xor eax, eax
mov dword [0x42f844], eax
mov byte [0x42f538], al
cmp dword [0x430e84], eax
je 0x410092
cmp dword [0x430e88], eax
je 0x410092
mov eax, dword [0x430e88]
lea ecx, [esp + 0x268]
push eax
mov edx, dword [0x430e84]
push ecx
lea eax, [esi + 0x150]
push edx
push edi
push eax
call fcn.0040f960
add esp, 0x14
test eax, eax
je 0x410092
lea eax, [esp + 0x268]
mov ecx, dword [0x430e88]
push eax
push ecx
push str.XAUT__u__s
push ebp
call fcn.00415e20
add esp, 0x10
mov edi, eax
cmp edi, 2
je 0x4108eb
lea eax, [esi + 0x150]
push eax
push str.USER__s
push ebp
call fcn.00415e20
add esp, 0xc
mov edi, eax
cmp edi, 3
jne 0x410893
lea eax, [esp + 0x18]
push 0x100
push eax
mov ecx, dword [0x438580]
push 0x3784
lea ebx, [esi + 0x1a0]
mov dword [0x42f844], 0x50
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [ebx], 0
jne 0x410100
lea eax, [esi + 0x50]
lea ecx, [esi + 0x150]
lea edx, [esp + 0x18]
push eax
push ecx
push edx
push ebx
call fcn.004118d0
add esp, 0x10
test eax, eax
jne 0x4100de
xor eax, eax
mov dword [0x42f844], eax
mov byte [0x42f538], al
cmp byte [ebx], al
je 0x410893
push ebx
push str.PASS__s
push ebp
call fcn.00415e20
add esp, 0xc
mov edi, eax
cmp edi, 3
jne 0x410807
lea eax, [esp + 0x18]
push 0x100
push eax
mov ecx, dword [0x438580]
push 0x3779
lea ebx, [esi + 0x1f0]
mov dword [0x42f844], 0x55
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [ebx], 0
jne 0x41017c
lea eax, [esi + 0x50]
lea ecx, [esi + 0x150]
lea edx, [esp + 0x18]
push eax
push ecx
push edx
push ebx
call fcn.004118d0
add esp, 0x10
test eax, eax
jne 0x41015a
xor eax, eax
mov dword [0x42f844], eax
mov byte [0x42f538], al
cmp byte [ebx], al
je 0x410893
push ebx
push str.ACCT__s
push ebp
call fcn.00415e20
add esp, 0xc
mov edi, eax
jmp 0x410893
test eax, eax
je 0x410460
cmp ebx, 4
jne 0x410318
lea eax, [esi + 0x50]
push 0x42f638
push eax
lea ecx, [esi + 0x150]
push ecx
push str.USER__s__s__s
push ebp
call fcn.00415e20
add esp, 0x14
cmp eax, 3
jne 0x4102d1
lea eax, [esp + 0x18]
push 0x100
push eax
mov ecx, dword [0x438580]
push 0x3784
lea edi, [esi + 0x1a0]
mov dword [0x42f844], 0x50
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [edi], 0
jne 0x41022b
lea eax, [esp + 0x18]
push 0x42f0f0
push 0x42f638
push eax
push edi
call fcn.004118d0
add esp, 0x10
test eax, eax
jne 0x41020a
xor ebx, ebx
mov dword [0x42f844], ebx
mov byte [0x42f538], bl
cmp byte [edi], bl
je 0x4102d1
push edi
push str.PASS__s
push ebp
call fcn.00415e20
add esp, 0xc
cmp eax, 3
jne 0x4102d1
lea eax, [esp + 0x18]
push 0x100
push eax
mov ecx, dword [0x438580]
mov dword [0x42f844], 0x52
push 0x377d
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [0x42f688], bl
jne 0x4102a3
lea eax, [esp + 0x18]
push 0x42f0f0
push 0x42f638
push eax
push 0x42f688
call fcn.004118d0
add esp, 0x10
test eax, eax
jne 0x41027b
xor eax, eax
mov dword [0x42f844], eax
mov byte [0x42f538], al
cmp byte [0x42f688], al
je 0x4102d1
push 0x42f688
push str.ACCT__s
push ebp
call fcn.00415e20
add esp, 0xc
mov edi, eax
jmp 0x410893
lea eax, [esp + 0x18]
push 0x100
push eax
mov ecx, dword [0x438580]
push 0x3701
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x18]
push ecx
push str.___s
call fcn.0040cf50
add esp, 8
push ebp
call fcn.004160f0
add esp, 4
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x358
ret
test eax, eax
je 0x410506
cmp ebx, 2
jge 0x410460
push 0x42f638
push str.USER__s
push ebp
call fcn.00415e20
add esp, 0xc
cmp eax, 3
jne 0x4103af
lea eax, [esp + 0x18]
push 0x100
push eax
mov ecx, dword [0x438580]
mov dword [0x42f844], 0x52
push 0x377d
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [0x42f688], 0
jne 0x410390
lea eax, [esp + 0x18]
push 0x42f0f0
push 0x42f638
push eax
push 0x42f688
call fcn.004118d0
add esp, 0x10
test eax, eax
jne 0x410367
xor eax, eax
push 0x42f688
push str.PASS__s
mov dword [0x42f844], eax
push ebp
mov byte [0x42f538], al
call fcn.00415e20
add esp, 0xc
cmp eax, 2
je 0x410405
lea eax, [esp + 0x18]
push 0x100
push eax
mov ecx, dword [0x438580]
push 0x3701
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x18]
push ecx
push str.___s
call fcn.0040cf50
add esp, 8
push ebp
call fcn.004160f0
add esp, 4
mov eax, 0xffffffff
mov dword [0x42f330], 0
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x358
ret
cmp ebx, 1
jne 0x41042e
lea eax, [esi + 0x50]
lea ecx, [esi + 0x150]
push eax
push ecx
push str.USER__s__s
push ebp
call fcn.00415e20
add esp, 0x10
mov edi, eax
cmp edi, 3
je 0x4100b2
test ebx, ebx
jne 0x41057c
lea eax, [esi + 0x50]
push eax
push str.SITE__s
push ebp
call fcn.00415e20
add esp, 0xc
cmp eax, 5
je 0x41057c
mov dword [0x42f7dc], 1
jmp 0x40ffdb
test eax, eax
je 0x41054f
cmp ebx, 5
jne 0x410506
lea eax, [esi + 0x50]
push eax
push 0x42f638
push str.USER__s__s
push ebp
call fcn.00415e20
add esp, 0x10
cmp eax, 3
jne 0x4104fc
lea eax, [esp + 0x18]
push 0x100
push eax
mov ecx, dword [0x438580]
push 0x377d
xor ebx, ebx
mov dword [0x42f844], 0x52
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [0x42f688], bl
jne 0x4104dd
lea eax, [esp + 0x18]
push 0x42f0f0
push 0x42f638
push eax
push 0x42f688
call fcn.004118d0
add esp, 0x10
test eax, eax
jne 0x4104b5
xor eax, eax
push 0x42f688
push str.PASS__s
mov dword [0x42f844], eax
push ebp
mov byte [0x42f538], al
call fcn.00415e20
add esp, 0xc
cmp eax, 2
jne 0x41057c
jmp 0x40ffce
test eax, eax
je 0x4105eb
cmp ebx, 2
jne 0x41054f
lea eax, [esi + 0x50]
lea ecx, [esi + 0x150]
push eax
push ecx
push str.USER__s__s
push ebp
call fcn.00415e20
add esp, 0x10
mov edi, eax
cmp edi, 2
jne 0x410545
push 0x438c30
call fcn.00418620
add esp, 4
jmp 0x410893
cmp edi, 3
jne 0x41057c
jmp 0x4100b2
test eax, eax
je 0x40ffdb
cmp ebx, 3
jne 0x4105eb
lea eax, [esi + 0x50]
push eax
push str.OPEN__s
push ebp
call fcn.00415e20
add esp, 0xc
cmp eax, 3
je 0x4105cf
cmp eax, 2
je 0x4105cf
lea eax, [esp + 0x18]
push 0x100
push eax
mov ecx, dword [0x438580]
push 0x36c3
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x18]
push ecx
push str.___s
call fcn.0040cf50
add esp, 8
push ebp
call fcn.004160f0
add esp, 4
xor eax, eax
mov dword [0x42f7dc], eax
mov dword [0x42f330], eax
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x358
ret
push 0x438c30
call fcn.00418620
mov dword [0x42f7dc], 1
add esp, 4
jmp 0x40ffdb
test eax, eax
je 0x40ffdb
cmp ebx, 7
jne 0x40ffdb
lea ebx, [esi + 0x50]
lea eax, [esi + 0x150]
push ebx
push 0x42f638
push eax
push 0x430ed8
push ebp
call fcn.00415e20
add esp, 0x14
mov edi, eax
cmp edi, 3
jne 0x410893
lea eax, [esp + 0x18]
push 0x100
push eax
mov ecx, dword [0x438580]
mov dword [0x42f844], 0x52
push 0x377d
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [0x42f688], 0
jne 0x410674
lea eax, [esp + 0x18]
push 0x42f0f0
push 0x42f638
push eax
push 0x42f688
call fcn.004118d0
add esp, 0x10
test eax, eax
jne 0x41064b
lea eax, [esp + 0x18]
push 0x100
push eax
mov ecx, dword [0x438580]
push 0x3784
lea edi, [esi + 0x1a0]
mov byte [0x42f538], 0
mov dword [0x42f844], 0x50
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [edi], 0
jne 0x4106c6
push ebx
lea eax, [esi + 0x150]
lea ecx, [esp + 0x1c]
push eax
push ecx
push edi
call fcn.004118d0
add esp, 0x10
test eax, eax
jne 0x4106a7
xor eax, eax
push 0x42f688
push edi
mov dword [0x42f844], eax
push str.PASS__s__s
mov byte [0x42f538], al
push ebp
call fcn.00415e20
add esp, 0x10
mov edi, eax
cmp edi, 3
jne 0x410774
lea eax, [esp + 0x18]
push 0x100
push eax
mov ecx, dword [0x438580]
mov dword [0x42f844], 0x55
push 0x3779
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [esi + 0x1f0], 0
jne 0x410740
push ebx
lea eax, [esi + 0x150]
lea ecx, [esp + 0x1c]
push eax
push ecx
lea edx, [esi + 0x1f0]
push edx
call fcn.004118d0
add esp, 0x10
test eax, eax
jne 0x410717
xor eax, eax
mov dword [0x42f844], eax
mov byte [0x42f538], al
cmp byte [esi + 0x1f0], al
je 0x410893
lea eax, [esi + 0x1f0]
push eax
push str.ACCT__s
push ebp
call fcn.00415e20
add esp, 0xc
mov edi, eax
jmp 0x410893
cmp edi, 2
jne 0x410898
push str.ACCOUNT
push 0x438c30
call fcn.004202f0
add esp, 8
test eax, eax
je 0x410893
lea eax, [esp + 0x18]
push 0x100
push eax
mov ecx, dword [0x438580]
mov dword [0x42f844], 0x55
push 0x3779
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [esi + 0x1f0], 0
jne 0x4107e6
push ebx
lea eax, [esi + 0x150]
lea ecx, [esp + 0x1c]
push eax
push ecx
lea edx, [esi + 0x1f0]
push edx
call fcn.004118d0
add esp, 0x10
test eax, eax
jne 0x4107bd
xor eax, eax
mov dword [0x42f844], eax
mov byte [0x42f538], al
cmp byte [esi + 0x1f0], al
je 0x410893
lea eax, [esi + 0x1f0]
push eax
jmp 0x410885
cmp edi, 2
jne 0x410898
push str.ACCOUNT
push 0x438c30
call fcn.004202f0
add esp, 8
test eax, eax
je 0x410893
lea eax, [esp + 0x18]
push 0x100
push eax
mov ecx, dword [0x438580]
push 0x3779
lea ebx, [esi + 0x1f0]
mov dword [0x42f844], 0x55
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [ebx], 0
jne 0x410874
lea eax, [esi + 0x50]
lea ecx, [esi + 0x150]
lea edx, [esp + 0x18]
push eax
push ecx
push edx
push ebx
call fcn.004118d0
add esp, 0x10
test eax, eax
jne 0x410852
xor eax, eax
mov dword [0x42f844], eax
mov byte [0x42f538], al
cmp byte [ebx], al
je 0x410893
push ebx
push str.ACCT__s
push ebp
call fcn.00415e20
add esp, 0xc
cmp edi, 2
je 0x4108eb
lea eax, [esp + 0x18]
push 0x100
push eax
mov ecx, dword [0x438580]
push 0x371b
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x18]
push ecx
push str.___s
call fcn.0040cf50
add esp, 8
push ebp
call fcn.004160f0
add esp, 4
xor eax, eax
mov dword [0x42f7dc], eax
mov dword [0x42f330], eax
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x358
ret
lea edx, [esi + 0x360]
cmp byte [edx], 0
je 0x410968
lea edi, [esp + 0x168]
xor eax, eax
mov ecx, 0x40
push edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x168]
push 0x3b
push eax
call fcn.00420180
add esp, 8
mov edi, eax
test edi, edi
je 0x410945
mov byte [edi], 0
lea eax, [esp + 0x168]
push eax
inc edi
push ebp
call fcn.00415e20
add esp, 8
push edi
jmp 0x410907
lea eax, [esp + 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x410968
lea eax, [esp + 0x168]
push eax
push ebp
call fcn.00415e20
add esp, 8
mov eax, 1
mov dword [0x42f7dc], eax
cmp dword [esi + 0x48c], 0x1783
jne 0x41098a
mov dword [0x430e18], eax
mov dword [0x4365b4], eax
jmp 0x410994
mov dword [0x430e18], 0
add esi, 0x50
push esi
push 0x438030
push 0x4303b4
push 0x438790
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov eax, dword [0x42f7d0]
push 0x438790
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov dword [0x430e80], 0
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x358
ret
lea eax, [esp + 0x18]
push 0x100
push eax
mov ecx, dword [0x438580]
push 0x37e3
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
mov ecx, dword [0x438050]
lea edx, [esp + 0x18]
push ecx
push 0x438c30
push edx
push str.___s___s___u
call fcn.0040cf50
add esp, 0x10
dec dword [0x42f7e0]
push ebp
call fcn.004160f0
add esp, 4
mov eax, 0xffffffff
mov dword [0x42f330], 0
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x358
ret