joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10034a79
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100588f1
push eax
mov dword fs:[0], esp
sub esp, 0x1c
cmp byte [ebp + 0xc], 0
je 0x10034ad5
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sub eax, ecx
push eax
push ecx
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 8]
push eax
call fcn.10038b7e
mov ecx, dword [ebp + 0x18]
and dword [esp + 0x24], 0
push eax
call fcn.10038c2c
push 0
push 1
lea ecx, [esp + 8]
call fcn.1000748a
jmp 0x10034ae8
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x10034ae8
push 0xbc1
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x10036984
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, 0x10058a53
call fcn.10057898
sub esp, 0x28
push ebx
push esi
mov byte [ebp - 0x14], cl
mov eax, edx
mov dword [ebp - 0x2c], 0x15b2
cmp dword [ebp - 0x2c], 0x16e3
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], eax
jle 0x100369f8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
xor edi, edi
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov eax, ebx
cdq
idiv ecx
mov ecx, 0x1006f978
or edx, edi
mov eax, edx
cdq
push edx
push eax
call fcn.10001ca8
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, 0x70fe
jl 0x100369be
inc ebx
cmp ebx, 0x5c5b
jl 0x100369b9
inc edi
cmp edi, 0x239c
jl 0x100369b7
mov eax, dword [ebp - 0x28]
cmp byte [ebp - 0x14], 0
je 0x10036a35
mov ecx, dword [eax]
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
mov dword [ebp - 4], 2
cmp dword [ebp - 0x2c], 0x140e
jge 0x10036a24
mov edx, str.qevroknzb_fyvkmgc_rmmsscbji_dyzgwi_aod_tvl_viyspjzkx_xntloif_jbm_tbttog_rkta_gmevo
mov ecx, 0x1006f978
call fcn.1000365f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x28], 0x1477
cmp dword [ebp - 0x28], 0x1730
jle 0x10036aaf
xor edi, edi
mov dword [ebp - 0x24], edi
xor eax, eax
mov dword [ebp - 0x20], 0x4f6c
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x18]
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
and dword [ebp - 0x34], 0
mov ecx, ebx
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0x30], edi
sar edi, cl
mov eax, edi
mov ecx, 0x1006f978
and eax, ebx
cdq
push edx
push eax
call fcn.10001ca8
inc ebx
cmp ebx, 0x6d5f
jl 0x10036a6c
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
inc ebx
mov dword [ebp - 0x1c], ebx
cmp ebx, 0x7dda
jl 0x10036a5e
mov edi, dword [ebp - 0x24]
add dword [ebp - 0x18], edi
dec dword [ebp - 0x20]
jne 0x10036a56
inc edi
mov dword [ebp - 0x24], edi
cmp edi, 0x9a9
jl 0x10036a4a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x1392
jge 0x10036a05
mov edx, str.hmfnxzsk_mal_seoxgubv_ozifccyla
mov ecx, 0x1006f978
call fcn.1000365f
jmp 0x10036a05
Function at 0x403db8
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x20
xor eax, eax
mov edx, dword [eax*4 + 0x7df88c]
movsx ecx, byte [edx + 0x2a8]
test ecx, ecx
jne 0x403fba
inc eax
cmp eax, 4
jl 0x403dbd
je 0x403f8d
cmp dword [0x7dfe10], 0
jl 0x403f89
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
xor eax, eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebp
mov esi, eax
mov edi, dword [esi*4 + 0x7df88c]
cmp dword [edi + 0x2a4], 0
jne 0x403e3e
xor ebp, ebp
mov dword [edi + 0x2ac], ebp
mov dword [edi + 0x2b0], ebp
mov edx, 1
mov byte [edi + 0x2b4], dl
mov byte [edi + 0x2b5], dl
jmp 0x403f70
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
lea ebx, [esp + 0x10]
push ebx
push dword [edi + 0x2a4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ebx, dword [esi*4 + 0x7df88c]
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x2ac], ecx
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x2b0], edx
test esi, esi
jne 0x403ed2
mov edx, dword [0x7df434]
sub ecx, edx
mov dword [ebx + 0x2ac], ecx
mov ecx, dword [0x7df438]
sub dword [ebx + 0x2b0], ecx
mov ecx, dword [0x7df5f4]
test ecx, ecx
je 0x403eb5
mov eax, dword [ebx + 0x2ac]
imul eax, dword [ebx + 0xc]
cdq
idiv ecx
mov dword [ebx + 0x2ac], eax
mov ecx, dword [0x7df5f8]
test ecx, ecx
je 0x403ed2
mov eax, dword [ebx + 0x2b0]
imul eax, dword [ebx + 0x10]
cdq
idiv ecx
mov dword [ebx + 0x2b0], eax
xor edx, edx
mov byte [ebx + 0x2b4], dl
mov byte [ebx + 0x2b5], dl
mov edx, dword [ebx + 0x2ac]
test edx, edx
jl 0x403efe
mov ecx, dword [ebx + 0x2b0]
test ecx, ecx
jl 0x403efe
cmp edx, dword [ebx + 0xc]
jge 0x403efe
cmp ecx, dword [ebx + 0x10]
jl 0x403f70
mov byte [ebx + 0x2b4], 1
mov ecx, dword [0x7df434]
mov ebp, dword [0x7df438]
mov edi, dword [0x7df5f4]
test edi, edi
je 0x403f28
mov edx, dword [ebx + 0xc]
imul ecx, edx
mov eax, ecx
cdq
idiv edi
mov ecx, eax
mov edi, dword [0x7df5f8]
test edi, edi
je 0x403f3f
mov edx, dword [ebx + 0x10]
imul ebp, edx
mov eax, ebp
cdq
idiv edi
mov ebp, eax
mov edx, dword [ebx + 0x2ac]
mov edi, ecx
neg edi
cmp edx, edi
jl 0x403f69
mov eax, dword [ebx + 0x2b0]
mov edi, ebp
neg edi
cmp eax, edi
jl 0x403f69
add ecx, dword [ebx + 0xc]
cmp edx, ecx
jge 0x403f69
add ebp, dword [ebx + 0x10]
cmp eax, ebp
jl 0x403f70
mov byte [ebx + 0x2b5], 1
inc esi
cmp esi, 4
jl 0x403e0a
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov edi, dword [esp + 4]
mov ebp, dword [esp]
add esp, 0x20
ret
mov dword [0x7dfe10], 0xffffffff
push 0x400
push 0x6600e0
call dword [0x5b2480]
add esp, 8
push 0x65ffe0
call dword [sym.imp.USER32.dll_SetKeyboardState]
jmp 0x403ddf
mov dword [0x7dfe10], eax
push 0x6600e0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x403ddf
Function at 0x412c18
Capabilities:
Get common file path

Disassembly:
push edi
push esi
push ebx
sub esp, 0x108
push 0x105
push 0x65e540
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, 0x65e540
call fcn.0045699c
mov esi, 0x65e660
mov edi, 0x65e540
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x412c47
mov edx, 0x65e660
movsx eax, byte [edx]
test eax, eax
je 0x412c84
movzx esi, al
movzx ecx, byte [esi + 0x5950a0]
inc ecx
movsx edi, cl
cmp edi, 2
je 0x412d9f
cmp eax, 0x5c
jne 0x412c7c
mov byte [edx], 0x3a
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x412c5d
lea edx, [esp + 4]
xor eax, eax
push eax
push eax
push edx
push 0x65e780
push 0x65e540
call fcn.0045ffaa
add esp, 0x14
mov edi, 0x65e780
lea edx, [esp + 4]
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x412cb2
mov eax, 0x65e780
call fcn.0045699c
mov edx, 0x65e780
movsx eax, byte [edx]
test eax, eax
je 0x412cf9
movzx esi, al
movzx ecx, byte [esi + 0x5950a0]
inc ecx
movsx edi, cl
cmp edi, 2
je 0x412d97
cmp eax, 0x2f
jne 0x412cf1
mov byte [edx], 0x5c
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x412cd2
mov edi, 0x65e780
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x412d10
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x412d08
mov ecx, eax
test ecx, ecx
jle 0x412d40
xor edx, edx
lea eax, [ecx - 1]
movzx esi, byte [edx + 0x65e780]
movzx ebx, byte [esi + 0x5950a0]
inc ebx
movsx edi, bl
add edx, edi
cmp edx, eax
jne 0x412d3c
cmp byte [edx + 0x65e780], 0x5c
je 0x412d90
cmp edx, ecx
jl 0x412d1b
xor eax, eax
test eax, eax
jne 0x412d64
mov edi, 0x65e780
mov edx, 0x7e52bc
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x412d5a
xor eax, eax
push eax
push 0x1a
push 0x65e9c0
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
xor eax, eax
push eax
push 5
push 0x65eae0
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
add esp, 0x108
pop ebx
pop esi
pop edi
ret
mov eax, 1
jmp 0x412d42
add edx, 2
jmp 0x412cf2
add edx, 2
jmp 0x412c7d
Function at 0x41310c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
sub esp, 0x38
mov dword [esp], 0x3003
mov dword [esp + 4], 0x419cac
mov ecx, dword [0x7df4c8]
mov dword [esp + 0x10], ecx
xor edx, edx
mov dword [esp + 0x20], edx
mov eax, dword [0x595784]
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 0x41317f
mov eax, 1
add esp, 0x38
pop ebp
ret
lea eax, [esp + 0x28]
push eax
push dword [0x7dfa70]
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 [0x595784]
xor ecx, ecx
push ecx
push dword [0x7df4c8]
push ecx
push dword [0x7dfa70]
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 [0x7dfa6c], eax
test eax, eax
je 0x413175
xor eax, eax
add esp, 0x38
pop ebp
ret

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

