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

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov eax, dword [edi]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437bb0
sub eax, edx
add eax, 0x25
push eax
call fcn.0042a470
xor esi, esi
add esp, 4
cmp eax, esi
jne 0x437bcf
xor ebx, ebx
jmp 0x437bd8
mov dword [eax], 0x12345678
lea ebx, [eax + 4]
lea edx, [ebx + 0x20]
mov dword [ebx], edx
mov ecx, dword [edi]
nop
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x437be0
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov ecx, dword [edi + 8]
mov dword [ebx + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x14], esi
mov ebp, dword [edi + 0x14]
cmp ebp, esi
mov dword [esp + 0x10], esi
je 0x437cb1
push 0x434
call fcn.0051b1e7
mov esi, eax
add esp, 4
test esi, esi
je 0x437d62
push 0x434
push 0
push esi
call fcn.0042b1c0
lea eax, [esi + 4]
add esp, 0xc
test eax, eax
mov dword [esi], 0x12345678
jne 0x437c5a
push str.EXE_ERR_OUT_OF_MEMORY
push eax
call fcn.0042e650
add esp, 8
xor eax, eax
jmp 0x437c80
mov ecx, 0x10c
mov esi, ebp
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x14ef6c4]
mov edi, dword [esp + 0x1c]
inc ecx
mov dword [eax + 0x428], 0
mov dword [0x14ef6c4], ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
mov dword [eax + 0x428], 0
je 0x437c9a
mov dword [ecx + 0x428], eax
jmp 0x437c9d
mov dword [ebx + 0x14], eax
mov ebp, dword [ebp + 0x428]
test ebp, ebp
mov dword [esp + 0x10], eax
jne 0x437c14
xor esi, esi
mov dword [ebx + 0x10], esi
mov ebp, dword [edi + 0x10]
cmp ebp, esi
mov dword [esp + 0x10], esi
je 0x437d5a
push 0x434
call fcn.0051b1e7
mov esi, eax
add esp, 4
test esi, esi
je 0x437d62
push 0x434
push 0
push esi
call fcn.0042b1c0
lea eax, [esi + 4]
add esp, 0xc
test eax, eax
mov dword [esi], 0x12345678
jne 0x437d09
push str.EXE_ERR_OUT_OF_MEMORY
push eax
call fcn.0042e650
add esp, 8
xor eax, eax
jmp 0x437d2b
mov ecx, 0x10c
mov esi, ebp
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x14ef6c4]
inc ecx
mov dword [eax + 0x428], 0
mov dword [0x14ef6c4], ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
mov dword [eax + 0x428], 0
je 0x437d45
mov dword [ecx + 0x428], eax
jmp 0x437d48
mov dword [ebx + 0x10], eax
mov ebp, dword [ebp + 0x428]
test ebp, ebp
mov dword [esp + 0x10], eax
jne 0x437cc3
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret
call fcn.00451300
push 0x10
push str.WIN_OUT_OF_MEM_TITLE
call fcn.00450c30
add esp, 4
push eax
push str.WIN_OUT_OF_MEM_BODY
call fcn.00450c30
add esp, 4
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call fcn.0051c8f0
int3
Function at 0x43ca80
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x6c
mov eax, dword [0x562940]
xor eax, dword [esp + 0x6c]
push esi
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x7c]
lea esi, [esp + 0x18]
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.0043c230
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0043c2d0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
xor eax, esi
xor eax, edx
xor eax, ecx
mov ecx, dword [esp + 0x74]
add esp, 8
xor ecx, dword [esp + 0x70]
pop esi
add esp, 0x6c
jmp fcn.00523319

Function at 0x43cb10
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x6c
mov eax, dword [0x562940]
xor eax, dword [esp + 0x6c]
push esi
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x7c]
push eax
mov eax, 4
lea esi, [esp + 0x18]
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.0043c230
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
push ecx
lea esi, [esp + 0x1c]
call fcn.0043c230
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x20]
call fcn.0043c2d0
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
xor eax, esi
xor eax, edx
xor eax, ecx
mov ecx, dword [esp + 0x78]
add esp, 0xc
xor ecx, dword [esp + 0x70]
pop esi
add esp, 0x6c
jmp fcn.00523319
Function at 0x44f360
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
sub esp, 0x2c
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
push esi
call edi
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [esp + 8]
push ecx
call esi
rdtsc
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
lea edx, [esp + 8]
push edx
call esi
push 0xfa
call edi
rdtsc
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
lea eax, [esp + 0x10]
push eax
call esi
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
sub ecx, edx
mov edx, dword [esp + 0x24]
sbb edx, eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push eax
push edx
push ecx
call fcn.0051f040
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 8]
mov dword [esp + 0x28], eax
fild qword [esp + 0x28]
mov eax, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x14]
fmul qword [0x55a5a8]
sbb edx, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
fild qword [esp + 0x28]
pop edi
pop esi
fdivp st(1)
add esp, 0x2c
ret
Function at 0x44f430
Capabilities:
Delete file
Get memory capacity
Terminate process

Disassembly:
sub esp, 0x7c
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x44f574
push str.GlobalMemoryStatusEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44f574
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x3c], 0x40
call eax
mov eax, dword [esp + 0x6c]
test eax, eax
ja 0x44f4ba
jb 0x44f47d
cmp dword [esp + 0x68], 0x8000000
jae 0x44f4ba
push 0x34
push str.WIN_LOW_MEMORY_TITLE
call fcn.00450c30
add esp, 4
push eax
push str.WIN_LOW_MEMORY_BODY
call fcn.00450c30
add esp, 4
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
je 0x44f4ba
push 0x8d66f0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
call fcn.0051c8f0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ecx, eax
mov dword [esp + 8], edx
and eax, 0x7fffffff
mov dword [esp + 0xc], eax
fild qword [esp + 8]
and ecx, 0x80000000
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
fild qword [esp + 8]
mov dword [esp + 0x10], 0xff000000
mov dword [esp + 0x14], 0x3fdfffff
fchs
faddp st(1)
fmul dword [0x55a520]
fstp dword [esp + 8]
fld dword [esp + 8]
fadd qword [esp + 0x10]
fistp dword [esp + 4]
mov ecx, dword [esp + 0x40]
fild dword [esp + 4]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 4]
fmul dword [0x55a7a8]
mov dword [esp + 0x10], ecx
mov ecx, eax
and eax, 0x7fffffff
mov dword [esp + 0x14], eax
fild qword [esp + 0x10]
and ecx, 0x80000000
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0
fild qword [esp + 0x10]
fchs
faddp st(1)
fcompp
fnstsw ax
test ah, 0x41
je 0x44f569
cmp edx, 0x400
jle 0x44f56e
mov edx, 0x400
mov eax, edx
add esp, 0x7c
ret
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
cmp dword [esp + 0x34], 0x8000000
jae 0x44f5ce
push 0x34
push str.WIN_LOW_MEMORY_TITLE
call fcn.00450c30
add esp, 4
push eax
push str.WIN_LOW_MEMORY_BODY
call fcn.00450c30
add esp, 4
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
je 0x44f5ce
push 0x8d66f0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
call fcn.0051c8f0
mov eax, dword [esp + 0x20]
fild dword [esp + 0x20]
test eax, eax
jge 0x44f5e0
fadd dword [0x55a5d0]
fmul dword [0x55a520]
mov dword [esp + 0x10], 0xff000000
mov dword [esp + 0x14], 0x3fdfffff
fstp dword [esp + 8]
fld dword [esp + 8]
fadd qword [esp + 0x10]
fistp dword [esp + 4]
fild dword [esp + 4]
mov edx, dword [esp + 0x20]
test edx, edx
mov ecx, dword [esp + 4]
fmul dword [0x55a7a8]
fild dword [esp + 0x20]
jge 0x44f626
fadd dword [0x55a5d0]
fcompp
fnstsw ax
test ah, 0x41
je 0x44f637
cmp ecx, 0x400
jle 0x44f63c
mov ecx, 0x400
mov eax, ecx
add esp, 0x7c
ret
Function at 0x451300
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x8d6c38]
test eax, eax
je 0x451328
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x8d6c38]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x8d6c38], 0
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
call fcn.004500f0
call fcn.004016d0
call fcn.004113f0
mov eax, dword [0x1425d00]
test eax, eax
je 0x451370
push edi
push 1
call eax
add esp, 4
xor eax, eax
mov ecx, 0x3b
mov edi, 0x1425d00
rep stosd dword es:[edi], eax
mov ecx, 0x80
mov edi, 0x8d4878
rep stosd dword es:[edi], eax
mov dword [0x8d4a78], eax
pop edi
ret

Function at 0x451380
Capabilities:
Terminate process

Disassembly:
call fcn.00451300
push 0x10
push str.WIN_OUT_OF_MEM_TITLE
call fcn.00450c30
add esp, 4
push eax
push str.WIN_OUT_OF_MEM_BODY
call fcn.00450c30
add esp, 4
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call fcn.0051c8f0
int3

Function at 0x451830
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x1020
call fcn.00523e50
mov eax, dword [0x562940]
xor eax, dword [esp + 0x1020]
mov ecx, dword [esp + 0x1024]
push ebx
push esi
mov dword [esp + 0x1024], eax
push edi
lea eax, [esp + 0x1034]
push eax
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.0051ab32
add esp, 0xc
lea ecx, [esp + 0x28]
call fcn.004536d0
mov ecx, 0x55a130
call fcn.004536d0
lea esi, [esp + 0x28]
call fcn.00453860
mov eax, dword [0x8d7278]
mov ecx, 1
cmp eax, ecx
mov dword [0x8d727c], ecx
je 0x4518cc
mov eax, dword [0x8d6c40]
test eax, eax
mov dword [0x8d7278], ecx
je 0x4518cc
push ecx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x8d6c44]
push 0xffff
push 0
push 0xb6
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
call fcn.00451300
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
call esi
test eax, eax
jne 0x4518f9
call fcn.0042e960
lea edx, [esp + 0xc]
push edx
call edi
lea eax, [esp + 0xc]
push eax
call ebx
jmp 0x4518e3

Function at 0x451ae0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x451b57
push edi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x451b50
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
test ebp, ebp
je 0x451b4f
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalSize]
push edi
call ebx
inc eax
push eax
call fcn.0042a470
add esp, 4
push edi
mov esi, eax
call ebx
mov ebx, eax
lea eax, [ebx - 1]
push eax
push ebp
push esi
call fcn.0051a040
add esp, 0xc
push edi
mov byte [ebx + esi - 1], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0x5510f0
push esi
call fcn.0051c930
add esp, 8
pop ebx
pop ebp
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
mov eax, esi
pop esi
ret
Function at 0x452460
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x32c
mov eax, dword [0x562940]
xor eax, dword [esp + 0x32c]
push ebx
push esi
mov esi, ecx
push esi
xor ebx, ebx
push ebx
push 0x1f0fff
mov dword [esp + 0x33c], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
jne 0x452497
xor eax, eax
jmp 0x452548
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebp
push esi
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x4524b7
xor eax, eax
jmp 0x452547
lea eax, [esp + 0x110]
push eax
push esi
mov dword [esp + 0x118], 0x224
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x452542
push edi
push 0x104
lea ecx, [esp + 0x14]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov al, byte [esp + 0x10]
cmp al, bl
mov byte [esp + 0x113], bl
lea edi, [esp + 0x10]
lea ecx, [esp + 0x10]
je 0x452513
lea ecx, [ecx]
cmp al, 0x5c
je 0x452508
cmp al, 0x3a
jne 0x45250b
lea edi, [ecx + 1]
mov al, byte [ecx + 1]
inc ecx
cmp al, bl
jne 0x452500
lea edx, [esp + 0x134]
push edi
push edx
call fcn.0052a1af
add esp, 8
test eax, eax
je 0x45253c
lea eax, [esp + 0x114]
push eax
push esi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x452513
jmp 0x452541
mov ebx, 1
pop edi
push esi
call ebp
mov eax, ebx
pop ebp
mov ecx, dword [esp + 0x330]
xor ecx, dword [esp + 0x334]
pop esi
pop ebx
add esp, 0x32c
jmp fcn.00523319
Function at 0x452600
Capabilities:
Read file on windows
Terminate process
Write file on windows

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 2
push 3
push 0
push 0
push 0x80000000
push 0x8d66f0
mov dword [esp + 0x30], eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [sym.imp.USER32.dll_MessageBoxA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4526c4
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea ecx, [esp + 0x24]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4526c1
cmp dword [esp + 0x10], 4
jne 0x4526c1
push esi
call ebx
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x14], ecx
je 0x45267a
call fcn.00452460
test eax, eax
jne 0x4526b7
push 0x33
push str.WIN_IMPROPER_QUIT_TITLE
call fcn.00450c30
add esp, 4
push eax
push str.WIN_IMPROPER_QUIT_BODY
call fcn.00450c30
add esp, 4
push eax
push 0
call ebp
cmp eax, 6
jne 0x4526ad
mov dword [0x13f8dbc], 1
jmp 0x4526c4
cmp eax, 7
je 0x4526c4
cmp eax, 2
jne 0x4526c4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
push esi
call ebx
push 0
push 2
push 2
push 0
push 0
push 0x40000000
push 0x8d66f0
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x452714
push 0
lea edx, [esp + 0x14]
push edx
push 4
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x452711
cmp dword [esp + 0x10], 4
jne 0x452711
push esi
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
push esi
call ebx
push 0x10
push str.WIN_DISK_FULL_TITLE
call fcn.00450c30
add esp, 4
push eax
push str.WIN_DISK_FULL_BODY
call fcn.00450c30
add esp, 4
push eax
push 0
call ebp
push 0xffffffffffffffff
call fcn.0051c8f0
int3

