Function at 0x10044d4f
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister
Query environment variable

Disassembly:
mov eax, 0x10065853
call fcn.10063d00
sub esp, 0x110
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x40], cl
je 0x10044e67
test cl, cl
je 0x10044e3d
xor ebx, ebx
mov byte [ebp + 0xf], bl
mov dword [ebp - 0x1c], 0x311b
cmp dword [ebp - 0x1c], 0x315b
jle 0x10044deb
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0x2c9a
mov esi, dword [ebp - 0x18]
mov edi, ebx
mov dword [ebp - 0x38], ebx
mov eax, esi
mov ecx, 0x10080b98
or eax, ebx
or eax, edi
cdq
push edx
push eax
call fcn.100165ff
inc ebx
cmp ebx, 0x5650
jl 0x10044dac
inc edi
push 0
pop ebx
cmp edi, 0x40cf
jl 0x10044da9
mov esi, dword [ebp - 0x24]
add dword [ebp - 0x18], esi
dec dword [ebp - 0x14]
jne 0x10044da4
inc esi
mov dword [ebp - 0x24], esi
cmp esi, 0x1963
jl 0x10044d9a
cmp byte [ebp + 0xf], 0
je 0x10044e03
push 0x6b2e
xor dl, dl
mov ecx, 0x25f7
call fcn.1004564e
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x1c], 0x30a3
jge 0x10044e1e
mov edx, str.vbwmrs_wgw_xparu_fscvbukfm_iuqsyny_kjmrkg
mov ecx, 0x10080b98
call fcn.1001abd0
jmp 0x1004563d
push 3
pop esi
mov dword [edx], 0
cmp dword [edx], esi
jge 0x1004563d
mov edi, dword [ebp + 0x10]
mov ecx, dword [edx]
mov eax, dword [edi]
mov dword [eax + ecx*4], 7
inc dword [edx]
cmp dword [edx], esi
jl 0x10044e51
jmp 0x1004563d
cmp byte [ebp + 8], 0
je 0x10045635
mov eax, dword [0x10338b9c]
test al, 1
jne 0x10044ec0
or dword [0x10339f54], 0xffffffff
or eax, 1
mov ecx, 0x1571
mov dword [0x10338b9c], eax
xor edx, edx
mov dword [0x10338bd4], ecx
inc edx
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [edx*4 + 0x10338bd4], ecx
inc edx
cmp edx, 0x270
jl 0x10044e97
mov dword [0x10338bd0], 0x270
push 4
pop edi
push edi
lea ecx, [ebp - 0xcc]
call fcn.10001f5e
mov dword [ebp - 4], 2
xor ebx, ebx
mov dword [ebp - 0x60], 0x96b7
mov dword [ebp + 0xc], ebx
jmp 0x10044ef7
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xcc]
mov dword [eax + ecx*4], 1
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], edi
jl 0x10044ee4
xor ecx, ecx
mov dword [ebp + 0xc], ebx
inc ecx
jmp 0x10044f12
mov eax, dword [ebp + 0xc]
mov dword [ebp + eax*4 - 0x3c], 0xe1e87df2
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], ecx
jl 0x10044f04
push 3
pop esi
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x3c], ebx
jl 0x10044f59
mov dword [ebp + 0xc], 0xeee2fde2
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0xc], ebx
jmp 0x10044f3e
mov eax, dword [ebp + 0xc]
mov dword [ebp + eax*4 - 0x11c], ecx
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], edi
jl 0x10044f31
lea eax, [ebp - 0x60]
xor dl, dl
push eax
push ecx
call fcn.10043ce1
dec dword [ebp - 0x3c]
pop ecx
pop ecx
push 1
pop ecx
jns 0x10044f22
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.10001fe1
mov dword [ebp + 0xc], 0x5c5735e4
lea ecx, [ebp - 0x98]
push 2
call fcn.10001f5e
mov dword [ebp - 4], esi
lea edx, [ebp - 0x98]
push ecx
mov dword [ebp - 0x14], 0x2415fb57
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], 0xfffffffd
call fcn.10043df8
pop ecx
mov dword [ebp - 0x20], ebx
jmp 0x10044fb3
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x8c], 0x28f3b8c1
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 2
jl 0x10044fa2
mov dword [ebp - 0x20], ebx
jmp 0x10044fcc
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x5c], 0xffffffff
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 1
jl 0x10044fbe
mov eax, dword [ebp + 0xc]
neg eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x88], eax
mov esi, dword [ebp + 0xc]
cmp dword [ebp - 0x8c], 0xffff
mov eax, dword [ebp - 0x98]
mov dword [eax], esi
sbb eax, eax
xor ecx, ecx
neg eax
cmp eax, 5
mov eax, dword [ebp + 0xc]
setg cl
xor edx, edx
cmp ecx, eax
setg dl
sub edx, dword [ebp + 0xc]
neg edx
sbb edx, edx
xor eax, eax
inc edx
cmp edx, 1
setl al
xor ecx, ecx
cmp esi, eax
mov eax, dword [ebp + 0xc]
setl cl
sub ecx, 0xc36b586f
neg ecx
sbb ecx, ecx
inc ecx
sub eax, ecx
xor ecx, ecx
imul eax, dword [ebp + 0xc]
cmp eax, 6
setl cl
sub ecx, 0x12d29ed7
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp + 0xc]
sub ecx, eax
je 0x10045066
push 1
mov edx, 0x356e
call fcn.10044ce5
pop ecx
jmp 0x1004508a
mov byte [ebp + 0xf], bl
cmp byte [ebp + 0xf], 0
je 0x1004508a
push 0x7c4d
push 0x386f
push ebx
push ebx
mov edx, 0x22ee
mov cl, 1
call fcn.10044d4f
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.10001fe1
cmp byte [0x103389e9], 0
jne 0x10045514
mov dword [ebp + 0xc], 0x387fb0b0
xor ecx, ecx
mov dword [ebp - 0x1c], 0x4951162d
inc ecx
mov dword [ebp + 0xc], ebx
jmp 0x100450ca
mov eax, dword [ebp + 0xc]
mov dword [ebp + eax*4 - 0x24], 0x2e91
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], ecx
jl 0x100450bc
mov dword [ebp + 0xc], ebx
jmp 0x100450e5
mov eax, dword [ebp + 0xc]
mov dword [ebp + eax*4 - 0xf4], 0x384f3ac1
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], edi
jl 0x100450d4
mov dword [ebp + 0xc], ebx
jmp 0x100450fd
mov eax, dword [ebp + 0xc]
mov dword [ebp + eax*4 - 0x24], 0x71c1
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], ecx
jl 0x100450ef
cmp dword [ebp - 0x24], ebx
je 0x100451dc
push dword [ebp + 0xc]
movdqa xmm0, xmmword [0x100732b0]
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xe4]
mov dword [ebp - 0x84], ebx
push eax
push ebx
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x80], ebx
movdqu xmmword [ebp - 0xe4], xmm0
mov dword [ebp - 0x7c], ebx
call fcn.10002047
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x14], 8
mov dword [ebp + 0xc], ebx
cmp dword [ebp + 0xc], 2
je 0x100451d1
mov esi, dword [ebp - 0x84]
mov dword [ebp - 0x1c], 0x86f25db2
mov dword [ebp - 0x14], 0x7d2ae857
mov eax, dword [ebp + 0xc]
xor eax, eax
cmp dword [esi + 4], ebx
setg al
xor edx, edx
neg eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
setg dl
xor eax, eax
cmp edx, 0x1ef9
setl al
cmp eax, dword [esi + 8]
jne 0x100451a5
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp + 0xc]
cmp eax, ecx
setne dl
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
imul eax, dword [esi + 4]
mov dword [ebp - 0x1c], eax
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 2
jne 0x10045161
lea ecx, [ebp - 0x84]
jmp 0x10045349
mov dword [ebp - 0x14], 0x3ec3e1b8
mov dword [ebp - 0x30], 0x45ce
cmp dword [ebp - 0x30], 0x4634
jle 0x1004526d
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov edi, ebx
mov dword [ebp - 0x18], ebx
mov esi, ebx
mov dword [ebp + 0xc], ebx
mov eax, edi
mov dword [ebp - 0x2c], ebx
cdq
mov edi, ebx
idiv esi
mov esi, edx
mov eax, esi
lea ecx, [ebp - 0x10c]
cdq
idiv edi
mov eax, edx
cdq
push edx
push eax
call fcn.10002b5c
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1004522e
mov eax, dword [eax]
push eax
call fcn.1004d49f
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x10c]
call fcn.10016e75
inc edi
cmp edi, 0x545d
jl 0x1004520f
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 0x18]
inc esi
mov dword [ebp + 0xc], esi
cmp esi, 0x1c83
jl 0x10045203
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0x4d4f
jl 0x100451fe
push 4
pop edi
mov dword [ebp - 0x2c], 0x9b398ef5
cmp dword [ebp - 0x30], 0x4388
jge 0x10045288
push str.joezvdxl_aybzyf_zovx_togd_aexf_vaszzh_zyqyi
call fcn.1004d49f
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
push edi
call fcn.10001f5e
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x30], ebx
push eax
push ebx
lea edx, [ebp - 0xd0]
mov ecx, 0x782d
call fcn.1004490d
pop ecx
mov dword [ebp + 0xc], 0xffffffe3
cmp dword [ebp + 0xc], 0xffffffe5
pop ecx
jge 0x10045338
mov esi, dword [ebp - 0xb0]
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
sub ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x14]
neg eax
sbb eax, eax
xor ecx, ecx
inc eax
cmp eax, 0x3734bd47
mov eax, dword [ebp - 0x1c]
setg cl
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 0x14]
setg dl
xor ecx, ecx
cmp eax, edx
mov dword [esi + 0xc], edx
setge cl
mov dword [ebp - 0xf0], ecx
test ecx, ecx
je 0x1004532a
cmp dword [ebp - 0x18], ebx
je 0x1004532a
xor eax, eax
inc eax
jmp 0x1004532c
mov eax, ebx
mov dword [ebp - 0x30], eax
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 0xffffffe5
jl 0x100452c8
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0xb0]
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 0xc], eax
call fcn.10001fe1
push 0x10338bd0
push 0x6d8a
xor dl, dl
call fcn.10044c48
pop ecx
pop ecx
mov dword [ebp - 0x34], 0xb110c93b
lea ecx, [ebp - 0xa4]
push 1
call fcn.10001f5e
mov dword [ebp - 4], 6
mov dword [ebp - 0x50], 0x58e92eda
mov dword [ebp - 0x44], 0x25cf162c
mov dword [ebp - 0x64], 0xa603d2cf
mov dword [ebp - 0x74], 0xffffffff
mov dword [ebp - 0x30], 0x5245
cmp dword [ebp - 0x30], 0x52d2
jle 0x100453e9
mov esi, ebx
mov eax, ebx
mov dword [ebp - 0x2c], 0x3102
mov dword [ebp + 0xc], eax
mov edi, eax
mov ebx, 0x74a3
mov eax, edi
mov ecx, 0x10080b98
cdq
push edx
push eax
call fcn.100165ff
dec edi
dec ebx
jne 0x100453bd
mov eax, dword [ebp + 0xc]
add eax, esi
dec dword [ebp - 0x2c]
mov dword [ebp + 0xc], eax
jne 0x100453b6
inc esi
cmp esi, 0x2993
jl 0x100453aa
push 4
pop edi
lea eax, [ebp - 0xa4]
push eax
push ecx
push ecx
lea eax, [ebp - 0xd4]
push eax
push ecx
call fcn.100447b6
add esp, 0x14
mov byte [ebp - 4], 7
cmp dword [ebp - 0x30], 0x5054
jge 0x1004543f
mov edx, str.xeb_ipj_btbg
mov ecx, 0x10080b98
call fcn.1001abd0
jmp 0x1004543f
mov dword [ebp - 4], 6
mov dword [ebp - 0x34], 8
jmp 0x100454ef
push 3
lea ecx, [ebp - 0x70]
call fcn.10001f5e
mov byte [ebp - 4], 9
mov dword [ebp + 0xc], ebx
jmp 0x10045472
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x70]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 3
jl 0x10045465
mov eax, dword [ebp - 0x70]
mov dword [eax], ebx
lea eax, [ebp - 0x70]
mov dword [ebp - 0x78], 0xc3b03c3f
push eax
push 0x388
push ecx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x58], 6
push eax
push 0x33c9
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x34]
push eax
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x74]
call fcn.10043e42
lea eax, [ebp - 0x25]
mov byte [ebp - 0x25], bl
push 0x86c
push eax
mov dl, 1
call fcn.10044c48
mov eax, dword [ebp - 0x70]
add esp, 0x30
inc dword [eax]
cmp dword [eax], 0
jle 0x1004547d
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.10001fe1
dec dword [ebp - 0x34]
cmp dword [ebp - 0x34], 0xfffffff7
jl 0x10045452
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.10001fe1
mov edx, 0x103389e9
mov cl, 1
call fcn.10043ccd
mov dword [ebp - 0x38], 1
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x54], 0xf82baef
mov dword [ebp - 0x4c], 0x657e
mov dword [ebp - 0x48], 0xfffffff9
push 2
call fcn.10001f5e
sub esp, 0xc
mov dword [ebp - 4], 0xa
lea eax, [ebp - 0xc0]
push eax
push ecx
lea ecx, [ebp - 0xb4]
call fcn.10046cee
push 0x62fb
lea eax, [ebp - 0x38]
mov ecx, 0x49ac
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
push ebx
lea edx, [ebp - 0x54]
call fcn.10046611
mov eax, dword [ebp - 0x38]
add esp, 0x28
mov dl, 1
push 0x2adc
push ecx
call fcn.10043ce1
pop ecx
pop ecx
lea ecx, [ebp - 0xc0]
call fcn.10001fe1
mov eax, dword [0x10338bd0]
cmp eax, 0x270
jne 0x100455e4
mov edx, 0x10338bd8
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, dword [edx - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x630]
xor eax, ecx
mov dword [edx + 0x9bc], eax
add edx, edi
cmp edx, 0x10339598
jl 0x100455aa
jmp 0x100455f0
cmp eax, 0x4e0
jb 0x100455f5
call fcn.100471da
mov eax, dword [0x10338bd0]
mov edx, dword [eax*4 + 0x10338bd4]
inc eax
mov dword [0x10338bd0], eax
mov eax, edx
shr eax, 0xb
and eax, dword [0x10339f54]
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, dword [ebp + 0x14]
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
mov dword [eax], ecx
jmp 0x1004563d
push 0
call dword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret