Function at 0x4023d0
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x451347
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x470ee4]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x470ee4]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
mov dword [esp + 0x28], ecx
call fcn.00414eb4
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40242b
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
mov dword [esp + 0x158], ebp
call fcn.00414eb4
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40245c
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
mov byte [esp + 0x158], 1
call fcn.00414eb4
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40248e
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov byte [esp + 0x158], 2
call fcn.00414eb4
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4024c0
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x40], eax
mov byte [esp + 0x158], 3
call fcn.00414eb4
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4024f2
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x44], eax
push 0x100
or ebx, 0xffffffff
lea ecx, [esp + 0x50]
push ebp
push ecx
mov byte [esp + 0x164], 4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], ebx
call fcn.0043bc20
push str.hjjm.dat
lea edx, [esp + 0x2c]
push 0x4723c8
push edx
call fcn.00401e20
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0x18
push eax
push 0xff
lea eax, [esp + 0x54]
push eax
push 0x457880
push 0x457938
push 0x457934
call esi
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402587
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x4c]
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x402590
sub eax, ecx
push eax
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x40]
call fcn.00401a30
push str.hjjm.dat
lea edx, [esp + 0x20]
push 0x4723c8
push edx
call fcn.00401e20
mov eax, dword [eax]
add esp, 0xc
push eax
push 0xff
lea eax, [esp + 0x54]
push eax
push 0x457880
push 0x457930
push 0x457934
call esi
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4025fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x4c]
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x402605
sub eax, ecx
push eax
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x44]
call fcn.00401a30
push str.hjjm.dat
lea edx, [esp + 0x20]
push 0x4723c8
push edx
call fcn.00401e20
mov eax, dword [eax]
add esp, 0xc
push eax
push 0xff
lea eax, [esp + 0x54]
push eax
push 0x457880
push str.BFER
push 0x457934
call esi
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402673
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x4c]
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x402680
sub eax, ecx
push eax
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x48]
call fcn.00401a30
push str.hjjm.dat
lea edx, [esp + 0x20]
push 0x4723c8
push edx
call fcn.00401e20
mov eax, dword [eax]
add esp, 0xc
push eax
push 0xff
lea eax, [esp + 0x54]
push eax
push 0x457880
push str.GFER
push 0x457934
call esi
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x4026ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x4c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4026f3
sub eax, edx
push eax
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00401a30
mov eax, dword [0x4724e0]
cmp eax, ebp
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], eax
jle 0x4027b7
test ebp, ebp
jl 0x402832
cmp ebp, dword [0x4724e0]
jge 0x402832
mov edx, dword [0x4724dc]
mov ecx, dword [edx + ebp*4]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x402798
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x402786
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x402786
push eax
call fcn.00401160
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40277d
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea edi, [ebx + 0x10]
mov dword [esp + 0x14], edi
jmp 0x402798
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401a30
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
push edi
push ecx
call fcn.0043b333
add esp, 8
test eax, eax
je 0x402829
add ebp, 1
cmp ebp, dword [esp + 0x34]
jl 0x402726
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x50]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x34], eax
jle 0x4028cf
lea esp, [esp]
test ebx, ebx
jl 0x402832
mov eax, dword [esp + 0x28]
cmp ebx, dword [eax + 0x50]
jge 0x402832
mov eax, dword [eax + 0x4c]
lea eax, [eax + ebx*4]
mov eax, dword [eax]
lea esi, [eax - 0x10]
lea ebp, [edi - 0x10]
cmp esi, ebp
je 0x4028a2
cmp dword [ebp + 0xc], 0
jl 0x402890
mov ecx, dword [esi]
cmp ecx, dword [ebp]
jne 0x402890
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x402837
cmp eax, dword [esi]
jne 0x402837
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40286d
mov dword [esp + 0x20], ebp
jmp 0x4028c7
jmp fcn.00413f76
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x402bb7
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0043b6f6
add esp, 0x10
lea eax, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x402887
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x4028a2
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00401a30
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
push edi
push eax
call fcn.0043b333
add esp, 8
test eax, eax
je 0x4028c3
add ebx, 1
cmp ebx, dword [esp + 0x34]
jl 0x4027d0
jmp 0x4028cf
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], 0
mov eax, dword [0x4724f4]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x2c], eax
jle 0x4029d5
test ebx, ebx
jl 0x402832
cmp ebx, dword [0x4724f4]
jge 0x402832
mov ecx, dword [0x4724f0]
mov eax, dword [ecx + ebx*4]
lea esi, [eax - 0x10]
lea ebp, [edi - 0x10]
cmp esi, ebp
je 0x4029b2
cmp dword [ebp + 0xc], 0
jl 0x4029a0
mov ecx, dword [esi]
cmp ecx, dword [ebp]
jne 0x4029a0
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x402947
cmp eax, dword [esi]
jne 0x402947
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40297d
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x402bb7
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0043b6f6
add esp, 0x10
lea eax, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x402997
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x4029b2
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00401a30
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
push edi
push eax
call fcn.0043b333
add esp, 8
test eax, eax
je 0x402a51
add ebx, 1
cmp ebx, dword [esp + 0x2c]
jl 0x4028ea
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x64]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x2c], eax
jle 0x402af2
lea ebx, [ebx]
test ebx, ebx
jl 0x402832
mov eax, dword [esp + 0x28]
cmp ebx, dword [eax + 0x64]
jge 0x402832
mov edx, dword [eax + 0x60]
lea eax, [edx + ebx*4]
mov eax, dword [eax]
lea esi, [eax - 0x10]
lea ebp, [edi - 0x10]
cmp esi, ebp
je 0x402ac5
cmp dword [ebp + 0xc], 0
jl 0x402ab3
mov ecx, dword [esi]
cmp ecx, dword [ebp]
jne 0x402ab3
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x402a5a
cmp eax, dword [esi]
jne 0x402a5a
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x402a90
mov dword [esp + 0x48], ebx
jmp 0x402aea
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x402bb7
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0043b6f6
add esp, 0x10
lea eax, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x402aaa
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x402ac5
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00401a30
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
push edi
push eax
call fcn.0043b333
add esp, 8
test eax, eax
je 0x402ae6
add ebx, 1
cmp ebx, dword [esp + 0x2c]
jl 0x4029f0
jmp 0x402af2
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0
push 0
call fcn.0043af2c
push eax
call fcn.0043bbe7
mov esi, dword [0x4724e0]
mov ecx, dword [0x4724f4]
add esp, 8
cmp dword [esp + 0x30], 0
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], ecx
je 0x402d35
cmp esi, 1
jl 0x402d35
call fcn.0043bbf4
cdq
idiv esi
mov ebx, edx
test ebx, ebx
mov dword [esp + 0x24], ebx
jl 0x402832
cmp ebx, dword [0x4724e0]
jge 0x402832
mov edx, dword [0x4724dc]
lea eax, [ebx*4]
mov dword [esp + 0x20], eax
mov eax, dword [eax + edx]
lea esi, [eax - 0x10]
lea ebp, [edi - 0x10]
cmp esi, ebp
je 0x402c10
cmp dword [ebp + 0xc], 0
lea ebx, [ebp + 0xc]
jl 0x402bfa
mov ecx, dword [esi]
cmp ecx, dword [ebp]
jne 0x402bfa
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x402ba3
cmp eax, dword [esi]
jne 0x402ba3
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x402bda
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x402bbc
jmp fcn.00401150
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0043b6f6
add esp, 0x10
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x402bf1
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x402c0c
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00401a30
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
cmp dword [edi - 0xc], 0
jle 0x402c61
push str.hjjm.dat
lea eax, [esp + 0x34]
push 0x4723c8
push eax
call fcn.00401e20
mov eax, dword [eax]
add esp, 0xc
push eax
push edi
push 0x457938
push 0x457934
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402c61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebx, dword [0x472508]
jge 0x402832
mov ecx, dword [0x472504]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + ecx]
lea esi, [eax - 0x10]
lea ebp, [edi - 0x10]
cmp esi, ebp
je 0x402d26
cmp dword [ebp + 0xc], 0
lea ebx, [ebp + 0xc]
jl 0x402d14
mov ecx, dword [esi]
cmp ecx, dword [ebp]
jne 0x402d14
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x402cbd
cmp eax, dword [esi]
jne 0x402cbd
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x402cf4
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x402cd6
jmp fcn.00401150
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0043b6f6
add esp, 0x10
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x402d0b
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x402d26
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00401a30
mov edi, dword [esp + 0x14]
cmp dword [edi - 0xc], 0
jle 0x402f77
jmp 0x402f2c
push 0
push 0x457880
lea ecx, [esp + 0x1c]
call fcn.00401a30
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x402e1d
test eax, eax
jl 0x402832
cmp eax, dword [0x472508]
jge 0x402832
mov ecx, dword [0x472504]
mov edi, dword [esp + 0x14]
mov edx, eax
mov eax, dword [ecx + edx*4]
lea esi, [eax - 0x10]
lea ebp, [edi - 0x10]
cmp esi, ebp
je 0x402e21
cmp dword [ebp + 0xc], 0
lea ebx, [ebp + 0xc]
jl 0x402e0f
mov ecx, dword [esi]
cmp ecx, dword [ebp]
jne 0x402e0f
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x402db8
cmp eax, dword [esi]
jne 0x402db8
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x402def
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x402dd1
jmp fcn.00401150
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0043b6f6
add esp, 0x10
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x402e06
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x402e21
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00401a30
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x24], 0xffffffff
je 0x402eff
mov eax, dword [esp + 0x24]
test eax, eax
jl 0x402832
mov ecx, dword [esp + 0x28]
cmp eax, dword [ecx + 0x78]
jge 0x402832
mov edx, ecx
mov eax, dword [edx + 0x74]
mov ecx, dword [esp + 0x24]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
lea esi, [eax - 0x10]
lea ebp, [edi - 0x10]
cmp esi, ebp
je 0x402eff
cmp dword [ebp + 0xc], 0
lea ebx, [ebp + 0xc]
jl 0x402eed
mov ecx, dword [esi]
cmp ecx, dword [ebp]
jne 0x402eed
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x402e96
cmp eax, dword [esi]
jne 0x402e96
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x402ecd
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x402eaf
jmp fcn.00401150
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0043b6f6
add esp, 0x10
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x402ee4
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x402eff
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00401a30
mov edi, dword [esp + 0x14]
cmp dword [edi - 0xc], 0
jle 0x402f77
mov ecx, dword [esp + 0x40]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x402f1e
push 0x80004005
call fcn.00401000
push ecx
push edi
call fcn.0043b106
add esp, 8
test eax, eax
je 0x402f77
push str.hjjm.dat
lea eax, [esp + 0x24]
push 0x4723c8
push eax
call fcn.00401e20
mov eax, dword [eax]
add esp, 0xc
push eax
push edi
push str.BFER
push 0x457934
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402f77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x1c], 0
je 0x403245
mov esi, dword [esp + 0x2c]
cmp esi, 1
jl 0x403245
call fcn.0043bbf4
cdq
idiv esi
mov ebx, edx
test ebx, ebx
mov dword [esp + 0x24], ebx
jl 0x402832
cmp ebx, dword [0x4724f4]
jge 0x402832
mov ecx, dword [0x4724f0]
lea eax, [ebx*4]
mov dword [esp + 0x20], eax
mov eax, dword [eax + ecx]
lea esi, [eax - 0x10]
lea ebp, [edi - 0x10]
cmp esi, ebp
je 0x403075
cmp dword [ebp + 0xc], 0
lea ebx, [ebp + 0xc]
jl 0x40305f
mov ecx, dword [esi]
cmp ecx, dword [ebp]
jne 0x40305f
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x403008
cmp eax, dword [esi]
jne 0x403008
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40303f
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x403021
jmp fcn.00401150
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0043b6f6
add esp, 0x10
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x403056
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x403071
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00401a30
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
cmp dword [edi - 0xc], 0
jle 0x4030c6
push str.hjjm.dat
lea eax, [esp + 0x1c]
push 0x4723c8
push eax
call fcn.00401e20
mov eax, dword [eax]
add esp, 0xc
push eax
push edi
push 0x457930
push 0x457934
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4030c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebx, dword [0x47251c]
jge 0x402832
mov ecx, dword [0x472518]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + ecx]
lea esi, [eax - 0x10]
lea ebp, [edi - 0x10]
cmp esi, ebp
je 0x40318b
cmp dword [ebp + 0xc], 0
lea ebx, [ebp + 0xc]
jl 0x403179
mov ecx, dword [esi]
cmp ecx, dword [ebp]
jne 0x403179
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x403122
cmp eax, dword [esi]
jne 0x403122
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x403159
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x40313b
jmp fcn.00401150
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0043b6f6
add esp, 0x10
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x403170
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x40318b
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00401a30
mov edi, dword [esp + 0x14]
cmp dword [edi - 0xc], 0
jle 0x4031dc
push str.hjjm.dat
lea eax, [esp + 0x1c]
push 0x4723c8
push eax
call fcn.00401e20
mov eax, dword [eax]
add esp, 0xc
push eax
push edi
push str.GFER
push 0x457934
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4031dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x28]
cmp dword [esp + 0x34], 0
jne 0x40349a
push str.hjjm.dat
lea ecx, [esp + 0x1c]
push 0x4723c8
push ecx
call fcn.00401e20
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0xc
push eax
push 0x457880
push 0x457938
push 0x457934
call esi
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 0x4034a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4034a0
push 0
push 0x457880
lea ecx, [esp + 0x1c]
call fcn.00401a30
mov eax, dword [esp + 0x48]
cmp eax, 0xffffffff
je 0x40332b
test eax, eax
jl 0x402832
cmp eax, dword [0x47251c]
jge 0x402832
mov ecx, dword [0x472518]
mov eax, dword [ecx + eax*4]
mov edi, dword [esp + 0x14]
lea esi, [eax - 0x10]
lea ebp, [edi - 0x10]
cmp esi, ebp
je 0x40332f
cmp dword [ebp + 0xc], 0
lea ebx, [ebp + 0xc]
jl 0x40331d
mov ecx, dword [esi]
cmp ecx, dword [ebp]
jne 0x40331d
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4032c6
cmp eax, dword [esi]
jne 0x4032c6
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4032fd
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x4032df
jmp fcn.00401150
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0043b6f6
add esp, 0x10
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x403314
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x40332f
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00401a30
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x40340d
test eax, eax
jl 0x402832
mov ebx, dword [esp + 0x28]
cmp eax, dword [ebx + 0x8c]
jge 0x402832
mov ecx, dword [ebx + 0x88]
lea eax, [ecx + eax*4]
mov eax, dword [eax]
lea esi, [eax - 0x10]
lea ebp, [edi - 0x10]
cmp esi, ebp
je 0x403411
cmp dword [ebp + 0xc], 0
jl 0x4033f9
mov ecx, dword [esi]
cmp ecx, dword [ebp]
jne 0x4033f9
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40339f
cmp eax, dword [esi]
jne 0x40339f
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4033d6
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x4033b8
jmp fcn.00401150
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0043b6f6
add esp, 0x10
lea eax, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x4033f0
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x403411
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00401a30
mov edi, dword [esp + 0x14]
jmp 0x403411
mov ebx, dword [esp + 0x28]
cmp dword [edi - 0xc], 0
jle 0x4031e0
mov ecx, dword [esp + 0x44]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x403434
push 0x80004005
call fcn.00401000
push ecx
push edi
call fcn.0043b106
add esp, 8
test eax, eax
je 0x4031e0
push str.hjjm.dat
lea eax, [esp + 0x1c]
push 0x4723c8
push eax
call fcn.00401e20
mov eax, dword [eax]
add esp, 0xc
push eax
push edi
push str.GFER
push 0x457934
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4031e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4031e0
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [esp + 0x2c], 0
jne 0x4034f2
push str.hjjm.dat
lea ecx, [esp + 0x1c]
push 0x4723c8
push ecx
call fcn.00401e20
mov eax, dword [eax]
add esp, 0xc
push eax
push 0x457880
push 0x457930
push 0x457934
call esi
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 0x4034f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.hjjm.dat
lea ecx, [esp + 0x1c]
push 0x4723c8
push ecx
call fcn.00401e20
mov eax, dword [eax]
mov ecx, dword [ebx + 0x40]
add esp, 0xc
push eax
push ecx
push str.BFF_IE
push 0x457934
call esi
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 0x40353c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.hjjm.dat
lea ecx, [esp + 0x1c]
push 0x4723c8
push ecx
call fcn.00401e20
mov eax, dword [eax]
mov ecx, dword [ebx + 0x44]
add esp, 0xc
push eax
push ecx
push str.BFER_IE
push 0x457934
call esi
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 0x403586
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.hjjm.dat
lea ecx, [esp + 0x1c]
push 0x4723c8
push ecx
call fcn.00401e20
mov eax, dword [eax]
mov ecx, dword [ebx + 0x98]
add esp, 0xc
push eax
push ecx
push str.PC_BAIDU
push 0x457934
call esi
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 0x4035d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.hjjm.dat
lea ecx, [esp + 0x1c]
push 0x4723c8
push ecx
call fcn.00401e20
mov eax, dword [eax]
mov ecx, dword [ebx + 0x9c]
add esp, 0xc
push eax
push ecx
push str.PC_GOOGLE
push 0x457934
call esi
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 0x403620
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x158], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403648
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x158], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403670
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x158], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403694
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x158], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4036bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [esp + 0x158], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4036e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.0043bb93
add esp, 0x148
ret