Function at 0x453630
Capabilities:
Hide graphical window

Disassembly:
mov dword [0x8d727c], eax
cmp ecx, dword [0x8d7278]
je 0x45369f
mov edx, dword [0x8d6c40]
test edx, edx
mov dword [0x8d7278], ecx
je 0x45369f
mov eax, ecx
sub eax, 0
je 0x453696
dec eax
je 0x453673
dec eax
je 0x453669
push ecx
push str.Invalid_visLevel__d_sent_to_Sys_ShowConsole_n
call fcn.00451830
add esp, 8
ret
push 6
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
ret
push 1
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x8d6c44]
push 0xffff
push 0
push 0xb6
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
ret
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x453a50
Capabilities:
Log keystrokes

Disassembly:
mov edx, eax
and edx, 0xff0000
cmp edx, 0x290000
jne 0x453a63
mov al, 0x7e
ret
test ecx, ecx
jbe 0x453a81
cmp ecx, 0x91
ja 0x453a81
sar eax, 0x18
and eax, 1
movzx eax, byte [eax + ecx*2 + 0x567848]
test eax, eax
jne 0x453abc
push 2
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
and eax, 0xff
cmp eax, 0x7f
jbe 0x453abc
mov cl, byte [0x56796c]
xor edx, edx
test cl, cl
je 0x453abc
movzx ecx, cl
cmp eax, ecx
je 0x453ab4
mov cl, byte [edx*2 + 0x56796e]
inc edx
test cl, cl
jne 0x453aa0
ret
movzx eax, byte [edx*2 + 0x56796d]
ret
Function at 0x45b2c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, 0x10000
push ebx
push esi
push edi
mov ebx, ecx
jge 0x45b2f8
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
dec eax
cmp eax, 0xff
jg 0x45b2e9
movzx esi, byte [eax + 0x957ce8]
jmp 0x45b308
sar eax, 8
movzx esi, byte [eax + 0x957ce8]
add esi, 8
jmp 0x45b308
push eax
push str.MT_GetSize:_max_allocation_exceeded
call fcn.0045b0e0
add esp, 8
xor esi, esi
dec dword [0x8d7aa8]
mov ecx, esi
mov edi, 1
shl edi, cl
mov ecx, dword [0x8d7ce0]
sub ecx, edi
cmp esi, 0x10
mov dword [0x8d7ce0], ecx
je 0x45b355
lea ebx, [ebx]
movzx eax, bx
push esi
xor eax, edi
call fcn.0045ad60
add esp, 4
test al, al
je 0x45b355
not edi
and ebx, edi
inc esi
mov edi, 1
mov ecx, esi
shl edi, cl
cmp esi, 0x10
jne 0x45b330
movzx eax, bx
push eax
mov eax, esi
call fcn.0045ac20
add esp, 4
pop edi
pop esi
pop ebx
ret

Function at 0x45b390
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
sub ecx, 0x8d7ce8
sar ecx, 3
jmp fcn.0045b2c0

Function at 0x45b505
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x8d7aa0]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x45b5eb
push esi
push edi
xor esi, esi
jmp 0x45b480
push 0x100000
mov dword [esi + 0x957e04], 0x10000
mov dword [esi + 0x957e18], ebx
call fcn.0051b1e7
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x45b531
push 0x100000
push ebx
push edi
call fcn.0042b1c0
mov ecx, dword [esi + 0x957e04]
shl ecx, 4
mov edx, ecx
shr ecx, 2
mov dword [esi + 0x957e10], edi
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esi, 4
add esp, 0xc
cmp esi, 8
rep stosb byte es:[edi], al
jl 0x45b480
push 0x40000
mov dword [0x957df4], 0x10000
mov dword [0x957df0], ebx
call fcn.0051b1e7
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x45b562
call fcn.00451300
push 0x10
push str.WIN_OUT_OF_MEM_TITLE
call fcn.00450c30
add esp, 4
push eax
push str.WIN_OUT_OF_MEM_BODY
call fcn.00450c30
add esp, 4
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call fcn.0051c8f0
call fcn.00451300
push 0x10
push str.WIN_OUT_OF_MEM_TITLE
call fcn.00450c30
add esp, 4
push eax
push str.WIN_OUT_OF_MEM_BODY
call fcn.00450c30
add esp, 4
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call fcn.0051c8f0
push 0x40000
push ebx
push esi
call fcn.0042b1c0
push 0x140
mov dword [0x13f8d44], esi
mov dword [0x957e0c], ebx
mov dword [0x957df8], ebx
mov dword [0x957dfc], 0x10
mov dword [0x957dec], ebx
call fcn.0051b1e7
mov esi, eax
add esp, 0x10
cmp esi, ebx
jne 0x45b5d4
call fcn.00451300
push 0x10
push str.WIN_OUT_OF_MEM_TITLE
call fcn.00450c30
add esp, 4
push eax
push str.WIN_OUT_OF_MEM_BODY
call fcn.00450c30
add esp, 4
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call fcn.0051c8f0
push 0x140
push ebx
push esi
call fcn.0042b1c0
add esp, 0xc
pop edi
mov dword [0x13f8d50], esi
pop esi
pop ebx
ret
Function at 0x45e620
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [0x8d7bd4]
mov eax, ecx
sub eax, edx
cmp eax, dword [0x957de8]
jb 0x45e646
xor eax, eax
mov ax, word [ecx - 2]
test ax, ax
je 0x45e647
dec eax
mov word [ecx - 2], ax
ret
sub ecx, 0x8d7ce8
sub ecx, 2
sar ecx, 3
mov eax, 0xe
jmp fcn.0045b2c0
Function at 0x46cdb0
Capabilities:
Terminate process

Disassembly:
push esi
push edi
push 0x28
mov edi, eax
call fcn.0051b1e7
mov esi, eax
add esp, 4
test esi, esi
jne 0x46cde2
push str.out_of_dynamic_memory_in_yy_create_buffer__
push 0x559f6c
push 0x5620f8
call fcn.0051ca9a
add esp, 0xc
push 2
call fcn.0051c8f0
lea eax, [edi + 2]
push eax
mov dword [esi + 0xc], edi
call fcn.0051b1e7
add esp, 4
test eax, eax
mov dword [esi + 4], eax
jne 0x46ce16
push str.out_of_dynamic_memory_in_yy_create_buffer__
push 0x559f6c
push 0x5620f8
call fcn.0051ca9a
add esp, 0xc
push 2
call fcn.0051c8f0
mov edi, 1
mov eax, esi
mov dword [esi + 0x14], edi
call fcn.0046cee0
test ebx, ebx
mov dword [esi], ebx
mov dword [esi + 0x20], edi
je 0x46ce4e
push ebx
call fcn.0052bf29
push eax
call fcn.00523ed1
add esp, 8
xor ecx, ecx
test eax, eax
setg cl
pop edi
mov eax, ecx
mov dword [esi + 0x18], eax
mov eax, esi
pop esi
ret
xor eax, eax
mov dword [esi + 0x18], eax
pop edi
mov eax, esi
pop esi
ret

Function at 0x46e4e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x530bf9
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x18]
push 1
xor ebx, ebx
push 1
mov ecx, esi
mov dword [esi], ebx
call fcn.00474c50
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov byte [ecx], bl
mov eax, 0x10
mov dword [esp + 0x10], ebx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov eax, esi
mov byte [esp + 0x10], 3
call fcn.0046e6d0
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4

Function at 0x46e8c0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x530bbe
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
push esi
call fcn.0046e350
lea edi, [esi + 0x20]
push 1
xor ebx, ebx
mov dword [esi], 0x54f400
push 1
mov ecx, edi
mov dword [esp + 0x1c], ebx
mov dword [edi], ebx
call fcn.00474c50
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov byte [ecx], bl
mov dword [esi + 0x30], 0x10
mov dword [esi + 0x34], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov eax, str.position
mov ecx, edi
mov byte [esp + 0x14], 2
mov dword [esi + 0x18], ebx
call fcn.0046e030
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4
Function at 0x46f467
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x530ebe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push 1
xor ebx, ebx
push 1
mov dword [esp + 0x10], esi
mov dword [esi], ebx
call fcn.00474c50
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov byte [ecx], bl
mov eax, 0x10
mov dword [esp + 0x14], ebx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x3c], 0x42b40000
mov byte [esp + 0x14], 2
mov dword [esi + 0x18], ebx
call fcn.0046f380
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret