Function at 0x10027729
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005a7dd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
mov byte [esp + 0x18], dl
push ebx
push esi
push edi
test cl, cl
je 0x10027bf0
cmp byte [ebp + 0x14], 0
je 0x1002778c
mov edx, dword [ebp + 0x40]
push 4
pop esi
mov dword [edx], 0
cmp dword [edx], esi
jge 0x10027cd9
mov edi, dword [ebp + 0x34]
mov ecx, dword [edx]
mov eax, dword [edi]
mov dword [eax + ecx*4], 0xce57
inc dword [edx]
cmp dword [edx], esi
jl 0x10027776
jmp 0x10027cd9
lea eax, [esp + 0x16]
mov dword [esp + 0x20], 0xfffffffe
push eax
xor ebx, ebx
mov edx, 0x1fa1
mov byte [esp + 0x1a], bl
push 0x2e79
call fcn.100294ae
push ecx
lea eax, [esp + 0x23]
mov byte [esp + 0x23], bl
push eax
call fcn.100291bf
mov eax, dword [0x10077d80]
xor edi, edi
add esp, 0x10
inc edi
mov esi, 0x270
test al, 1
jne 0x1002780d
or eax, edi
mov ecx, 0x1571
or dword [0x10079114], 0xffffffff
mov edx, edi
mov dword [0x10077d80], eax
mov dword [0x10077d94], ecx
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [edx*4 + 0x10077d94], ecx
inc edx
cmp edx, esi
jl 0x100277ec
mov dword [0x10077d90], esi
push 3
mov dword [esp + 0x4c], 0xb9f9b319
lea ecx, [esp + 0x68]
pop eax
mov dword [esp + 0x40], 0xbf506e60
mov dword [esp + 0x3c], eax
mov dword [esp + 0x50], 0x3e93
mov dword [esp + 0x44], eax
push 2
call fcn.1000e2bc
push edi
push 0x51d1
lea eax, [esp + 0x6c]
mov dword [esp + 0xbc], ebx
push eax
push 0x326c
lea eax, [esp + 0x8c]
mov dword [esp + 0x5c], 0xe6c1
push edi
mov dword [esp + 0x48], 0xb389e767
xor dl, dl
push eax
mov ecx, 0x23a0
call fcn.10028f82
add esp, 0x14
lea eax, [esp + 0x44]
lea edx, [esp + 0x54]
lea ecx, [esp + 0x68]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.10028cec
or dword [esp + 0xd0], 0xffffffff
lea ecx, [esp + 0x80]
add esp, 0x1c
call fcn.1000e33f
mov dword [esp + 0x10], 0x8c08872f
lea ecx, [esp + 0x70]
push 4
pop esi
mov dword [esp + 0x2c], esi
mov eax, 0xcefbde28
mov dword [esp + 0x1c], 0xaa53f0d3
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
push edi
call fcn.1000e2bc
mov dword [esp + 0xb4], edi
mov dword [esp + 0x30], 0x2849
cmp dword [esp + 0x30], 0x28fe
jle 0x1002798f
mov edi, ebx
mov dword [esp + 0x28], ebx
mov eax, ebx
mov dword [esp + 0x1c], ebx
mov ecx, eax
mov dword [esp + 0x20], edi
mov esi, ebx
shl edi, cl
mov eax, edi
lea ecx, [esp + 0x90]
or eax, esi
cdq
push edx
push eax
call fcn.10001a8f
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10027942
mov eax, dword [eax]
push eax
call fcn.10041543
pop ecx
push ebx
push 1
lea ecx, [esp + 0x98]
call fcn.1000ea77
inc esi
cmp esi, 0x15da
jl 0x10027925
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, 0x67c7
jl 0x1002791b
inc edi
mov dword [esp + 0x28], edi
cmp edi, 0x2ac2
jl 0x10027915
push ebx
call dword [sym.imp.USER32.dll_RegisterClassA]
push 4
xor edi, edi
pop esi
inc edi
mov dword [esp + 0x18], ebx
jmp 0x100279a8
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x80], 0xc0e2632c
inc dword [esp + 0x18]
cmp dword [esp + 0x18], esi
jl 0x10027995
cmp dword [esp + 0x30], 0x25e3
jge 0x100279c3
push str.jgfvx_jpzzxwwj_wplwtp_ofbl_kbacpv_rfnyf_jmu_oxijqf_qyhhlwwx_ygdmlyxu_ajpbmknec_lyyqiaxsi
call fcn.10041543
pop ecx
lea eax, [esp + 0x18]
mov dword [esp + 0xb4], edi
push eax
push 0x3b25
xor dl, dl
lea ecx, [esp + 0x78]
call fcn.10027d44
mov eax, dword [esp + 0x34]
pop ecx
pop ecx
mov ecx, dword [esp + 0x10]
sub ecx, eax
je 0x100279f5
mov eax, edi
cmp dword [esp + 0x2c], ebx
jne 0x100279f7
mov eax, ebx
mov dword [esp + 0x1c], eax
xor edx, edx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
cmp ecx, eax
setge dl
cmp edx, 0xe0fc36fe
jb 0x10027a1b
mov dword [esp + 0x84], edi
jmp 0x10027a22
mov dword [esp + 0x84], ebx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x5c]
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
setg cl
mov dword [esp + 0x58], ecx
test ecx, ecx
jne 0x10027a4a
mov eax, ebx
cmp dword [esp + 0x84], ebx
je 0x10027a4c
mov eax, edi
cmp eax, dword [esp + 0x10]
jne 0x10027a5a
mov ecx, edi
cmp dword [esp + 0x1c], ebx
jne 0x10027a5c
mov ecx, ebx
mov eax, dword [esp + 0x10]
sub ecx, eax
mov eax, dword [esp + 0x70]
sub ecx, 0x6e483bbb
mov dword [eax], ecx
mov dword [esp + 0x10], ebx
jmp 0x10027aa8
mov byte [esp + 0x14], bl
cmp byte [esp + 0x14], 0
je 0x10027aa4
push ebx
push 0x4066
push 0x1794
push 0x53ed
push edi
push 0x31e6
xor dl, dl
mov ecx, 0x4461
call fcn.10028f82
add esp, 0x18
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0x18
jl 0x10027a74
or dword [esp + 0xb4], 0xffffffff
lea ecx, [esp + 0x70]
call fcn.1000e33f
cmp byte [0x10077bfd], 0
jne 0x10027b1d
sub esp, 0xc
mov dword [esp + 0x2c], 6
mov byte [esp + 0x21], bl
lea edx, [esp + 0x21]
push edi
call fcn.100290cb
mov byte [esp + 0x24], bl
add esp, 0x10
cmp byte [esp + 0x14], 0
je 0x10027b01
sub esp, 0xc
mov edx, 0x77f6
push ebx
call fcn.100290cb
add esp, 0x10
push 0x10077d90
push ebx
mov edx, 0x48ee
mov ecx, 0x7be1
call fcn.10027cee
call fcn.10027d59
pop ecx
pop ecx
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0x76820624
push eax
push 0x331d
push ecx
push 0x3815
mov edx, 0x56d0
mov ecx, 0x4aab
call fcn.100286f3
add esp, 0x10
mov edx, 0x3425
xor cl, cl
call fcn.10028cae
mov eax, dword [0x10077d90]
cmp eax, 0x270
jne 0x10027b9e
mov edx, 0x10077d98
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, esi
cmp edx, 0x10078758
jl 0x10027b64
jmp 0x10027baa
cmp eax, 0x4e0
jb 0x10027baf
call fcn.100296b5
mov eax, dword [0x10077d90]
mov edx, dword [eax*4 + 0x10077d94]
inc eax
mov dword [0x10077d90], eax
mov eax, edx
shr eax, 0xb
and eax, dword [0x10079114]
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 + 0x44]
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
jmp 0x10027cd7
test dl, dl
je 0x10027c28
mov ecx, dword [ebp + 0x38]
xor eax, eax
mov dword [ecx], eax
jmp 0x10027c1e
mov dword [esp + 0x10], 0x65ab3e90
mov dword [esp + 0x10], eax
jmp 0x10027c15
cmp dword [esp + 0x10], eax
jne 0x10027c1c
dec dword [esp + 0x10]
cmp dword [esp + 0x10], 0xfffffff0
je 0x10027c0b
dec dword [ecx]
cmp dword [ecx], 0xffffffec
jg 0x10027bfd
jmp 0x10027cd9
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x10027caa
mov ebx, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x48]
mov eax, dword [ebx]
inc dword [ecx]
mov eax, dword [ecx]
mov eax, dword [ecx]
xor ecx, ecx
cmp eax, 0x2e166580
mov eax, dword [ebp + 0xc]
setge cl
xor edx, edx
mov esi, dword [eax]
mov eax, dword [edi]
add eax, ecx
cmp eax, dword [esi + 8]
setge dl
xor ecx, ecx
mov dword [esi + 8], edx
mov eax, dword [ebx]
cmp edx, eax
mov eax, dword [ebp + 0x2c]
mov esi, dword [ebp + 0x30]
setl cl
xor edx, edx
mov eax, dword [eax]
cmp eax, ecx
mov ecx, dword [edi]
mov eax, dword [esi]
setge dl
imul ecx, edx
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp + 0x1c]
setne dl
xor ecx, ecx
mov eax, dword [eax]
cmp edx, dword [eax + 4]
setg cl
xor eax, eax
cmp ecx, 7
mov ecx, dword [ebx]
setl al
imul ecx, eax
mov eax, dword [ebp + 0x18]
cmp ecx, dword [eax]
jl 0x10027cad
xor edx, edx
jmp 0x10027cb0
mov esi, dword [ebp + 0x30]
xor edx, edx
inc edx
mov eax, dword [ebp + 0x2c]
xor ecx, ecx
mov eax, dword [eax]
cmp edx, eax
setl cl
imul eax, ecx, 0xfffffffc
mov ecx, dword [ebp + 0x20]
mov dword [esi], eax
mov eax, dword [esi]
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
cmp dword [ecx], 0
jne 0x10027cd2
mov eax, dword [esi]
mov ecx, dword [ecx]
mov eax, dword [ebp + 0x24]
mov dword [eax], ecx
mov ecx, dword [esp + 0xac]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret