Function at 0x403040
Capabilities:
Access peb ldr_data
Print debug messages
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x412d38
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41913c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
mov eax, dword [0x419fac]
mov edx, dword [eax + 0xc]
mov ecx, 0x419fac
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], 0
mov eax, dword [0x419fac]
mov edx, dword [eax + 0xc]
mov ecx, 0x419fac
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
mov ebx, 1
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x38]
inc eax
cmp eax, 4
ja case.default.0x4030b6
jmp dword [eax*4 + 0x4034e4]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 8]
push 0xffffffffffffffff
push eax
mov eax, dword [esi + 0x20]
push ecx
mov ecx, dword [esi + 0x24]
push edx
mov edx, dword [esi + 0x2c]
push eax
mov eax, dword [esi + 0x28]
push ecx
mov ecx, dword [esi + 0x34]
push edx
mov edx, dword [esi + 0x30]
push eax
movzx eax, byte [esi + 2]
push ecx
movzx ecx, byte [esi]
push edx
movzx edx, byte [esi + 1]
push eax
push ecx
push edx
push str.soft_03u__03u__03uver_sip_smac_sFBL_sagname_susername_ssgjz_dqttt_dryt_dhome_d
lea edi, [esp + 0x4c]
call fcn.00402130
add esp, 0x38
jmp case.default.0x4030b6
lea edi, [esi + 0x48]
lea eax, [esp + 0x1c]
push edi
push eax
mov ebx, 0x415e50
call fcn.00404440
mov eax, dword [eax]
add esp, 8
push eax
push 0
push str.Dtype
push 0x415d20
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403156
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push edi
push ecx
mov ebx, 0x415e50
call fcn.00404440
mov eax, dword [eax]
add esp, 8
push eax
push 0
push str.TCPDo
push 0x415d20
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4031a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
push edi
push ecx
mov ecx, dword [esi + 0x14]
push edx
mov edx, dword [esi + 8]
push eax
mov eax, dword [esi + 0x20]
push ecx
mov ecx, dword [esi + 0x24]
push edx
mov edx, dword [esi + 0x2c]
push eax
mov eax, dword [esi + 0x28]
push ecx
mov ecx, dword [esi + 0x34]
push edx
mov edx, dword [esi + 0x30]
push eax
movzx eax, byte [esi + 2]
push ecx
movzx ecx, byte [esi]
push edx
movzx edx, byte [esi + 1]
push eax
push ecx
push edx
push str.soft_03u__03u__03uver_sip_smac_sFBL_sagname_susername_ssgjz_dqttt_dryt_dhome_sdp2p_up2p_u
lea edi, [esp + 0x54]
call fcn.00402130
add esp, 0x40
mov ebx, 1
jmp case.default.0x4030b6
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x14]
push 0xfffffffffffffffe
push eax
mov eax, dword [esi + 8]
push ecx
mov ecx, dword [esi + 0x20]
push edx
mov edx, dword [esi + 0x24]
push eax
mov eax, dword [esi + 0x2c]
push ecx
mov ecx, dword [esi + 0x28]
push edx
mov edx, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x30]
push ecx
movzx ecx, byte [esi + 2]
push edx
movzx edx, byte [esi]
push eax
movzx eax, byte [esi + 1]
push ecx
push edx
push eax
push str.soft_03u__03u__03uver_sip_smac_sFBL_sagname_susername_ssgjz_dqttt_dryt_datt_uhome_d
lea edi, [esp + 0x50]
call fcn.00402130
mov dword [esi + 0x18], 0
jmp 0x4032d7
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 8]
push edi
push 0xfffffffffffffffc
push ecx
mov ecx, dword [esi + 0x20]
push edx
mov edx, dword [esi + 0x24]
push eax
mov eax, dword [esi + 0x2c]
push ecx
mov ecx, dword [esi + 0x28]
push edx
mov edx, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x30]
push ecx
movzx ecx, byte [esi + 2]
push edx
movzx edx, byte [esi]
push eax
movzx eax, byte [esi + 1]
push ecx
push edx
push eax
push str.soft_03u__03u__03uver_sip_smac_sFBL_sagname_susername_ssgjz_dqttt_dryt_dhome_durl_s
lea edi, [esp + 0x50]
call fcn.00402130
mov dword [esi + 0x3c], ebx
jmp 0x4032d7
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 8]
push edi
push 0xfffffffffffffffb
push ecx
mov ecx, dword [esi + 0x20]
push edx
mov edx, dword [esi + 0x24]
push eax
mov eax, dword [esi + 0x2c]
push ecx
mov ecx, dword [esi + 0x28]
push edx
mov edx, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x30]
push ecx
movzx ecx, byte [esi + 2]
push edx
movzx edx, byte [esi]
push eax
movzx eax, byte [esi + 1]
push ecx
push edx
push eax
push str.soft_03u__03u__03uver_sip_smac_sFBL_sagname_susername_ssgjz_dqttt_dryt_dhome_durl_s
lea edi, [esp + 0x50]
call fcn.00402130
mov dword [esi + 0x40], ebx
add esp, 0x3c
mov edi, dword [esp + 0x14]
mov eax, dword [edi - 0xc]
lea ecx, [eax + eax + 0x64]
mov eax, dword [ebp - 8]
mov edx, ebx
sub edx, dword [ebp - 4]
sub eax, ecx
or eax, edx
jge 0x403300
lea eax, [esp + 0x18]
call fcn.004021d0
mov ebp, dword [esp + 0x18]
cmp dword [edi - 4], ebx
jle 0x403317
mov ecx, dword [edi - 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00402220
mov edi, dword [esp + 0x14]
push 0
push ebp
push edi
call dword [0x41abe8]
mov eax, dword [ebp - 8]
push eax
push ebp
call fcn.00407c62
add esp, 8
test eax, eax
jl 0x4034da
cmp eax, dword [ebp - 8]
jg 0x4034da
xor ecx, ecx
cmp dword [esp + 0x38], 0xffffffff
mov dword [ebp - 0xc], eax
mov word [ebp + eax*2], cx
jne 0x4033fe
add esi, 0x48
lea edx, [esp + 0x38]
push esi
push edx
mov ebx, 0x415e50
call fcn.00404440
mov eax, dword [eax]
add esp, 8
push eax
push ebp
push 0x4162a0
push 0x415e74
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40339e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 0xfffffff0
mov byte [esp + 0x30], 0
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4033c0
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4033e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
cmp dword [esi + 0x10], 0
push ebp
lea edi, [esp + 0x18]
jne 0x403410
push 0x4162b0
jmp 0x403415
push 0x416308
push 0x4162f4
call fcn.00402130
add esp, 0xc
lea ecx, [esp + 0x24]
push 0x416350
push ecx
lea ecx, [esp + 0x1c]
call fcn.00404520
push eax
lea edx, [esp + 0x44]
push edx
mov ebx, 0x41634c
mov byte [esp + 0x40], 2
call fcn.00404440
mov eax, dword [eax]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403476
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40349b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
push 0
push esi
call dword [0x41abdc]
add ebp, 0xfffffff0
mov byte [esp + 0x30], 0
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4034ca
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov dword [esp + 0x30], 0xffffffff
lea eax, [esi - 0x10]
jmp 0x4033cf
push 0x80070057
call fcn.004023b0
mov ebp, 0x7004030
xor dword [eax], eax
div dword [ecx]
inc eax
add byte [ecx + 0x32], cl
inc eax
add byte [ecx - 0x33ffbfce], dl
int3