Function at 0x40b080
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4576c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x475730]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x38], 0
push ecx
lea ecx, [esi + 0x40]
call fcn.0043bb38
mov edx, dword [esp + 0x44]
mov dword [esi + 0x4c], edx
mov eax, dword [0x475730]
mov dword [esp + 0x40], eax
mov dword [esp + 0xc], eax
push str.__r_n_____r_n____r_n___r_n_____r_n____r_n_
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 2
call fcn.00402e60
mov eax, dword [esp + 0x48]
mov bl, 3
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], bl
call fcn.00403140
test eax, eax
je 0x40b1b7
lea ecx, [esp + 0x44]
push 1
push ecx
lea ecx, [esp + 0x20]
call fcn.00403240
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 4
call fcn.0043bae8
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], bl
call fcn.0043b9af
lea edx, [esp + 0x48]
push 2
push edx
lea ecx, [esp + 0x20]
call fcn.00403240
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 5
call fcn.0043bae8
lea ecx, [esp + 0x48]
mov byte [esp + 0x38], bl
call fcn.0043b9af
lea ecx, [esp + 0x40]
call fcn.0043527d
lea ecx, [esp + 0x40]
call fcn.004351ee
lea ecx, [esp + 0xc]
call fcn.0043527d
lea ecx, [esp + 0xc]
call fcn.004351ee
lea ecx, [esp + 0x40]
call fcn.0043bee3
mov eax, dword [esp + 0x40]
push str.username
push eax
call fcn.004226e3
add esp, 8
test eax, eax
jne 0x40b1a6
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esi + 0x48]
call fcn.0043bae8
lea ecx, [esp + 0x18]
call fcn.004031a0
test eax, eax
jne 0x40b0fe
mov edx, dword [esi + 0x48]
lea edi, [esi + 0x48]
mov eax, dword [edx - 8]
test eax, eax
jne 0x40b215
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.00403100
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 1
call fcn.0043b9af
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 0
call fcn.0043b9af
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0043b9af
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret 0x10
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x470258
call fcn.0043ba1d
lea eax, [esp + 0x4c]
push eax
call fcn.0040aa90
add esp, 8
mov ecx, dword [eax]
mov byte [esp + 0x38], 6
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edi
call fcn.0043b724
lea edx, [esp + 0x4c]
push edx
call fcn.0040aa90
add esp, 8
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push eax
push str.reqtypequery_wt_userusername_sproductxdtype_s
push ecx
mov byte [esp + 0x48], 7
call fcn.00435199
add esp, 0x10
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 6
call fcn.0043b9af
lea ecx, [esp + 0x48]
mov byte [esp + 0x38], bl
call fcn.0043b9af
lea edx, [esp + 0x10]
lea eax, [esi + 0x44]
push edx
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.0043bbde
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 8
call fcn.0043bae8
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], bl
call fcn.0043b9af
mov edx, dword [esp + 0x10]
push 0
push 0
push 1
push edx
push 0
mov ecx, esi
call fcn.0040ac70
lea ecx, [esp + 0x18]
mov esi, eax
mov byte [esp + 0x38], 2
call fcn.00403100
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 1
call fcn.0043b9af
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 0
call fcn.0043b9af
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0043b9af
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret 0x10