Function at 0x4033d0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x453fe8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
mov eax, dword [0x46da7c]
push ebx
push ebp
mov ebp, ecx
push esi
mov dword [esp + 0x11c], eax
mov eax, dword [ebp + 0x44]
push edi
xor edi, edi
push eax
lea ecx, [esp + 0x1c]
mov dword [ebp + 0xa0], edi
mov dword [esp + 0x14], edi
call fcn.00402ca0
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
cmp ecx, edi
jge 0x403426
or eax, 0xffffffff
jmp 0x40343f
push str._background
push eax
call fcn.0042e1a6
add esp, 8
cmp eax, edi
jne 0x40343d
or eax, 0xffffffff
jmp 0x40343f
sub eax, dword [esi]
cmp eax, 0xffffffff
mov eax, dword [esp + 0x18]
setg bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403463
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x403471
mov dword [ebp + 0xa0], 1
cmp dword [section.UpdateAp], edi
mov eax, dword [ebp + 0xa0]
jle 0x40348a
cmp eax, edi
je 0x403499
push 1
call fcn.0042eceb
cmp eax, edi
je 0x403499
push section.UpdateAp
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea eax, [ebp + 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call fcn.0043e731
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
push 0x68
mov dword [esp + 0x130], edi
call fcn.0043ec15
cmp eax, edi
je 0x4034e0
push 0x68
push eax
lea ecx, [esp + 0x1c]
call fcn.00402460
mov ebx, dword [esp + 0x14]
jmp 0x4034e0
push 0x14
call fcn.0043eb95
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x12c], 1
je 0x403505
mov ecx, eax
call fcn.004539af
mov esi, eax
jmp 0x403507
xor esi, esi
push 0
push 0x3f
push 1
push 0
mov ecx, esi
mov byte [esp + 0x13c], 0
call fcn.0045389b
push 0x50
push ebx
mov ecx, esi
call fcn.0045328d
test esi, esi
mov edi, eax
je 0x403537
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esp + 0x10]
inc ecx
test edi, edi
mov dword [esp + 0x10], ecx
jne 0x4035a0
mov eax, dword [ebp + 0xa0]
test eax, eax
je 0x40355b
push 0x1b58
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4034e0
cmp dword [esp + 0x10], 3
ja 0x403572
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4034e0
push 0
push 0
push 0x457ac8
call fcn.0044a760
lea eax, [ebx - 0x10]
mov dword [esp + 0x12c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4036d3
push 0
lea esi, [ebp + 0xa4]
push 0x457828
mov ecx, esi
mov dword [esp + 0x18], 0
call fcn.00402530
push pe_nt_image_headers32
lea eax, [esp + 0x24]
push eax
xor ebx, ebx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x4035f3
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4035f3
cmp word [eax + 0xa], 4
jne 0x4035f3
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
test eax, eax
je 0x4035f3
mov ebx, dword [eax]
mov eax, ebx
shr eax, 8
cmp bl, 0xc0
jne 0x403684
cmp al, 0xa8
jne 0x4036a7
mov eax, 1
mov ecx, ebp
mov dword [ebp + 0xf4], eax
call fcn.004019a0
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp + 0xf8], eax
push 0
push 0x457828
mov ecx, esi
call fcn.00402530
push 0
push 0
push 0
push 0
push ebp
push 0x402e50
call fcn.0043f57e
mov eax, dword [eax + 0x28]
or edi, 0xffffffff
push edi
push eax
call ebx
mov ecx, dword [esi]
mov eax, dword [ecx - 0xc]
test eax, eax
jne 0x403709
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0xa0]
inc eax
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x4036ae
cmp eax, 0xa
ja 0x4036f1
push 0x1b58
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403627
cmp bl, 0xac
jne 0x403696
cmp al, 0x10
jb 0x4036a7
cmp al, 0x1f
ja 0x4036a7
jmp 0x403609
test bl, bl
je 0x403609
cmp bl, 0xa
je 0x403609
xor eax, eax
jmp 0x40360e
dec eax
je 0x4036bb
dec eax
je 0x4036e1
dec eax
jne 0x403627
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x12c], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x4036dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x403730
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403627
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x12c], edi
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
jmp 0x4036d1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x12c], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x40372b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x114]
pop ebx
call fcn.0042d9b6
add esp, 0x120
ret