Disassembly:
mov eax, dword [0x5956d8]
cmp eax, 0x270
jl 0x418e26
xor edx, edx
mov eax, dword [edx*4 + 0x5c4040]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5c4044]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5c4674]
xor ecx, dword [eax*4 + 0x56e5e0]
mov dword [edx*4 + 0x5c4040], ecx
inc edx
cmp edx, 0xe3
jl 0x418d6a
cmp edx, 0x26f
jge 0x418df2
mov eax, dword [edx*4 + 0x5c4040]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5c4044]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5c3cb4]
xor ecx, dword [eax*4 + 0x56e5e0]
mov dword [edx*4 + 0x5c4040], ecx
inc edx
cmp edx, 0x26f
jl 0x418db2
mov edx, dword [0x5c49fc]
and edx, 0x80000000
mov eax, dword [0x5c4040]
and eax, 0x7fffffff
or edx, eax
mov ecx, edx
shr ecx, 1
xor ecx, dword [0x5c4670]
and edx, 1
xor ecx, dword [edx*4 + 0x56e5e0]
mov dword [0x5c49fc], ecx
xor eax, eax
lea edx, [eax + 1]
mov dword [0x5956d8], edx
mov eax, dword [eax*4 + 0x5c4040]
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 0x419b2c
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 0x419bcd
test edi, edi
je 0x419bcd
lea ecx, [esp + 8]
push ecx
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
jbe 0x419bc1
mov dword [esp + 4], eax
push eax
call fcn.00460900
pop ecx
mov ebx, eax
test ebx, ebx
je 0x419bd9
push ebx
push dword [esp + 8]
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x419bba
mov dword [esp], 0
lea ebp, [esp]
lea ecx, [esp + 4]
push ecx
push ebp
push 0x7e52bc
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x419bba
mov ecx, dword [esp]
test ecx, ecx
je 0x419bba
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.0046090e
xor eax, eax
add esp, 0x10
pop ebx
pop ebp
pop edi
ret
push ebx
call fcn.0046090e
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 0x43ae24
Capabilities:
Create directory

Disassembly:
sub esp, 0x110
mov edx, eax
movsx ecx, byte [edx]
test ecx, ecx
je 0x43ae6a
xor ecx, ecx
movsx eax, byte [edx]
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x108], esi
mov esi, edx
mov ebx, ecx
cmp eax, 0x5c
je 0x43ae73
mov byte [esp + ebx], al
movsx eax, byte [ebx + esi + 1]
inc ebx
test eax, eax
jne 0x43ae4a
mov ebx, dword [esp + 0x10c]
mov esi, dword [esp + 0x108]
xor eax, eax
add esp, 0x110
ret
push ebx
push esi
call fcn.00461607
add esp, 8
test eax, eax
je 0x43ae87
movsx eax, byte [ebx + esi]
jmp 0x43ae4f
xor eax, eax
mov byte [esp + ebx], al
lea edx, [esp]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
movsx eax, byte [ebx + esi]
jmp 0x43ae4f

Function at 0x43bed4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
push ebx
sub esp, 8
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
xor edx, edx
mov dword [esp], edx
mov dword [esp + 4], 1
mov byte [ebx], dl
lea eax, [esp]
push eax
push 0xf003f
push edx
push dword [esp + 0x24]
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x43bf17
mov eax, 0xffffffff
add esp, 8
pop ebx
pop ebp
ret
lea edx, [esp + 4]
lea eax, [esp + 0x24]
push eax
push ebx
push edx
push 0
push ebp
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x43bf3e
mov eax, 0xffffffff
add esp, 8
pop ebx
pop ebp
ret
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 8
pop ebx
pop ebp
ret
Function at 0x4468ec
Capabilities:
Create directory

Disassembly:
push edi
push esi
sub esp, 0x108
mov ecx, eax
lea esi, [esp]
mov edi, 0x65e8a0
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x4468fe
lea edi, [esp]
mov edx, ecx
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x446917
lea eax, [esp]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0x108
pop esi
pop edi
ret
Function at 0x451044
Capabilities:
Encode data using xor

Disassembly:
push ebp
sub esp, 0x3c
mov ebp, eax
call fcn.00451190
mov byte [esp + 0xc], 1
lea eax, [esp + 0x10]
mov edx, ebp
mov ecx, 1
call fcn.00458205
test eax, eax
jne 0x451177
mov edx, dword [esp + 0x14]
mov dword [0x7dfc74], edx
mov eax, dword [edx + 8]
mov dword [0x7dfc60], eax
mov ebp, dword [edx + 0xc]
mov dword [0x7dfc64], ebp
mov ecx, dword [edx + 0x10]
mov dword [0x7dfc68], ecx
mov ecx, dword [edx + 0x14]
mov dword [0x7dfc6c], ecx
mov ecx, dword [edx + 0x18]
mov dword [0x7dfc70], ecx
lea ecx, [edx + 0x20]
mov dword [0x7dfc78], ecx
lea ecx, [eax + eax]
add ecx, ecx
lea ebp, [edx + ecx + 0x20]
mov dword [0x7dfc7c], ebp
lea ecx, [eax + eax]
add ecx, ecx
add ecx, ecx
lea edx, [edx + ecx + 0x20]
mov dword [0x7dfc80], edx
test eax, eax
jle 0x451170
xor eax, eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
jmp 0x4510e5
mov ebp, dword [0x7dfc7c]
lea ecx, [eax + eax]
mov edi, dword [ebp + eax*4]
test edi, edi
jle 0x451120
xor ebp, ebp
mov esi, dword [0x7dfc74]
mov edi, dword [0x7dfc78]
add esi, dword [edi + ecx*2]
mov edx, ebp
and edx, 0xf
add edx, 0x10
xor byte [esi + ebp], dl
mov edx, dword [0x7dfc7c]
mov edi, dword [edx + ecx*2]
inc ebp
cmp ebp, edi
jl 0x4510f2
mov edx, dword [0x7dfc80]
cmp dword [edx + ecx*2], 0
jle 0x45115b
xor ebp, ebp
jmp 0x451133
mov edx, dword [0x7dfc7c]
mov edi, dword [edx + ecx*2]
mov esi, dword [0x7dfc74]
mov edx, dword [0x7dfc78]
add esi, dword [edx + ecx*2]
add esi, edi
mov edx, ebp
and edx, 0xf
add edx, 0x10
xor byte [esi + ebp], dl
mov edx, dword [0x7dfc80]
inc ebp
cmp ebp, dword [edx + ecx*2]
jl 0x45112a
inc eax
cmp eax, dword [0x7dfc60]
jl 0x4510df
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
xor eax, eax
add esp, 0x3c
pop ebp
ret
push ebp
push 1
push 0x1964a
call fcn.0045d048
mov eax, 0xffffffff
add esp, 0x48
pop ebp
ret
Function at 0x4551b4
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 0x45523b
je 0x45526a
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 + 0x5951a0]
movzx edi, byte [edx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5951a0]
movzx edi, byte [edx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5951a0]
movzx edi, byte [edx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5951a0]
add edx, 4
inc ebx
cmp ebx, esi
jb 0x4551d7
mov edi, dword [esp]
jmp 0x455240
mov eax, 0xffffffff
test ecx, ecx
je 0x455264
je 0x455264
xor ebx, ebx
inc edx
movzx esi, byte [edx - 1]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x5951a0]
inc ebx
cmp ebx, ecx
jb 0x455248
not eax
pop ecx
pop ebx
pop esi
ret
mov eax, 0xffffffff
jmp 0x455240
Function at 0x4569d8
Capabilities:
Delete file

