joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c840
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
pop ebp
ret

Function at 0x43cb10
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4e5814]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push esi
push edi
push 0x40
push 0x36
push eax
mov dword [ebp - 0x48], ebx
call fcn.0046c6a0
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x43cb67
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x43cb64
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x43cb50
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.0043ca20
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.0043c740
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.0046c6a0
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x43cba8
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x43cba8
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x43cb94
lea esi, [ebx + 0x6c]
push esi
call fcn.0043ca20
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0043c740
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.004621c0
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046addd
mov esp, ebp
pop ebp
ret
Function at 0x43ef50
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
pop ebp
ret

Function at 0x43f240
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4e5814]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push esi
push edi
push 0x40
push 0x36
push eax
mov dword [ebp - 0x48], ebx
call fcn.0046c6a0
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x43f297
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x43f294
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x43f280
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.0043f0d0
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.0043ee50
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.0046c6a0
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x43f2d8
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x43f2d8
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x43f2c4
lea esi, [ebx + 0x60]
push esi
call fcn.0043f0d0
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0043ee50
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.004621c0
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046addd
mov esp, ebp
pop ebp
ret
Function at 0x44ff30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1bc
mov eax, dword [0x4e5814]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4e6910], 0
push edi
mov edi, dword [ebp + 8]
je 0x450106
cmp dword [0x4e690c], 0
push esi
jne 0x450026
cmp word [0x4e68fc], 0
jne 0x44ffc6
mov eax, dword [0x4ea4b0]
xorps xmm0, xmm0
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x1bc]
push eax
mov dword [ebp - 0x1bc], 3
mov dword [ebp - 0x1b8], 0x44fc90
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b0], 0
movups xmmword [ebp - 0x1a8], xmm0
mov dword [ebp - 0x198], str.SizeTipClass
call dword [sym.imp.USER32.dll_RegisterClassA]
mov word [0x4e68fc], ax
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0x18
call esi
push 0x17
mov dword [0x4e6904], eax
call esi
push 0x154
mov dword [0x4e6908], eax
lea eax, [ebp - 0x188]
push 0
push eax
call fcn.0046c6a0
add esp, 0xc
mov dword [ebp - 0x18c], 0x158
lea eax, [ebp - 0x18c]
push 0
push eax
push 0x158
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [0x4e6900], eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x24]
push dword [ebp + 0xc]
push str._dx_d
push eax
call fcn.004089b0
mov eax, dword [0x4e690c]
add esp, 0x10
test eax, eax
jne 0x4500fa
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea ecx, [ebp - 0x24]
mov esi, eax
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x450060
lea eax, [ebp - 0x194]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea eax, [ebp - 0x34]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x34]
mov esi, 0x10
mov eax, dword [ebp - 0x190]
cmp edx, esi
mov ecx, dword [ebp - 0x30]
push 0
push dword [0x4ea4b0]
cmovl edx, esi
sub ecx, eax
push 0
push 0
push eax
push dword [ebp - 0x194]
cmp ecx, esi
lea eax, [ebp - 0x24]
cmovl ecx, esi
push ecx
push edx
push 0x80000000
push eax
movzx eax, word [0x4e68fc]
push eax
push 0x88
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 4
push eax
mov dword [0x4e690c], eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046addd
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0046addd
mov esp, ebp
pop ebp
ret

Function at 0x4557d0
Capabilities:
Hide graphical window

Disassembly:
push esi
push 0
push 0x4554a0
push 0
push 0x6f
push dword [0x4ea4b0]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
ret
Function at 0x45af50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
call fcn.0045b510
push dword [0x4e7ca8]
call fcn.0040e430
mov eax, dword [0x4e788c]
add esp, 4
test eax, eax
je 0x45af76
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
call fcn.00462ea0
push 2
push dword [0x4ea4c4]
call fcn.004030c0
add esp, 8
cmp eax, 3
jne 0x45af95
call fcn.00464d20
call fcn.00460f80
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [ebp + 8]
call fcn.0049b80a
int3

Function at 0x45b2a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4e5814]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.0040de10
push dword [0x4be594]
mov esi, eax
lea eax, [ebp - 0x68]
push str._.70s_Command_Line_Error
push eax
call fcn.004089b0
add esp, 0x14
lea eax, [ebp - 0x68]
push 0x10
push eax
push esi
push dword [0x4ea4b8]
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.0040e430
add esp, 4
push 1
call fcn.0049b80a
int3

