Function at 0x40b7a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42c8d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x30]
call fcn.00418e30
mov eax, dword [0x438664]
mov ecx, 0x438664
mov dword [esp + 0x8c], 0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
mov edx, dword [0x438664]
mov ecx, 0x438664
mov byte [esp + 0x8c], 1
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov eax, dword [0x438664]
mov ecx, 0x438664
mov byte [esp + 0x8c], 2
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x20], ebx
mov edx, dword [0x438664]
mov ecx, 0x438664
mov byte [esp + 0x8c], 3
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [0x438664]
mov ecx, 0x438664
mov byte [esp + 0x8c], 4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov edx, dword [0x438664]
mov ecx, 0x438664
mov byte [esp + 0x8c], 5
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov eax, dword [0x438664]
mov ecx, 0x438664
mov byte [esp + 0x8c], 6
call dword [eax + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov eax, dword [edi + 0x3c]
push 0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x94], 7
call fcn.00418ed0
test al, al
jne 0x40b8b1
lea eax, [ebp - 0x10]
jmp 0x40b8e3
push str.PRODUCTS
push str.WNWB_CONF
lea ecx, [esp + 0x38]
call fcn.00417fa0
mov ecx, eax
call fcn.00417fa0
mov ecx, eax
call fcn.00418020
mov ebp, eax
test ebp, ebp
jne 0x40ba1e
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b902
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov byte [esp + 0x8c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b924
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b94a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b970
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov byte [esp + 0x8c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b992
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b9b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b9de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x6c]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x30], 0x42e2c4
je 0x40ba04
push eax
call fcn.00420ae8
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
call fcn.004188c0
jmp 0x40be7a
cmp dword [esp + 0x98], 1
lea ecx, [esp + 0x14]
jne 0x40ba33
push str.MESSAGE
jmp 0x40ba38
push str.UPDATE
call fcn.00401ea0
lea ecx, [ecx]
push 0x42e35c
mov ecx, ebp
call fcn.004189c0
test eax, eax
jne 0x40ba54
xor ecx, ecx
jmp 0x40ba69
mov ecx, eax
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40ba60
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00401890
mov ebx, dword [esp + 0x20]
push ebx
call fcn.0042153e
mov ecx, dword [esp + 0x98]
add esp, 4
cmp eax, ecx
mov ecx, ebp
je 0x40ba9b
call fcn.004180b0
mov ebp, eax
test ebp, ebp
jne 0x40ba40
jmp 0x40babb
mov eax, dword [esp + 0x14]
push eax
call fcn.00418050
push str.version
mov ecx, eax
call fcn.004189c0
push eax
lea ecx, [esp + 0x1c]
call fcn.00401ea0
cmp dword [esp + 0x98], 2
jne 0x40bad2
lea edx, [esp + 0x18]
lea ecx, [edi + 0x2c]
push edx
call fcn.00401aa0
lea ecx, [esp + 0x30]
call fcn.00417f40
mov eax, dword [0x438664]
mov ecx, 0x438664
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
mov ecx, dword [edi + 0x34]
push 0x42e380
push ecx
lea edx, [esp + 0x34]
push 0x42ec54
push edx
mov byte [esp + 0x9c], 8
call fcn.004019c0
mov ebp, dword [esp + 0x3c]
add esp, 0x10
push 0
push ebp
lea ecx, [esp + 0x38]
call fcn.00418ed0
test al, al
je 0x40bb46
push str.WNWB_CONF
lea ecx, [esp + 0x34]
call fcn.00417fa0
mov ecx, dword [eax + 0x18]
call fcn.00418020
mov esi, eax
test esi, esi
jne 0x40bc77
lea eax, [ebp - 0x10]
mov byte [esp + 0x8c], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bb68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bb8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bbb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bbda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bc00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov byte [esp + 0x8c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bc22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bc48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40be66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x40be66
mov ebx, dword [esp + 0x94]
mov edi, edi
push 0x42e35c
mov ecx, esi
call fcn.004189c0
test eax, eax
jne 0x40bc94
xor ecx, ecx
jmp 0x40bca9
mov ecx, eax
lea ebp, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40bca0
sub ecx, ebp
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00401890
mov eax, dword [esp + 0x20]
push eax
call fcn.0042153e
add esp, 4
cmp eax, ebx
mov ecx, esi
je 0x40bcd8
call fcn.004180b0
mov esi, eax
test esi, esi
jne 0x40bc80
mov ebx, dword [esp + 0x14]
jmp 0x40bd10
mov ebx, dword [esp + 0x14]
push ebx
call fcn.00418050
mov esi, eax
push str.version
mov ecx, esi
call fcn.004189c0
push eax
lea ecx, [esp + 0x14]
call fcn.00401ea0
push str.file_name
mov ecx, esi
call fcn.004189c0
push eax
lea ecx, [esp + 0x20]
call fcn.00401ea0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push ecx
push edx
call fcn.00420aed
add esp, 8
test eax, eax
je 0x40bdee
cmp dword [esp + 0x98], 2
lea eax, [esp + 0x10]
push eax
jne 0x40bd46
lea ecx, [edi + 0x24]
call fcn.00401aa0
lea ecx, [edi + 0x1c]
jmp 0x40bd51
lea ecx, [edi + 0x28]
call fcn.00401aa0
lea ecx, [edi + 0x20]
lea edx, [esp + 0x1c]
push edx
call fcn.00401aa0
lea ecx, [esp + 0x30]
call fcn.00417f40
push 0x42ec48
push ebx
lea esi, [edi + 0x4c]
push 0x42ec54
push esi
call fcn.004019c0
add esp, 0x10
mov ecx, esi
call fcn.004028a0
push eax
call fcn.004011c0
add esp, 4
lea ecx, [esp + 0x2c]
call fcn.00401340
lea ecx, [esp + 0x1c]
call fcn.00401340
lea ecx, [esp + 0x14]
call fcn.00401340
lea ecx, [esp + 0x10]
call fcn.00401340
lea ecx, [esp + 0x18]
call fcn.00401340
lea ecx, [esp + 0x20]
call fcn.00401340
lea ecx, [esp + 0x24]
call fcn.00401340
lea ecx, [esp + 0x28]
call fcn.00401340
lea ecx, [esp + 0x30]
mov dword [esp + 0x8c], 0xffffffff
call fcn.004012d0
mov al, 1
jmp 0x40be7c
push 0x42ec3c
push ebx
lea esi, [edi + 0x4c]
push 0x42ec54
push esi
call fcn.004019c0
add esp, 0x10
mov ecx, esi
call fcn.004028a0
push eax
call fcn.004011c0
add esp, 4
lea ecx, [esp + 0x30]
call fcn.00417f40
lea ecx, [esp + 0x2c]
call fcn.00401340
lea ecx, [esp + 0x1c]
call fcn.00401340
lea ecx, [esp + 0x14]
call fcn.00401340
lea ecx, [esp + 0x10]
call fcn.00401340
lea ecx, [esp + 0x18]
call fcn.00401340
lea ecx, [esp + 0x20]
call fcn.00401340
lea ecx, [esp + 0x24]
call fcn.00401340
lea ecx, [esp + 0x28]
call fcn.00401340
lea ecx, [esp + 0x30]
mov dword [esp + 0x8c], 0xffffffff
call fcn.004012d0
xor al, al
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x80
ret 8