Function at 0x411373
Capabilities:
Query environment variable

Disassembly:
push 0xf8
mov eax, 0x43106a
call fcn.0042fcda
mov esi, edx
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xd0], ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xec], edi
cmp ecx, 3
jge 0x4113ba
mov ecx, 0x3e9
call fcn.0040de7d
mov ecx, edi
call fcn.0041d747
jmp 0x41265e
push 2
pop ebx
cmp ecx, ebx
jbe 0x411e80
mov dword [ebp - 0xe8], 0x2f
mov eax, ecx
mov ecx, ebx
shl ecx, 2
mov dword [ebp - 0xd4], ecx
mov edx, dword [ecx + esi]
movzx ecx, word [edx]
cmp cx, word [ebp - 0xe8]
je 0x4113f4
cmp ecx, 0x2d
jne 0x411ea9
lea ecx, [edx + 2]
call fcn.00410f73
push 0x2f
pop ecx
cmp eax, ecx
ja case.0x411407.34
jmp dword [eax*4 + 0x41266b]
lea eax, [ebx + 1]
mov dword [ebp - 0xd4], eax
cmp eax, dword [ebp - 0xd0]
jae 0x411e9a
lea ecx, [edi + 4]
xor ebx, ebx
mov edi, dword [ebp - 0xd0]
inc ebx
mov dword [ebp - 0xd8], ecx
push dword [esi + eax*4]
lea ecx, [ebp - 0x30]
call fcn.0040be25
mov ecx, dword [ebp - 0xd8]
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], ebx
call fcn.00414027
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
push 0
push ebx
call fcn.004069ba
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp eax, edi
jb 0x411435
mov edi, dword [ebp - 0xe0]
mov ebx, dword [ebp - 0xd0]
jmp 0x411e71
mov byte [edi + 0xa7], 1
mov byte [edi + 0x9a], 1
jmp 0x411e71
mov dword [edi + 0x34], 1
jmp 0x411e71
cmp dword [edi + 0x370], 0
jne 0x411f09
lea eax, [ebx + 1]
cmp eax, dword [ebp - 0xd0]
jae 0x411ef5
mov ebx, eax
lea ecx, [edi + 0x360]
push dword [esi + ebx*4]
call fcn.004082af
mov byte [edi + 0x35d], 1
jmp 0x411e71
mov byte [edi + 0x9d], 1
jmp 0x411e71
cmp dword [edi + 0x274], 0
jne 0x411f09
lea eax, [ebx + 1]
mov dword [ebp - 0xd8], eax
cmp eax, dword [ebp - 0xd0]
jae 0x411ef5
mov eax, dword [ebp - 0xd4]
lea ecx, [edi + 0x264]
push dword [eax + esi + 4]
call fcn.004082af
mov ebx, dword [ebp - 0xd8]
jmp 0x411e71
cmp dword [edi + 0x15c], 0
jne 0x411f09
lea eax, [ebx + 1]
mov dword [ebp - 0xd8], eax
cmp eax, dword [ebp - 0xd0]
jae 0x411ef5
mov eax, dword [ebp - 0xd4]
lea ecx, [edi + 0x14c]
push dword [eax + esi + 4]
call fcn.004082af
mov ebx, dword [ebp - 0xd8]
jmp 0x411e71
cmp dword [edi + 0x178], 0
jne 0x411f09
lea eax, [ebx + 1]
mov dword [ebp - 0xd8], eax
cmp eax, dword [ebp - 0xd0]
jae 0x411ef5
mov eax, dword [ebp - 0xd4]
lea ecx, [edi + 0x168]
push dword [eax + esi + 4]
call fcn.004082af
mov ebx, dword [ebp - 0xd8]
jmp 0x411e71
cmp dword [edi + 0x194], 0
jne 0x411f09
lea eax, [ebx + 1]
mov dword [ebp - 0xd8], eax
cmp eax, dword [ebp - 0xd0]
jae 0x411ef5
mov eax, dword [ebp - 0xd4]
lea ecx, [edi + 0x184]
push dword [eax + esi + 4]
call fcn.004082af
mov ebx, dword [ebp - 0xd8]
jmp 0x411e71
cmp ebx, 2
jne 0x411f13
mov byte [edi + 0x9e], 1
jmp 0x411e71
cmp dword [edi + 0x108], 0
jne 0x411f09
lea eax, [ebx + 1]
mov dword [ebp - 0xd8], eax
cmp eax, dword [ebp - 0xd0]
jae 0x411ef5
mov eax, dword [ebp - 0xd4]
lea ecx, [edi + 0xf8]
push dword [eax + esi + 4]
call fcn.004082af
mov ebx, dword [ebp - 0xd8]
jmp 0x411e71
mov byte [edi + 0xaa], 1
jmp 0x411e71
mov byte [edi + 0xa9], 1
jmp 0x411e71
cmp dword [edi + 0x1e8], 0
jne 0x411f09
lea eax, [ebx + 1]
mov dword [ebp - 0xd8], eax
cmp eax, dword [ebp - 0xd0]
jae 0x411ef5
mov eax, dword [ebp - 0xd4]
lea ecx, [edi + 0x1d8]
push dword [eax + esi + 4]
call fcn.004082af
mov ebx, dword [ebp - 0xd8]
jmp 0x411e71
cmp dword [edi + 0x124], 0
jne 0x411f09
lea eax, [ebx + 1]
mov dword [ebp - 0xd8], eax
cmp eax, dword [ebp - 0xd0]
jae 0x411ef5
mov eax, dword [ebp - 0xd4]
lea ecx, [edi + 0x114]
push dword [eax + esi + 4]
call fcn.004082af
mov ebx, dword [ebp - 0xd8]
jmp 0x411e71
cmp dword [edi + 0x1cc], 0
jne 0x411f09
lea eax, [ebx + 1]
mov dword [ebp - 0xd8], eax
cmp eax, dword [ebp - 0xd0]
jae 0x411ef5
mov eax, dword [ebp - 0xd4]
lea ecx, [edi + 0x1bc]
push dword [eax + esi + 4]
call fcn.004082af
mov ebx, dword [ebp - 0xd8]
jmp 0x411e71
cmp dword [edi + 0x258], 0
jne 0x411f09
lea eax, [ebx + 1]
mov dword [ebp - 0xd8], eax
cmp eax, dword [ebp - 0xd0]
jae 0x411ef5
mov eax, dword [ebp - 0xd4]
lea ecx, [edi + 0x248]
push dword [eax + esi + 4]
call fcn.004082af
mov ebx, dword [ebp - 0xd8]
jmp 0x411e71
cmp dword [edi + 0x204], 0
jne 0x411f09
lea eax, [ebx + 1]
mov dword [ebp - 0xd8], eax
cmp eax, dword [ebp - 0xd0]
jae 0x411ef5
mov eax, dword [ebp - 0xd4]
lea ecx, [edi + 0x1f4]
push dword [eax + esi + 4]
call fcn.004082af
mov ebx, dword [ebp - 0xd8]
jmp 0x411e71
cmp byte [edi + 0x37c], 0
jne 0x411f09
mov byte [edi + 0x37c], 1
jmp 0x411e71
cmp byte [edi + 0x37d], 0
jne 0x411f09
mov byte [edi + 0x37d], 1
jmp 0x411e71
mov byte [edi + 0x98], 1
jmp 0x411e71
cmp dword [edi + 0x220], 0
jne 0x411f09
lea eax, [ebx + 1]
mov dword [ebp - 0xd8], eax
cmp eax, dword [ebp - 0xd0]
jae 0x411ef5
mov eax, dword [ebp - 0xd4]
lea ecx, [edi + 0x210]
push dword [eax + esi + 4]
call fcn.004082af
mov ebx, dword [ebp - 0xd8]
jmp 0x411e71
mov byte [edi + 0xa8], 1
jmp 0x411e71
mov byte [edi + 0xab], 1
jmp 0x411e71
cmp dword [edi + 0x23c], 0
jne 0x411f09
lea eax, [ebx + 1]
mov dword [ebp - 0xd8], eax
cmp eax, dword [ebp - 0xd0]
jae 0x411ef5
mov eax, dword [ebp - 0xd4]
lea ecx, [edi + 0x22c]
push dword [eax + esi + 4]
call fcn.004082af
mov ebx, dword [ebp - 0xd8]
jmp 0x411e71
lea eax, [ebx + 2]
mov dword [ebp - 0xd8], eax
cmp eax, dword [ebp - 0xd0]
jae 0x411983
xor eax, eax
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x30], al
mov eax, dword [ebp - 0xd4]
lea edx, [ebp - 0x30]
mov dword [ebp - 4], 2
mov ecx, dword [eax + esi + 4]
call fcn.004109dd
test al, al
je 0x411fa7
mov eax, dword [ebp - 0xd8]
lea ecx, [ebp - 0x84]
push dword [esi + eax*4]
call fcn.0040be25
mov esi, eax
xor eax, eax
mov byte [ebp - 4], 3
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 0x68], al
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x54], 0xf
call fcn.0040bf4e
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.0040a8f7
push ecx
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 5
push eax
lea ecx, [edi + 0x24]
call fcn.00414dba
push eax
lea eax, [ebp - 0xf4]
push eax
lea ecx, [edi + 0x24]
call fcn.00414848
xor esi, esi
lea ecx, [ebp - 0x4c]
push esi
push 1
call fcn.004069ba
push esi
push 1
lea ecx, [ebp - 0x68]
call fcn.0040c0c6
push esi
push 1
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 2
call fcn.004069ba
cmp byte [ebp - 0xf0], 0
je 0x411f1d
mov ebx, dword [ebp - 0xd8]
lea ecx, [ebp - 0x30]
or dword [ebp - 4], 0xffffffff
push esi
push 1
call fcn.0040c0c6
mov esi, dword [ebp - 0xe4]
jmp 0x411e71
mov eax, dword [ebp - 0xd4]
push dword [eax + esi]
push 0x3ee
call fcn.0040defd
pop ecx
pop ecx
jmp 0x411e71
mov eax, dword [edi + 0x5c]
cmp eax, dword [edi + 0x60]
jne 0x411f09
lea eax, [ebx + 1]
mov dword [ebp - 0xdc], eax
cmp eax, dword [ebp - 0xd0]
jae 0x411ef5
mov eax, dword [ebp - 0xd4]
xor ecx, ecx
mov eax, dword [eax + esi + 4]
mov edx, eax
mov dword [ebp - 0xd8], eax
lea eax, [edx + 2]
mov dword [ebp - 0xd4], eax
mov ax, word [edx]
add edx, 2
cmp ax, cx
jne 0x4119db
sub edx, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xd8]
sar edx, 1
cmp edx, 0x28
jne 0x411fc9
lea eax, [ecx + 0x50]
mov edx, ecx
push eax
lea ecx, [ebp - 0x104]
call fcn.004146ab
push eax
lea ecx, [edi + 0x5c]
mov dword [ebp - 4], 8
call fcn.004141cc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x104]
call fcn.004065e1
mov eax, dword [edi + 0x5c]
cmp eax, dword [edi + 0x60]
je 0x411fbb
mov ebx, dword [ebp - 0xdc]
jmp 0x411e71
cmp dword [edi + 0x8c], 0xffffffff
jne 0x411f09
lea eax, [ebx + 1]
mov dword [ebp - 0xdc], eax
cmp eax, dword [ebp - 0xd0]
jae 0x411ef5
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + esi + 4]
call fcn.004228f7
mov dword [edi + 0x8c], eax
cmp eax, 0xffffffff
je 0x411fcc
cmp eax, 0x8003
je 0x411fcc
mov ebx, dword [ebp - 0xdc]
jmp 0x411e71
mov byte [edi + 0x90], 1
jmp 0x411e71
cmp dword [edi + 0x290], 0
jne 0x411f09
lea eax, [ebx + 1]
mov dword [ebp - 0xdc], eax
cmp eax, dword [ebp - 0xd0]
jae 0x411ef5
mov eax, dword [ebp - 0xd4]
push 7
push 0x403284
push dword [eax + esi + 4]
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x411fda
mov eax, dword [ebp - 0xd4]
lea ecx, [edi + 0x280]
push dword [eax + esi + 4]
call fcn.004082af
mov ebx, dword [ebp - 0xdc]
jmp 0x411e71
xor ecx, ecx
mov edx, esi
cmp eax, 0x1e
lea eax, [edi + 0x2d4]
push eax
setne cl
dec ecx
and ecx, 0xffffffe4
add ecx, 0x2b8
lea eax, [edi + ecx]
mov ecx, dword [ebp - 0xd0]
push eax
push ebx
call fcn.00410962
test al, al
je 0x41265e
inc ebx
jmp 0x411e71
mov eax, dword [edi + 0x2d4]
cmp eax, 0xffffffff
je 0x411b62
cmp dword [edi + 0x2ac], 0
je 0x411b62
cmp eax, 0x8004
jne 0x411f09
mov eax, dword [ebp - 0xd4]
inc ebx
cmp ebx, dword [ebp - 0xd0]
jae 0x411ff7
mov ecx, dword [eax + esi + 4]
call fcn.004228f7
mov dword [edi + 0x2d4], eax
cmp eax, 0xffffffff
je 0x411fe8
cmp eax, 0x8003
jne 0x411e71
push 0x902
call fcn.0040defd
jmp 0x411997
cmp dword [edi + 0x1b0], 0
jne 0x411f09
lea eax, [ebx + 1]
mov dword [ebp - 0xdc], eax
cmp eax, dword [ebp - 0xd0]
jae 0x411ef5
mov eax, dword [ebp - 0xd4]
lea ecx, [edi + 0x1a0]
push dword [eax + esi + 4]
call fcn.004082af
mov ebx, dword [ebp - 0xdc]
jmp 0x411e71
cmp dword [edi + 0x1b0], 0
jne 0x411f09
push 0x403510
lea ecx, [edi + 0x1a0]
call fcn.004082af
jmp 0x411e71
cmp dword [edi + 0x308], 0
jne 0x411f09
lea eax, [ebx + 1]
mov dword [ebp - 0xdc], eax
cmp eax, dword [ebp - 0xd0]
jae 0x411ef5
mov eax, dword [ebp - 0xd4]
lea ecx, [edi + 0x2f8]
push dword [eax + esi + 4]
call fcn.004082af
mov ebx, dword [ebp - 0xdc]
jmp 0x411e71
cmp dword [edi + 0x324], 0
jne 0x411f09
lea eax, [ebx + 1]
mov dword [ebp - 0xdc], eax
cmp eax, dword [ebp - 0xd0]
jae 0x411ef5
mov eax, dword [ebp - 0xd4]
lea ecx, [edi + 0x314]
push dword [eax + esi + 4]
call fcn.004082af
mov ebx, dword [ebp - 0xdc]
jmp 0x411e71
cmp dword [edi + 0x330], 0
jne 0x411f09
lea eax, [ebx + 1]
mov dword [ebp - 0xdc], eax
cmp eax, dword [ebp - 0xd0]
jae 0x411ef5
mov ebx, dword [ebp - 0xd4]
push 3
push 0x403540
push dword [ebx + esi + 4]
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x411cdb
mov dword [edi + 0x330], 1
jmp 0x411d1e
push 2
push 0x403554
push dword [ebx + esi + 4]
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x411cff
mov dword [edi + 0x330], 2
jmp 0x411d1e
push 0x40357c
push dword [ebx + esi + 4]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x411d1e
mov dword [edi + 0x330], 3
mov ebx, dword [ebp - 0xdc]
jmp 0x411e71
cmp dword [edi + 0x390], 0
jne 0x411f09
lea eax, [ebx + 1]
mov dword [ebp - 0xdc], eax
cmp eax, dword [ebp - 0xd0]
jae 0x411ef5
mov eax, dword [ebp - 0xd4]
lea ecx, [edi + 0x380]
push dword [eax + esi + 4]
call fcn.004082af
mov ebx, dword [ebp - 0xdc]
jmp 0x411e71
cmp byte [edi + 0x3b8], 0
jne 0x411f09
mov byte [edi + 0x3b8], 1
jmp 0x411e71
cmp dword [edi + 0x3ac], 0
jne 0x411f09
lea eax, [ebx + 1]
mov dword [ebp - 0xdc], eax
cmp eax, dword [ebp - 0xd0]
jae 0x411ef5
mov eax, dword [ebp - 0xd4]
lea ecx, [edi + 0x39c]
push dword [eax + esi + 4]
call fcn.004082af
mov ebx, dword [ebp - 0xdc]
jmp 0x411e71
cmp byte [edi + 0x3b9], 0
jne 0x411f09
mov byte [edi + 0x3b9], 1
jmp 0x411e71
cmp dword [edi + 0x3cc], 0
jne 0x411f09
lea eax, [ebx + 1]
mov dword [ebp - 0xdc], eax
cmp eax, dword [ebp - 0xd0]
jae 0x411ef5
mov eax, dword [ebp - 0xd4]
lea ecx, [edi + 0x3bc]
push dword [eax + esi + 4]
call fcn.004082af
mov ebx, dword [ebp - 0xdc]
jmp 0x411e71
cmp dword [edi + 0x3e8], 0
jne 0x411f09
lea eax, [ebx + 1]
mov dword [ebp - 0xdc], eax
cmp eax, dword [ebp - 0xd0]
jae 0x411ef5
mov eax, dword [ebp - 0xd4]
lea ecx, [edi + 0x3d8]
push dword [eax + esi + 4]
call fcn.004082af
mov ebx, dword [ebp - 0xdc]
jmp 0x411e71
cmp byte [edi + 0x3f5], 0
jne 0x411f09
mov byte [edi + 0x3f5], 1
mov eax, dword [ebp - 0xd0]
inc ebx
cmp ebx, eax
jb 0x4113d1
mov edx, dword [edi + 8]
xor ecx, ecx
cmp dword [edi + 4], edx
jne 0x41201f
cmp dword [edi + 0x1cc], ecx
jne 0x41201f
mov ecx, 0x3eb
call fcn.0040de7d
jmp 0x41265e
cmp ebx, eax
jae 0x411e80
lea eax, [edi + 4]
xor edi, edi
mov dword [ebp - 0xdc], eax
push dword [esi + ebx*4]
lea ecx, [ebp - 0x30]
call fcn.0040be25
lea eax, [ebp - 0x30]
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0xdc]
push eax
call fcn.00414027
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
push edi
push 1
call fcn.004069ba
inc ebx
cmp ebx, dword [ebp - 0xd0]
jb 0x411eb8
mov edi, dword [ebp - 0xe0]
jmp 0x411e80
push dword [esi + ebx*4]
push 0x3ee
call fcn.0040defd
pop ecx
pop ecx
jmp 0x41265e
push dword [esi + ebx*4]
push 0x3ed
jmp 0x411efd
push dword [esi + ebx*4]
push 0x3fb
jmp 0x411efd
mov esi, dword [ebp - 0xe4]
lea ecx, [ebp - 0x4c]
push dword [esi + ebx*4]
call fcn.0040be25
push 0x40350c
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa0]
call fcn.0041466e
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x84]
push dword [esi + ebx*4 + 4]
mov edx, eax
call fcn.0041466e
cmp dword [eax + 0x14], 8
jb 0x411f61
mov eax, dword [eax]
push eax
push 0x3ed
call fcn.0040defd
pop ecx
pop ecx
xor ebx, ebx
lea ecx, [ebp - 0x84]
push ebx
push 1
call fcn.004069ba
push ebx
push 1
lea ecx, [ebp - 0xa0]
call fcn.004069ba
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.004069ba
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.0040c0c6
jmp 0x41265e
push dword [esi + ebx*4 + 4]
push 0x400
call fcn.0040defd
pop ecx
pop ecx
push 0
jmp 0x411f98
push dword [esi + ebx*4 + 4]
push 0x44c
jmp 0x411efd
push ecx
jmp 0x411fbf
push dword [esi + ebx*4 + 4]
push 0x459
jmp 0x411efd
push dword [esi + ebx*4 + 4]
push 0x44e
jmp 0x411efd
push 0x459
call fcn.0040defd
jmp 0x411f03
push dword [eax + esi]
jmp 0x411ef8
mov ecx, edi
call fcn.0041d747
mov byte [edi + 0x9b], 1
jmp 0x41265e
push dword [esi + ebx*4]
push 0x3ef
jmp 0x411efd
cmp dword [edi + 0x204], ecx
je 0x412043
cmp dword [edi + 0x108], ecx
jne 0x412043
push 0x4035ac
push 0x4035b4
push 0x3f1
jmp 0x412656
mov eax, dword [edi + 0x124]
test eax, eax
je 0x412061
cmp dword [edi + 0x15c], ecx
jne 0x412069
push 0x4035bc
push 0x4035c8
jmp 0x412039
cmp dword [edi + 0x15c], ecx
je 0x412079
test eax, eax
jne 0x412079
push 0x4035c8
push 0x4035bc
jmp 0x412039
cmp dword [edi + 0x108], ecx
je 0x4120a6
cmp dword [edi + 0x23c], ecx
jne 0x412092
cmp byte [edi + 0x90], 0
je 0x4120a6
push 0x4035d0
push 0x4035ac
push 0x3f4
jmp 0x412656
cmp dword [edi + 0x290], ecx
je 0x4120d4
cmp dword [edi + 0x2ac], ecx
je 0x4120c5
push 0x4035e0
push 0x4035e8
jmp 0x412651
cmp dword [edi + 0x2c8], ecx
je 0x4120d4
push 0x4035f0
jmp 0x4120bb
cmp dword [edi + 0x2ac], ecx
je 0x4120f3
cmp dword [edi + 0x2c8], ecx
je 0x4120f3
push 0x4035f0
push 0x4035e0
jmp 0x412651
cmp dword [edi + 0x1cc], ecx
je 0x41210f
cmp dword [edi + 4], edx
je 0x41210f
push 0x4033a8
push 0x4033c4
jmp 0x412651
cmp byte [edi + 0x98], 0
je 0x412130
cmp byte [edi + 0x9a], 0
je 0x412130
cmp byte [edi + 0xa7], 0
je 0x412152
mov byte [edi + 0x98], cl
cmp byte [edi + 0x37c], 0
mov al, byte [edi + 0x37d]
je 0x412161
test al, al
je 0x412183
push 0x403600
push 0x40360c
jmp 0x41209c
push 0x4033cc
push 0x4033d4
jmp 0x412651
test al, al
jne 0x412183
push 0x14
lea eax, [ebp - 0x58]
push eax
push 0x403614
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x4121a0
mov byte [edi + 0x37c], 1
xor ecx, ecx
mov esi, dword [edi + 0x290]
test esi, esi
je 0x4121e6
cmp dword [edi + 0x2d4], 0xffffffff
je 0x4121bc
push 0x40368c
jmp 0x4120bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
je 0x412181
push 0x403640
push 0x3f0
jmp 0x411efd
cmp byte [edi + 0x9d], 0
je 0x4121e6
push 0x403694
push 0x4035e8
push 0x3f3
call fcn.0040defd
add esp, 0xc
push 0x3ff
jmp 0x411fed
cmp byte [edi + 0x2d8], 0
je 0x4121f9
push 0x40369c
jmp 0x411f16
cmp dword [edi + 0x308], 0
mov eax, dword [edi + 0x330]
je 0x4122ba
test eax, eax
jne 0x41221a
mov dword [edi + 0x330], 1
test esi, esi
je 0x41222d
push 0x4035e8
push 0x4036a4
jmp 0x412651
cmp byte [edi + 0x37c], 0
je 0x41223d
push 0x40360c
jmp 0x412223
cmp byte [edi + 0x37d], 0
je 0x41224d
push 0x403600
jmp 0x412223
cmp dword [edi + 0x178], ecx
je 0x41225c
push 0x4032f0
jmp 0x412223
cmp dword [edi + 0x194], ecx
je 0x41226b
push 0x4036ac
jmp 0x412223
cmp byte [edi + 0x9d], 0
je 0x41227b
push 0x403694
jmp 0x412223
mov edx, dword [edi + 0x324]
test edx, edx
jne 0x412294
push 0x4036b4
push 0x4036cc
jmp 0x412039
cmp byte [edi + 0xa8], 0
je 0x4122a7
push 0x4036f0
jmp 0x412223
cmp byte [edi + 0xa9], 0
je 0x4122e6
push 0x4036fc
jmp 0x412223
test eax, eax
je 0x4122cd
push 0x4036cc
push 0x403708
jmp 0x412039
mov edx, dword [edi + 0x324]
test edx, edx
je 0x4122e6
push 0x4036cc
push 0x4036b4
jmp 0x412039
mov bl, byte [edi + 0xa8]
test bl, bl
jne 0x41234b
cmp dword [edi + 0x2c8], ecx
je 0x412307
push 0x4036f0
push 0x40377c
jmp 0x412039
cmp byte [edi + 0xa9], 0
jne 0x41234b
cmp byte [edi + 0x9d], 0
jne 0x41234b
cmp byte [edi + 0xaa], 0
je 0x412336
push 0x403798
push 0x4037b8
push 0x3f2
jmp 0x412656
cmp byte [edi + 0xab], 0
je 0x41234b
push 0x403798
push 0x4037c8
jmp 0x41232c
mov eax, dword [edi + 0x390]
test eax, eax
jne 0x412369
cmp byte [edi + 0x3b8], al
jne 0x412369
cmp dword [edi + 0x3ac], ecx
je 0x412407
test bl, bl
jne 0x412647
cmp byte [edi + 0xa9], bl
jne 0x412647
cmp byte [edi + 0x9d], bl
jne 0x412647
cmp dword [edi + 0x308], 0
jne 0x412640
cmp dword [edi + 0x330], ecx
jne 0x412640
test edx, edx
jne 0x412640
cmp dword [edi + 0x3cc], ecx
jne 0x412639
cmp dword [edi + 0x3e8], ecx
jne 0x412639
test eax, eax
je 0x412407
cmp byte [edi + 0x3b8], dl
jne 0x412400
cmp dword [edi + 0x3ac], ecx
jne 0x412400
cmp dword [edi + 0x15c], ecx
jne 0x4123f9
cmp dword [edi + 0x124], ecx
jne 0x4123f9
test esi, esi
je 0x412407
push 0x4035e8
push 0x40383c
jmp 0x412651
push 0x403844
jmp 0x4123ef
push 0x40382c
jmp 0x4123ef
mov dl, byte [edi + 0x3b8]
test dl, dl
je 0x412456
test eax, eax
jne 0x41244f
cmp dword [edi + 0x3ac], ecx
jne 0x41244f
cmp byte [edi + 0x37c], al
je 0x412434
push 0x40360c
push 0x403864
jmp 0x412651
cmp byte [edi + 0x37d], 0
je 0x412444
push 0x403600
jmp 0x41242a
test esi, esi
je 0x412456
push 0x4035e8
jmp 0x41242a
push 0x403854
jmp 0x41242a
cmp dword [edi + 0x3ac], ecx
je 0x4124ab
test eax, eax
jne 0x4124a4
test dl, dl
jne 0x4124a4
cmp dword [edi + 0x15c], ecx
jne 0x41249d
cmp dword [edi + 0x124], ecx
jne 0x41249d
cmp byte [edi + 0x37c], dl
je 0x41248d
push 0x40360c
push 0x40387c
jmp 0x412651
cmp byte [edi + 0x37d], 0
je 0x4124af
push 0x403600
jmp 0x412483
push 0x403844
jmp 0x412483
push 0x40386c
jmp 0x412483
test eax, eax
jne 0x4124c7
cmp byte [edi + 0x3b9], 0
je 0x4124c7
push 0x40383c
push 0x403884
jmp 0x412039
cmp dword [edi + 0x3cc], ecx
jne 0x4124e6
cmp dword [edi + 0x3e8], ecx
je 0x41253f
push 0x403890
push 0x40389c
jmp 0x412039
lea eax, [edi + 0x3bc]
mov dword [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
jb 0x4124fb
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 0xdc], esi
test esi, esi
jne 0x412513
call fcn.00410781
mov ebx, 0x4038a8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x41252b
mov ecx, ebx
call fcn.0041475a
mov byte [edi + 0x3f4], 1
test esi, esi
je 0x41253d
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor ecx, ecx
cmp byte [edi + 0x3f4], 0
je 0x412635
cmp dword [edi + 0x34], 1
je 0x41262e
cmp dword [edi + 0x370], ecx
jne 0x41262e
cmp dword [edi + 0x274], ecx
jne 0x41262e
cmp dword [edi + 0x108], ecx
jne 0x41262e
cmp dword [edi + 0x1e8], ecx
jne 0x41262e
cmp dword [edi + 0x258], ecx
jne 0x41262e
cmp dword [edi + 0x220], ecx
jne 0x41262e
cmp dword [edi + 0x23c], ecx
jne 0x41262e
cmp byte [edi + 0x90], 0
jne 0x41262e
mov eax, dword [edi + 0x5c]
cmp eax, dword [edi + 0x60]
jne 0x41262e
cmp dword [edi + 0x1b0], ecx
jne 0x41262e
cmp dword [edi + 0x15c], ecx
je 0x412606
push 0x403924
push 0x45c
jmp 0x411efd
cmp byte [edi + 0xa8], 0
jne 0x412627
cmp byte [edi + 0xa9], 0
jne 0x412627
cmp dword [edi + 0x308], ecx
je 0x412635
push 0x403950
jmp 0x4125d0
push 0x403938
jmp 0x4125d0
push 0x4038c8
jmp 0x4125d0
mov al, 1
jmp 0x412660
push 0x403814
jmp 0x41264c
push 0x4037f8
jmp 0x41264c
push 0x403798
push 0x4037e0
push 0x3f3
call fcn.0040defd
add esp, 0xc
xor al, al
call fcn.0042fc2c
ret 4