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

Disassembly:
push 0xffffffffffffffff
push 0x42adb6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
mov al, byte [esp + 3]
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea ecx, [esp + 0x14]
push ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x18], al
call fcn.00405be0
lea ecx, [edi + 0x34]
mov dword [esp + 0xe0], ebx
push ecx
lea ecx, [esp + 0x4c]
call fcn.0040cf70
mov edx, dword [eax]
mov dword [esp + 0x34], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x48]
mov esi, dword [eax + 8]
mov ebp, dword [eax + 0xc]
lea eax, [edi + 0x44]
push eax
call fcn.0040cf70
mov edx, eax
mov eax, dword [edx]
mov dword [esp + 0x24], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x28], ecx
mov eax, dword [edx + 8]
cmp esi, eax
mov edx, dword [edx + 0xc]
mov dword [esp + 0x30], edx
je 0x40b814
mov eax, dword [esi + 4]
lea ecx, [esp + 0x78]
push eax
push ecx
mov ecx, edi
call fcn.0040b480
push eax
lea edx, [esp + 0x5c]
push 0x4328d8
push edx
mov byte [esp + 0xec], 1
call fcn.0040e1c0
push 0x4328d4
push eax
lea eax, [esp + 0xdc]
mov byte [esp + 0xf4], 2
push eax
call fcn.00406040
add esp, 0x18
mov ecx, dword [0x42c2b8]
mov byte [esp + 0xe0], 3
push ecx
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.0040d000
push 1
lea ecx, [esp + 0xcc]
mov byte [esp + 0xe4], 2
call fcn.00405be0
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0xe4], 1
call fcn.00405be0
push 1
lea ecx, [esp + 0x7c]
mov byte [esp + 0xe4], bl
call fcn.00405be0
lea edx, [esi + 0xc]
lea eax, [esp + 0x98]
push edx
push 0x4328e0
push eax
call fcn.0040e1c0
push 0x4328dc
lea ecx, [esp + 0xc8]
push eax
push ecx
mov byte [esp + 0xf8], 4
call fcn.00406040
add esp, 0x18
mov edx, dword [0x42c2b8]
lea ecx, [esp + 0x14]
push edx
push ebx
push eax
mov byte [esp + 0xec], 5
call fcn.0040d000
push 1
lea ecx, [esp + 0xbc]
mov byte [esp + 0xe4], 4
call fcn.00405be0
push 1
lea ecx, [esp + 0x9c]
mov byte [esp + 0xe4], bl
call fcn.00405be0
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x40b7cb
push eax
lea eax, [esp + 0xac]
push eax
mov ecx, edi
call fcn.0040b480
push eax
lea ecx, [esp + 0x8c]
push str.See
push ecx
mov byte [esp + 0xec], 6
call fcn.0040e1c0
push str._for_detail._n
lea edx, [esp + 0x78]
push eax
push edx
mov byte [esp + 0xf8], 7
call fcn.00406040
add esp, 0x18
mov ecx, dword [0x42c2b8]
mov byte [esp + 0xe0], 8
push ecx
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.0040d000
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0xe4], 7
call fcn.00405be0
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0xe4], 6
call fcn.00405be0
push 1
lea ecx, [esp + 0xac]
mov byte [esp + 0xe4], bl
call fcn.00405be0
mov eax, dword [esp + 0x38]
add esi, 0x20
cmp esi, eax
jne 0x40b7e6
mov esi, dword [ebp + 4]
add ebp, 4
lea edx, [esi + 0x1000]
mov dword [esp + 0x38], edx
lea eax, [edi + 0x44]
lea ecx, [esp + 0x48]
push eax
call fcn.0040cf70
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x24], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 8]
cmp esi, eax
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x30], ecx
jne 0x40b60e
mov esi, dword [esp + 0xe8]
mov dl, byte [esp + 0x14]
lea ecx, [esp + 0x14]
mov byte [esi], dl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [0x42c2b8]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.00406170
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x40b861
mov al, byte [ecx - 1]
cmp al, bl
je 0x40b857
cmp al, 0xff
je 0x40b857
dec al
mov byte [ecx - 1], al
jmp 0x40b861
dec ecx
push ecx
call fcn.0041d2d9
add esp, 4
mov ecx, dword [esp + 0xd8]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd4
ret 4