Function at 0x1092d63
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x10cd598]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
inc esi
push edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x38], ebx
cmp dword [0x10d0928], ebx
jne 0x1092de1
push 0x14
lea eax, [ebp - 0x2c]
push eax
push 0x101d36c
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0x12
ja 0x1092dd4
lea eax, [ebp - 0x2c]
push eax
mov dword [0x10d0924], esi
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
mov dword [0x10d0920], eax
mov dword [0x10d091c], eax
jmp 0x1092dd9
mov eax, dword [0x10d0920]
mov dword [0x10d0928], esi
jmp 0x1092de6
mov eax, dword [0x10d0920]
mov ecx, dword [ebp + 0xc]
cmp eax, ebx
jne 0x1092df4
mov byte [ebp - 0x32], bl
test ecx, ecx
jns 0x1092df8
mov byte [ebp - 0x32], 1
cmp dword [0x10d0924], ebx
jne 0x1092e10
cmp dword [ebp + 8], ebx
jne 0x1092e10
mov byte [ebp - 0x2d], bl
test ecx, 0x40000000
je 0x1092e14
mov byte [ebp - 0x2d], 1
shr ecx, 0x1d
not cl
and cl, 1
mov byte [ebp - 0x31], cl
cmp byte [ebp - 0x32], bl
jne 0x1092e2d
cmp byte [ebp - 0x2d], bl
je 0x1093238
cmp eax, ebx
je 0x1092e45
inc dword [0x10d091c]
cmp dword [0x10d091c], eax
jb 0x1092e45
mov dword [0x10d091c], ebx
cmp byte [ebp - 0x2d], bl
je 0x1092eac
test cl, cl
je 0x1092e5d
push 0x101d344
push 0xffffffffffffffff
call sub.certcli.dll_Ordinal_203
pop ecx
jmp 0x1092e67
push 0x101d2f8
call fcn.01099014
pop ecx
push 0x10cdb40
push 0x101d2c0
push dword [edi + 8]
push dword [ebp - 0x31]
call fcn.01090871
push 0x10cda28
push 0x101d288
push dword [edi + 4]
push dword [ebp - 0x31]
call fcn.01090871
cmp dword [edi], 0x24
jb 0x1092eac
cmp dword [edi + 0x1c], ebx
je 0x1092eac
push dword [edi + 0x20]
push 0x101d238
push dword [ebp - 0x31]
call fcn.01090fa4
mov dword [ebp - 0x3c], ebx
cmp dword [edi + 0xc], ebx
jbe 0x1093177
cmp byte [ebp - 0x32], 0
mov esi, dword [ebp - 0x3c]
je 0x1092ed3
mov eax, dword [edi + 0x10]
push esi
push dword [0x10d091c]
push dword [eax + esi*4]
call fcn.01092a7b
cmp byte [ebp - 0x2d], 0
je 0x1092f33
mov eax, dword [edi + 0x10]
mov eax, dword [eax + esi*4]
push 0x10cdb40
push 0x101d200
push dword [eax + 8]
push dword [ebp - 0x31]
call fcn.01090871
mov eax, dword [edi + 0x10]
mov eax, dword [eax + esi*4]
push 0x10cda28
push 0x101d1cc
push dword [eax + 4]
push dword [ebp - 0x31]
call fcn.01090871
mov eax, dword [edi + 0x10]
mov eax, dword [eax + esi*4]
xor ebx, ebx
cmp dword [eax], 0x20
jb 0x1092f35
cmp dword [eax + 0x18], ebx
je 0x1092f35
push dword [eax + 0x1c]
push 0x101d180
push dword [ebp - 0x31]
call fcn.01090fa4
jmp 0x1092f35
xor ebx, ebx
cmp dword [ebp - 0x38], ebx
je 0x1092f46
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x44], ebx
je 0x1092f58
push ebx
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [ebp - 0x44], ebx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.01090a65
cmp eax, ebx
je 0x1092f74
push eax
push 0xf6d01a3
call fcn.010893e6
mov eax, dword [edi + 0x10]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x40], ebx
cmp dword [eax + 0xc], ebx
jbe 0x1093168
cmp byte [ebp - 0x2d], 0
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x40]
mov esi, dword [eax + ecx*4]
jne 0x1092fa5
cmp dword [ebp + 8], 0
jne 0x1092fa5
cmp dword [esi + 8], 0
je 0x1093150
cmp byte [ebp - 0x31], 0
push dword [esi + 8]
push dword [esi + 0xc]
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
je 0x1092fc8
push 0x101d148
push 0xffffffffffffffff
call sub.certcli.dll_Ordinal_203
add esp, 0x18
jmp 0x1092fd5
push 0x101d0d8
call fcn.01099014
add esp, 0x14
push 1
push dword [ebp - 0x31]
push dword [esi + 4]
call fcn.010925ea
test eax, eax
je 0x1092ff1
push eax
push 0xf8401a3
call fcn.010893e6
push 0x10cdb40
push 0x101d0a4
push dword [esi + 0xc]
push dword [ebp - 0x31]
call fcn.01090871
push 0x10cda28
push 0x101d074
push dword [esi + 8]
push dword [ebp - 0x31]
call fcn.01090871
cmp dword [ebp - 0x4c], 0
je 0x1093033
mov eax, dword [edi + 0x10]
mov ecx, dword [ebp - 0x3c]
push dword [eax + ecx*4]
push dword [ebp - 0x40]
push dword [ebp + 0xc]
call dword [ebp - 0x4c]
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x1093087
cmp dword [ebx], 0x1c
jb 0x1093087
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x1093087
push dword [ebp - 0x38]
push dword [eax + 4]
push 0
push dword [ebp - 0x31]
call fcn.010926ec
test eax, eax
je 0x1093065
push eax
push 0xfa101a3
call fcn.010893e6
push dword [ebp - 0x38]
mov eax, dword [ebx + 0x18]
push dword [eax + 8]
push 1
push dword [ebp - 0x31]
call fcn.010926ec
test eax, eax
je 0x1093087
push eax
push 0xfa801a3
call fcn.010893e6
cmp dword [esi], 0x18
jb 0x109309c
push dword [esi + 0x14]
push 0x101d05c
push dword [ebp - 0x31]
call fcn.010908c5
cmp dword [esi], 0x1c
jb 0x10930b1
push dword [esi + 0x18]
push 0x101d040
push dword [ebp - 0x31]
call fcn.010908c5
cmp dword [esi], 0x20
jb 0x10930e1
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x10930e1
cmp byte [ebp - 0x31], 0
push eax
je 0x10930d5
push 0x101d038
push 0xffffffffffffffff
call sub.certcli.dll_Ordinal_203
add esp, 0xc
jmp 0x10930e1
push 0x1005880
call fcn.01099014
pop ecx
pop ecx
mov ebx, dword [ebp - 0x40]
mov eax, dword [edi + 0x10]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [eax + ecx*4]
inc ebx
cmp ebx, dword [eax + 0xc]
jne 0x1093103
push 0x101d024
push dword [ebp - 0x38]
push dword [ebp - 0x31]
call fcn.01090ca1
mov esi, dword [esi + 4]
push dword [esi + 8]
push dword [esi + 4]
push dword [ebp - 0x38]
call fcn.01090c62
test eax, eax
je 0x1093123
push eax
push 0xfc701a3
call fcn.010893e6
mov eax, dword [edi + 0x10]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [eax + ecx*4]
cmp ebx, dword [eax + 0xc]
jne 0x1093150
push 0x101d018
push dword [ebp - 0x38]
push dword [ebp - 0x31]
call fcn.01090ca1
test eax, eax
je 0x1093150
push eax
push 0xfcc01a3
call fcn.010893e6
mov ecx, dword [ebp - 0x3c]
inc dword [ebp - 0x40]
mov eax, dword [edi + 0x10]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [eax + 0xc]
jb 0x1092f86
inc dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
cmp eax, dword [edi + 0xc]
jb 0x1092eb8
xor edi, edi
cmp byte [ebp - 0x2d], 0
je 0x109321b
cmp dword [ebp + 8], edi
je 0x10931fb
push 1
push dword [ebp + 8]
call sub.certcli.dll_Ordinal_207
mov esi, eax
cmp dword [ebp - 0x48], edi
je 0x10931bf
cmp byte [ebp - 0x31], 0
push dword [ebp - 0x48]
je 0x10931b3
push 0x101d000
push 0xffffffffffffffff
call sub.certcli.dll_Ordinal_203
add esp, 0xc
jmp 0x10931bf
push 0x101cfd4
call fcn.01099014
pop ecx
pop ecx
push 1
push dword [ebp - 0x31]
push dword [ebp - 0x50]
call fcn.010925ea
cmp esi, edi
je 0x10931fb
cmp byte [ebp - 0x31], 0
push esi
je 0x10931e8
push 0x101cfcc
push 0xffffffffffffffff
call sub.certcli.dll_Ordinal_203
add esp, 0xc
jmp 0x10931f4
push 0x1001d04
call fcn.01099014
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [ebp - 0x31], 0
je 0x1093210
push 0x101cfa4
push 0xffffffffffffffff
call sub.certcli.dll_Ordinal_203
pop ecx
jmp 0x109321a
push 0x101cf58
call fcn.01099014
pop ecx
cmp dword [ebp - 0x38], edi
je 0x1093229
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0x44], edi
je 0x1093238
push edi
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01074bd5
leave
ret 0x18