joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4114b8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
sub esp, 0x38
mov dword [esp], 0x3003
mov dword [esp + 4], 0x41c354
mov ecx, dword [0x872400]
mov dword [esp + 0x10], ecx
xor edx, edx
mov dword [esp + 0x20], edx
mov eax, dword [0x59b7ac]
mov dword [esp + 0x24], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], edx
push 0x2711
push ecx
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
push 4
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x1c], eax
lea eax, [esp]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
jne 0x41152b
mov eax, 1
add esp, 0x38
pop ebp
ret
lea eax, [esp + 0x28]
push eax
push dword [0x872b2c]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x28]
movsx eax, dx
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x2c]
movsx ebp, cx
mov edx, dword [0x59b7ac]
xor ecx, ecx
push ecx
push dword [0x872400]
push ecx
push dword [0x872b2c]
push ebp
push eax
push ecx
push ecx
push 0x56000000
push edx
push edx
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x872b28], eax
test eax, eax
je 0x411521
xor eax, eax
add esp, 0x38
pop ebp
ret

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

Disassembly:
mov eax, dword [0x59b6f0]
cmp eax, 0x270
jl 0x416fe2
xor edx, edx
mov eax, dword [edx*4 + 0x5ce680]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5ce684]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5cecb4]
xor ecx, dword [eax*4 + 0x577538]
mov dword [edx*4 + 0x5ce680], ecx
inc edx
cmp edx, 0xe3
jl 0x416f26
cmp edx, 0x26f
jge 0x416fae
mov eax, dword [edx*4 + 0x5ce680]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5ce684]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5ce2f4]
xor ecx, dword [eax*4 + 0x577538]
mov dword [edx*4 + 0x5ce680], ecx
inc edx
cmp edx, 0x26f
jl 0x416f6e
mov edx, dword [0x5cf03c]
and edx, 0x80000000
mov eax, dword [0x5ce680]
and eax, 0x7fffffff
or edx, eax
mov ecx, edx
shr ecx, 1
xor ecx, dword [0x5cecb0]
and edx, 1
xor ecx, dword [edx*4 + 0x577538]
mov dword [0x5cf03c], ecx
xor eax, eax
lea edx, [eax + 1]
mov dword [0x59b6f0], edx
mov eax, dword [eax*4 + 0x5ce680]
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor eax, edx
mov edx, eax
shl edx, 0xf
and edx, 0xefc60000
xor eax, edx
mov edx, eax
shr edx, 0x12
xor eax, edx
ret
Function at 0x417ce8
Capabilities:
Get file version info

Disassembly:
push edi
push ebp
push ebx
sub esp, 0xc
mov edi, edx
mov ebp, eax
test ebp, ebp
je 0x417d89
test edi, edi
je 0x417d89
lea ecx, [esp + 8]
push ecx
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
jbe 0x417d7d
mov dword [esp + 4], eax
push eax
call fcn.004707ff
pop ecx
mov ebx, eax
test ebx, ebx
je 0x417d95
push ebx
push dword [esp + 8]
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x417d76
mov dword [esp], 0
lea ebp, [esp]
lea ecx, [esp + 4]
push ecx
push ebp
push 0x878338
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x417d76
mov ecx, dword [esp]
test ecx, ecx
je 0x417d76
mov ecx, dword [ecx + 8]
mov dword [edi + 4], ecx
mov ebp, dword [esp]
mov ecx, dword [ebp + 0xc]
mov dword [edi], ecx
push ebx
call fcn.0047080d
xor eax, eax
add esp, 0x10
pop ebx
pop ebp
pop edi
ret
push ebx
call fcn.0047080d
pop ecx
mov eax, 0x80004005
add esp, 0xc
pop ebx
pop ebp
pop edi
ret
mov eax, 0x80070057
add esp, 0xc
pop ebx
pop ebp
pop edi
ret
mov eax, 0x8007000e
add esp, 0xc
pop ebx
pop ebp
pop edi
ret

Function at 0x41c14c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push ebx
push esi
mov ecx, edx
mov edx, eax
mov esi, ecx
shr esi, 2
and ecx, 3
test esi, esi
je 0x41c1d3
je 0x41c202
mov eax, 0xffffffff
xor ebx, ebx
mov dword [esp], edi
movzx edi, byte [edx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x59b1a0]
movzx edi, byte [edx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x59b1a0]
movzx edi, byte [edx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x59b1a0]
movzx edi, byte [edx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x59b1a0]
add edx, 4
inc ebx
cmp ebx, esi
jb 0x41c16f
mov edi, dword [esp]
jmp 0x41c1d8
mov eax, 0xffffffff
test ecx, ecx
je 0x41c1fc
je 0x41c1fc
xor ebx, ebx
inc edx
movzx esi, byte [edx - 1]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x59b1a0]
inc ebx
cmp ebx, ecx
jb 0x41c1e0
not eax
pop ecx
pop ebx
pop esi
ret
mov eax, 0xffffffff
jmp 0x41c1d8
Function at 0x41ea44
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push edi
push ebp
sub esp, 0x40
mov edi, eax
cmp dword [edi + 0x168], 0
je 0x41ea5f
mov eax, 0xfffffc0e
add esp, 0x40
pop ebp
pop edi
ret
mov edx, dword [esp + 0x50]
lea ecx, [edx - 0x3b9ac9ff]
or ecx, dword [esp + 0x54]
je 0x41eab1
mov byte [esp + 0xc], 1
lea eax, [esp + 0x10]
mov edx, edi
xor ecx, ecx
call fcn.0040bcdd
test eax, eax
jne 0x41eaa6
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x168], ecx
mov ebp, dword [esp + 0x10]
mov dword [edi + 0x1a8], ebp
mov eax, edi
call fcn.0041cd7c
add esp, 0x40
pop ebp
pop edi
ret
mov eax, 0xfffffc04
add esp, 0x40
pop ebp
pop edi
ret
push 0xfcc
call fcn.00403564
pop ecx
mov ebp, eax
test ebp, ebp
je 0x41eb48
lea ecx, [ebp + 0x2c]
push 0x80
push 0xfa0
push ecx
call dword [0x5b8564]
add esp, 0xc
mov dword [ebp], 0x46464952
mov dword [ebp + 4], 0xfc4
mov dword [ebp + 8], 0x45564157
mov dword [ebp + 0xc], 0x20746d66
mov dword [ebp + 0x10], 0x10
mov eax, 1
mov word [ebp + 0x14], ax
mov word [ebp + 0x16], ax
mov ecx, 0x1f40
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x1c], ecx
mov word [ebp + 0x20], ax
mov ecx, 8
mov word [ebp + 0x22], cx
mov dword [ebp + 0x24], 0x61746164
mov dword [ebp + 0x28], 0xfa0
mov dword [edi + 0x1a8], 0xfcc
mov dword [edi + 0x168], ebp
jmp 0x41ea99
xor ebp, ebp
jmp 0x41eb3d

Function at 0x425f78
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push ebx
sub esp, 0x28
mov ebx, eax
test ebx, ebx
je 0x42603d
movsx edx, byte [0x59b6f4]
test edx, edx
je 0x425f99
mov eax, ebx
call fcn.0042604c
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x42603d
mov edx, dword [eax + 0x30]
mov ecx, dword [eax + 0x34]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 0x40]
mov ecx, dword [eax + 0x44]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0x48]
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov esi, ebx
mov ebx, eax
mov eax, esi
lea edx, [esp + 8]
call fcn.004106e4
mov edx, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x74]
add dword [esp + 8], edx
adc dword [esp + 0xc], ecx
mov edx, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x7c]
add dword [esp + 0x10], edx
adc dword [esp + 0x14], ecx
mov edx, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x74]
add dword [esp + 0x18], edx
adc dword [esp + 0x1c], ecx
mov edx, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x7c]
add dword [esp + 0x20], edx
adc dword [esp + 0x24], ecx
mov esi, dword [esi + 0x10]
cmp esi, dword [0x872564]
je 0x426035
mov ebx, dword [esi + 0x44]
test ebx, ebx
jne 0x425fe0
xor eax, eax
add esp, 0x28
pop ebx
pop esi
ret
mov eax, 0xffffffff
add esp, 0x28
pop ebx
pop esi
ret
Function at 0x4408c8
Capabilities:
Read file on windows

Disassembly:
push esi
lea edx, [esp]
push 1
push edx
push dword [eax]
call fcn.00470c1e
movsx eax, byte [esp + 0xc]
add esp, 0x10
ret
Function at 0x4513d0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 8
mov dword [esp], eax
xor ecx, ecx
xor ecx, edx
cmp edx, 4
jl 0x451409
imul ebp, dword [eax], 0x5bd1e995
mov ebx, ebp
shr ebx, 0x18
xor ebp, ebx
imul esi, ebp, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 4
jge 0x4513e3
cmp edx, 3
je 0x45141a
cmp edx, 2
je 0x451423
cmp edx, 1
je 0x45142c
jmp 0x451437
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
mov edx, ecx
shr edx, 0xd
xor ecx, edx
imul edx, ecx, 0x5bd1e995
mov eax, edx
shr eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x18
mov eax, dword [ecx*4 + 0x7d1dc0]
mov ecx, dword [0x872990]
mov dword [esp + 4], ecx
cmp eax, ecx
jge 0x4514ae
mov ecx, dword [0x872994]
mov ebx, eax
mov ebp, edx
mov esi, dword [ecx + ebx*4]
cmp ebp, dword [esi + 4]
jne 0x4514a5
mov edi, dword [esi]
mov esi, dword [esp]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x45149c
or dl, dl
je 0x451498
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x45149c
add edi, 2
add esi, 2
or dl, dl
jne 0x45147c
xor eax, eax
jmp 0x4514a1
sbb eax, eax
or eax, 1
test eax, eax
je 0x4514bb
inc ebx
mov esi, dword [esp + 4]
cmp ebx, esi
jl 0x45146f
mov eax, 0xffffffff
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, ebx
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x45c08c
Capabilities:
Read file on windows

Disassembly:
push esi
lea edx, [esp]
push 4
push edx
push dword [eax]
call fcn.00470c1e
mov eax, dword [esp + 0xc]
add esp, 0x10
ret
Function at 0x464640
Capabilities:
Read file on windows

Disassembly:
push edi
push ebx
sub esp, 0x24
mov edi, eax
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x464659
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x464651
mov ebx, eax
inc ebx
push ebx
call fcn.0046efec
pop ecx
mov ecx, dword [0x872700]
mov edx, dword [0x8726fc]
mov dword [edx + ecx*4], eax
mov edx, dword [0x8726fc]
mov ecx, dword [0x872700]
mov edx, dword [edx + ecx*4]
test edx, edx
je 0x4647b5
push ebx
push edi
push edx
call dword [0x5b856c]
add esp, 0xc
mov ebx, dword [0x872700]
mov ecx, dword [0x8726fc]
lea eax, [esp + 8]
mov edx, dword [ecx + ebx*4]
call fcn.00464828
movsx eax, byte [esp + 0x10]
test eax, eax
je 0x464790
lea eax, [esp + 0x20]
push 4
push eax
push dword [esp + 0x10]
call fcn.00470c1e
add esp, 0xc
lea eax, [esp + 8]
call fcn.0045c08c
mov edi, eax
lea eax, [esp + 8]
call fcn.0045c08c
mov ebx, eax
lea eax, [esp + 8]
call fcn.004648b8
mov edx, dword [esp + 0x20]
cmp edx, 0x465059
jne 0x46472e
cmp edi, 0x22b
je 0x464708
cmp edi, 0xea
jl 0x46476b
mov edx, dword [0x872704]
add edx, ebx
mov dword [0x872704], edx
cmp edx, 0x30d40
jge 0x46474f
mov eax, dword [0x872700]
inc eax
mov dword [0x872700], eax
cmp eax, 0x64
jge 0x464736
xor eax, eax
add esp, 0x24
pop ebx
pop edi
ret
push 0x64
push 1
push 0x196c2
call fcn.0046c070
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
push 0x30d40
push 1
push 0x196cc
call fcn.0046c070
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
mov edx, dword [0x872700]
mov eax, dword [0x8726fc]
push dword [eax + edx*4]
push 1
push 0x196b8
call fcn.0046c070
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
mov edx, dword [0x872700]
mov eax, dword [0x8726fc]
push dword [eax + edx*4]
push 1
push 0xdbfb0
call fcn.0046c070
mov eax, 0xfffffffe
add esp, 0x30
pop ebx
pop edi
ret
push 1
push 0x186aa
call fcn.0046c0cc
mov eax, 0xffffffff
add esp, 0x2c
pop ebx
pop edi
ret