Function at 0x45b550
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x4e5814]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 1
jne 0x45b599
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4e8090]
js 0x45b585
cmp eax, 0x32
jl 0x45b681
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
call esi
mov dword [0x4e8090], eax
jmp 0x45b669
cmp eax, 3
jne 0x45b628
push 0x6c
push dword [0x4ea4c4]
call fcn.00403060
mov ecx, dword [0x4e8064]
add esp, 8
mov esi, eax
test ecx, ecx
je 0x45b5d1
push 0x20001
push 0
push dword [esi]
call ecx
test eax, eax
jne 0x45b669
push dword [esi]
lea eax, [ebp - 0x58]
push str.Unable_to_play_sound_file_n_s_nUsing_default_sound_instead
push eax
call fcn.004089b0
push dword [0x4be594]
lea eax, [ebp - 0xbc]
push str._.70s_Sound_Error
push eax
call fcn.004089b0
add esp, 0x18
lea eax, [ebp - 0xbc]
push 0x30
push eax
lea eax, [ebp - 0x58]
push eax
push dword [0x4ea4b8]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
push 0x66
push dword [0x4ea4c4]
call fcn.00403560
add esp, 0xc
jmp 0x45b669
cmp eax, 4
jne 0x45b669
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4e8094]
js 0x45b642
cmp eax, 0x32
jl 0x45b681
cmp dword [0x4ea410], 2
jne 0x45b65a
push 0x64
push 0x320
call dword [sym.imp.KERNEL32.dll_Beep]
jmp 0x45b662
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
call esi
mov dword [0x4e8094], eax
mov eax, dword [0x4ea4ac]
cmp dword [eax + 0x134], 0
jne 0x45b681
push 2
call fcn.0045c6d0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0046addd
mov esp, ebp
pop ebp
ret

Function at 0x45da20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [0x4ea4b8]
push 0x45b160
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret
Function at 0x45e290
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4e5814]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push 0x14
push ecx
push 0x1004
movzx eax, ax
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0x18]
push eax
call fcn.00477681
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov dword [0x4e6ae8], eax
call fcn.0046addd
mov esp, ebp
pop ebp
ret

