joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484bc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x484c26
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x484c26
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x484c07
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x489b50
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
jne 0x489b60
mov esi, 1
push esi
call fcn.0049ab17
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x489bb2
call fcn.0049b61d
mov edi, eax
call fcn.0048c6a0
mov ecx, dword [edi]
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
mov edi, eax
and edi, 8
je 0x489b96
mov edx, dword [0x5debb8]
mov dword [0x5debb4], edx
test al, 0x18
je 0x489ba7
push esi
push 0x24
push 5
call fcn.0048cef0
add esp, 0xc
test edi, edi
je 0x489bcd
push 1
call fcn.0049c5ab
test byte [esp + 0x14], 0x20
je 0x489bcd
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
pop edi
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x48acd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov edx, dword [ebp + 0x10]
test edx, edx
push ebx
push esi
push edi
je 0x48adc4
cmp byte [edx], 0
je 0x48adb7
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
add eax, 8
or ecx, 0xffffffff
mov dword [esp + 0xc], eax
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x20]
push ecx
mov esi, ebx
call fcn.0048ac50
mov edi, dword [ebp + 0xc]
push 8
lea edx, [esp + 0x20]
push edi
push edx
call fcn.0048ac50
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
xor eax, edx
push eax
xor ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.0048abc0
mov eax, dword [esp + 0x30]
add esp, 0x24
cmp edi, eax
jae 0x48ad81
sub eax, edi
mov edi, eax
lea eax, [esp + 0x20]
push eax
call fcn.0048ac00
fmul qword [0x5be9a0]
push ecx
fstp qword [esp]
call fcn.00499468
fadd qword [0x5be998]
add esp, 8
call fcn.00499538
mov byte [ebx], al
inc ebx
dec edi
jne 0x48ad54
lea ecx, [esp + 0x20]
push ecx
call fcn.0048ac00
fmul qword [0x5be9a0]
push ecx
fstp qword [esp]
call fcn.00499468
add esp, 8
call fcn.00499538
cmp esi, ebx
je 0x48adad
xor byte [esi], al
inc esi
cmp esi, ebx
jne 0x48ada6
mov byte [ebx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov byte [edx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
mov byte [eax], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48b190
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
lea eax, [ebx + 0x134]
push edi
lea esi, [ebx + 0x34]
mov dword [esp + 0x14], eax
xor edi, edi
mov ecx, dword [ebx + 0x1c]
mov ebp, edi
and ebp, 0xff
mov al, byte [ecx + ebp + 1]
test al, 3
je 0x48b1c0
mov byte [edi + esi], 2
jmp 0x48b1f7
test al, 4
je 0x48b1ca
mov byte [edi + esi], 0xd
jmp 0x48b1f7
mov edx, dword [ebx + 0x240]
push edi
push ebx
call dword [edx + 4]
add esp, 8
cmp eax, 1
jle 0x48b1e3
mov byte [edi + esi], 2
jmp 0x48b1f7
mov eax, dword [ebx + 0x1c]
test byte [eax + ebp + 1], 0x17
jne 0x48b1f3
mov byte [edi + esi], 0x19
jmp 0x48b1f7
mov byte [edi + esi], 1
inc edi
cmp edi, 0x100
jb 0x48b1a7
mov ecx, dword [esp + 0x14]
mov al, 7
mov byte [esi + 0x21], al
mov byte [esi + 0x3d], al
mov byte [esi + 0x3e], al
mov al, 0x10
mov byte [esi + 0x7c], al
mov byte [esi + 0x26], al
mov byte [esi + 0x24], 2
mov byte [esi + 0x5f], 2
mov byte [esi + 0x27], 9
mov byte [esi + 0x2e], 0xf
mov byte [esi + 0x3c], 8
mov byte [esi + 0x23], 0xa
mov byte [esi + 0x3b], 0x15
mov byte [esi + 0x3a], 0x16
mov byte [esi], 0x11
mov byte [esi + 0x5c], 0x12
mov byte [esi + 0x2f], 0x13
mov byte [esi + 0x2a], 0x14
mov byte [esi + 0x40], 0x17
mov byte [esi + 0x60], 0x1a
mov byte [esi + 0x22], 0x20
mov eax, esi
sub ecx, esi
mov edi, 0x100
mov dl, byte [eax]
cmp dl, 2
je 0x48b26b
cmp dl, 0xd
je 0x48b26b
xor edx, edx
jmp 0x48b270
mov edx, 1
mov byte [ecx + eax], dl
inc eax
dec edi
jne 0x48b25b
mov al, 0x1d
mov byte [esi + 0x58], al
mov byte [esi + 0x78], al
mov al, 0x1f
pop edi
mov byte [esi + 0x62], 0x1e
mov byte [esi + 0x4e], al
mov byte [esi + 0x6e], al
pop esi
pop ebp
pop ebx
ret

Function at 0x48b290
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push ebx
push 0x4000
call fcn.00489b50
mov esi, eax
add esp, 8
test esi, esi
jne 0x48b2b1
pop edi
pop esi
xor al, al
pop ebx
ret
mov eax, dword [esp + 0x10]
push ebx
push 0
push eax
call fcn.0048c8e0
mov edi, eax
add esp, 0xc
test edi, edi
jge 0x48b2d6
push esi
call fcn.00489be0
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
ret
push ebp
push 0x4000
push esi
push edi
call fcn.004a5f0c
push ebx
push edi
mov ebp, eax
call fcn.0048c950
push 0x48b310
push ebp
push esi
call fcn.0048dc80
push esi
call fcn.00489be0
add esp, 0x24
pop ebp
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x48c610
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
push 0x6cc460
xor bl, bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x6cc384]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x48c68b
push 0x4c
push 1
call fcn.0049ba45
mov esi, eax
add esp, 8
test esi, esi
jne 0x48c653
push 0x6cc460
mov bl, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret
mov ecx, dword [0x6cc384]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x6c1704]
inc eax
lea edx, [esi + 0xc]
mov dword [0x6c1704], eax
push edx
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 4]
push 0
push eax
call fcn.00490180
add esp, 8
mov byte [esi + 0x3c], 1
push 0x6cc460
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret

Function at 0x48cb10
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x1c], edi
call fcn.0049b61d
mov ebx, dword [esp + 0x14]
mov dword [eax], 0
mov eax, dword [esp + 0x18]
push edi
push eax
push ebx
call fcn.004a5f0c
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x48cc0a
call fcn.0049b61d
cmp dword [eax], 0
je 0x48cb57
call fcn.0049b61d
mov ebp, dword [eax]
jmp 0x48cb5a
or ebp, 0xffffffff
call fcn.0048c6a0
test esi, esi
mov dword [eax], ebp
jne 0x48cb6f
call fcn.0049b61d
cmp dword [eax], 4
je 0x48cbbf
mov eax, dword [esp + 0x20]
test al, 0x1a
je 0x48cba2
cmp esi, 0xffffffff
je 0x48cbe4
test al, 6
je 0x48cba2
call fcn.0048c6a0
mov ecx, dword [eax]
push ecx
push ebx
call fcn.004901b0
add esp, 4
push eax
push 0x24
push 9
call fcn.0048cef0
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp esi, 0xffffffff
je 0x48cc02
test al, 6
je 0x48cbb0
test ah, 2
je 0x48cc02
test esi, esi
jbe 0x48cc0e
test ah, 2
je 0x48cc0e
add dword [esp + 0x18], esi
sub edi, esi
call fcn.0049b61d
mov edx, dword [esp + 0x18]
push edi
push edx
push ebx
mov dword [eax], 0
call fcn.004a5f0c
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x48cc0a
jmp 0x48cb44
call fcn.0048c6a0
mov eax, dword [eax]
push eax
push ebx
call fcn.004901b0
add esp, 4
push eax
push 0x24
push 2
call fcn.0048cef0
add esp, 0x10
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [esp + 0x20]
test al, 6
je 0x48cc1b
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
test ah, 2
je 0x48cc24
mov esi, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

