Function at 0x409630
Capabilities:
Get hostname
Get process heap flags
Get process heap force flags
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x41db38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x638
mov al, byte [esp + 3]
push ebx
push esi
push edi
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0xe8], 0
mov byte [esp + 0x14], al
call fcn.0040cc10
mov cl, byte [esp + 0xf]
push 0
mov byte [esp + 0x88], cl
lea ecx, [esp + 0x88]
mov dword [esp + 0x650], 1
mov dword [esp + 0xec], 0x101
call fcn.0040cc10
mov dl, byte [esp + 0xf]
push 0
lea ecx, [esp + 0x68]
mov byte [esp + 0x650], 2
mov byte [esp + 0x68], dl
call fcn.0040cc10
mov al, byte [esp + 0xf]
push 0
lea ecx, [esp + 0x54]
mov byte [esp + 0x650], 3
mov byte [esp + 0x54], al
call fcn.0040cc10
mov cl, byte [esp + 0xf]
push 0
mov byte [esp + 0x44], cl
lea ecx, [esp + 0x44]
mov byte [esp + 0x650], 4
call fcn.0040cc10
mov dl, byte [esp + 0xf]
push 0
lea ecx, [esp + 0xc8]
mov byte [esp + 0x650], 5
mov byte [esp + 0xc8], dl
call fcn.0040cc10
mov al, byte [esp + 0xf]
push 0
lea ecx, [esp + 0x34]
mov byte [esp + 0x650], 6
mov byte [esp + 0x34], al
call fcn.0040cc10
mov cl, byte [esp + 0xf]
push 0
mov byte [esp + 0xd8], cl
lea ecx, [esp + 0xd8]
mov byte [esp + 0x650], 7
call fcn.0040cc10
mov dl, byte [esp + 0xf]
push 0
lea ecx, [esp + 0x98]
mov byte [esp + 0x650], 8
mov byte [esp + 0x98], dl
call fcn.0040cc10
mov al, byte [esp + 0xf]
push 0
lea ecx, [esp + 0xb8]
mov byte [esp + 0x650], 9
mov byte [esp + 0xb8], al
call fcn.0040cc10
mov cl, byte [esp + 0xf]
push 0
mov byte [esp + 0x78], cl
lea ecx, [esp + 0x78]
mov byte [esp + 0x650], 0xa
call fcn.0040cc10
mov dl, byte [esp + 0xf]
push 0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x650], 0xb
mov byte [esp + 0xa8], dl
call fcn.0040cc10
mov al, byte [esp + 0xf]
push 0
lea ecx, [esp + 0x100]
mov byte [esp + 0x650], 0xc
mov byte [esp + 0x100], al
call fcn.0040cc10
mov cl, byte [esp + 0xf]
push 0
mov byte [esp + 0x110], cl
lea ecx, [esp + 0x110]
mov byte [esp + 0x650], 0xd
call fcn.0040cc10
mov dl, byte [esp + 0xf]
push 0
lea ecx, [esp + 0xf0]
mov byte [esp + 0x650], 0xe
mov byte [esp + 0xf0], dl
call fcn.0040cc10
lea eax, [esp + 0x234]
push 0x104
mov bl, 0xf
push eax
push 0
mov byte [esp + 0x658], bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edi, [esp + 0x234]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x238]
push ecx
lea ecx, [esp + 0xf4]
call fcn.0040cc60
mov eax, dword [0x407740]
push 1
lea edx, [esp + 0x13]
push eax
push edx
lea ecx, [esp + 0xf8]
mov byte [esp + 0x1b], 0x5c
call fcn.0040c9d0
mov ecx, dword [0x407740]
inc eax
push ecx
lea edx, [esp + 0x24]
push eax
push edx
lea ecx, [esp + 0xf8]
call fcn.0040c190
mov ecx, dword [0x407740]
mov byte [esp + 0x64c], 0x10
push ecx
push 0
push eax
lea ecx, [esp + 0x118]
call fcn.0040c540
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x650], bl
call fcn.0040cc10
lea edx, [esp + 0x60]
lea eax, [esp + 0x120]
push edx
push eax
mov dword [esp + 0x68], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea ecx, [esp + 0xe8]
lea edx, [esp + 0x130]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [esp + 0x20]
push eax
call fcn.0040fe00
add esp, 4
mov ecx, dword [0x407740]
mov byte [esp + 0x64c], 0x11
push ecx
push 0
push eax
lea ecx, [esp + 0x90]
call fcn.0040c540
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x650], bl
call fcn.0040cc10
lea edx, [esp + 0x20]
push edx
call fcn.00410020
add esp, 4
mov ecx, dword [0x407740]
mov byte [esp + 0x64c], 0x12
push ecx
push 0
push eax
lea ecx, [esp + 0xb0]
call fcn.0040c540
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x650], bl
call fcn.0040cc10
lea edx, [esp + 0x20]
push edx
call fcn.0040f290
add esp, 4
mov ecx, dword [0x407740]
mov byte [esp + 0x64c], 0x13
push ecx
push 0
push eax
lea ecx, [esp + 0x70]
call fcn.0040c540
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x650], bl
call fcn.0040cc10
lea edx, [esp + 0x20]
push edx
call fcn.004084f0
add esp, 4
mov ecx, dword [0x407740]
mov byte [esp + 0x64c], 0x14
push ecx
push 0
push eax
lea ecx, [esp + 0x5c]
call fcn.0040c540
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x650], bl
call fcn.0040cc10
lea edx, [esp + 0x20]
push edx
call fcn.0040f900
add esp, 4
mov ecx, dword [0x407740]
mov byte [esp + 0x64c], 0x15
push ecx
push 0
push eax
lea ecx, [esp + 0x4c]
call fcn.0040c540
mov byte [esp + 0x64c], bl
push 1
lea ecx, [esp + 0x24]
call fcn.0040cc10
lea edx, [esp + 0x20]
push edx
call fcn.0040fbe0
add esp, 4
mov ecx, dword [0x407740]
mov byte [esp + 0x64c], 0x16
push ecx
push 0
push eax
lea ecx, [esp + 0xe0]
call fcn.0040c540
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x650], bl
call fcn.0040cc10
mov edx, dword [esp + 0x660]
mov eax, dword [esp + 0x65c]
mov ecx, dword [esp + 0x658]
push edx
push eax
push ecx
sub esp, 0x10
lea edx, [esp + 0x128]
mov ecx, esp
mov dword [esp + 0x138], esp
push edx
call fcn.0040c030
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.00408b30
add esp, 0x24
mov edx, dword [0x407740]
lea ecx, [esp + 0xc4]
push edx
push 0
push eax
mov byte [esp + 0x658], 0x17
call fcn.0040c540
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x650], bl
call fcn.0040cc10
lea eax, [esp + 0x74]
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.00409290
add esp, 8
mov edx, dword [0x407740]
lea ecx, [esp + 0x94]
push edx
push 0
push eax
mov byte [esp + 0x658], 0x18
call fcn.0040c540
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x650], bl
call fcn.0040cc10
lea eax, [esp + 0x20]
push eax
call fcn.00410610
add esp, 4
mov ecx, dword [0x407740]
mov byte [esp + 0x64c], 0x19
push ecx
push 0
push eax
lea ecx, [esp + 0xc0]
call fcn.0040c540
mov byte [esp + 0x64c], bl
push 1
lea ecx, [esp + 0x24]
call fcn.0040cc10
lea edx, [esp + 0x20]
push edx
call fcn.004103d0
add esp, 4
mov ecx, dword [0x407740]
mov byte [esp + 0x64c], 0x1a
push ecx
push 0
push eax
lea ecx, [esp + 0x108]
call fcn.0040c540
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x650], bl
call fcn.0040cc10
mov edi, 0x40365c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x40365c
lea ecx, [esp + 0x18]
call fcn.0040c480
lea edi, [esp + 0x120]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x120]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.0040c480
mov edi, 0x403654
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x403654
lea ecx, [esp + 0x18]
call fcn.0040c480
mov eax, dword [0x407740]
lea ecx, [esp + 0x84]
push eax
push 0
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040c3a0
mov edi, 0x40364c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x40364c
lea ecx, [esp + 0x18]
call fcn.0040c480
mov edx, dword [0x407740]
lea eax, [esp + 0xa4]
push edx
push 0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040c3a0
mov edi, 0x403644
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x403644
lea ecx, [esp + 0x18]
call fcn.0040c480
lea edi, [esp + 0x130]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x134]
push ecx
lea ecx, [esp + 0x18]
call fcn.0040c480
mov edi, 0x40363c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x40363c
lea ecx, [esp + 0x18]
call fcn.0040c480
mov edi, 0x403638
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x403638
lea ecx, [esp + 0x18]
call fcn.0040c480
mov edi, 0x403630
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x403630
lea ecx, [esp + 0x18]
call fcn.0040c480
mov edx, dword [0x407740]
lea eax, [esp + 0x64]
push edx
push 0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040c3a0
mov edi, 0x403628
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x403628
lea ecx, [esp + 0x18]
call fcn.0040c480
mov ecx, dword [0x407740]
lea edx, [esp + 0x50]
push ecx
push 0
push edx
lea ecx, [esp + 0x1c]
call fcn.0040c3a0
mov edi, 0x403620
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x403620
lea ecx, [esp + 0x18]
call fcn.0040c480
mov eax, dword [0x407740]
lea ecx, [esp + 0x40]
push eax
push 0
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040c3a0
mov edi, 0x403618
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x403618
lea ecx, [esp + 0x18]
call fcn.0040c480
mov edx, dword [0x407740]
lea eax, [esp + 0xd4]
push edx
push 0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040c3a0
mov edi, 0x403610
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x403610
lea ecx, [esp + 0x18]
call fcn.0040c480
mov ecx, dword [0x407740]
lea edx, [esp + 0xc4]
push ecx
push 0
push edx
lea ecx, [esp + 0x1c]
call fcn.0040c3a0
mov edi, 0x403608
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x403608
lea ecx, [esp + 0x18]
call fcn.0040c480
mov eax, dword [0x407740]
lea ecx, [esp + 0x30]
push eax
push 0
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040c3a0
mov edi, 0x403600
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x403600
lea ecx, [esp + 0x18]
call fcn.0040c480
mov edx, dword [0x407740]
lea eax, [esp + 0x94]
push edx
push 0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040c3a0
mov edi, 0x4035fc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4035fc
lea ecx, [esp + 0x18]
call fcn.0040c480
mov ecx, dword [0x407740]
lea edx, [esp + 0xfc]
push ecx
push 0
push edx
lea ecx, [esp + 0x1c]
call fcn.0040c3a0
mov edi, 0x4035f4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4035f4
lea ecx, [esp + 0x18]
call fcn.0040c480
mov eax, dword [0x407740]
lea ecx, [esp + 0x74]
push eax
push 0
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040c3a0
mov edi, 0x4035ec
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4035ec
lea ecx, [esp + 0x18]
call fcn.0040c480
mov edx, dword [0x407740]
lea eax, [esp + 0xb4]
push edx
push 0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040c3a0
mov esi, dword [esp + 0x654]
mov cl, byte [esp + 0x10]
xor edi, edi
mov byte [esi], cl
push edi
mov ecx, esi
call fcn.0040cc10
mov edx, dword [0x407740]
lea eax, [esp + 0x10]
push edx
push edi
push eax
mov ecx, esi
call fcn.0040c540
mov dword [esp + 0xe4], 1
push 1
lea ecx, [esp + 0xf0]
mov byte [esp + 0x650], 0xe
call fcn.0040cc10
push 1
lea ecx, [esp + 0x110]
mov byte [esp + 0x650], 0xd
call fcn.0040cc10
push 1
lea ecx, [esp + 0x100]
mov byte [esp + 0x650], 0xc
call fcn.0040cc10
mov eax, dword [esp + 0xa8]
cmp eax, edi
je 0x409f86
mov cl, byte [eax - 1]
test cl, cl
je 0x409f7c
cmp cl, 0xff
je 0x409f7c
dec cl
mov byte [eax - 1], cl
jmp 0x409f86
dec eax
push eax
call fcn.00412d82
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xa8], edi
cmp ecx, edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], edi
je 0x409fbf
mov al, byte [ecx - 1]
test al, al
je 0x409fb5
cmp al, 0xff
je 0x409fb5
dec al
mov byte [ecx - 1], al
jmp 0x409fbf
dec ecx
push ecx
call fcn.00412d82
add esp, 4
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x78], edi
cmp ecx, edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
je 0x409ff5
mov al, byte [ecx - 1]
test al, al
je 0x409feb
cmp al, 0xff
je 0x409feb
dec al
mov byte [ecx - 1], al
jmp 0x409ff5
dec ecx
push ecx
call fcn.00412d82
add esp, 4
mov ecx, dword [esp + 0x98]
mov dword [esp + 0xb8], edi
cmp ecx, edi
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], edi
je 0x40a031
mov al, byte [ecx - 1]
test al, al
je 0x40a027
cmp al, 0xff
je 0x40a027
dec al
mov byte [ecx - 1], al
jmp 0x40a031
dec ecx
push ecx
call fcn.00412d82
add esp, 4
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x98], edi
cmp ecx, edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
je 0x40a06d
mov al, byte [ecx - 1]
test al, al
je 0x40a063
cmp al, 0xff
je 0x40a063
dec al
mov byte [ecx - 1], al
jmp 0x40a06d
dec ecx
push ecx
call fcn.00412d82
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xd8], edi
cmp ecx, edi
mov dword [esp + 0xdc], edi
mov dword [esp + 0xe0], edi
je 0x40a0a6
mov al, byte [ecx - 1]
test al, al
je 0x40a09c
cmp al, 0xff
je 0x40a09c
dec al
mov byte [ecx - 1], al
jmp 0x40a0a6
dec ecx
push ecx
call fcn.00412d82
add esp, 4
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x34], edi
cmp ecx, edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
je 0x40a0d9
mov al, byte [ecx - 1]
test al, al
je 0x40a0cf
cmp al, 0xff
je 0x40a0cf
dec al
mov byte [ecx - 1], al
jmp 0x40a0d9
dec ecx
push ecx
call fcn.00412d82
add esp, 4
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xc8], edi
cmp ecx, edi
mov dword [esp + 0xcc], edi
mov dword [esp + 0xd0], edi
je 0x40a112
mov al, byte [ecx - 1]
test al, al
je 0x40a108
cmp al, 0xff
je 0x40a108
dec al
mov byte [ecx - 1], al
jmp 0x40a112
dec ecx
push ecx
call fcn.00412d82
add esp, 4
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x44], edi
cmp ecx, edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
je 0x40a142
mov al, byte [ecx - 1]
test al, al
je 0x40a138
cmp al, 0xff
je 0x40a138
dec al
mov byte [ecx - 1], al
jmp 0x40a142
dec ecx
push ecx
call fcn.00412d82
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x54], edi
cmp ecx, edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
je 0x40a172
mov al, byte [ecx - 1]
test al, al
je 0x40a168
cmp al, 0xff
je 0x40a168
dec al
mov byte [ecx - 1], al
jmp 0x40a172
dec ecx
push ecx
call fcn.00412d82
add esp, 4
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x68], edi
cmp ecx, edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
je 0x40a1a5
mov al, byte [ecx - 1]
test al, al
je 0x40a19b
cmp al, 0xff
je 0x40a19b
dec al
mov byte [ecx - 1], al
jmp 0x40a1a5
dec ecx
push ecx
call fcn.00412d82
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x88], edi
cmp ecx, edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
je 0x40a1de
mov al, byte [ecx - 1]
test al, al
je 0x40a1d4
cmp al, 0xff
je 0x40a1d4
dec al
mov byte [ecx - 1], al
jmp 0x40a1de
dec ecx
push ecx
call fcn.00412d82
add esp, 4
mov ecx, dword [esp + 0x644]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x644
ret