Function at 0x45e510
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x4e5814]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 2
push dword [0x4ea4c4]
call fcn.004030c0
push eax
call fcn.00412d30
add esp, 0xc
mov dword [0x4e6af0], eax
test eax, eax
je 0x45e6ae
push 8
push dword [0x4ea4c4]
call fcn.004030c0
add esp, 8
push eax
push 7
push dword [0x4ea4c4]
call fcn.004030c0
add esp, 8
push eax
lea eax, [ebp - 0x408]
push eax
push 1
push dword [0x4ea4c4]
call fcn.004030c0
add esp, 8
push eax
push 0
push dword [0x4ea4c4]
call fcn.00403120
add esp, 8
push eax
push dword [0x4ea4c4]
mov eax, dword [0x4e6af0]
push 0x4e6af4
push 0
mov eax, dword [eax]
call eax
mov ecx, dword [0x4e6af0]
mov edi, eax
push dword [0x4ea4a8]
push dword [0x4e6af4]
mov ecx, dword [ecx + 0x34]
call ecx
add esp, 0x28
test edi, edi
jne 0x45e6e3
push 0x5f
push dword [0x4ea4c4]
mov dword [0x4e7fe4], edi
mov dword [0x4e7fe0], edi
call fcn.00403120
mov esi, eax
add esp, 8
cmp byte [esi], 0
jne 0x45e616
push dword [0x4be594]
lea eax, [ebp - 0x404]
push dword [ebp - 0x408]
push str._s____s
push eax
call fcn.004089b0
add esp, 0x10
lea esi, [ebp - 0x404]
push dword [ebp - 0x408]
call fcn.0040e430
push esi
push 0
call fcn.0045e3a0
push esi
push 0
call fcn.0045e1c0
mov eax, dword [0x4e6af0]
push dword [0x4e6af4]
push dword [eax + 0x14]
push dword [0x4ea4ac]
call fcn.0044d390
push 0
push dword [0x4e6af4]
push dword [0x4e6af0]
push dword [0x4ea4ac]
push dword [0x4ea4c4]
call fcn.00409de0
mov edi, dword [sym.imp.USER32.dll_DeleteMenu]
add esp, 0x34
mov dword [0x4e6aec], eax
xor esi, esi
nop dword [eax]
push 0
push 0x40
push dword [esi + 0x4e7628]
call edi
add esi, 4
cmp esi, 8
jb 0x45e680
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [0x4e7608], 0
pop esi
call fcn.0046addd
mov esp, ebp
pop ebp
ret
push dword [0x4be594]
push str._s_Internal_Error
call fcn.0040dda0
add esp, 8
mov esi, eax
push 0x30
push esi
push str.Unsupported_protocol_number_found
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.0040e430
add esp, 4
push 1
call fcn.0045af50
push dword [0x4be594]
push str._s_Error
call fcn.0040dda0
add esp, 8
mov esi, eax
push edi
push dword [0x4ea4c4]
call fcn.0040dbc0
add esp, 4
push eax
lea eax, [ebp - 0x404]
push str.Unable_to_open_connection_to_n_.800s_n_s
push eax
call fcn.004089b0
add esp, 0x10
lea eax, [ebp - 0x404]
push 0x10
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.0040e430
add esp, 4
push 0
call fcn.0049b80a
int3
Function at 0x45ec10
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
lea eax, [ebx + 1]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x45ecb7
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x45ecb6
push ebx
push dword [ebp + 0xc]
push edi
call fcn.0046c120
add esp, 0xc
mov byte [edi + ebx], 0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebx, dword [ebp + 0x14]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
test ebx, ebx
jne 0x45ec75
push 0
push 1
push 0x8002
push dword [0x4ea4b8]
call edi
push dword [0x4ea4b8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x45ec9c
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x45eca3
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test ebx, ebx
jne 0x45ecb6
push ebx
push ebx
push 0x8002
push dword [0x4ea4b8]
call edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x461fe0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4e88ec], 0
push esi
push edi
jne 0x46203c
push str.secur32.dll
call fcn.00462120
push str.sspicli.dll
mov esi, eax
call fcn.00462120
add esp, 8
test esi, esi
je 0x462029
push str.GetUserNameExA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4e88e8], eax
mov dword [0x4e88ec], 1
jmp 0x462041
xor eax, eax
mov dword [0x4e88ec], 1
mov dword [0x4e88e8], eax
jmp 0x462041
mov eax, dword [0x4e88e8]
test eax, eax
je 0x46209a
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
push ecx
push 0
push 8
call eax
push 1
push dword [ebp - 4]
call fcn.0040e450
add esp, 8
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
push 8
call dword [0x4e88e8]
movzx esi, al
test al, al
je 0x46208d
push 0x40
push edi
call fcn.0046bff0
add esp, 8
test eax, eax
je 0x462096
mov byte [eax], 0
jmp 0x462096
push edi
call fcn.0040e430
add esp, 4
test esi, esi
jne 0x4620e2
mov esi, dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [ebp - 4]
push eax
push 0
mov dword [ebp - 4], 0
call esi
mov ecx, dword [ebp - 4]
test eax, eax
mov edx, 0x100
cmove ecx, edx
push 1
push ecx
mov dword [ebp - 4], ecx
call fcn.0040e450
add esp, 8
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
call esi
mov esi, eax
test esi, esi
jne 0x4620e2
push edi
call fcn.0040e430
add esp, 4
xor eax, eax
test esi, esi
cmovne eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x462120
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x4e88f8]
push esi
push edi
test ecx, ecx
jne 0x462166
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor esi, esi
lea eax, [esi + esi*2]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
push 1
add esi, 0x200
push esi
push ecx
call fcn.0040e500
add esp, 0xc
mov dword [0x4e88f8], eax
push esi
push eax
call edi
mov ecx, dword [0x4e88f8]
cmp eax, esi
jge 0x462137
push 0
push dword [ebp + 8]
push 0x4d709c
push ecx
call fcn.0040dce0
add esp, 0x10
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov edi, eax
call fcn.0040e430
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x467e80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
call fcn.00466b40
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x467eb0
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4a09b2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a0599