Function at 0x4648a4
Capabilities:
Read file on windows

Disassembly:
push ecx
push edx
push dword [eax]
call fcn.00470c1e
add esp, 0xc
ret

Function at 0x465000
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push 0x41c57c
call fcn.00472116
add esp, 0xc
test eax, eax
je 0x465026
movsx edx, byte [0x59b714]
dec edx
push edx
push eax
call dword [0x5770bc]
ret
push 0x878dc0
push 0
call fcn.00409114
add esp, 8
ret
Function at 0x46532d
Capabilities:
Create process on windows

Disassembly:
push ebx
sub esp, 0x3c
mov ebx, ecx
movsx ecx, byte [eax]
test ecx, ecx
je 0x465429
mov ecx, dword [0x579e50]
mov dword [esp + 4], ecx
mov ecx, dword [0x579e58]
mov dword [esp + 0xc], ecx
mov ecx, dword [0x579e5c]
mov dword [esp + 0x10], ecx
mov ecx, dword [0x579e60]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x579e64]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x579e68]
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x579e6c]
mov dword [esp + 0x20], ecx
mov ecx, dword [0x579e70]
mov dword [esp + 0x24], ecx
mov ecx, dword [0x579e74]
mov dword [esp + 0x28], ecx
mov ecx, dword [0x579e78]
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x579e7c]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x579e80]
mov dword [esp + 0x34], ecx
mov ecx, dword [0x579e84]
mov dword [esp + 0x38], ecx
mov dword [esp], 0x3c
mov dword [esp + 8], 0
mov ecx, dword [0x8728ec]
test ecx, ecx
je 0x4653e7
mov ecx, dword [ecx + 0x2a4]
test ecx, ecx
je 0x4653e7
mov dword [esp + 8], ecx
mov dword [esp + 0x1c], 1
mov dword [esp + 4], 0x40
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
lea eax, [esp]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x465429
mov eax, dword [esp + 0x20]
cmp eax, 0x20
jle 0x465429
movsx eax, bl
test eax, eax
je 0x465429
push 0xffffffffffffffff
push dword [esp + 0x3c]
call dword [0x577270]
mov eax, 0xffffffff
add esp, 0x3c
pop ebx
ret
Function at 0x46a568
Capabilities:
Create thread

Disassembly:
movsx eax, byte [0x872464]
test eax, eax
je 0x46a584
xor eax, eax
push eax
push eax
push 0x420ae0
call fcn.00472116
add esp, 0xc
ret

Function at 0x46a588
Capabilities:
Create thread

Disassembly:
push edi
push esi
push ebx
push esi
movsx edx, byte [0x59b710]
test edx, edx
jle 0x46a623
xor eax, eax
xor ecx, ecx
xor edx, edx
mov edi, eax
mov ebx, edx
mov esi, ecx
xor eax, eax
push eax
push eax
push eax
push eax
call dword [0x5770dc]
mov dword [esi*4 + 0x7db7e0], eax
xor eax, eax
push eax
push eax
push eax
push eax
call dword [0x5770dc]
mov dword [ebx + 0x7db8e0], eax
xor eax, eax
push eax
push 1
push eax
push eax
call dword [0x5770dc]
mov dword [ebx + 0x7db9e0], eax
cmp dword [esi*4 + 0x7db7e0], 0
je 0x46a6e9
cmp dword [esi*4 + 0x7db8e0], 0
je 0x46a6d9
cmp dword [esi*4 + 0x7db9e0], 0
je 0x46a6c9
add ebx, 4
inc esi
movsx edx, byte [0x59b710]
cmp esi, edx
jl 0x46a5a7
mov eax, edi
cmp eax, 1
je 0x46a6b1
test edx, edx
jle 0x46a6ad
xor eax, eax
xor ecx, ecx
xor edx, edx
mov ebx, eax
mov esi, edx
mov edi, ecx
mov dword [esi + 0x7d9ee0], edi
xor ecx, ecx
lea edx, [esi + 0x7d9ee0]
lea eax, [esp]
push eax
push ecx
push edx
push 0x41f638
push ecx
push ecx
call fcn.004723b5
add esp, 0x18
mov dword [edi*4 + 0x7d9de0], eax
push edi
push eax
call dword [0x5770bc]
cmp dword [edi*4 + 0x7d9de0], 0
jne 0x46a678
mov ebx, 1
add esi, 0x64
inc edi
movsx eax, byte [0x59b710]
cmp edi, eax
jl 0x46a637
mov eax, ebx
cmp eax, 1
je 0x46a695
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
ret
push 0x8792a4
push 0
call fcn.00409114
mov eax, 0xffffffff
add esp, 0xc
pop ebx
pop esi
pop edi
ret
xor eax, eax
jmp 0x46a689
push 0x879278
push 0
call fcn.00409114
mov eax, 0xffffffff
add esp, 0xc
pop ebx
pop esi
pop edi
ret
call dword [0x577290]
mov edi, 1
jmp 0x46a609
call dword [0x577290]
mov edi, 1
jmp 0x46a5fb
call dword [0x577290]
mov edi, 1
jmp 0x46a5ed

Function at 0x46ba08
Capabilities:
Create thread

Disassembly:
push esi
xor eax, eax
push eax
push eax
push eax
push eax
call dword [0x5770dc]
mov dword [0x87297c], eax
xor eax, eax
push eax
push eax
push eax
push eax
call dword [0x5770dc]
mov dword [0x872980], eax
xor eax, eax
push eax
push 1
push eax
push eax
call dword [0x5770dc]
mov dword [0x872984], eax
xor edx, edx
lea eax, [esp]
push eax
push edx
push 0x7d19a0
push 0x41b778
push edx
push edx
call fcn.004723b5
add esp, 0x18
mov dword [0x872978], eax
pop ecx
ret

Function at 0x46ba78
Capabilities:
Create thread

Disassembly:
push esi
xor eax, eax
push eax
push eax
push 1
push eax
call dword [0x5770dc]
mov dword [0x872944], eax
xor eax, eax
push eax
push eax
push 1
push eax
call dword [0x5770dc]
mov dword [0x872948], eax
xor edx, edx
mov eax, 1
push edx
push eax
push eax
push edx
call dword [0x5770dc]
mov dword [0x87294c], eax
xor edx, edx
lea eax, [esp]
push eax
push edx
push 0x7ce2a0
push 0x4187c0
push edx
push edx
call fcn.004723b5
add esp, 0x18
mov dword [0x872940], eax
pop ecx
ret

