Function at 0x12ec95d0
Capabilities:
Query environment variable
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x130665df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x504
push ebx
mov ebx, dword [esp + 0x51c]
push ebp
push esi
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.12f4cc10
mov ebp, dword [esp + 0x520]
lea ecx, [esp + 0xc]
push ebp
call fcn.12f46a80
mov eax, dword [0x13198f68]
mov dword [esp + 0x518], 0
test eax, eax
je 0x12ec963e
mov eax, dword [esp + 0xc]
push eax
push 0x13146bf0
push 0x13146bd8
push 4
call fcn.12dad750
add esp, 0x10
push edi
push 0x25
lea ecx, [esp + 0x14]
call fcn.12f48320
mov esi, eax
cmp esi, 0xffffffff
je 0x12eca92f
push 0x13146bb8
lea ecx, [esp + 0x14]
call fcn.12f4be40
cmp eax, 0xffffffff
je 0x12ec96b7
lea ecx, [esp + 0x10]
call fcn.12f48480
push 0x13146b98
push 0x13146b6c
lea ecx, [esp + 0x18]
call fcn.12f49160
push 0x13146b44
push 0x13146b10
lea ecx, [esp + 0x18]
call fcn.12f49160
push 0x13146af0
push 0x13146ac0
lea ecx, [esp + 0x18]
call fcn.12f49160
push 0x25
lea ecx, [esp + 0x14]
call fcn.12f48320
mov esi, eax
cmp esi, 0xffffffff
je 0x12eca92f
lea ecx, [esi + 1]
push ecx
push 0x25
lea ecx, [esp + 0x18]
call fcn.12f48360
mov edi, eax
cmp edi, 0xffffffff
je 0x12eca92f
mov edx, edi
lea eax, [esp + 0x18]
sub edx, esi
lea ecx, [esp + 0x10]
inc edx
push edx
push esi
push eax
call fcn.12f49540
lea ecx, [esp + 0x10]
mov byte [esp + 0x51c], 1
push ecx
lea ecx, [esp + 0x18]
call fcn.12f46820
mov edx, dword [esp + 0x18]
push 0x13146aa4
push edx
mov byte [esp + 0x524], 2
call fcn.12f5e1d4
add esp, 8
test eax, eax
jne 0x12ec97a1
inc edi
lea eax, [esp + 0x58]
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.12f49510
mov edi, eax
lea ecx, [esp + 0xc8]
push esi
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 3
call fcn.12f49960
mov esi, eax
mov edx, dword [edi]
mov byte [esp + 0x51c], 4
push edx
call fcn.12edce40
push eax
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x1c]
push 0x13146a94
push ecx
call fcn.12f4a1a0
add esp, 0x14
lea ecx, [esp + 0xc8]
mov byte [esp + 0x51c], 3
call fcn.12f47220
lea ecx, [esp + 0x58]
mov byte [esp + 0x51c], 2
call fcn.12f47220
jmp 0x12eca8cc
mov edx, dword [esp + 0x18]
push 0x13146a74
push edx
call fcn.12f5e1d4
add esp, 8
test eax, eax
jne 0x12ec9e79
call fcn.12f9c620
test eax, eax
je 0x12ec9ccb
call fcn.12edce40
push eax
lea ecx, [esp + 0x48]
call fcn.12f46a80
mov byte [esp + 0x51c], 5
call fcn.12edd440
push eax
lea ecx, [esp + 0x40]
call fcn.12f46a80
mov byte [esp + 0x51c], 6
call fcn.12edd6e0
push eax
lea ecx, [esp + 0x38]
call fcn.12f46a80
push 0x5c
lea ecx, [esp + 0x48]
mov byte [esp + 0x520], 7
call fcn.12f483d0
mov ebp, eax
cmp ebp, 0xffffffff
je 0x12ec9a35
push 0x5c
lea ecx, [esp + 0x40]
call fcn.12f483d0
cmp ebp, eax
jne 0x12ec9a35
push 0x5c
lea ecx, [esp + 0x38]
call fcn.12f483d0
cmp ebp, eax
jne 0x12ec9a35
lea eax, [esp + 0x40]
push ebp
push eax
lea ecx, [esp + 0x4c]
call fcn.12f49960
lea ecx, [esp + 0x60]
push ebp
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x524], 8
call fcn.12f49960
mov eax, dword [eax]
mov edx, dword [esp + 0x40]
push eax
push edx
mov byte [esp + 0x524], 9
call fcn.12f5e1d4
add esp, 8
test eax, eax
jne 0x12ec98d9
lea eax, [esp + 0xb0]
push ebp
push eax
lea ecx, [esp + 0x3c]
call fcn.12f49960
mov eax, dword [eax]
mov ecx, dword [esp + 0x40]
push eax
push ecx
mov byte [esp + 0x524], 0xa
call fcn.12f5e1d4
add esp, 8
lea ecx, [esp + 0xb0]
test eax, eax
sete bl
mov byte [esp + 0x51c], 9
call fcn.12f47220
test bl, bl
je 0x12ec98d9
mov ebx, 1
jmp 0x12ec98db
xor ebx, ebx
lea ecx, [esp + 0x60]
mov byte [esp + 0x51c], 8
call fcn.12f47220
lea ecx, [esp + 0x40]
mov byte [esp + 0x51c], 7
call fcn.12f47220
test ebx, ebx
je 0x12ec9a35
call fcn.12edce40
push eax
lea ecx, [esp + 0x4c]
call fcn.12f46a80
mov edx, dword [0x1307d25c]
mov byte [esp + 0x51c], 0xb
mov dword [esp + 0x38], edx
push 0x5c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x520], 0xc
call fcn.12f483d0
cmp eax, 0xffffffff
je 0x12ec9976
push eax
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x50]
call fcn.12f49960
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x520], 0xd
call fcn.12f473b0
lea ecx, [esp + 0xf0]
mov byte [esp + 0x51c], 0xc
call fcn.12f47220
inc edi
lea ecx, [esp + 0xb8]
push edi
push ecx
lea ecx, [esp + 0x1c]
call fcn.12f49510
mov edi, eax
lea edx, [esp + 0x68]
push esi
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0xe
call fcn.12f49960
mov ecx, dword [edi]
mov edx, dword [esp + 0x38]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x1c]
push 0x13146a94
push ecx
mov byte [esp + 0x530], 0xf
call fcn.12f4a1a0
add esp, 0x14
lea ecx, [esp + 0x68]
mov byte [esp + 0x51c], 0xe
call fcn.12f47220
lea ecx, [esp + 0xb8]
mov byte [esp + 0x51c], 0xc
call fcn.12f47220
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ec9a13
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
push 0x13146a18
push 0x13146bd8
push 4
call fcn.12dad750
add esp, 0x14
lea ecx, [esp + 0x38]
mov byte [esp + 0x51c], 0xb
call fcn.12f47220
mov byte [esp + 0x51c], 7
lea ecx, [esp + 0x48]
jmp 0x12ec9c87
inc edi
lea ecx, [esp + 0xe0]
push edi
push ecx
lea ecx, [esp + 0x1c]
call fcn.12f49510
mov ebp, eax
lea edx, [esp + 0x70]
push esi
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x10
call fcn.12f49960
mov ebx, eax
mov eax, dword [ebp]
mov byte [esp + 0x51c], 0x11
push eax
call fcn.12edd440
mov ecx, dword [ebx]
push eax
push ecx
lea edx, [esp + 0x1c]
push 0x13146a94
push edx
call fcn.12f4a1a0
add esp, 0x14
lea ecx, [esp + 0x70]
mov byte [esp + 0x51c], 0x10
call fcn.12f47220
lea ecx, [esp + 0xe0]
mov byte [esp + 0x51c], 7
call fcn.12f47220
mov ecx, dword [esp + 0x528]
lea edx, [esp + 0x10]
push edx
mov eax, dword [ecx + 4]
push eax
call fcn.12f4d1b0
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ec9aeb
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push 0x131469bc
push 0x13146bd8
push 4
call fcn.12dad750
add esp, 0x14
lea edx, [esp + 0xc0]
push edi
push edx
lea ecx, [esp + 0x1c]
call fcn.12f49510
mov ebx, eax
lea eax, [esp + 0x78]
push esi
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x12
call fcn.12f49960
mov ebp, eax
mov ecx, dword [ebx]
mov byte [esp + 0x51c], 0x13
push ecx
call fcn.12edd6e0
mov edx, dword [ebp]
push eax
push edx
lea eax, [esp + 0x1c]
push 0x13146a94
push eax
call fcn.12f4a1a0
add esp, 0x14
lea ecx, [esp + 0x78]
mov byte [esp + 0x51c], 0x12
call fcn.12f47220
lea ecx, [esp + 0xc0]
mov byte [esp + 0x51c], 7
call fcn.12f47220
mov ecx, dword [esp + 0x528]
lea edx, [esp + 0x10]
push edx
mov eax, dword [ecx + 4]
push eax
call fcn.12f4d1b0
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ec9ba0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push 0x13146960
push 0x13146bd8
push 4
call fcn.12dad750
add esp, 0x14
call fcn.12edce40
push eax
lea ecx, [esp + 0x34]
call fcn.12f46a80
mov eax, dword [0x13198f68]
mov byte [esp + 0x51c], 0x14
test eax, eax
je 0x12ec9bd9
mov edx, dword [esp + 0x30]
push edx
push 0x1314690c
push 0x13146bd8
push 4
call fcn.12dad750
add esp, 0x10
lea eax, [esp + 0x100]
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.12f49510
mov edi, eax
lea ecx, [esp + 0x80]
push esi
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x15
call fcn.12f49960
mov edx, dword [edi]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x13146a94
push eax
mov byte [esp + 0x530], 0x16
call fcn.12f4a1a0
add esp, 0x14
lea ecx, [esp + 0x80]
mov byte [esp + 0x51c], 0x15
call fcn.12f47220
lea ecx, [esp + 0x100]
mov byte [esp + 0x51c], 0x14
call fcn.12f47220
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ec9c7b
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
push 0x131468b0
push 0x13146bd8
push 4
call fcn.12dad750
add esp, 0x14
mov byte [esp + 0x51c], 7
lea ecx, [esp + 0x30]
call fcn.12f47220
lea ecx, [esp + 0x34]
mov byte [esp + 0x51c], 6
call fcn.12f47220
lea ecx, [esp + 0x3c]
mov byte [esp + 0x51c], 5
call fcn.12f47220
lea ecx, [esp + 0x44]
mov byte [esp + 0x51c], 2
call fcn.12f47220
mov ebx, dword [esp + 0x528]
jmp 0x12eca8cc
inc edi
lea eax, [esp + 0x50]
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.12f49510
mov ebp, eax
lea ecx, [esp + 0x88]
push esi
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x17
call fcn.12f49960
mov ebx, eax
mov edx, dword [ebp]
mov byte [esp + 0x51c], 0x18
push edx
call fcn.12edd440
push eax
mov eax, dword [ebx]
push eax
lea ecx, [esp + 0x1c]
push 0x13146a94
push ecx
call fcn.12f4a1a0
add esp, 0x14
lea ecx, [esp + 0x88]
mov byte [esp + 0x51c], 0x17
call fcn.12f47220
lea ecx, [esp + 0x50]
mov byte [esp + 0x51c], 2
call fcn.12f47220
mov ecx, dword [esp + 0x528]
lea edx, [esp + 0x10]
push edx
mov eax, dword [ecx + 4]
push eax
call fcn.12f4d1b0
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ec9d81
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push 0x13146870
push 0x13146bd8
push 4
call fcn.12dad750
add esp, 0x14
call fcn.12edce40
push eax
lea ecx, [esp + 0x50]
call fcn.12f46a80
mov eax, dword [0x13198f68]
mov byte [esp + 0x51c], 0x19
test eax, eax
je 0x12ec9dba
mov edx, dword [esp + 0x4c]
push edx
push 0x13146834
push 0x13146bd8
push 4
call fcn.12dad750
add esp, 0x10
lea eax, [esp + 0xe8]
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.12f49510
mov edi, eax
lea ecx, [esp + 0x90]
push esi
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x1a
call fcn.12f49960
mov edx, dword [edi]
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x13146a94
push eax
mov byte [esp + 0x530], 0x1b
call fcn.12f4a1a0
add esp, 0x14
lea ecx, [esp + 0x90]
mov byte [esp + 0x51c], 0x1a
call fcn.12f47220
lea ecx, [esp + 0xe8]
mov byte [esp + 0x51c], 0x19
call fcn.12f47220
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ec9e5c
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
push 0x131467f4
push 0x13146bd8
push 4
call fcn.12dad750
add esp, 0x14
lea ecx, [esp + 0x4c]
mov byte [esp + 0x51c], 2
call fcn.12f47220
mov ebx, dword [esp + 0x528]
jmp 0x12eca8cc
mov eax, dword [esp + 0x18]
push 0x131467dc
push eax
call fcn.12f5e1d4
add esp, 8
test eax, eax
jne 0x12ec9f17
inc edi
lea ecx, [esp + 0xd0]
push edi
push ecx
lea ecx, [esp + 0x1c]
call fcn.12f49510
mov edi, eax
lea edx, [esp + 0x98]
push esi
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x1c
call fcn.12f49960
mov esi, eax
mov eax, dword [edi]
mov byte [esp + 0x51c], 0x1d
push eax
call fcn.12edd100
mov ecx, dword [esi]
push eax
push ecx
lea edx, [esp + 0x1c]
push 0x13146a94
push edx
call fcn.12f4a1a0
add esp, 0x14
lea ecx, [esp + 0x98]
mov byte [esp + 0x51c], 0x1c
call fcn.12f47220
lea ecx, [esp + 0xd0]
mov byte [esp + 0x51c], 2
call fcn.12f47220
jmp 0x12eca8cc
mov eax, dword [esp + 0x18]
push 0x131467b8
push eax
call fcn.12f5e1d4
add esp, 8
test eax, eax
jne 0x12eca046
call fcn.12f9c620
test eax, eax
je 0x12ec9fc2
inc edi
lea ecx, [esp + 0xf8]
push edi
push ecx
lea ecx, [esp + 0x1c]
call fcn.12f49510
mov edi, eax
lea edx, [esp + 0xa0]
push esi
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x1e
call fcn.12f49960
mov esi, eax
mov eax, dword [edi]
mov byte [esp + 0x51c], 0x1f
push eax
call fcn.12edd6e0
mov ecx, dword [esi]
push eax
push ecx
lea edx, [esp + 0x1c]
push 0x13146a94
push edx
call fcn.12f4a1a0
add esp, 0x14
lea ecx, [esp + 0xa0]
mov byte [esp + 0x51c], 0x1e
call fcn.12f47220
lea ecx, [esp + 0xf8]
mov byte [esp + 0x51c], 2
call fcn.12f47220
jmp 0x12eca8cc
inc edi
lea eax, [esp + 0xd8]
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.12f49510
mov edi, eax
lea ecx, [esp + 0xa8]
push esi
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x20
call fcn.12f49960
mov esi, eax
mov edx, dword [edi]
mov byte [esp + 0x51c], 0x21
push edx
call fcn.12edd440
push eax
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x1c]
push 0x13146a94
push ecx
call fcn.12f4a1a0
add esp, 0x14
lea ecx, [esp + 0xa8]
mov byte [esp + 0x51c], 0x20
call fcn.12f47220
lea ecx, [esp + 0xd8]
mov byte [esp + 0x51c], 2
call fcn.12f47220
jmp 0x12eca8cc
mov edx, dword [esp + 0x18]
push 0x131467a4
push edx
call fcn.12f5e1d4
add esp, 8
test eax, eax
jne 0x12eca1cb
call fcn.12f9c450
test eax, eax
je 0x12eca153
call fcn.12ede870
push eax
lea ecx, [esp + 0x20]
call fcn.12f46a80
lea ecx, [esp + 0x1c]
mov byte [esp + 0x51c], 0x22
call fcn.12f48480
push 0x13146790
lea ecx, [esp + 0x20]
call fcn.12f48400
cmp eax, 0xffffffff
jne 0x12eca0ac
push 0x13146790
push 0x1314677c
jmp 0x12eca0b6
push 0x1314677c
push 0x13146790
lea ecx, [esp + 0x24]
call fcn.12f49160
lea eax, [edi + 1]
lea ecx, [esp + 0x5c]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.12f49510
mov ebp, eax
lea edx, [esp + 0x54]
push esi
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x23
call fcn.12f49960
mov ecx, dword [ebp]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x1c]
push 0x13146a94
push ecx
mov byte [esp + 0x530], 0x24
call fcn.12f4a1a0
add esp, 0x14
lea ecx, [esp + 0x54]
mov byte [esp + 0x51c], 0x23
call fcn.12f47220
lea ecx, [esp + 0x5c]
mov byte [esp + 0x51c], 0x22
call fcn.12f47220
mov eax, dword [ebx + 4]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, ebx
call fcn.12f4d1b0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x51c], 2
call fcn.12f47220
inc edi
lea eax, [esp + 0x6c]
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.12f49510
mov edi, eax
lea ecx, [esp + 0x64]
push esi
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x25
call fcn.12f49960
mov esi, eax
mov edx, dword [edi]
mov byte [esp + 0x51c], 0x26
push edx
call fcn.12ede870
push eax
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x1c]
push 0x13146a94
push ecx
call fcn.12f4a1a0
add esp, 0x14
lea ecx, [esp + 0x64]
mov byte [esp + 0x51c], 0x25
call fcn.12f47220
lea ecx, [esp + 0x6c]
mov byte [esp + 0x51c], 2
call fcn.12f47220
jmp 0x12eca8cc
mov edx, dword [esp + 0x18]
push 0x13146764
push edx
call fcn.12f5e1d4
add esp, 8
test eax, eax
jne 0x12eca29e
call fcn.12ede870
push eax
lea ecx, [esp + 0x30]
call fcn.12f46a80
lea ecx, [esp + 0x2c]
mov byte [esp + 0x51c], 0x27
call fcn.12f48480
push 0x1314677c
push 0x13146790
lea ecx, [esp + 0x34]
call fcn.12f49160
inc edi
lea eax, [esp + 0x7c]
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.12f49510
mov edi, eax
lea ecx, [esp + 0x74]
push esi
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x28
call fcn.12f49960
mov edx, dword [edi]
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x13146a94
push eax
mov byte [esp + 0x530], 0x29
call fcn.12f4a1a0
add esp, 0x14
lea ecx, [esp + 0x74]
mov byte [esp + 0x51c], 0x28
call fcn.12f47220
lea ecx, [esp + 0x7c]
mov byte [esp + 0x51c], 0x27
call fcn.12f47220
lea ecx, [esp + 0x2c]
mov byte [esp + 0x51c], 2
call fcn.12f47220
jmp 0x12eca8cc
mov ecx, dword [esp + 0x18]
push 0x13146750
push ecx
call fcn.12f5e1d4
add esp, 8
test eax, eax
jne 0x12eca33c
inc edi
lea edx, [esp + 0x8c]
push edi
push edx
lea ecx, [esp + 0x1c]
call fcn.12f49510
mov edi, eax
lea eax, [esp + 0x84]
push esi
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x2a
call fcn.12f49960
mov esi, eax
mov ecx, dword [edi]
mov byte [esp + 0x51c], 0x2b
push ecx
call fcn.12ede9b0
mov edx, dword [esi]
push eax
push edx
lea eax, [esp + 0x1c]
push 0x13146a94
push eax
call fcn.12f4a1a0
add esp, 0x14
lea ecx, [esp + 0x84]
mov byte [esp + 0x51c], 0x2a
call fcn.12f47220
lea ecx, [esp + 0x8c]
mov byte [esp + 0x51c], 2
call fcn.12f47220
jmp 0x12eca8cc
mov ecx, dword [esp + 0x18]
push 0x13146730
push ecx
call fcn.12f5e1d4
add esp, 8
test eax, eax
jne 0x12eca4d9
call fcn.12f9c450
test eax, eax
je 0x12eca455
call fcn.12edeaf0
push eax
lea ecx, [esp + 0x28]
call fcn.12f46a80
lea ecx, [esp + 0x24]
mov byte [esp + 0x51c], 0x2c
call fcn.12f48480
push 0x13146708
lea ecx, [esp + 0x28]
call fcn.12f48400
cmp eax, 0xffffffff
jne 0x12eca3a2
push 0x13146708
push 0x131466ec
jmp 0x12eca3ac
push 0x131466ec
push 0x13146708
lea ecx, [esp + 0x2c]
call fcn.12f49160
lea edx, [edi + 1]
lea eax, [esp + 0x9c]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.12f49510
mov ebp, eax
lea ecx, [esp + 0x94]
push esi
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x2d
call fcn.12f49960
mov edx, dword [ebp]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x13146a94
push eax
mov byte [esp + 0x530], 0x2e
call fcn.12f4a1a0
add esp, 0x14
lea ecx, [esp + 0x94]
mov byte [esp + 0x51c], 0x2d
call fcn.12f47220
lea ecx, [esp + 0x9c]
mov byte [esp + 0x51c], 0x2c
call fcn.12f47220
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.12f4d1b0
lea ecx, [esp + 0x24]
mov byte [esp + 0x51c], 2
call fcn.12f47220
inc edi
lea edx, [esp + 0xac]
push edi
push edx
lea ecx, [esp + 0x1c]
call fcn.12f49510
mov edi, eax
lea eax, [esp + 0xa4]
push esi
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x2f
call fcn.12f49960
mov esi, eax
mov ecx, dword [edi]
mov byte [esp + 0x51c], 0x30
push ecx
call fcn.12edeaf0
mov edx, dword [esi]
push eax
push edx
lea eax, [esp + 0x1c]
push 0x13146a94
push eax
call fcn.12f4a1a0
add esp, 0x14
lea ecx, [esp + 0xa4]
mov byte [esp + 0x51c], 0x2f
call fcn.12f47220
lea ecx, [esp + 0xac]
mov byte [esp + 0x51c], 2
call fcn.12f47220
jmp 0x12eca8cc
mov ecx, dword [esp + 0x18]
push 0x131466d0
push ecx
call fcn.12f5e1d4
add esp, 8
test eax, eax
jne 0x12eca676
call fcn.12f9c450
test eax, eax
je 0x12eca5f2
call fcn.12edec30
push eax
lea ecx, [esp + 0x24]
call fcn.12f46a80
lea ecx, [esp + 0x20]
mov byte [esp + 0x51c], 0x31
call fcn.12f48480
push 0x13146708
lea ecx, [esp + 0x24]
call fcn.12f48400
cmp eax, 0xffffffff
jne 0x12eca53f
push 0x13146708
push 0x131466ec
jmp 0x12eca549
push 0x131466ec
push 0x13146708
lea ecx, [esp + 0x28]
call fcn.12f49160
lea edx, [edi + 1]
lea eax, [esp + 0xbc]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.12f49510
mov ebp, eax
lea ecx, [esp + 0xb4]
push esi
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x32
call fcn.12f49960
mov edx, dword [ebp]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x13146a94
push eax
mov byte [esp + 0x530], 0x33
call fcn.12f4a1a0
add esp, 0x14
lea ecx, [esp + 0xb4]
mov byte [esp + 0x51c], 0x32
call fcn.12f47220
lea ecx, [esp + 0xbc]
mov byte [esp + 0x51c], 0x31
call fcn.12f47220
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.12f4d1b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x51c], 2
call fcn.12f47220
inc edi
lea edx, [esp + 0xcc]
push edi
push edx
lea ecx, [esp + 0x1c]
call fcn.12f49510
mov edi, eax
lea eax, [esp + 0xc4]
push esi
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x34
call fcn.12f49960
mov esi, eax
mov ecx, dword [edi]
mov byte [esp + 0x51c], 0x35
push ecx
call fcn.12edec30
mov edx, dword [esi]
push eax
push edx
lea eax, [esp + 0x1c]
push 0x13146a94
push eax
call fcn.12f4a1a0
add esp, 0x14
lea ecx, [esp + 0xc4]
mov byte [esp + 0x51c], 0x34
call fcn.12f47220
lea ecx, [esp + 0xcc]
mov byte [esp + 0x51c], 2
call fcn.12f47220
jmp 0x12eca8cc
mov ecx, dword [esp + 0x18]
push 0x131466b0
push ecx
call fcn.12f5e1d4
add esp, 8
test eax, eax
jne 0x12eca714
inc edi
lea edx, [esp + 0xdc]
push edi
push edx
lea ecx, [esp + 0x1c]
call fcn.12f49510
mov edi, eax
lea eax, [esp + 0xd4]
push esi
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x36
call fcn.12f49960
mov esi, eax
mov ecx, dword [edi]
mov byte [esp + 0x51c], 0x37
push ecx
call fcn.12edd440
mov edx, dword [esi]
push eax
push edx
lea eax, [esp + 0x1c]
push 0x13146a94
push eax
call fcn.12f4a1a0
add esp, 0x14
lea ecx, [esp + 0xd4]
mov byte [esp + 0x51c], 0x36
call fcn.12f47220
lea ecx, [esp + 0xdc]
mov byte [esp + 0x51c], 2
call fcn.12f47220
jmp 0x12eca8cc
mov ecx, dword [esp + 0x18]
push 0x13146690
push ecx
call fcn.12f5e1d4
add esp, 8
test eax, eax
jne 0x12eca7b2
inc edi
lea edx, [esp + 0xec]
push edi
push edx
lea ecx, [esp + 0x1c]
call fcn.12f49510
mov edi, eax
lea eax, [esp + 0xe4]
push esi
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x38
call fcn.12f49960
mov esi, eax
mov ecx, dword [edi]
mov byte [esp + 0x51c], 0x39
push ecx
call fcn.12ede5d0
mov edx, dword [esi]
push eax
push edx
lea eax, [esp + 0x1c]
push 0x13146a94
push eax
call fcn.12f4a1a0
add esp, 0x14
lea ecx, [esp + 0xe4]
mov byte [esp + 0x51c], 0x38
call fcn.12f47220
lea ecx, [esp + 0xec]
mov byte [esp + 0x51c], 2
call fcn.12f47220
jmp 0x12eca8cc
mov ecx, dword [esp + 0x18]
push 0x1314665c
push ecx
call fcn.12f5e1d4
add esp, 8
test eax, eax
jne 0x12eca84d
inc edi
lea edx, [esp + 0xfc]
push edi
push edx
lea ecx, [esp + 0x1c]
call fcn.12f49510
mov edi, eax
lea eax, [esp + 0xf4]
push esi
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x3a
call fcn.12f49960
mov esi, eax
mov ecx, dword [edi]
mov byte [esp + 0x51c], 0x3b
push ecx
call fcn.12ede330
mov edx, dword [esi]
push eax
push edx
lea eax, [esp + 0x1c]
push 0x13146a94
push eax
call fcn.12f4a1a0
add esp, 0x14
lea ecx, [esp + 0xf4]
mov byte [esp + 0x51c], 0x3a
call fcn.12f47220
lea ecx, [esp + 0xfc]
mov byte [esp + 0x51c], 2
call fcn.12f47220
jmp 0x12eca8cc
mov ecx, dword [esp + 0x18]
push 0x13146648
push ecx
call fcn.12f5e1d4
add esp, 8
test eax, eax
je 0x12eca8cc
mov ecx, 0x103
xor eax, eax
lea edi, [esp + 0x106]
mov word [esp + 0x104], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x104]
push 0x208
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x12eca90d
cmp eax, 0x208
jae 0x12eca90d
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x104]
push ecx
push edx
call fcn.12f5e1d4
add esp, 8
test eax, eax
je 0x12eca90d
lea eax, [esp + 0x104]
lea ecx, [esp + 0x10]
push eax
call fcn.12f474a0
push 0x25
lea ecx, [esp + 0x14]
call fcn.12f48320
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x51c], 1
call fcn.12f47220
lea ecx, [esp + 0x18]
mov byte [esp + 0x51c], 0
call fcn.12f47220
mov ebp, dword [esp + 0x524]
cmp esi, 0xffffffff
jne 0x12ec96c0
jmp 0x12eca92f
lea ecx, [esp + 0x14]
mov byte [esp + 0x51c], 1
call fcn.12f47220
lea ecx, [esp + 0x18]
mov byte [esp + 0x51c], 0
call fcn.12f47220
mov ecx, dword [esp + 0x10]
push ebp
mov esi, dword [ecx - 8]
call fcn.12f5c44d
add esp, 4
cmp esi, eax
pop edi
jne 0x12eca964
mov edx, dword [esp + 0xc]
push ebp
push edx
call fcn.12f5e1d4
add esp, 8
test eax, eax
jne 0x12eca964
mov eax, dword [ebx + 4]
push ebp
push eax
mov ecx, ebx
call fcn.12f4d0c0
jmp 0x12eca974
mov eax, dword [ebx + 4]
lea ecx, [esp + 0xc]
push ecx
push eax
mov ecx, ebx
call fcn.12f4d1b0
push 0x131911a8
lea ecx, [esp + 0x28]
call fcn.12f46a80
mov eax, dword [ebx + 4]
xor esi, esi
test eax, eax
mov byte [esp + 0x518], 0x3c
jle 0x12eca9c3
mov edx, dword [esp + 0x24]
mov eax, dword [edx - 8]
test eax, eax
je 0x12eca9ac
push 0x130c6c74
lea ecx, [esp + 0x28]
call fcn.12f47e70
mov eax, dword [ebx]
lea ecx, [eax + esi*4]
push ecx
lea ecx, [esp + 0x28]
call fcn.12f47ed0
mov eax, dword [ebx + 4]
inc esi
cmp esi, eax
jl 0x12eca993
mov eax, dword [0x13198f68]
test eax, eax
je 0x12eca9f7
test ebp, ebp
mov eax, 0x130c8c0c
je 0x12eca9d7
mov eax, ebp
mov edx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [0x13196ccc]
push eax
push 0x131465d4
push 0x13146bd8
push 4
call fcn.12dad750
add esp, 0x18
lea ecx, [esp + 0x24]
mov byte [esp + 0x518], 0
call fcn.12f47220
lea ecx, [esp + 0xc]
mov dword [esp + 0x518], 0xffffffff
call fcn.12f47220
mov ecx, dword [esp + 0x510]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x510
ret