Function at 0x403900
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x44edd6
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46414c]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x58]
lea eax, [ebx + 0x100]
push eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0xf8]
mov edi, dword [eax]
mov esi, dword [ebx + 0xe4]
add ebx, 0xe4
mov ebp, dword [ebx + 0x14]
mov eax, dword [ebx]
test esi, esi
je 0x40395d
cmp esi, eax
je 0x403962
call fcn.00424b46
cmp edi, ebp
je 0x4039c9
test esi, esi
jne 0x40399f
call fcn.00424b46
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x40397b
call fcn.00424b46
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x5c]
cmp ecx, dword [eax]
je 0x4039a7
test esi, esi
jne 0x4039a3
call fcn.00424b46
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x40399b
call fcn.00424b46
mov edi, dword [edi]
jmp 0x403950
mov eax, dword [esi]
jmp 0x403971
mov eax, dword [esi]
jmp 0x403991
test esi, esi
jne 0x403a0d
call fcn.00424b46
cmp edi, dword [esi + 0x14]
jne 0x4039ba
call fcn.00424b46
mov edi, dword [edi + 8]
mov dword [esp + 0x2c], edi
test edi, edi
jne 0x40413d
push 0x4c
call fcn.00424563
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
xor ebp, ebp
mov dword [esp + 0x50], ebp
cmp esi, ebp
je 0x403a11
lea edx, [esi + 4]
push edx
call fcn.004140f0
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi], ebp
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
mov dword [esi + 0x44], ebp
mov dword [esi + 0x48], ebp
mov dword [esp + 0x1c], esi
jmp 0x403a17
mov esi, dword [esi]
jmp 0x4039b0
mov dword [esp + 0x1c], ebp
mov esi, ebp
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x2c], esi
cmp eax, ebp
je 0x403a2d
mov dword [esi], eax
mov esi, dword [ebx + 0x14]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x2c]
push eax
push ecx
push esi
call fcn.00405530
mov ecx, ebx
mov edi, eax
call fcn.004132d0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov edx, dword [0x46ecec]
mov eax, dword [edx + 0xc]
mov ecx, 0x46ecec
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
push 0x45e8c8
mov dword [esp + 0x54], 1
push str.kernel32
mov dword [esp + 0x20], ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebp
je 0x403aa2
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x403ab4
cmp dword [esp + 0x18], ebp
je 0x403ab4
push str.PDelay64
mov ebx, 8
jmp 0x403abe
push str.PDelay
mov ebx, 6
lea eax, [esp + 0x24]
call fcn.004053c0
mov edx, dword [esp + 0x58]
mov eax, dword [edx + 0xc8]
push eax
mov eax, dword [esp + 0x24]
push 0x45b7b0
push str.WorkDelay
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00414180
add esp, 0x14
mov byte [esp + 0x50], 2
mov edx, dword [0x46ecec]
mov eax, dword [edx + 0xc]
mov ecx, 0x46ecec
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
push 0x45b608
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x30]
mov byte [esp + 0x58], 3
push edx
lea ebx, [esp + 0x24]
mov dword [esp + 0x24], 0
call fcn.00404b40
mov byte [esp + 0x50], 4
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebp - 0x10]
cmp eax, esi
je 0x403b86
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x403b75
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x403b75
call fcn.00401850
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x403b6c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea ebp, [ebx + 0x10]
mov dword [esp + 0x14], ebp
jmp 0x403b86
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.004053c0
mov ebp, dword [esp + 0x14]
mov byte [esp + 0x50], 3
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 0x403bb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x403bb0
mov ecx, 0x45b7b0
mov eax, ebp
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403bdd
test dx, dx
je 0x403bd9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403bdd
add eax, 4
add ecx, 4
test dx, dx
jne 0x403bb7
xor eax, eax
jmp 0x403be2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x403df3
push fcn.00401460
push fcn.00401440
push 2
push 4
lea ecx, [esp + 0x50]
push ecx
call fcn.004245ff
push 2
lea edx, [esp + 0x44]
mov byte [esp + 0x54], 5
push edx
push ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea esi, [ebp - 0x10]
mov dword [esp + 0x40], esp
mov ebx, esp
call edx
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x403c41
cmp eax, dword [esi]
jne 0x403c41
mov edi, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x403c7c
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x403dc5
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004240cc
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
push ecx
mov edx, esp
mov dword [esp + 0x4c], esp
push edx
mov ecx, 0x45b730
mov byte [esp + 0x64], 6
call fcn.00404a50
mov byte [esp + 0x60], 5
call fcn.00414680
mov eax, dword [esp + 0x50]
push eax
call fcn.004245de
add esp, 0x14
cmp dword [esp + 0x5c], eax
je 0x403dca
push 0x45b608
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x30]
push edx
lea ebx, [esp + 0x24]
call fcn.00404b40
mov byte [esp + 0x50], 7
mov eax, dword [eax]
lea edi, [eax - 0x10]
cmp edi, esi
je 0x403d83
cmp dword [esi + 0xc], 0
lea ebp, [esi + 0xc]
jl 0x403d72
mov ecx, dword [edi]
cmp ecx, dword [esi]
jne 0x403d72
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x403d17
cmp eax, dword [edi]
jne 0x403d17
mov ebx, edi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x403d52
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x403dc5
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
add edi, 0x10
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.004240cc
add esp, 0x10
or ecx, 0xffffffff
lock xadd dword [ebp], ecx
dec ecx
test ecx, ecx
jg 0x403d69
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea ebp, [ebx + 0x10]
mov dword [esp + 0x14], ebp
jmp 0x403d83
mov ebx, dword [eax - 0xc]
push eax
lea eax, [esp + 0x18]
call fcn.004053c0
mov ebp, dword [esp + 0x14]
mov byte [esp + 0x50], 5
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 0x403da8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push fcn.00401460
push 2
push 4
lea ecx, [esp + 0x4c]
push ecx
mov byte [esp + 0x60], 3
call fcn.004246c2
jmp 0x403bb0
call fcn.00405f00
mov edx, dword [esp + 0x44]
push edx
call fcn.004245de
add esp, 4
push fcn.00401460
push 2
mov esi, eax
push 4
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x60], 3
call fcn.004246c2
jmp 0x403e65
mov edx, dword [0x46ecec]
mov eax, dword [edx + 0xc]
mov ecx, 0x46ecec
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x5c]
push ecx
push 0x45b440
lea edi, [esp + 0x20]
mov byte [esp + 0x58], 8
call fcn.004018c0
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 0xd0]
mov edi, dword [esp + 0x20]
add esp, 8
push eax
push 0
push edi
push str.PDelay
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
lea eax, [edi - 0x10]
mov byte [esp + 0x50], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403e65
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
cmp esi, ebx
jge 0x403e6d
xor esi, esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x58]
mov dword [ecx + 0x38], esi
mov eax, dword [edx + 0xc8]
push eax
push 0x45b7b0
push 0x45b734
lea eax, [esp + 0x30]
push str.OProc
push eax
mov dword [esp + 0x48], ebx
call fcn.00414180
add esp, 0x14
mov byte [esp + 0x50], 9
mov edx, dword [0x46ecec]
mov eax, dword [edx + 0xc]
mov ecx, 0x46ecec
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x58], edi
push 0x45b608
lea ecx, [esp + 0x34]
mov byte [esp + 0x54], 0xa
push ecx
lea edx, [esp + 0x2c]
mov dword [esp + 0x20], ebx
push edx
lea ebx, [esp + 0x24]
call fcn.00404b40
mov byte [esp + 0x50], 0xb
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x403f33
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x403f22
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x403f22
call fcn.00401850
mov edi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x403f19
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [esp + 0x58], edi
jmp 0x403f33
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x5c]
call fcn.004053c0
mov edi, dword [esp + 0x58]
mov byte [esp + 0x50], 0xa
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403f58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, 0x45b7b0
mov eax, edi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403f86
test dx, dx
je 0x403f82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403f86
add eax, 4
add ecx, 4
test dx, dx
jne 0x403f60
xor eax, eax
jmp 0x403f8b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x40407a
push edi
call fcn.004245de
add esp, 4
cmp dword [esp + 0x5c], eax
je 0x404073
push 0x45b608
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x2c]
push edx
lea ebx, [esp + 0x24]
call fcn.00404b40
mov byte [esp + 0x50], 0xc
mov eax, dword [eax]
lea esi, [eax - 0x10]
lea ebx, [edi - 0x10]
cmp esi, ebx
je 0x403f33
cmp dword [ebx + 0xc], 0
lea ebp, [ebx + 0xc]
jl 0x40406a
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x40406a
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40400c
cmp eax, dword [esi]
jne 0x40400c
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x404047
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x403dc5
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004240cc
add esp, 0x10
or ecx, 0xffffffff
lock xadd dword [ebp], ecx
dec ecx
test ecx, ecx
jg 0x40405e
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
add edi, 0x10
mov dword [esp + 0x58], edi
jmp 0x403f33
mov ebx, dword [eax - 0xc]
push eax
jmp 0x403f26
mov eax, 1
jmp 0x40407e
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 0x48], eax
lea eax, [edi - 0x10]
mov byte [esp + 0x50], 9
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4040a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 3
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 0x4040cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 2
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 0x4040f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404115
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40413d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 8