Disassembly:
push 0x7e5af8
push 0x7e5aec
call fcn.00460122
add esp, 8
test eax, eax
je 0x456a03
push eax
call fcn.00460488
pop ecx
push 0x7e5aec
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
ret
mov byte [0x7df4f0], 1
xor eax, eax
ret

Function at 0x456a10
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push 0x419ed4
call fcn.004609c8
add esp, 0xc
movsx edx, byte [0x5956f8]
dec edx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadIdealProcessor]
ret
Function at 0x459d9c
Capabilities:
Get system information on windows

Disassembly:
push edi
sub esp, 0x24
call fcn.0045479c
mov byte [0x7df52c], al
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movsx eax, byte [esp + 0x14]
mov byte [0x5956f8], al
movsx edi, byte [0x5956f0]
cmp edi, eax
jg 0x459dcb
mov edi, eax
movsx edx, byte [0x5956ec]
cmp edx, edi
jl 0x459dd8
mov edx, edi
mov byte [0x5956f4], dl
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 8
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x7df5cc], eax
push 0xa
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x7df5d0], eax
push 0xc
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x7df5d4], eax
push 0x74
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x7df5d8], eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x7df5d8]
cmp eax, 0x3c
jae 0x459e3d
mov dword [0x7df5d8], 0xffffffff
call fcn.00413f0c
xor eax, eax
add esp, 0x24
pop edi
ret

Function at 0x45b62c
Capabilities:
Create thread

Disassembly:
push ebx
sub esp, 8
movsx edx, byte [0x5956f4]
test edx, edx
jle 0x45b685
xor eax, eax
mov ebx, eax
xor edx, edx
push edx
push edx
push edx
push edx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebx*4 + 0x792000], eax
xor edx, edx
push edx
push edx
push edx
push edx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebx*4 + 0x792100], eax
xor edx, edx
push edx
push 1
push edx
push edx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebx*4 + 0x792200], eax
inc ebx
movsx edx, byte [0x5956f4]
cmp ebx, edx
jl 0x45b63f
test edx, edx
jle 0x45b6d9
xor edx, edx
xor eax, eax
mov dword [esp], esi
mov ebx, eax
mov esi, edx
mov dword [ebx + 0x790600], esi
xor edx, edx
lea eax, [ebx + 0x790600]
lea ecx, [esp + 4]
push ecx
push edx
push eax
push 0x41cdfc
push edx
push edx
call fcn.00462111
add esp, 0x18
mov dword [esi*4 + 0x790500], eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadIdealProcessor]
add ebx, 0x68
inc esi
movsx ecx, byte [0x5956f4]
cmp esi, ecx
jl 0x45b694
mov esi, dword [esp]
add esp, 8
pop ebx
ret

