Function at 0x40db00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42cba8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x28]
call fcn.00418e30
mov eax, dword [0x438664]
mov ecx, 0x438664
mov dword [esp + 0x84], 0
call dword [eax + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
mov edx, dword [0x438664]
mov ecx, 0x438664
mov byte [esp + 0x84], 1
call dword [edx + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x10], ebx
mov eax, dword [0x438664]
mov ecx, 0x438664
mov byte [esp + 0x84], 2
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov eax, dword [esi + 0x3c]
push 0
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x8c], 3
call fcn.00418ed0
test al, al
jne 0x40dc54
lea eax, [edi - 0x10]
mov byte [esp + 0x84], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dbc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov byte [esp + 0x84], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dbe2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x84], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dc04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x64]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x28], 0x42e2c4
je 0x40dc2a
push eax
call fcn.00420ae8
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
call fcn.004188c0
xor al, al
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
push str.SERVER_INFO
push str.WNWB_CONF
lea ecx, [esp + 0x30]
call fcn.00417fa0
mov ecx, eax
call fcn.00417fa0
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x40dd30
lea eax, [edi - 0x10]
mov byte [esp + 0x84], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dc9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov byte [esp + 0x84], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dcbe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x84], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dce0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x64]
test eax, eax
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x28], 0x42e2c4
je 0x40dd04
push eax
call fcn.00420ae8
add esp, 4
xor eax, eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
call fcn.004188c0
xor al, al
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
push str.TIME
mov ecx, eax
call fcn.00418050
test eax, eax
jne 0x40ddaf
lea eax, [edi - 0x10]
mov byte [esp + 0x84], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dd62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov byte [esp + 0x84], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dd84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x84], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40df37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x40df37
mov eax, dword [eax + 0x18]
test eax, eax
je 0x40ddbc
cmp dword [eax + 0x14], 4
je 0x40ddbe
xor eax, eax
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x40ddca
mov eax, dword [eax + 0x20]
jmp 0x40ddcf
mov eax, 0x42e760
push eax
lea ecx, [esp + 0x18]
call fcn.00401ea0
mov ecx, dword [esp + 0x1c]
push str.FILE_NAME
call fcn.00418050
test eax, eax
jne 0x40de3b
lea eax, [edi - 0x10]
mov byte [esp + 0x84], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40de0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov byte [esp + 0x84], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40de2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
jmp 0x40dd87
mov eax, dword [eax + 0x18]
test eax, eax
je 0x40de48
cmp dword [eax + 0x14], 4
je 0x40de4a
xor eax, eax
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x40de56
mov eax, dword [eax + 0x20]
jmp 0x40de5b
mov eax, 0x42e760
lea edi, [esi + 0x18]
push eax
mov ecx, edi
call fcn.00401ea0
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edi
call fcn.00401700
mov ecx, esi
call fcn.0040b2b0
test eax, eax
jne 0x40deec
mov ecx, dword [esp + 0x10]
push 0x42f278
push ecx
push 0x42f268
lea edi, [esi + 0x4c]
push str._s_s_s
push edi
call fcn.004019c0
add esp, 0x14
mov ecx, edi
call fcn.004028a0
push eax
call fcn.004011c0
add esp, 4
lea edx, [esp + 0x20]
push edx
call fcn.00406af0
push str._Y__m__d__H:_M:_S
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
call fcn.0040da80
push eax
lea ecx, [esi + 0x40]
mov byte [esp + 0x88], 4
call fcn.00401b10
lea ecx, [esp + 0x1c]
call fcn.00401340
jmp 0x40df1c
lea edx, [esp + 0x10]
lea ecx, [esi + 0x40]
push edx
call fcn.00401aa0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00420aed
add esp, 8
test eax, eax
jne 0x40df60
push 0x42f230
call fcn.004011c0
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00401340
lea ecx, [esp + 0x10]
call fcn.00401340
lea ecx, [esp + 0x14]
call fcn.00401340
lea ecx, [esp + 0x28]
mov dword [esp + 0x84], 0xffffffff
call fcn.004012d0
xor al, al
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
push 0x42f214
call fcn.004011c0
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00401340
lea ecx, [esp + 0x10]
call fcn.00401340
lea ecx, [esp + 0x14]
call fcn.00401340
lea ecx, [esp + 0x28]
mov dword [esp + 0x84], 0xffffffff
call fcn.004012d0
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x78
ret