Function at 0x418c50
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4358cb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x459f34]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esi + 0x10]
mov dword [esp + 0x24], 1
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov cx, word [esp + 0x2c]
mov word [esi + 0x14], cx
lea edi, [esi + 0xc]
push 0x438d18
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_820]
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_316]
movzx ebx, byte [esp + 0x34]
lea eax, [ebx - 3]
mov byte [esp + 0x20], 2
cmp eax, 0x11
ja case.0x418ccd.4
movzx edx, byte [eax + 0x418f1c]
jmp dword [edx*4 + 0x418ef0]
mov eax, dword [esp + 0x30]
push ebx
push eax
push 5
push str.MODE_dCID_dOP_d
push edi
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x14
jmp case.0x418ccd.4
mov ecx, dword [esp + 0x30]
push ebx
add ecx, 0x64
push ecx
jmp 0x418cda
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
push edx
push eax
push 3
push ecx
push 5
push str.MODE_dCID_dOP_dCH_x
push edi
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x1c
jmp case.0x418ccd.4
mov ecx, dword [esp + 0x30]
add ecx, 0x64
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 0x18]
push edx
push eax
push 3
push ecx
push 5
push str.MODE_dCID_dOP_dCH_xLEN1REQ_s
push edi
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x1c
jmp case.0x418ccd.4
mov ecx, dword [esp + 0x30]
jmp 0x418d29
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
push edx
push eax
push ebx
push ecx
push 5
push str.MODE_dCID_dOP_dCH_dLEN1REQ_s
push edi
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x1c
jmp case.0x418ccd.4
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push edx
push ebx
push eax
push 5
push str.MODE_dCID_dOP_dLEN1REQ_s
jmp 0x418df3
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
push ecx
push ebx
push edx
push 5
push str.MODE_dCID_dOP_dCH_x
jmp 0x418df3
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push ebp
push eax
lea ecx, [esp + 0x30]
push str._s_d
push ecx
call dword [sym.imp.mfc90.dll_Ordinal_2539]
mov edx, dword [esp + 0x50]
add esp, 0x10
push ebp
push edx
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_3178]
push eax
push ebx
push 5
push str.MODE_dOP_dLEN_dREQ_s_d
push edi
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x1c
jmp case.0x418ccd.4
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
push eax
push ebx
push ecx
push 5
push 0x43b574
push edi
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x18
lea edx, [esp + 0x14]
push edx
xor ebp, ebp
push ebp
push esi
push 0x418a40
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, ebp
jne 0x418e66
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp eax, ebp
je 0x418e29
push eax
call edi
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x418e33
push eax
call edi
mov eax, dword [esi]
cmp eax, ebp
je 0x418e3c
push eax
call edi
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
mov dword [esi], ebp
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x40]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor eax, eax
jmp 0x418ed7
push 0xea60
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x418ead
mov eax, dword [esi + 8]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp eax, ebp
je 0x418e89
push eax
call ebx
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x418e93
push eax
call ebx
mov eax, dword [esi]
cmp eax, ebp
je 0x418e9c
push eax
call ebx
push edi
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
mov dword [esi], ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x418e44
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x40]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x20