Function at 0x45b6e0
Capabilities:
Create thread

Disassembly:
movsx eax, byte [0x7df514]
test eax, eax
je 0x45b6fc
xor eax, eax
push eax
push eax
push 0x41cda0
call fcn.004609c8
add esp, 0xc
ret
Function at 0x45ce14
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
call dword [sym.imp.WINMM.dll_joyGetNumDevs]
test eax, eax
jg 0x45ce28
mov dword [0x7df340], eax
xor eax, eax
pop ecx
ret
mov edx, 0x10
cmp eax, 0x10
jl 0x45ce34
mov eax, edx
mov dword [0x7df340], eax
xor eax, eax
mov dword [esp], ebx
mov ebx, eax
lea edx, [ebx + 0x787980]
push 0x34
push edx
call dword [0x5b2480]
add esp, 8
mov dword [ebx + 0x787980], 0x34
mov dword [ebx + 0x787984], 0x83
add ebx, 0x34
cmp ebx, 0x340
jl 0x45ce40
mov ebx, dword [esp]
mov dword [0x787cc0], 1
mov dword [0x787cc4], 2
mov dword [0x787cc8], 4
mov dword [0x787ccc], 8
mov dword [0x787cd0], 0x10
mov dword [0x787cd4], 0x20
mov dword [0x787cd8], 0x40
mov dword [0x787cdc], 0x80
mov dword [0x787ce0], 0x100
mov dword [0x787ce4], 0x200
mov dword [0x787ce8], 0x400
mov dword [0x787cec], 0x800
mov dword [0x787cf0], 0x1000
mov dword [0x787cf4], 0x2000
mov dword [0x787cf8], 0x4000
mov dword [0x787cfc], 0x8000
mov dword [0x787d00], 0x10000
mov dword [0x787d04], 0x20000
mov dword [0x787d08], 0x40000
mov dword [0x787d0c], 0x80000
mov dword [0x787d10], 0x100000
mov dword [0x787d14], 0x200000
mov dword [0x787d18], 0x400000
mov dword [0x787d1c], 0x800000
mov dword [0x787d20], 0x1000000
mov dword [0x787d24], 0x2000000
mov dword [0x787d28], 0x4000000
mov dword [0x787d2c], 0x8000000
mov dword [0x787d30], 0x10000000
mov dword [0x787d34], 0x20000000
mov dword [0x787d38], 0x40000000
mov dword [0x787d3c], 0x80000000
mov eax, 1
pop ecx
ret

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

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x5c4040], eax
mov eax, 1
mov ecx, dword [eax*4 + 0x5c403c]
mov edx, ecx
shr edx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x5c4040], edx
inc eax
cmp eax, 0x270
jl 0x45d342
mov dword [0x5956d8], eax
ret
Function at 0x468202
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x598d40
cmp edx, dword [eax]
je 0x468224
add eax, 8
inc ecx
cmp eax, 0x598dd0
jl 0x468215
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x598d40]
jne 0x468352
mov eax, dword [0x7dfe98]
cmp eax, 1
je 0x46832c
test eax, eax
jne 0x468255
cmp dword [0x596314], 1
je 0x46832c
cmp edx, 0xfc
je 0x468352
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x46828c
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00469820
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00465670
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4682cf
lea eax, [ebp - 0x1a4]
push eax
call fcn.00465670
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x570c48
push edi
call fcn.004696a0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00469820
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00469830
lea eax, [ebp - 0xa0]
push 0x570c28
push eax
call fcn.00469830
push dword [esi + 0x598d44]
lea eax, [ebp - 0xa0]
push eax
call fcn.00469830
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0046ca7b
add esp, 0x2c
pop edi
jmp 0x468352
lea eax, [ebp + 8]
lea esi, [esi + 0x598d44]
push 0
push eax
push dword [esi]
call fcn.00465670
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret