Function at 0x110cb440
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e2314
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x134]
mov ecx, dword [eax + 0x34]
mov edi, dword [eax + 0x30]
mov esi, edx
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x420], eax
mov eax, dword [edx + 0x58]
mov dword [ebp - 0x424], eax
xor eax, eax
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x414], eax
cmp dword [ebx + 0xa20], eax
je 0x110cb4b6
mov dword [ebp - 0x414], 0x40
mov eax, dword [ebp - 0x414]
cmp dword [ebp + 0xc], 0
je 0x110cb4c5
or eax, 0x10
mov dword [ebp - 0x414], eax
cmp dword [ebx + 0x280], 0
je 0x110cb508
push esi
lea edx, [ebx + 0x284]
push edx
and eax, 0xfffffffe
lea ecx, [ebx + 0x484]
push eax
xor edx, edx
call fcn.110ca860
add esp, 0xc
test eax, eax
je 0x110cb552
push 0
push 1
push 1
mov ecx, ebx
call fcn.110c8b00
add esp, 0xc
neg eax
sbb eax, eax
inc eax
jmp 0x110cb9f1
push 0
push 1
push str.RememberPassword
push str.General
mov ecx, edi
call fcn.110bbc00
xor edx, edx
mov dword [ebp - 0x41c], eax
push esi
test eax, eax
je 0x110cb559
mov eax, dword [ebp - 0x424]
lea ecx, [eax + 0xe078]
add eax, 0xde78
push eax
mov eax, dword [ebp - 0x414]
or eax, 1
push eax
call fcn.110ca860
add esp, 0xc
test eax, eax
jne 0x110cb56f
xor eax, eax
jmp 0x110cb9f1
mov ecx, dword [ebp - 0x414]
or ecx, 1
push 0x11247f3c
push ecx
mov ecx, 0x11247f3c
jmp 0x110cb546
push 0
push 1
push 0
mov ecx, ebx
call fcn.110c8b00
add esp, 0xc
mov dword [ebp - 0x428], eax
test esi, esi
je 0x110cb5db
test dword [ebx + 0x798], 0x10000000
jne 0x110cb5a9
push str.old_client_cannot_do_pin_n
call fcn.111bd7b0
add esp, 4
xor eax, eax
jmp 0x110cb9f1
cmp eax, 0x18a7
jne 0x110cb5c7
push str.client_says_pin_ok_n
call fcn.111bd7b0
add esp, 4
mov eax, 1
jmp 0x110cb9f1
push str.client_says_NotMyPin_n
call fcn.111bd7b0
add esp, 4
xor eax, eax
jmp 0x110cb9f1
cmp eax, 0x18a7
jne 0x110cb9a8
cmp dword [ebp + 8], 0
je 0x110cb656
cmp dword [ebx + 0xa2c], 0
je 0x110cb552
xor eax, eax
mov dword [ebp - 0x43c], eax
push 0x1955
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x43c], 3
call fcn.111bccb0
mov edx, dword [ebx + 0xa34]
mov ecx, dword [ebx + 0xa30]
push edx
mov edx, dword [ebx + 0xa2c]
mov dword [ebp - 0x434], eax
lea eax, [ebp - 0x43c]
push eax
push ecx
push 0
call edx
add esp, 0x14
xor eax, eax
jmp 0x110cb9f1
mov esi, 8
mov dword [ebp - 0x418], 0
call fcn.111b8710
cmp eax, 0x14
jge 0x110cb68f
test dword [ebx + 0x798], 0x40000
je 0x110cb68f
mov eax, dword [ebp - 0x420]
mov ecx, dword [eax + 0x40]
mov esi, 0x88
mov dword [ebp - 0x418], ecx
push 0x6f0
call fcn.111709c0
mov edx, eax
add esp, 4
mov dword [ebp - 0x428], edx
mov dword [ebp - 4], 0
test edx, edx
je 0x110cb6d9
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x420]
push eax
push ecx
push 0
push esi
call fcn.110c2d40
mov ecx, dword [ebp - 0x42c]
push eax
push edi
push ecx
mov ecx, edx
call fcn.11145170
mov esi, eax
jmp 0x110cb6db
xor esi, esi
mov dword [ebp - 0x440], esi
mov edx, dword [edi]
mov edx, dword [edx + 4]
push 0
push 0x200
lea eax, [ebp - 0x410]
push eax
push str.DefaultUsername
push str.General
mov ecx, edi
mov dword [ebp - 4], 1
call edx
push 0x100
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x410]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp dword [ebp - 0x41c], 0
je 0x110cb7e6
mov eax, dword [ebp - 0x424]
add eax, 0xde78
cmp word [eax], 0
je 0x110cb7e6
lea edx, [esi + 0xb4]
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x110cb750
lea edx, [ebp - 0x210]
push edx
lea eax, [esi + 0xb4]
push eax
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x110cb805
push 0x80
lea ecx, [ebp - 0x43c]
call fcn.1113c0e0
mov eax, dword [edi]
mov edx, dword [eax + 8]
push 0
lea ecx, [ebp - 0x43c]
push ecx
push str.ControlName
push str.General
mov ecx, edi
mov byte [ebp - 4], 2
call edx
lea ecx, [ebp - 0x43c]
call fcn.1102f630
push eax
lea eax, [esi + 0xb4]
push eax
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x110cb7d5
mov byte [esi + 0x4d4], 1
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 1
call fcn.1113cd80
jmp 0x110cb80c
lea eax, [ebp - 0x210]
lea edx, [esi + 0xb4]
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x110cb7f6
mov byte [esi + 0x4d4], 1
mov eax, 0x100
mov dword [esi + 0x4c8], eax
mov dword [esi + 0x4cc], eax
mov dword [ebp - 0x418], 0
push 1
push 0x191f
mov ecx, esi
call fcn.11139e80
cmp eax, 2
je 0x110cb8ff
test dword [ebx + 0x798], 0x40000
je 0x110cb890
mov ecx, esi
call fcn.11145280
test al, al
je 0x110cb890
mov edi, dword [esi + 0x4d8]
test edi, edi
je 0x110cb910
lea ecx, [edi + 0x6c]
call fcn.110c1e30
test al, al
je 0x110cb910
mov edx, dword [ebp - 0x414]
push 0
and edx, 0xfffffffe
lea eax, [esi + 0xb4]
or edx, 0x100
push eax
push edx
mov edx, edi
jmp 0x110cb8a5
push 0
lea eax, [esi + 0xb4]
push eax
mov eax, dword [ebp - 0x414]
and eax, 0xfffffffe
push eax
xor edx, edx
lea ecx, [esi + 0x2bc]
call fcn.110ca860
add esp, 0xc
test eax, eax
je 0x110cb910
mov ecx, esi
call fcn.11145280
movzx ecx, al
push ecx
push 1
push 1
mov ecx, ebx
call fcn.110c8b00
add esp, 0xc
mov dword [ebp - 0x428], eax
cmp eax, 0x18a7
je 0x110cb8e4
cmp eax, 0x1952
jne 0x110cb92c
mov eax, dword [ebp - 0x418]
inc eax
mov dword [ebp - 0x418], eax
cmp eax, 3
jl 0x110cb827
jmp 0x110cb993
mov ecx, dword [ebp - 0x42c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
push 0
push 1
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x170]
push 1
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call eax
xor eax, eax
jmp 0x110cb9f1
test eax, eax
jne 0x110cb993
cmp dword [ebp - 0x41c], eax
je 0x110cb993
mov ecx, esi
call fcn.11145280
test al, al
jne 0x110cb993
mov edi, dword [ebp - 0x424]
lea eax, [esi + 0xb4]
mov edx, edi
sub edx, eax
jmp 0x110cb960
movzx ecx, word [eax]
mov word [edx + eax + 0xde78], cx
add eax, 2
test cx, cx
jne 0x110cb960
lea eax, [esi + 0x2bc]
sub edi, eax
jmp 0x110cb980
movzx ecx, word [eax]
mov word [edi + eax + 0xe078], cx
add eax, 2
test cx, cx
jne 0x110cb980
mov edx, dword [esi]
mov eax, dword [edx + 0x170]
push 1
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call eax
mov esi, dword [ebp - 0x420]
push 0
push 0x1121bb48
mov ecx, esi
call fcn.110c51b0
test eax, eax
jne 0x110cb9e6
movzx ecx, word [eax + 0x1121bb44]
mov word [ebp + eax - 0x41c], cx
add eax, 2
test cx, cx
jne 0x110cb9c0
lea ecx, [ebp - 0x41c]
push ecx
mov ecx, dword [esi + 0x2c]
call fcn.110c2540
xor eax, eax
cmp dword [ebp - 0x428], eax
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret