Function at 0x402f80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x435b00
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x447780]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
lea eax, [esp + 0x34]
xor ebp, ebp
push eax
mov dword [esp + 0x28], ebp
call fcn.004014c0
push 0x43dd30
push eax
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x6c], ebp
call fcn.00403500
push str.SETUPINF.XML
push eax
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x78], 1
call fcn.00403500
add esp, 0x1c
mov byte [esp + 0x5c], 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 0x403008
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x5c], 4
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40302d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x18], ebp
xor esi, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebp
lea edi, [esp + 0x18]
mov byte [esp + 0x5c], 7
call fcn.004036e0
cmp eax, ebp
jl 0x4032f6
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x403067
push 0x80004003
call fcn.00433e20
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xfc]
push ebp
push eax
call edx
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x403089
push 0x80004003
call fcn.00433e20
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x118]
push ebp
push eax
mov esi, eax
call edx
cmp eax, ebp
jge 0x4030a7
push 0x43e0c4
push esi
push eax
call fcn.00433e30
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x4030bd
push 0x80004003
call fcn.00433e20
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x110]
push ebp
push eax
mov esi, eax
call edx
cmp eax, ebp
jge 0x4030db
push 0x43e0c4
push esi
push eax
call fcn.00433e30
mov eax, dword [esp + 0x2c]
mov ebx, 8
push eax
mov esi, eax
mov word [esp + 0x40], bx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebp
mov dword [esp + 0x44], eax
jne 0x403108
cmp esi, ebp
je 0x403108
push 0x8007000e
call fcn.00433e20
mov byte [esp + 0x5c], bl
mov ecx, dword [esp + 0x18]
cmp ecx, ebp
jne 0x403122
push 0x80004003
call fcn.00433e20
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x3c]
mov edx, dword [ecx]
lea eax, [esp + 0x28]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x54]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x58]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x5c]
mov esi, ecx
push ecx
mov ecx, dword [edx + 0xe8]
mov dword [esp + 0x40], ebp
mov dword [eax + 0xc], edi
call ecx
cmp eax, ebp
jge 0x403168
push 0x43e0c4
push esi
push eax
call fcn.00433e30
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x60], 7
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp word [esp + 0x28], 0xffff
jne 0x4032f2
cmp dword [esp + 0x18], ebp
jne 0x403194
push 0x80004003
call fcn.00433e20
mov esi, dword [esp + 0x18]
lea edi, [esp + 0x28]
call fcn.00401400
mov eax, dword [eax]
cmp eax, ebp
je 0x4031b7
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov esi, eax
push eax
mov dword [esp + 0x20], esi
call edx
jmp 0x4031bb
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x4031cb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ecx
mov edi, esp
mov dword [esp + 0x3c], esp
call fcn.00401130
cmp esi, ebp
mov byte [esp + 0x60], 9
jne 0x4031ea
push 0x80004003
call fcn.00433e20
lea eax, [esp + 0x2c]
push eax
mov edi, esi
mov byte [esp + 0x64], 7
call fcn.00401330
mov eax, dword [eax]
cmp eax, ebp
je 0x403211
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov ebx, eax
push eax
mov dword [esp + 0x24], ebx
call edx
jmp 0x403215
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x403225
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp ebx, ebp
jne 0x403233
push 0x80004003
call fcn.00433e20
mov eax, dword [ebx]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x28]
push ecx
push ebx
mov dword [esp + 0x30], ebp
call edx
cmp eax, ebp
jge 0x403254
push 0x43e0f4
push ebx
push eax
call fcn.00433e30
cmp dword [esp + 0x28], ebp
jle 0x4032d2
lea edi, [esp + 0x38]
mov esi, ebx
call fcn.004012f0
mov esi, eax
mov byte [esp + 0x5c], 0xa
cmp dword [esi], ebp
jne 0x40327a
push 0x80004003
call fcn.00433e20
mov esi, dword [esi]
lea eax, [esp + 0x28]
mov edi, esi
call fcn.004012b0
mov byte [esp + 0x5c], 0xb
mov eax, dword [eax]
cmp eax, ebp
je 0x403296
mov eax, dword [eax]
jmp 0x403298
xor eax, eax
mov ecx, dword [esp + 0x64]
push eax
add ecx, 0xa4
call fcn.00403d40
lea edi, [esp + 0x28]
call fcn.00401250
mov byte [esp + 0x5c], 7
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x4032c6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x24], 1
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
cmp esi, ebp
mov dword [esp + 0x20], ebp
je 0x4032f2
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x40330c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov dword [esp + 0x18], eax
cmp esi, ebp
mov byte [esp + 0x5c], 5
je 0x403321
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x18]
cmp eax, ebp
mov byte [esp + 0x5c], 4
je 0x403332
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x5c], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40335a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 4