Function at 0x49d9f4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x49da14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0049b5aa
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x49da37
test byte [esp + 8], 2
je 0x49da37
call fcn.0049b61d
mov dword [eax], 0xd
call fcn.0049b626
mov dword [eax], 5
jmp 0x49da10
xor eax, eax
ret
Function at 0x4b0492
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4b04ca
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004ae546
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004ae51e
jmp 0x4b04d6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4b1b84
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4b1bc6
call fcn.004b7718
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4b1bc6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b1bbd
xor eax, eax
jmp 0x4b1bce
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b1bd4
pop edi
pop esi
pop ebx
ret 4

Function at 0x4b7c48
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4b7c76
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b7c94
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b7bae
jmp 0x4b7c94
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b7c94
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b7bae
test edi, edi
mov eax, edi
jne 0x4b7c7e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x40288e
pop dword [ebp - 8]
mov eax, 0x3effff62
add eax, 0xc140292c
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xed578234
add dword [ebp - 0x18], 0x60fac317
mov dword [ebp - 0x14], 0xbcad6194
add dword [ebp - 0x14], 0x7585eab1
mov dword [ebp - 0x10], 0xe1fe6196
add dword [ebp - 0x10], 0x6a4de298
mov dword [ebp - 0xc], 0x4b35b2
add dword [ebp - 0xc], 0xffb4ca4e
lea eax, [ebp - 0x18]
push eax
mov eax, 0x4bd0daa1
sub eax, 0x4b905a15
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xc9ab0133
add dword [ebp - 0x18], 0xaac76823
mov dword [ebp - 0x14], 0x157d44dc
add dword [ebp - 0x14], 0x2bef1c99
mov dword [ebp - 0x10], 0x3b600a16
add dword [ebp - 0x10], 0x280f6256
mov dword [ebp - 0xc], 0x308eed0b
add dword [ebp - 0xc], 0xcf7112f5
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x66023f24
add eax, 0x9a3e41b0
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3df56
push 0
call eax
mov ecx, 0x80665d66
sub ecx, 0x8065f7f3
mov edi, eax
mov esi, 0xc5f32abf
sub esi, 0xc5b21abf
add esi, dword [ebp - 8]
mov ebx, 0xdc7f4da7
add ebx, 0x4e3e86c
mov dword [ebp - 4], 0x2a851459
mov edx, dword [esi]
xor edx, ebx
sub dword [ebp - 4], edx
mov dword [edi], edx
add edi, 0x3380d234
add edi, 0xcc7f2dd0
add esi, 0xea4c0e91
sub esi, 0xea4c0e8d
loop 0x4029b0
add eax, 0xbd2c2917
add eax, 0x42d55f88
mov ebx, eax
add eax, 0xb6743ef9
add eax, 0x498bc10c
mov ecx, 0xcf2251ad
sub ecx, 0xcee251ad
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x100ae13
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push 0x1001920
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100ae6b
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x100195c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100ae5e
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x100ae6d
xor eax, eax
pop esi
leave
ret 4

Function at 0x40a390
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x409015
lea edi, [esi - 0x8015]
push edi
jmp 0x40a3aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40a3b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40a3a0
mov eax, 1
add ebx, ebx
jne 0x40a3c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40a3b8
jne 0x40a3d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a3b8
xor ecx, ecx
sub eax, 3
jb 0x40a3e8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40a45a
mov ebp, eax
add ebx, ebx
jne 0x40a3f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40a400
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40a424
inc ecx
add ebx, ebx
jne 0x40a410
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40a405
jne 0x40a421
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a405
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40a444
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40a435
jmp 0x40a3a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40a444
add edi, ecx
jmp 0x40a3a6
pop esi
mov edi, esi
mov ecx, 0xf0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40a462
cmp byte [edi], 0
jne 0x40a462
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40a467
lea edi, [esi + 0x8000]
mov eax, dword [edi]
or eax, eax
je 0x40a4d6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa0ac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa14c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40a494
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa150]
or eax, eax
je 0x40a4d0
mov dword [ebx], eax
add ebx, 4
jmp 0x40a4b1
call dword [esi + 0xa160]
mov ebp, dword [esi + 0xa154]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40a50a
sub esp, 0xffffff80
jmp 0x4021d1
Function at 0x40ad34
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a9080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004080ea
mov dword [ebp - 0x14], eax
cmp dword [0x2d05b34], esi
jne 0x40ae27
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40adb4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40af07
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40af07
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40af07
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x2d05b34], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x2d05b38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x2d05b3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x2d05b44], eax
test eax, eax
je 0x40ae24
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x2d05b40], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40ae4c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40ae3f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40ae61
push 4
pop eax
jmp 0x40af09
cmp dword [ebp - 0x14], esi
je 0x40ae61
push dword [0x2d05b34]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40ae46
mov eax, dword [0x2d05b40]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40aebf
cmp dword [0x2d05b44], edi
je 0x40aebf
push eax
call ebx
push dword [0x2d05b44]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40aebf
test eax, eax
je 0x40aebf
call ecx
test eax, eax
je 0x40aeb4
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40aeb4
test byte [ebp - 8], 1
jne 0x40aebf
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40aeef
mov eax, dword [0x2d05b38]
cmp eax, edi
je 0x40aeec
push eax
call ebx
test eax, eax
je 0x40aeec
call eax
mov esi, eax
test esi, esi
je 0x40aeec
mov eax, dword [0x2d05b3c]
cmp eax, edi
je 0x40aeec
push eax
call ebx
test eax, eax
je 0x40aeec
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x2d05b34]
call ebx
test eax, eax
je 0x40af07
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40af09
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040400e
mov esp, ebp
pop ebp
ret
Function at 0x402d00
Capabilities:
Check mutex on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
mov dword [0x41a424], esi
call dword [sym.imp.ole32.dll_CoInitialize]
mov edi, dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push str.Gaming_device
call edi
movq xmm0, qword [str.Goper]
mov eax, dword [0x416094]
movq qword [0x41a468], xmm0
movups xmm0, xmmword [0x416074]
push 0x41a468
mov dword [0x41a470], eax
movups xmmword [0x41a472], xmm0
push 1
movq xmm0, qword [0x416084]
push 0
movq qword [0x41a482], xmm0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x402d8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x402ecc
movups xmm0, xmmword [0x416074]
mov eax, dword [0x416094]
movq xmm1, qword [str.Goper]
mov dword [0x41a870], eax
movups xmmword [0x41a872], xmm0
mov dword [0x41a670], eax
movq xmm0, qword [0x416084]
movq qword [0x41a882], xmm0
movups xmm0, xmmword [0x41605c]
push str.4695579F_999A_41d4_9FAF_EFFCE93EBE19
movq qword [0x41a868], xmm1
movups xmmword [0x41a672], xmm0
movq xmm0, qword [0x41606c]
movq qword [0x41a668], xmm1
movq qword [0x41a682], xmm0
call edi
mov ecx, esi
mov dword [0x41aa6c], eax
call fcn.00402ee0
push 0
push esi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x41a868
push 0x41a668
push 0
mov dword [0x41aa68], esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x402ecc
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push 0
push eax
call esi
test eax, eax
je 0x402eb1
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
nop dword [eax]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x402ea0
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x402e80
pop ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040438d
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0040438d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x417240
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb000]
push edi
or ebp, 0xffffffff
jmp 0x417262
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x417269
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417258
mov eax, 1
add ebx, ebx
jne 0x41727b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x417270
jne 0x41728c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417270
xor ecx, ecx
sub eax, 3
jb 0x4172a0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x417312
mov ebp, eax
add ebx, ebx
jne 0x4172ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4172b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4172dc
inc ecx
add ebx, ebx
jne 0x4172c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4172bd
jne 0x4172d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4172bd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4172fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4172ed
jmp 0x41725e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4172fc
add edi, ecx
jmp 0x41725e
pop esi
mov edi, esi
mov ecx, 0x223
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41731a
cmp byte [edi], 7
jne 0x41731a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41731f
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x41738e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x17000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41734c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1702c]
or eax, eax
je 0x417388
mov dword [ebx], eax
add ebx, 4
jmp 0x417369
call dword [esi + 0x17030]
popal
jmp 0x40948b