Function at 0x40b349
Capabilities:
Link many functions at runtime
Rebuild import table

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x38], ebx
mov byte [esi + 0x18], bl
mov byte [esi + 0x27], bl
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
lea ecx, [esi + 0x1a7c]
mov dword [esi + 0x68], ebx
call fcn.0040f560
lea ecx, [esi + 0x1a84]
call fcn.0040ac35
push str.3AB0621E_56B8_4698_9989_29514AE790A6_global
push 1
pop edi
mov dword [esi + 0x2588], ebx
push edi
push ebx
mov dword [esi + 0x2638], ebx
mov dword [esi + 0x263c], ebx
mov dword [esi + 0x2640], ebx
mov dword [esi + 0x2644], ebx
mov dword [esi + 0x2648], ebx
mov dword [esi + 0x264c], ebx
mov dword [esi + 0x2650], ebx
mov dword [esi + 0x2654], ebx
mov dword [esi + 0x2658], ebx
mov dword [esi + 0x265c], ebx
mov dword [esi], 0x4108ac
mov dword [esi + 0x2634], ebx
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
mov ecx, esi
mov dword [esi + 0x2630], eax
call fcn.0040ecb4
push 0x87
lea eax, [esi + 0x19e4]
push ebx
push eax
mov dword [esi + 0x262c], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x1b90], ebx
call fcn.00401e5d
push 0xa
lea eax, [esi + 0x1ba2]
push ebx
push eax
call fcn.00401e5d
push 0x400
lea eax, [esi + 0x1e6d]
push ebx
push eax
call fcn.00401e5d
push 0x200
lea eax, [esi + 0x227c]
push ebx
push eax
call fcn.00401e5d
push 0x101
lea eax, [esi + 0x247c]
push ebx
push eax
call fcn.00401e5d
push 0x81
push ebx
lea eax, [esi + 0x1bac]
push eax
call fcn.00401e5d
add esp, 0x48
lea eax, [esi + 0x1b98]
push 0xa
push ebx
push eax
call fcn.00401e5d
push 0x215
lea eax, [esi + 0x1c58]
push ebx
push eax
call fcn.00401e5d
push 9
lea eax, [esi + 0x226d]
push ebx
push eax
call fcn.00401e5d
push 0xa0
lea eax, [esi + 0x258c]
push ebx
push eax
call fcn.00401e5d
mov dword [esi + 0x1c48], ebx
mov dword [esi + 0x1c4c], ebx
mov dword [esi + 0x2580], ebx
mov dword [esi + 0x2584], ebx
mov dword [0x414f64], ebx
push 0x1954
lea eax, [esi + 0x88]
mov dword [esi + 0x2588], ebx
push ebx
mov dword [0x412d30], 0x2001
push eax
mov dword [esi + 0x1c54], edi
mov dword [esi + 0x74], ebx
mov dword [esi + 0x6c], edi
mov dword [esi + 0x19dc], ebx
mov dword [esi + 0x19e0], ebx
call fcn.00401e5d
push 0x10
lea eax, [esi + 0x1c38]
push ebx
push eax
call fcn.00401e5d
add esp, 0x48
push str.rasapi32
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 0x2278], eax
je 0x40b60f
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.RasEnumDevicesA
push eax
call edi
push str.RasEnumEntriesA
mov dword [esi + 0x263c], eax
push dword [esi + 0x2278]
call edi
push str.RasSetEntryPropertiesA
mov dword [esi + 0x2640], eax
push dword [esi + 0x2278]
call edi
push str.RasGetEntryPropertiesA
mov dword [esi + 0x2644], eax
push dword [esi + 0x2278]
call edi
push str.RasDeleteEntryA
mov dword [esi + 0x265c], eax
push dword [esi + 0x2278]
call edi
push str.RasDialA
mov dword [esi + 0x264c], eax
push dword [esi + 0x2278]
call edi
push str.RasHangUpA
mov dword [esi + 0x2638], eax
push dword [esi + 0x2278]
call edi
push str.RasGetErrorStringA
mov dword [esi + 0x2650], eax
push dword [esi + 0x2278]
call edi
push str.RasEnumConnectionsA
mov dword [esi + 0x2648], eax
push dword [esi + 0x2278]
call edi
push str.RasGetConnectStatusA
mov dword [esi + 0x2654], eax
push dword [esi + 0x2278]
call edi
mov dword [esi + 0x2658], eax
mov edi, dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push str.Disconnected
call edi
cmp eax, ebx
mov dword [esi + 0x7c], eax
jne 0x40b62a
mov dword [esi + 0x7c], 0x403
push str.RasDialEvent
call edi
cmp eax, ebx
mov dword [esi + 0x78], eax
jne 0x40b63f
mov dword [esi + 0x78], 0xcccd
mov ecx, esi
call fcn.0040b722
mov eax, esi
pop edi
pop esi
pop ebx
ret