Function at 0x40894f
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x23c
mov eax, dword [0x445060]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push esi
mov ebx, ecx
lea ecx, [esp + 0x64]
push edi
call fcn.0040a8c3
cmp dword [esp + 0x7c], 0x10
lea eax, [esp + 0x68]
push 0x64
cmovae eax, dword [esp + 0x6c]
push eax
push ebx
call fcn.0040c970
and dword [esp + 0x24], 0
add esp, 0xc
and dword [esp + 0x1c], 0
call fcn.00406f0d
push str.SOFTWAREMicrosoftInternet_Explorer_
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], eax
call fcn.00401f3f
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x24]
call fcn.0040b323
pop ecx
xor esi, esi
lea ecx, [esp + 0x20]
xor edi, edi
push esi
inc edi
push edi
call fcn.00402153
push str.Version
lea ecx, [esp + 0x24]
call fcn.00401f3f
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call fcn.00408dda
cmp dword [eax + 0x14], 0x10
jb 0x4089f5
mov eax, dword [eax]
push 0x32
push eax
lea eax, [ebx + 0x64]
push eax
call fcn.0040c970
add esp, 0xc
lea ecx, [esp + 0x20]
push esi
push edi
call fcn.00402153
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
call fcn.00406f0d
sub esp, 0x18
mov dword [esp + 0x28], eax
mov ecx, esp
push str.Firmbank.exe
call fcn.00401f3f
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0040228e
call fcn.0040be2a
add esp, 0x30
test eax, eax
jne 0x408a67
push str.SOFTWARECMBFirmBankApplication
lea ecx, [esp + 0x24]
call fcn.00401f3f
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x24]
call fcn.0040b069
jmp 0x408aac
sub esp, 0x18
mov ecx, esp
push str.FBSdkManager.exe
call fcn.00401f3f
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0040228e
call fcn.0040be2a
add esp, 0x30
test eax, eax
jne 0x408ab8
push str.SOFTWARECMBFbSdkApplication
lea ecx, [esp + 0x24]
call fcn.00401f3f
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x24]
call fcn.0040b323
pop ecx
push esi
push edi
lea ecx, [esp + 0x28]
call fcn.00402153
push str.Version
lea ecx, [esp + 0x9c]
call fcn.00401f3f
push str.AppName
lea ecx, [esp + 0x24]
call fcn.00401f3f
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x14]
call fcn.00408dda
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.00408dda
mov edx, eax
lea ecx, [esp + 0x84]
call fcn.00408e32
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x408b0e
mov eax, dword [eax]
push 0x32
push eax
lea eax, [ebx + 0x96]
push eax
call fcn.0040c970
add esp, 0xc
lea ecx, [esp + 0x80]
push esi
push edi
call fcn.00402153
push esi
push edi
lea ecx, [esp + 0x28]
call fcn.00402153
push esi
push edi
lea ecx, [esp + 0xa0]
call fcn.00402153
and dword [esp + 0x60], esi
lea eax, [esp + 0xb0]
push eax
push 0x101
mov dword [esp + 0x6c], 0xf
mov byte [esp + 0x58], 0
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x408b96
lea ecx, [esp + 0x50]
call fcn.00408c8a
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSACleanup]
test esi, esi
je 0x408b96
push 0x1e
lea eax, [ebx + 0xc8]
push esi
push eax
call fcn.0040c970
add esp, 0xc
cmp dword [esp + 0x64], 0x10
lea eax, [esp + 0x50]
push 0x32
cmovae eax, dword [esp + 0x54]
push eax
lea eax, [ebx + 0x106]
push eax
call fcn.0040c970
and dword [esp + 0x54], 0
lea ecx, [esp + 0x8c]
add esp, 0xc
mov dword [esp + 0x4c], 0xf
mov byte [esp + 0x38], 0
call fcn.00408d21
push eax
lea ecx, [esp + 0x3c]
call fcn.00401b7b
xor esi, esi
lea ecx, [esp + 0x80]
push esi
push edi
call fcn.00402153
cmp dword [esp + 0x4c], 0x10
lea eax, [esp + 0x38]
push 0x1f
cmovae eax, dword [esp + 0x3c]
push eax
lea eax, [ebx + 0xe6]
push eax
call fcn.0040c970
add esp, 0xc
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
call esi
push 1
mov edi, eax
call esi
push eax
push edi
lea eax, [ebx + 0x16a]
push str._dX_d
push eax
call fcn.0040dc3c
add esp, 0x10
lea ecx, [esp + 0x38]
xor ebx, ebx
xor esi, esi
inc esi
push ebx
push esi
call fcn.00402153
push ebx
push esi
lea ecx, [esp + 0x58]
call fcn.00402153
lea ecx, [esp + 0x10]
call fcn.00406b12
lea ecx, [esp + 0x18]
call fcn.00406b12
push ebx
push esi
lea ecx, [esp + 0x70]
call fcn.00402153
push ebx
push esi
lea ecx, [ebp + 8]
call fcn.00402153
mov ecx, dword [esp + 0x244]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040c1f3
mov esp, ebp
pop ebp
ret