Function at 0x46bad8
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push 0x417e60
call fcn.00472116
add esp, 0xc
call fcn.0046ba60
ret
Function at 0x46be0c
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
call dword [sym.imp.WINMM.dll_joyGetNumDevs]
test eax, eax
jg 0x46be20
mov dword [0x872138], eax
xor eax, eax
pop ecx
ret
mov edx, 0x10
cmp eax, 0x10
jl 0x46be2c
mov eax, edx
mov dword [0x872138], eax
xor eax, eax
mov dword [esp], ebx
mov ebx, eax
lea edx, [ebx + 0x78ade0]
push 0x34
push edx
call dword [0x5b8560]
add esp, 8
mov dword [ebx + 0x78ade0], 0x34
mov dword [ebx + 0x78ade4], 0x83
add ebx, 0x34
cmp ebx, 0x340
jl 0x46be38
mov ebx, dword [esp]
mov dword [0x78b120], 1
mov dword [0x78b124], 2
mov dword [0x78b128], 4
mov dword [0x78b12c], 8
mov dword [0x78b130], 0x10
mov dword [0x78b134], 0x20
mov dword [0x78b138], 0x40
mov dword [0x78b13c], 0x80
mov dword [0x78b140], 0x100
mov dword [0x78b144], 0x200
mov dword [0x78b148], 0x400
mov dword [0x78b14c], 0x800
mov dword [0x78b150], 0x1000
mov dword [0x78b154], 0x2000
mov dword [0x78b158], 0x4000
mov dword [0x78b15c], 0x8000
mov dword [0x78b160], 0x10000
mov dword [0x78b164], 0x20000
mov dword [0x78b168], 0x40000
mov dword [0x78b16c], 0x80000
mov dword [0x78b170], 0x100000
mov dword [0x78b174], 0x200000
mov dword [0x78b178], 0x400000
mov dword [0x78b17c], 0x800000
mov dword [0x78b180], 0x1000000
mov dword [0x78b184], 0x2000000
mov dword [0x78b188], 0x4000000
mov dword [0x78b18c], 0x8000000
mov dword [0x78b190], 0x10000000
mov dword [0x78b194], 0x20000000
mov dword [0x78b198], 0x40000000
mov dword [0x78b19c], 0x80000000
mov eax, 1
pop ecx
ret

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

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x5ce680], eax
mov eax, 1
mov ecx, dword [eax*4 + 0x5ce67c]
mov edx, ecx
shr edx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x5ce680], edx
inc eax
cmp eax, 0x270
jl 0x46c336
mov dword [0x59b6f0], eax
ret
Function at 0x494b28
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0x14]
cmp eax, 0xca
je 0x494bd6
cmp eax, 0xcb
je 0x494b6b
cmp eax, 0xcc
je 0x494b61
push ebx
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [ebx]
call dword [eax]
pop ecx
mov eax, ebx
call fcn.00494c08
pop ecx
pop ebx
ret
mov edx, dword [ebx + 0x190]
movzx ecx, byte [edx + 0x10]
test ecx, ecx
jne 0x494b84
mov edx, dword [ebx + 0x7c]
mov dword [ebx + 0x84], edx
jmp 0x494b61
mov edx, dword [ebx + 8]
test edx, edx
je 0x494b8f
push ebx
call dword [edx]
pop ecx
push ebx
mov edx, dword [ebx + 0x190]
call dword [edx]
pop ecx
test eax, eax
je 0x494c00
cmp eax, 2
je 0x494b79
mov edx, dword [ebx + 8]
test edx, edx
je 0x494b8f
cmp eax, 3
je 0x494bb3
cmp eax, 1
jne 0x494b8b
mov ecx, dword [edx + 4]
add ecx, 1
mov dword [edx + 4], ecx
mov edx, dword [ebx + 8]
mov eax, dword [edx + 8]
cmp ecx, eax
jl 0x494b87
mov ecx, dword [ebx + 0x11c]
add eax, ecx
mov dword [edx + 8], eax
mov edx, dword [ebx + 8]
jmp 0x494b87
push ebx
call fcn.00497960
pop ecx
movzx edx, byte [ebx + 0x40]
test edx, edx
jne 0x494bf1
mov dword [ebx + 0x14], 0xcb
jmp 0x494b6b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ecx
pop ebx
ret
xor eax, eax
pop ecx
pop ebx
ret

Function at 0x494c08
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
sub esp, 8
mov ebx, eax
mov edx, dword [ebx + 0x14]
cmp edx, 0xcc
je 0x494c31
push ebx
mov edx, dword [ebx + 0x180]
call dword [edx]
pop ecx
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x14], 0xcc
mov edx, dword [ebx + 0x180]
movzx ecx, byte [edx + 8]
test ecx, ecx
je 0x494cca
mov eax, dword [ebx + 0x78]
mov dword [esp], esi
mov dword [esp + 4], edi
lea ecx, [ebx + 0x78]
mov esi, ecx
jmp 0x494c56
xor eax, eax
cmp eax, dword [ebx + 0x60]
jae 0x494c9e
mov edx, dword [ebx + 8]
test edx, edx
je 0x494c78
push ebx
mov dword [edx + 4], eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0x60]
mov dword [edx + 8], eax
mov edi, dword [ebx + 8]
call dword [edi]
pop ecx
mov eax, dword [ebx + 0x78]
mov edx, dword [ebx + 0x184]
mov edi, eax
xor eax, eax
push eax
push esi
push eax
push ebx
call dword [edx + 4]
add esp, 0x10
mov eax, dword [ebx + 0x78]
cmp eax, edi
je 0x494ceb
cmp eax, dword [ebx + 0x60]
jb 0x494c5b
mov edx, dword [ebx + 0x180]
push ebx
call dword [edx + 4]
push ebx
mov eax, dword [ebx + 0x180]
call dword [eax]
add esp, 8
mov edx, dword [ebx + 0x180]
mov dword [ebx + 0x78], 0
movzx eax, byte [edx + 8]
test eax, eax
jne 0x494c54
mov esi, dword [esp]
mov edi, dword [esp + 4]
movzx edx, byte [ebx + 0x41]
test edx, edx
je 0x494cd9
mov edx, 0xce
jmp 0x494cde
mov edx, 0xcd
mov dword [ebx + 0x14], edx
mov eax, 1
add esp, 8
pop ebx
ret
mov esi, dword [esp]
mov edi, dword [esp + 4]
xor eax, eax
add esp, 8
pop ebx
ret
Function at 0x49974c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push edi
push esi
push ebp
sub esp, 0x20
mov edi, eax
mov esi, dword [edi + 0x1a8]
mov edx, dword [edi + 0x4c]
cmp edx, 1
je 0x4998a1
mov byte [esi + 0x1c], 0
xor ebp, ebp
push dword [edi + 0x64]
mov ecx, dword [edi + 4]
lea edx, [ebp + 0x100]
push edx
push 1
push edi
call dword [ecx + 8]
add esp, 0x10
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov edx, dword [edi + 0x64]
test edx, edx
jle 0x49989a
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp], ebx
xor edx, edx
mov ebx, eax
mov dword [esp + 4], edx
jmp 0x4997b3
mov edx, dword [esp + 0xc]
mov ebx, dword [edx + 0x18]
mov edi, dword [esp + 0xc]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 8]
mov edi, dword [edi + ebp*4 + 0x20]
mov eax, ecx
cdq
idiv edi
lea ebp, [ebp + ebp]
test esi, esi
mov ecx, eax
je 0x4997e0
mov edx, dword [esp + 0xc]
add dword [ebx + ebp*2], 0xff
mov ebx, dword [edx + 0x18]
mov ebp, dword [ebx + ebp*2]
lea ebx, [edi + edi - 2]
mov dword [esp + 0x1c], ebx
lea eax, [edi + 0xfe]
cdq
idiv ebx
xor esi, esi
mov edx, eax
xor eax, eax
mov ebx, eax
mov eax, edi
mov edi, edx
cmp esi, edi
jle 0x49983c
mov dword [esp + 0x18], eax
mov edx, ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
shl edx, 9
sub edx, ebx
sub edx, ebx
lea edi, [eax + edx + 0xfe]
add edi, 0x1fe
add ebx, 1
mov eax, edi
cdq
idiv ecx
cmp esi, eax
jg 0x499820
mov ecx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x18]
mov edx, ecx
imul edx, ebx
mov byte [esi + ebp], dl
add esi, 1
cmp esi, 0xff
jle 0x499800
mov edx, dword [esp + 8]
test edx, edx
je 0x49987f
mov ebx, 1
movzx edx, byte [ebp]
mov esi, ebp
sub esi, ebx
mov byte [esi], dl
movzx edx, byte [ebp + 0xff]
mov byte [ebx + ebp + 0xff], dl
add ebx, 1
cmp ebx, 0xff
jle 0x49985c
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x10]
add edx, 1
cmp edx, dword [ebx + 0x64]
mov dword [esp + 4], edx
jl 0x4997ac
mov ebx, dword [esp]
add esp, 0x20
pop ebp
pop esi
pop edi
ret
mov byte [esi + 0x1c], 1
mov ebp, 0x1fe
jmp 0x49976c

Function at 0x4b7b33
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4b7b8c
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x4b7b8c
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x4b7b8c
xor eax, eax
inc eax
jmp 0x4b7b8e
xor eax, eax
leave
ret 0x10