Function at 0x46bae0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff58
push ebx
push esi
xor edx, edx
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x9c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x46c03f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x94]
xor ecx, ecx
mov edx, 0x94
call fcn.004030b0
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x84]
sub eax, 1
jb 0x46bc92
je 0x46bb5c
dec eax
je 0x46bb9a
jmp 0x46bc9b
mov eax, dword [ebp - 0x8c]
sub eax, 1
jb 0x46bb76
sub eax, 9
je 0x46bb82
sub eax, 0x50
je 0x46bb8e
jmp case.0x46bbac.7
mov byte [esi + 0xe0], 2
jmp case.0x46bbac.7
mov byte [esi + 0xe0], 3
jmp case.0x46bbac.7
mov byte [esi + 0xe0], 4
jmp case.0x46bbac.7
mov eax, dword [ebp - 0x90]
add eax, 0xfffffffd
cmp eax, 7
ja case.0x46bbac.7
jmp dword [eax*4 + 0x46bbb3]
mov byte [esi + 0xe0], 5
jmp case.0x46bbac.7
mov byte [esi + 0xe0], 6
jmp case.0x46bbac.7
cmp dword [ebp - 0x8c], 0
jne 0x46bc00
mov byte [esi + 0xe0], 7
jmp case.0x46bbac.7
mov byte [esi + 0xe0], 8
lea eax, [ebp - 0x9c]
lea edx, [ebp - 0x80]
mov ecx, 0x80
call fcn.00404884
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
call fcn.00408ef0
mov edx, dword [ebp - 0x98]
mov eax, 0x46c054
call fcn.0040dd7c
test eax, eax
jle 0x46bc48
mov byte [esi + 0xe0], 9
jmp case.0x46bbac.7
lea eax, [ebp - 0xa4]
lea edx, [ebp - 0x80]
mov ecx, 0x80
call fcn.00404884
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
call fcn.00408ef0
mov edx, dword [ebp - 0xa0]
mov eax, 0x46c06c
call fcn.0040dd7c
test eax, eax
jle case.0x46bbac.7
mov byte [esi + 0xe0], 0xa
jmp case.0x46bbac.7
mov byte [esi + 0xe0], 0xc
jmp case.0x46bbac.7
mov byte [esi + 0xe0], 1
jmp case.0x46bbac.7
mov byte [esi + 0xe0], 0
mov bl, byte [esi + 0xe0]
xor eax, eax
mov al, bl
cmp eax, 0xc
ja case.default.0x46bcb5
jmp dword [eax*4 + 0x46bcbc]
lea eax, [esi + 0xe4]
mov edx, 0x46c084
call fcn.00404670
jmp 0x46be21
lea eax, [esi + 0xe4]
mov edx, 0x46c094
call fcn.00404670
jmp 0x46be21
lea eax, [esi + 0xe4]
mov edx, 0x46c0a4
call fcn.00404670
jmp 0x46be21
lea eax, [esi + 0xe4]
mov edx, 0x46c0b4
call fcn.00404670
jmp 0x46be21
lea eax, [esi + 0xe4]
mov edx, 0x46c0c4
call fcn.00404670
jmp 0x46be21
lea eax, [esi + 0xe4]
mov edx, 0x46c0d4
call fcn.00404670
jmp 0x46be21
lea eax, [esi + 0xe4]
mov edx, 0x46c0e8
call fcn.00404670
jmp 0x46be21
lea eax, [esi + 0xe4]
mov edx, 0x46c0f8
call fcn.00404670
jmp 0x46be21
lea eax, [esi + 0xe4]
mov edx, 0x46c108
call fcn.00404670
jmp 0x46be21
lea eax, [esi + 0xe4]
mov edx, 0x46c118
call fcn.00404670
jmp 0x46be21
lea eax, [esi + 0xe4]
mov edx, 0x46c128
call fcn.00404670
jmp 0x46be21
lea eax, [esi + 0xe4]
mov edx, 0x46c13c
call fcn.00404670
jmp 0x46be21
lea eax, [esi + 0xe4]
mov edx, 0x46c150
call fcn.00404670
jmp 0x46be21
push 0x46c164
lea edx, [ebp - 0xa8]
xor eax, eax
mov al, bl
call fcn.00409538
push dword [ebp - 0xa8]
push 0x46c170
lea eax, [esi + 0xe4]
mov edx, 3
call fcn.004049b0
mov byte [esi + 4], 0
mov byte [esi + 0x6a], 0
mov byte [esi + 0xc], 0
mov byte [esi + 0x14], 0
mov byte [esi + 0x2c], 0
mov byte [esi + 0x20], 0
mov byte [esi + 0x7d], 0
mov byte [esi + 0x2d], 0
mov byte [esi + 0x38], 0
mov byte [esi + 0x39], 0
mov byte [esi + 0x40], 0
mov byte [esi + 0x48], 0
mov byte [esi + 0x50], 0
mov byte [esi + 0x5d], 0
mov byte [esi + 0x5c], 0
mov byte [esi + 0x5e], 0
mov byte [esi + 0x5f], 0
mov byte [esi + 0x60], 0
mov byte [esi + 0x61], 0
mov byte [esi + 0x62], 0
mov byte [esi + 0x63], 0
mov byte [esi + 0x64], 0
mov byte [esi + 0x65], 0
mov byte [esi + 0x66], 0
mov byte [esi + 0x67], 0
mov byte [esi + 0x68], 0
mov byte [esi + 0x69], 0
mov byte [esi + 0x6b], 0
mov byte [esi + 0x6c], 0
mov byte [esi + 0x6d], 0
mov byte [esi + 0x6e], 0
mov byte [esi + 0x6f], 0
mov byte [esi + 0x70], 0
mov byte [esi + 0x71], 0
mov byte [esi + 0x7c], 0
mov byte [esi + 0xd8], 0
mov byte [esi + 0x72], 0
mov byte [esi + 0x73], 0
lea eax, [esi + 0x74]
call fcn.0040461c
lea eax, [esi + 0x78]
call fcn.0040461c
lea eax, [esi + 8]
call fcn.0040461c
lea eax, [esi + 0x10]
call fcn.0040461c
lea eax, [esi + 0x18]
call fcn.0040461c
lea eax, [esi + 0x1c]
call fcn.0040461c
lea eax, [esi + 0x28]
call fcn.0040461c
lea eax, [esi + 0x30]
call fcn.0040461c
lea eax, [esi + 0x34]
call fcn.0040461c
lea eax, [esi + 0x3c]
call fcn.0040461c
lea eax, [esi + 0x44]
call fcn.0040461c
lea eax, [esi + 0x4c]
call fcn.0040461c
lea eax, [esi + 0x54]
call fcn.0040461c
lea eax, [esi + 0x80]
call fcn.0040461c
lea eax, [esi + 0x84]
call fcn.0040461c
lea eax, [esi + 0xb4]
call fcn.0040461c
lea eax, [esi + 0x88]
call fcn.0040461c
lea eax, [esi + 0x8c]
call fcn.0040461c
lea eax, [esi + 0x90]
call fcn.0040461c
lea eax, [esi + 0x94]
call fcn.0040461c
lea eax, [esi + 0x98]
call fcn.0040461c
lea eax, [esi + 0x9c]
call fcn.0040461c
lea eax, [esi + 0xa0]
call fcn.0040461c
lea eax, [esi + 0xa4]
call fcn.0040461c
lea eax, [esi + 0xa8]
call fcn.0040461c
lea eax, [esi + 0xac]
call fcn.0040461c
lea eax, [esi + 0xb0]
call fcn.0040461c
lea eax, [esi + 0xb8]
call fcn.0040461c
lea eax, [esi + 0xbc]
call fcn.0040461c
lea eax, [esi + 0xc0]
call fcn.0040461c
lea eax, [esi + 0xc4]
call fcn.0040461c
lea eax, [esi + 0xc8]
call fcn.0040461c
lea eax, [esi + 0xcc]
call fcn.0040461c
lea eax, [esi + 0xd0]
call fcn.0040461c
lea eax, [esi + 0xd4]
call fcn.0040461c
lea eax, [esi + 0xdc]
call fcn.0040461c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c046
lea eax, [ebp - 0xa8]
mov edx, 5
call fcn.00404640
ret