joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ca10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x703448
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x7c0ab4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push 0x47
xor eax, eax
movq qword [ebp - 0x70], xmm0
push str.Writing_dump_to_the_file_for_process__1_failed___Process_will_be_killed
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00449180
push 0
mov edx, esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.00455280
add esp, 4
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
push eax
push 0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.004565d0
lea eax, [ebp - 0x70]
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.004874d0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x44cad7
mov eax, dword [eax]
push 3
push 0x164
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_appskldumperkldumpgen.cpp
push 0x78c2b4
or edx, 0xffffffff
mov ecx, eax
call fcn.004863e0
mov edx, dword [ebp - 0x30]
add esp, 0x10
cmp edx, 8
jb 0x44cb2f
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44cb25
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44cd00
push edx
push ecx
call fcn.006d0b31
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00454a90
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x44cb85
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44cb7b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44cd05
push edx
push ecx
call fcn.006d0b31
add esp, 8
mov edx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp edx, 8
jb 0x44cbd3
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44cbc9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44cd0a
push edx
push ecx
call fcn.006d0b31
add esp, 8
push 3
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x44ccdc
lea ecx, [ebp - 0x60]
call fcn.00448f20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006d0856
mov esp, ebp
pop ebp
ret
call fcn.006d79b8
call fcn.006d79b8
call fcn.006d79b8
int3
Function at 0x454ef0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x454f21
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x454f10
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x45a030
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x703080
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x7c0ab4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.006d0b01
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.006cf9c4
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45d370
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x45d58b
cmp eax, 0x7c
je 0x45d58b
cmp eax, 0x29
jne 0x45d3b1
cmp dword [esi + 0x10], 0
jne 0x45d58b
cmp eax, eax
jne 0x45d3b1
test dword [esi + 0x50], 0x10000000
je 0x45d598
jmp 0x45d544
cmp eax, 0x2e
jne 0x45d410
push 5
lea ecx, [esi + 0x24]
call fcn.0045d5f0
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x45d404
cmp word [eax], 0x5c
jne 0x45d3ff
lea ecx, [eax + 2]
cmp ecx, edx
je 0x45d3ff
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x45d3eb
movzx edi, word [ecx]
cmp edi, 0x28
je 0x45d3fd
cmp edi, 0x29
je 0x45d3fd
test dl, 0x10
jne 0x45d3ff
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x45d3fd
cmp edx, 0x7d
jne 0x45d3ff
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0045bb40
jmp 0x45d576
cmp eax, 0x5c
jne 0x45d46f
mov ecx, esi
call fcn.0045d320
test byte [esi + 0x50], 0x80
je 0x45d463
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x45d441
push 4
lea ecx, [esi + 0x24]
call fcn.0045d5f0
mov ecx, esi
call fcn.0045d320
jmp 0x45d57d
cmp eax, 0x42
jne 0x45d463
push 4
lea ecx, [esi + 0x24]
call fcn.0045d5f0
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0045d320
jmp 0x45d57d
mov ecx, esi
call fcn.0045e7e0
jmp 0x45d576
cmp eax, 0x5b
jne 0x45d4d0
mov ecx, esi
call fcn.0045d320
lea ecx, [esi + 0x24]
call fcn.00460080
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x45d49c
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0045d320
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x45d4ba
cmp eax, 0x5d
jne 0x45d4ba
push eax
lea ecx, [esi + 0x24]
call fcn.00460110
mov ecx, esi
call fcn.0045d320
mov ecx, esi
call fcn.0045fb00
cmp dword [esi + 0x4c], 0x5d
jne 0x45d59f
jmp 0x45d56f
cmp eax, 0x28
jne 0x45d500
mov ecx, esi
call fcn.0045d320
mov ecx, esi
call fcn.0045e930
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x45d598
mov ecx, esi
call fcn.0045d320
test bl, bl
je 0x45d57d
jmp 0x45d576
cmp eax, 0x5e
jne 0x45d518
push 2
lea ecx, [esi + 0x24]
call fcn.0045d5f0
mov ecx, esi
call fcn.0045d320
jmp 0x45d57d
cmp eax, 0x24
jne 0x45d530
push 3
lea ecx, [esi + 0x24]
call fcn.0045d5f0
mov ecx, esi
call fcn.0045d320
jmp 0x45d57d
cmp eax, 0x2a
je 0x45d591
cmp eax, 0x2b
je 0x45d591
cmp eax, 0x3f
je 0x45d591
cmp eax, 0x7b
je 0x45d591
cmp eax, 0x7d
jne 0x45d554
test dword [esi + 0x50], 0x10000000
je 0x45d5a6
jmp 0x45d562
cmp eax, 0x5d
jne 0x45d562
test dword [esi + 0x50], 0x10000000
je 0x45d59f
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0045eb90
mov ecx, esi
call fcn.0045d320
mov ecx, esi
call fcn.0045ea30
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x45d383
pop edi
pop esi
mov al, cl
pop ebx
ret
push 0xa
call fcn.0045bb30
push 5
call fcn.0045bb30
push 4
call fcn.0045bb30
push 6
call fcn.0045bb30
int3
Function at 0x462910
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x704aec
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x7c0ab4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
lea eax, [edi + 0x1c]
push eax
lea ecx, [ebp - 0xb0]
call fcn.004624c0
mov dword [ebp - 4], 0
cmp byte [ebp - 0xac], 0
je 0x462b00
test ebx, ebx
je 0x462b00
cmp word [ebx], 0
je 0x462b00
cmp dword [edi + 0x14], 0
je 0x462b00
push dword [edi + 0x28]
lea ecx, [ebp - 0xa8]
call fcn.00462c40
mov byte [ebp - 4], 1
cmp byte [edi + 0x19], 0
je 0x4629fc
push dword [edi + 0x14]
call fcn.006e4cbb
mov esi, ebx
mov dword [ebp - 0xa4], 0
add esp, 4
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4629b4
push dword [edi + 0x14]
sub esi, ecx
sar esi, 1
call fcn.006e4e03
push eax
call fcn.006e4824
add esp, 8
test eax, eax
je 0x462aea
cmp eax, 0xffffffff
je 0x462aea
push 0
lea ecx, [ebp - 0xa4]
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
jmp 0x462aea
push ebx
lea ecx, [ebp - 0x94]
call fcn.00462d10
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x94]
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x462a17
sub esi, edx
cmp byte [edi + 0x18], al
je 0x462ac2
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 3
push eax
push esi
mov ecx, eax
call fcn.00462dd0
push esi
push dword [ebp - 0xa0]
push dword [ebp - 0x94]
call dword [sym.imp.USER32.dll_CharToOemBuffA]
push dword [edi + 0x14]
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa0]
sub eax, ecx
push eax
push 1
push ecx
call fcn.006e5043
mov edx, dword [ebp - 0xa0]
add esp, 0x10
test edx, edx
je 0x462ad1
mov ecx, dword [ebp - 0x98]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x462ab6
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462b29
push ecx
push edx
call fcn.006d0b31
add esp, 8
jmp 0x462ad1
push dword [edi + 0x14]
push esi
push 1
push ecx
call fcn.006e5043
add esp, 0x10
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
cmp eax, ecx
je 0x462aea
push eax
call fcn.006d6340
add esp, 4
push dword [edi + 0x14]
call fcn.006e4cbb
add esp, 4
lea ecx, [ebp - 0xa8]
call fcn.00462bd0
lea ecx, [ebp - 0xb0]
call fcn.004625b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006d0856
mov esp, ebp
pop ebp
ret 8
call fcn.006d79b8
int3
Function at 0x4656e0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x705121
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x10
push esi
push edi
mov eax, dword [0x7c0ab4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 1
call fcn.00464f10
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x465759
mov eax, dword [esi]
mov edi, dword [eax]
mov ecx, edi
call dword [0x70d440]
mov ecx, esi
call edi
mov byte [ebp - 4], 1
mov eax, dword [esi]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x70d440]
mov ecx, esi
call edi
mov dword [ebp - 4], 2
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x70d440]
mov ecx, esi
call edi
mov eax, dword [0x7c28a0]
cmp eax, 0x270
jne 0x46579c
call fcn.0046b270
mov eax, dword [0x7c28a0]
mov ecx, dword [eax*4 + 0x7c1ee0]
inc eax
mov dword [0x7c28a0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 3
mov eax, dword [esi]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x70d440]
mov ecx, esi
call edi
mov byte [ebp - 4], 4
mov ecx, dword [esi]
mov edi, dword [ecx + 4]
mov ecx, edi
call dword [0x70d440]
mov ecx, esi
call edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x465ea0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70521b
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x7c0ab4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x7cc63d], 0
jne 0x46606e
push str.kernel32.dll
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x46602a
push 0x20a
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.006d4310
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x105
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], ebx
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x46602a
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
lea eax, [ebp - 0x228]
mov dword [ebp - 4], ebx
push eax
push esi
mov ecx, eax
call fcn.0046ad50
push dword [ebp - 0x228]
lea eax, [ebp - 0x21c]
push esi
push dword [ebp - 0x22c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x465fce
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], ebx
push eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], ebx
push eax
push 0x78f2f4
push dword [ebp - 0x228]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x465fce
mov eax, dword [ebp - 0x230]
movzx ebx, word [eax + 0x16]
mov ecx, dword [eax + 0x10]
shl ebx, 8
movzx eax, cl
or ebx, eax
shr ecx, 0x10
shl ebx, 8
movzx eax, cl
or ebx, eax
mov ecx, dword [ebp - 0x228]
test ecx, ecx
je 0x466026
mov edx, dword [ebp - 0x220]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x465ffe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466089
push edx
push ecx
call fcn.006d0b31
add esp, 8
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
test ebx, ebx
jne 0x466032
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ebx, eax
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov dword [0x7cc62c], ecx
movzx ecx, bl
mov dword [0x7cc634], ecx
mov ecx, dword [0x7cc634]
mov eax, dword [0x7cc62c]
shl ecx, 8
add eax, ecx
shr ebx, 0x10
mov dword [0x7cc640], eax
mov dword [0x7cc630], ebx
mov byte [0x7cc63d], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006d0856
mov esp, ebp
pop ebp
ret
call fcn.006d79b8
int3
Function at 0x469c20
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x705448
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x7c0ab4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call fcn.0046a830
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
lea edx, [ebp - 0x14]
mov ecx, esi
call fcn.004698a0
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, dword [ebp - 0x14]
mov esi, dword [0x7ccb34]
mov ecx, dword [0x7ccb38]
mov dword [0x7ccb34], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
mov dword [0x7ccb38], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x14]
push dword [esi + 4]
call fcn.0046a6e0
mov eax, dword [ebp - 0x14]
push 0x40
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], esi
push dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
call fcn.006d0b31
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x46a2a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, 1
mov eax, dword [eax]
mov dword [0x7c1ee0], eax
mov dword [0x7c28a0], edx
nop dword [eax + eax]
mov eax, dword [edx*4 + 0x7c1edc]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [edx*4 + 0x7c1ee0], eax
mov edx, dword [0x7c28a0]
inc edx
mov dword [0x7c28a0], edx
cmp edx, 0x270
jb 0x46a2c0
mov edx, dword [0x7c2510]
xor edx, dword [0x7c289c]
jge 0x46a30d
xor edx, 0x1908b0df
add edx, edx
or edx, 1
jmp 0x46a30f
add edx, edx
mov ecx, dword [0x7c1ee0]
mov eax, ecx
xor eax, edx
and eax, 0x7fffffff
xor ecx, eax
xor eax, eax
mov dword [0x7c1ee0], ecx
nop dword [eax + eax]
cmp dword [eax + 0x7c1ee0], 0
jne 0x46a34d
add eax, 4
cmp eax, 0x9c0
jb 0x46a330
mov dword [0x7c1ee0], 0x80000000
pop ebp
ret 4
Function at 0x46b270
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
xor eax, eax
cmp dword [0x7cbcf4], 2
jl 0x46b310
movaps xmm3, xmmword [0x7a69e0]
mov ecx, 1
movaps xmm4, xmmword [0x7a6a00]
movaps xmm6, xmmword [0x7a6a10]
movaps xmm7, xmmword [0x7a6860]
movd xmm5, ecx
nop dword [eax]
nop dword [eax + eax]
movups xmm0, xmmword [eax*4 + 0x7c1ee0]
movups xmm1, xmmword [eax*4 + 0x7c1ee4]
movaps xmm2, xmm4
pand xmm2, xmm0
movaps xmm0, xmm3
pand xmm0, xmm1
por xmm2, xmm0
movaps xmm0, xmm7
pand xmm0, xmm1
psrld xmm2, xmm5
pmulld xmm0, xmm6
pxor xmm2, xmm0
movups xmm0, xmmword [eax*4 + 0x7c2514]
pxor xmm2, xmm0
movups xmmword [eax*4 + 0x7c1ee0], xmm2
add eax, 4
cmp eax, 0xdc
jb 0x46b2b0
cmp eax, 0xde
jae 0x46b350
nop dword [eax + eax]
mov edx, dword [eax*4 + 0x7c1ee0]
mov ecx, dword [eax*4 + 0x7c1ee4]
xor edx, ecx
and edx, 0x7ffffffe
and ecx, 1
xor edx, dword [eax*4 + 0x7c1ee0]
imul ecx, ecx, 0x9908b0df
shr edx, 1
xor edx, ecx
xor edx, dword [eax*4 + 0x7c2514]
mov dword [eax*4 + 0x7c1ee0], edx
inc eax
cmp eax, 0xde
jb 0x46b310
mov edx, dword [0x7c2260]
push esi
mov esi, dword [0x7c225c]
mov ecx, esi
xor ecx, dword [0x7c2258]
mov eax, esi
and ecx, 0x7ffffffe
and eax, 1
xor ecx, dword [0x7c2258]
shr ecx, 1
imul eax, eax, 0x9908b0df
xor ecx, eax
mov eax, edx
xor ecx, dword [0x7c288c]
and eax, 1
mov dword [0x7c2258], ecx
mov ecx, edx
xor ecx, esi
imul eax, eax, 0x9908b0df
and ecx, 0x7ffffffe
xor ecx, esi
mov esi, dword [0x7c2264]
shr ecx, 1
xor ecx, eax
mov eax, esi
xor ecx, dword [0x7c2890]
and eax, 1
mov dword [0x7c225c], ecx
mov ecx, esi
xor ecx, edx
imul eax, eax, 0x9908b0df
and ecx, 0x7ffffffe
xor ecx, edx
mov edx, dword [0x7c2268]
shr ecx, 1
xor ecx, eax
mov eax, edx
xor ecx, dword [0x7c2894]
and eax, 1
mov dword [0x7c2260], ecx
mov ecx, edx
xor ecx, esi
imul eax, eax, 0x9908b0df
and ecx, 0x7ffffffe
xor ecx, esi
shr ecx, 1
pop esi
xor ecx, eax
mov eax, dword [0x7c226c]
xor ecx, dword [0x7c2898]
mov dword [0x7c2264], ecx
mov ecx, eax
xor ecx, edx
and eax, 1
and ecx, 0x7ffffffe
imul eax, eax, 0x9908b0df
xor ecx, edx
mov edx, 0x38c
shr ecx, 1
xor ecx, eax
xor ecx, dword [0x7c289c]
mov dword [0x7c2268], ecx
nop dword [eax]
mov ecx, dword [edx + 0x7c1ee0]
mov eax, dword [edx + 0x7c1ee4]
xor ecx, eax
and ecx, 0x7ffffffe
and eax, 1
xor ecx, dword [edx + 0x7c1ee0]
imul eax, eax, 0x9908b0df
shr ecx, 1
xor ecx, eax
xor ecx, dword [edx + 0x7c1b54]
mov dword [edx + 0x7c1ee0], ecx
add edx, 4
cmp edx, 0x9bc
jb 0x46b440
mov ecx, dword [0x7c1ee0]
mov edx, ecx
xor edx, dword [0x7c289c]
and ecx, 1
and edx, 0x7ffffffe
imul eax, ecx, 0x9908b0df
xor edx, dword [0x7c289c]
shr edx, 1
mov dword [0x7c28a0], 0
xor edx, eax
xor edx, dword [0x7c2510]
mov dword [0x7c289c], edx
ret
Function at 0x46ca20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x705608
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x7c0ab4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x46ca5e
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x10]
push eax
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], ecx
push eax
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x46cb4b
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x46cb4b
mov eax, dword [ebp - 0x14]
cmp eax, 1
je 0x46caaa
cmp eax, 2
je 0x46caaa
mov edi, 0x64a
jmp 0x46cb4b
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x20]
shr ecx, 1
inc ecx
mov dword [ebp - 4], 0
push eax
push ecx
mov ecx, eax
call fcn.00455f60
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x46cb18
mov ecx, dword [ebp - 0x20]
mov edx, ecx
lea ebx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x46cb00
sub edx, ebx
sar edx, 1
push edx
push ecx
mov ecx, esi
call fcn.00449180
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x46cb4b
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x46cb41
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46cb61
push ecx
push edx
call fcn.006d0b31
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.006d79b8
int3
Function at 0x46cb70
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x705651
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x7c0ab4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 1
push eax
push 0x411
mov ecx, eax
call fcn.00455f60
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
sar eax, 1
cmp dword [esi + 0x14], 8
jb 0x46cbf1
mov esi, dword [esi]
dec eax
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edx, dword [ebp - 0x20]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46cc03
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00449180
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x46cc4e
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x46cc44
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46cc61
push ecx
push edx
call fcn.006d0b31
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.006d79b8
int3