Function at 0x417670
Capabilities:
Read .ini file
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47264d
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x4934a4]
xor eax, esp
mov dword [esp + 0x2f0], eax
push ebx
push esi
push edi
mov eax, dword [0x4934a4]
xor eax, esp
push eax
lea eax, [esp + 0x308]
mov dword fs:[0], eax
mov dword [esp + 0x38], ecx
jmp 0x4176c6
call fcn.0041e575
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4176e2
push 0x80004005
call fcn.00409620
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x310], 1
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x310], 3
push 0x103
lea ecx, [esp + 0xf1]
push ebx
push ecx
mov byte [esp + 0xf8], bl
call fcn.0043d760
add esp, 0xc
lea edx, [esp + 0x18]
push edx
mov ebx, 0x38
call fcn.00415ef0
mov byte [esp + 0x310], 4
mov eax, dword [esp + 0x18]
mov eax, dword [eax - 0xc]
xor esi, esi
test eax, eax
jle 0x4177c2
mov bl, 5
push 2
push esi
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x24]
call fcn.0040c830
mov byte [esp + 0x310], bl
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, 0x4ae1f4
call fcn.004022e0
mov byte [esp + 0x310], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4177a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0x480fa8
mov ecx, 0x4ae1f4
call fcn.004022e0
mov ecx, dword [esp + 0x18]
add esi, 2
cmp esi, dword [ecx - 0xc]
jl 0x417754
mov edx, dword [0x4ae1f4]
mov eax, dword [edx - 0xc]
dec eax
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, 0x4ae1f4
call fcn.0040ca20
mov byte [esp + 0x310], 7
mov ecx, dword [eax]
mov esi, dword [0x4ae1f4]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x417840
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x417831
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x417831
push eax
call fcn.004090a0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x417826
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [0x4ae1f4], ebx
jmp 0x417840
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x4ae1f4
call fcn.00409670
mov byte [esp + 0x310], 4
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 0x417868
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
mov ebx, 0x20
call fcn.00415ef0
mov byte [esp + 0x310], 9
mov ecx, dword [eax]
mov esi, dword [0x4ae1fc]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4178db
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4178cc
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4178cc
push eax
call fcn.004090a0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4178c1
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [0x4ae1fc], ebx
jmp 0x4178db
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x4ae1fc
call fcn.00409670
mov bl, 4
mov byte [esp + 0x310], bl
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 0x417904
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0x480f14
mov ecx, 0x4ae1fc
call fcn.004022e0
lea ecx, [esp + 0x14]
push ecx
mov edi, 0xf
call fcn.00415dc0
mov byte [esp + 0x310], 0xb
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, 0x4ae1fc
call fcn.004022e0
mov byte [esp + 0x310], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417964
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
mov ebx, 0x20
call fcn.00415ef0
mov edi, eax
mov byte [esp + 0x310], 0xd
mov eax, dword [edi]
mov esi, dword [eax - 0xc]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x41799b
push esi
mov ecx, edi
call fcn.004095a0
mov eax, dword [edi]
lea edx, [esi + 1]
push edx
push eax
call fcn.0043c40f
add esp, 8
cmp eax, 0x50
ja case.0x4179b6.1
movzx eax, byte [eax + 0x418438]
jmp dword [eax*4 + 0x418428]
call fcn.0041e3f9
call fcn.0041e431
test esi, esi
js 0x41841d
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x41841d
mov dword [eax - 0xc], esi
mov ecx, dword [edi]
mov byte [esi + ecx], 0
mov edi, dword [edi]
mov esi, dword [0x4ae1f8]
lea eax, [edi - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x417a3f
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x417a30
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x417a30
push eax
call fcn.004090a0
mov edi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x417a25
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [0x4ae1f8], edi
jmp 0x417a3f
mov eax, dword [edi - 0xc]
push eax
push edi
mov ecx, 0x4ae1f8
call fcn.00409670
mov byte [esp + 0x310], 4
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 0x417a67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
mov edi, 0x13
call fcn.00415dc0
mov byte [esp + 0x310], 0xf
mov ecx, dword [eax]
mov esi, dword [0x4ae200]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x417ada
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x417acb
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x417acb
push eax
call fcn.004090a0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x417ac0
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [0x4ae200], ebx
jmp 0x417ada
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x4ae200
call fcn.00409670
mov byte [esp + 0x310], 4
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 0x417b02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [0x4ae1f4]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov ebx, esp
mov dword [esp + 0x38], esp
mov dword [esp + 0x34], ebx
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x417b39
cmp eax, dword [esi - 0x10]
jne 0x417b39
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x417b6b
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x417b52
call fcn.00409550
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
inc eax
push eax
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0043ae71
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
mov byte [esp + 0x314], 0x12
mov byte [esp + 0x314], 4
mov esi, str.ClientId
lea edi, [esp + 0x18]
call fcn.00417550
mov byte [esp + 0x310], 0x13
mov ecx, dword [eax]
mov esi, dword [0x4ae1f4]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x417bf2
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x417be3
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x417be3
push eax
call fcn.004090a0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x417bd8
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [0x4ae1f4], ebx
jmp 0x417bf2
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x4ae1f4
call fcn.00409670
mov byte [esp + 0x310], 4
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 0x417c1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [0x4ae1fc]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov ebx, esp
mov dword [esp + 0x34], esp
mov dword [esp + 0x38], ebx
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x417c51
cmp eax, dword [esi - 0x10]
jne 0x417c51
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x417c83
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x417c6a
call fcn.00409550
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
inc eax
push eax
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0043ae71
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
mov byte [esp + 0x314], 0x16
mov byte [esp + 0x314], 4
mov esi, str.Cuid
lea edi, [esp + 0x18]
call fcn.00417550
mov byte [esp + 0x310], 0x17
mov ecx, dword [eax]
mov esi, dword [0x4ae1fc]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x417d0a
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x417cfb
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x417cfb
push eax
call fcn.004090a0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x417cf0
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [0x4ae1fc], ebx
jmp 0x417d0a
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x4ae1fc
call fcn.00409670
mov byte [esp + 0x310], 4
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 0x417d32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [0x4ae1f8]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov ebx, esp
mov dword [esp + 0x34], esp
mov dword [esp + 0x38], ebx
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x417d69
cmp eax, dword [esi - 0x10]
jne 0x417d69
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x417d9b
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x417d82
call fcn.00409550
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
inc eax
push eax
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0043ae71
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
mov byte [esp + 0x314], 0x1a
mov byte [esp + 0x314], 4
mov esi, str.Imei
lea edi, [esp + 0x18]
call fcn.00417550
mov byte [esp + 0x310], 0x1b
mov ecx, dword [eax]
mov esi, dword [0x4ae1f8]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x417e22
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x417e13
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x417e13
push eax
call fcn.004090a0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x417e08
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [0x4ae1f8], ebx
jmp 0x417e22
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x4ae1f8
call fcn.00409670
mov byte [esp + 0x310], 4
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 0x417e4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [0x4ae200]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov ebx, esp
mov dword [esp + 0x34], esp
mov dword [esp + 0x38], ebx
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x417e81
cmp eax, dword [esi - 0x10]
jne 0x417e81
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x417eb3
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x417e9a
call fcn.00409550
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
inc eax
push eax
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0043ae71
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
mov byte [esp + 0x314], 0x1e
mov byte [esp + 0x314], 4
mov esi, str.ChannelId
lea edi, [esp + 0x18]
call fcn.00417550
mov byte [esp + 0x310], 0x1f
mov ecx, dword [eax]
mov esi, dword [0x4ae200]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x417f3a
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x417f2b
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x417f2b
push eax
call fcn.004090a0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x417f20
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [0x4ae200], ebx
jmp 0x417f3a
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x4ae200
call fcn.00409670
mov byte [esp + 0x310], 4
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 0x417f62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x4ae1f4]
push ecx
push str._client_id
lea ecx, [esp + 0x28]
call fcn.0040db50
push 0x4803c4
push str._client_type
lea ecx, [esp + 0x28]
call fcn.0040db50
push str.4.5.3
push str._client_version
lea ecx, [esp + 0x28]
call fcn.0040db50
mov edx, dword [0x4ae1f8]
push edx
push str._phone_imei
lea ecx, [esp + 0x28]
call fcn.0040db50
mov eax, dword [0x4ae1fc]
push eax
push str.cuid
lea ecx, [esp + 0x28]
call fcn.0040db50
push str.baidu_appstore
push str.from
lea ecx, [esp + 0x28]
call fcn.0040db50
push str.GT_I9100
push str.model
lea ecx, [esp + 0x28]
call fcn.0040db50
push 0x480430
push str.net_type
lea ecx, [esp + 0x28]
call fcn.0040db50
push 0x480440
push str.stErrorNums
lea ecx, [esp + 0x28]
call fcn.0040db50
push 0x480450
push str.stMethod
lea ecx, [esp + 0x28]
call fcn.0040db50
push 0x480450
push str.stMode
lea ecx, [esp + 0x28]
call fcn.0040db50
push 0x480468
push str.stSize
lea ecx, [esp + 0x28]
call fcn.0040db50
push 0x480474
push str.stTime
lea ecx, [esp + 0x28]
call fcn.0040db50
push 0x480440
push str.stTimesNum
lea ecx, [esp + 0x28]
call fcn.0040db50
push str.login
push str.st_type
lea ecx, [esp + 0x28]
call fcn.0040db50
lea esi, [esp + 0x14]
call fcn.00416050
mov byte [esp + 0x310], 0x21
mov eax, dword [eax]
push eax
push str.timestamp
lea ecx, [esp + 0x28]
call fcn.0040db50
mov byte [esp + 0x310], 4
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 0x4180ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
call fcn.0040d780
mov byte [esp + 0x310], 0x23
mov ecx, dword [eax]
mov edi, dword [esp + 0x1c]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x41813f
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x41812d
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41812d
push eax
call fcn.004090a0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x418124
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x1c], ebx
jmp 0x41813b
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00409670
mov edi, dword [esp + 0x1c]
mov byte [esp + 0x310], 4
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 0x418167
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [edi - 4], 1
mov esi, dword [edi - 0xc]
jle 0x41817e
push esi
lea ecx, [esp + 0x20]
call fcn.004094d0
mov edi, dword [esp + 0x1c]
push 0xf
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x1c]
push eax
push esi
push edi
push str.http:__c.tieba.baidu.com_c_s_pv
mov edx, str.POST
mov ecx, str.http:__c.tieba.baidu.com_c_s_pv
call fcn.004019b0
add esp, 0x18
test eax, eax
je 0x4182b8
lea ecx, [esp + 0x6c]
push ecx
call fcn.00418c20
mov byte [esp + 0x310], 0x25
push 0
lea edi, [esp + 0x40]
call fcn.0041c040
mov byte [esp + 0x310], 0x26
mov esi, dword [esp + 0x14]
mov eax, esi
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4181f0
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x58]
call fcn.00408130
mov byte [esp + 0x310], 0x27
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0xa8]
call fcn.00408040
cmp dword [esp + 0xb0], 0x10
mov edx, dword [esp + 0x9c]
jae 0x418239
lea edx, [esp + 0x9c]
mov ecx, dword [esp + 0xac]
lea eax, [esp + 0x3c]
lea ecx, [ecx + edx]
push eax
lea edi, [esp + 0x70]
call fcn.00418d30
mov bl, al
mov byte [esp + 0x310], 0x26
cmp dword [esp + 0x64], 0x10
jb 0x41826f
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0041dcac
add esp, 4
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
test bl, bl
je 0x418291
push esi
call fcn.0041dcac
add esp, 4
mov byte [esp + 0x310], 0x25
lea ecx, [esp + 0x3c]
call fcn.0041c340
mov byte [esp + 0x310], 4
lea edx, [esp + 0x6c]
push edx
call fcn.004107d0
mov edi, dword [esp + 0x1c]
mov ecx, dword [0x4ae194]
push 0x104
lea eax, [esp + 0x1f8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4182f2
lea edx, [esp + 0x1f4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [esp + 0x1f4]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov esi, dword [esp + 0x38]
mov ecx, esi
call fcn.00418490
push str..Config.dat
push 0x104
lea ecx, [esp + 0xf4]
push ecx
push 0
push str.UserName
push str.LAST_USER
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x418360
mov eax, dword [esi + 0x304]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 0xec]
push edx
push 0xffffffffffffffff
push 0x14c
push eax
call ebx
cmp eax, 0xffffffff
je 0x418360
mov ecx, dword [esi + 0x304]
push 0
push eax
push 0x14e
push ecx
call ebx
mov ecx, esi
call fcn.004185f0
jmp 0x418370
mov byte [esp + 0x310], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418398
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x310], 1
mov esi, dword [esp + 0x20]
xor ebx, ebx
cmp esi, ebx
je 0x4183c6
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
push ecx
push edx
push esi
call fcn.0040e310
add esp, 0xc
push esi
call fcn.0041dcac
add esp, 4
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x310], 0xffffffff
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4183f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x308]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2f0]
xor ecx, esp
call fcn.0043ae62
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00409620
nop
invalid