Function at 0x4a09bd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a0723

Function at 0x4aa96b
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004aa83f

Function at 0x4ad279
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004acc3b

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 0x1002da00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push 0x100867a0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
mov eax, dword [esp + 0xc]
add eax, 0x65
movzx ecx, ax
push 0xa
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x1002da30
pop edi
xor al, al
pop esi
ret 0xc
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1002da29
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x1002da29
cvttss2si edx, dword [eax]
add eax, 4
mov dword [esi], edx
cvttss2si ecx, dword [eax]
mov dword [esi + 4], ecx
cvttss2si edx, dword [eax + 4]
add eax, 4
add eax, 4
mov dword [esi + 8], edx
cvttss2si ecx, dword [eax]
mov edx, dword [esp + 0x10]
mov dword [esi + 0xc], ecx
mov cl, byte [esp + 0x14]
add eax, 4
mov byte [esi + 0x14], cl
push eax
mov ecx, esi
mov dword [esi + 0x10], edx
call fcn.1002d6a0
pop edi
pop esi
ret 0xc
Function at 0x10035d30
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub esp, 8
movsd xmm0, qword [esp + 0x18]
subsd xmm0, qword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
movsd qword [esp + 4], xmm0
jmp 0x10035d52
fstp st(0)
cmp dword [esi + 0x9c0], 0x270
jne 0x10035d65
mov ecx, esi
call fcn.1001ac20
mov ecx, dword [esi + 0x9c0]
mov eax, dword [esi + ecx*4]
inc ecx
mov dword [esi + 0x9c0], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
test edx, edx
jge 0x10035daf
fadd qword [0x10086870]
fmul qword [esp + 4]
fmul qword [0x10086868]
fadd qword [esp + 0x14]
fld qword [esp + 0x1c]
fcompi st(1)
jbe 0x10035d50
pop esi
add esp, 8
ret
Function at 0x100665d8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1009fc80]
jne 0x100665e2
repz ret
jmp fcn.1006dd4c

Function at 0x10074905
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
mov ch, 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.10074679
movsd dword es:[edi], dword [esi]
les esp, [ecx - 0x57ba72a9]
push eax
call fcn.10074689
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
invalid
pop es
std

Function at 0x10074ae2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jne 0x10074aec
call fcn.1007463e
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.10074679
out dx, eax
jnp 0x10074b62
dec esp
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.10074679
int3
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid
Function at 0x1007b14c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1006d692
and dword [ebp - 4], 0
cmp dword [0x100aae28], 0
mov ebx, eax
jne 0x1007b1fd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1007b2ae
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1007b2ae
push eax
call fcn.1006d620
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x100aae28], eax
call esi
push eax
call fcn.1006d620
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x100aae2c], eax
call esi
push eax
call fcn.1006d620
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x100aae30], eax
call esi
push eax
call fcn.1006d620
pop ecx
mov dword [0x100aae38], eax
test eax, eax
je 0x1007b1fd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1006d620
pop ecx
mov dword [0x100aae34], eax
mov eax, dword [0x100aae34]
cmp eax, ebx
je 0x1007b255
cmp dword [0x100aae38], ebx
je 0x1007b255
push eax
call fcn.1006d69b
push dword [0x100aae38]
mov esi, eax
call fcn.1006d69b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1007b255
test edi, edi
je 0x1007b255
call esi
test eax, eax
je 0x1007b24c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1007b24c
test byte [ebp - 0xc], 1
jne 0x1007b255
or dword [ebp + 0x10], 0x200000
jmp 0x1007b28e
mov eax, dword [0x100aae2c]
cmp eax, ebx
je 0x1007b28e
push eax
call fcn.1006d69b
pop ecx
test eax, eax
je 0x1007b28e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1007b28e
mov eax, dword [0x100aae30]
cmp eax, ebx
je 0x1007b28e
push eax
call fcn.1006d69b
pop ecx
test eax, eax
je 0x1007b28e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x100aae28]
call fcn.1006d69b
pop ecx
test eax, eax
je 0x1007b2ae
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1007b2b0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405e50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2336
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x52610c]
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_char__struct_std::char_traits_char__.0
call fcn.004a0565
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0049d27d
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