joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100179e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10017a0d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10017a0d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x425070
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42509d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42509d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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 0x402b10
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x7a7ad0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402ba4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402b61
cmp dword [ebp + 0x10], ebx
jne 0x402b98
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402b10
test eax, eax
jne 0x402b73
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402b48
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.0040620f
cmp eax, ebx
je 0x402bab
push ebx
push dword [0x7a7ad0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402ba4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x7a7ad0], ebx
jne 0x402ba1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402ba1
jmp 0x402ba4
Function at 0x402ffb
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
jl 0x403028
mov ecx, dword [0x7a7a78]
push edi
add eax, ecx
push edi
push eax
mov dword [0x7966bc], eax
push dword [0x40901c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
pop esi
push esi
call fcn.00403126
cmp eax, edi
jl 0x40311f
lea eax, [ebp - 4]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
push eax
lea eax, [ebp + 8]
push esi
push eax
push dword [0x40901c]
call ebx
test eax, eax
je 0x40311c
cmp dword [ebp - 4], esi
jne 0x40311c
push dword [ebp + 8]
add dword [0x7966bc], esi
call fcn.00403126
cmp eax, edi
mov dword [ebp - 8], eax
jl 0x40311f
cmp dword [ebp + 0x10], edi
jne 0x4030eb
cmp dword [ebp + 8], edi
jle 0x403117
mov esi, 0x7926b8
mov edi, 0x4000
cmp dword [ebp + 8], edi
jge 0x40309b
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push 0
push eax
push edi
push esi
push dword [0x40901c]
call ebx
test eax, eax
je 0x40311c
cmp edi, dword [ebp - 4]
jne 0x40311c
lea eax, [ebp + 0x14]
push 0
push eax
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4030e7
cmp dword [ebp + 0x14], edi
jne 0x4030e7
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
sub dword [ebp + 8], eax
add dword [0x7966bc], eax
cmp dword [ebp + 8], 0
jg 0x40308e
jmp 0x403117
push 0xfffffffffffffffe
jmp 0x40311e
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x4030f6
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push edi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40901c]
call ebx
test eax, eax
je 0x40311c
mov eax, dword [ebp - 4]
add dword [0x7966bc], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x40311f
push 0xfffffffffffffffd
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x403126
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [0x7966bc]
sub esi, dword [0x40bde8]
push edi
add esi, dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
add eax, 0x1f4
cmp esi, ebx
mov dword [0x7a7a2c], eax
jle 0x403290
push dword [0x79e6cc]
call fcn.004032d4
push ebx
push ebx
push dword [0x40bde8]
push dword [0x40901c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x79e6c8], esi
mov dword [0x7966b8], ebx
mov ebp, 0x78a6b8
mov eax, dword [0x7966c0]
mov edi, 0x4000
sub eax, dword [0x79e6cc]
cmp eax, edi
jg 0x40319b
mov edi, eax
mov esi, 0x7926b8
push edi
push esi
call fcn.004032a2
test eax, eax
je 0x403282
add dword [0x79e6cc], edi
mov dword [0x40bdf0], esi
mov dword [0x40bdf4], edi
cmp dword [0x7a7a30], ebx
je 0x4031f2
cmp dword [0x7a7ac0], ebx
jne 0x4031f2
mov eax, dword [0x79e6c8]
push ebx
sub eax, dword [0x7966bc]
sub eax, dword [esp + 0x1c]
add eax, dword [0x40bde8]
mov dword [0x7966b8], eax
call fcn.00402cb0
pop ecx
push 0x40bdf0
mov dword [0x40bdf8], ebp
mov dword [0x40bdfc], 0x8000
call fcn.0040632b
test eax, eax
jl 0x40328b
mov esi, dword [0x40bdf8]
sub esi, ebp
je 0x40324c
lea eax, [esp + 0x10]
push ebx
push eax
push esi
push ebp
push dword [0x40901c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403287
cmp esi, dword [esp + 0x10]
jne 0x403287
add dword [0x40bde8], esi
cmp dword [0x40bdf4], ebx
jne 0x4031c1
jmp 0x403258
cmp dword [0x40bdf4], ebx
jne 0x40328b
cmp edi, ebx
je 0x40328b
mov eax, dword [0x7966bc]
mov ecx, eax
sub ecx, dword [0x40bde8]
add ecx, dword [esp + 0x18]
test ecx, ecx
jg 0x403185
push ebx
push ebx
push eax
push dword [0x40901c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x403290
or eax, 0xffffffff
jmp 0x40329a
push 0xfffffffffffffffe
jmp 0x40328d
push 0xfffffffffffffffd
pop eax
jmp 0x40329a
push 1
call fcn.00402cb0
pop ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x405627
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x7a3f18], 0x44
push eax
xor eax, eax
push 0x7a3f18
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405662
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x4056ec
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00405b09
mov edi, eax
cmp edi, 0xffffffff
je 0x40572d
test byte [esp + 0x10], 1
push esi
je 0x40570f
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x405715
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40571e
xor eax, eax
inc eax
jmp 0x40572f
test byte [esp + 0x10], 4
jne 0x40572d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
ret 8
Function at 0x405734
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405a15
test bl, 8
mov dword [ebp - 0xc], eax
je 0x405773
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x7a7aa8], eax
jmp 0x405906
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x40578d
test eax, eax
je 0x4058b4
test bl, 2
je 0x4058b4
mov esi, 0x7a2f18
push edi
push esi
call fcn.00405ea5
cmp dword [ebp + 8], 0
je 0x4057ac
push str..
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x4057b2
push edi
call fcn.00405959
cmp word [edi], 0
jne 0x4057c2
cmp word [0x7a2f18], 0x5c
jne 0x4057cd
push 0x409014
push edi
call sub.KERNEL32.dll_lstrcatW
push edi
call sub.KERNEL32.dll_lstrlenW
lea ebx, [edi + eax*2]
lea eax, [ebp - 0x25c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x4058a9
lea eax, [ebp - 0x230]
push 0x3f
push eax
lea esi, [ebp - 0x230]
call fcn.0040593a
xor ecx, ecx
cmp word [eax], cx
je 0x405814
cmp word [ebp - 0x28], cx
je 0x405814
lea esi, [ebp - 0x28]
cmp word [esi], 0x2e
jne 0x40582f
mov ax, word [esi + 2]
cmp ax, cx
je 0x405888
cmp ax, 0x2e
jne 0x40582f
cmp word [esi + 4], cx
je 0x405888
push esi
push ebx
call fcn.00405ea5
test byte [ebp - 0x25c], 0x10
je 0x405854
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405888
push dword [ebp + 0xc]
push edi
call fcn.00405734
jmp 0x405888
push dword [ebp - 4]
push edi
call fcn.004056ec
test eax, eax
jne 0x405880
cmp dword [ebp - 4], eax
je 0x405878
push edi
push 0xfffffffffffffff1
call fcn.00405159
push 0
push edi
call fcn.00405d3f
jmp 0x405888
inc dword [0x7a7aa8]
jmp 0x405888
push edi
push 0xfffffffffffffff2
call fcn.00405159
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4057f0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x4058b4
and word [ebx - 2], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405906
cmp dword [ebp - 0xc], esi
jne 0x4058c8
inc dword [0x7a7aa8]
jmp 0x405906
push edi
call fcn.004061e8
test eax, eax
je 0x405906
push edi
call fcn.0040590d
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.004056ec
test eax, eax
jne 0x4058fe
cmp dword [ebp - 4], esi
je 0x4058c0
push edi
push 0xfffffffffffffff1
call fcn.00405159
push esi
push edi
call fcn.00405d3f
jmp 0x405906
push edi
push 0xffffffffffffffe5
call fcn.00405159
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x405a15
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x7a3718
push esi
call fcn.00405ea5
push esi
call fcn.004059b8
mov edi, eax
test edi, edi
jne 0x405a36
xor eax, eax
jmp 0x405a8e
push edi
call fcn.00406139
test byte [0x7a7a38], 0x80
je 0x405a53
mov ax, word [edi]
test ax, ax
je 0x405a32
cmp ax, 0x5c
je 0x405a32
sub edi, esi
sar edi, 1
jmp 0x405a6d
call fcn.004061e8
test eax, eax
je 0x405a67
test byte [eax], 0x10
je 0x405a32
push esi
call fcn.00405959
push esi
call sub.KERNEL32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405a59
call fcn.0040590d
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405b09
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405b28
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405b2e
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
ret 0xc

Function at 0x405b5d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40953c]
dec edi
mov dword [ebp - 8], eax
mov eax, dword [0x409540]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 0xc]
add word [ebp - 4], dx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x405bad
test edi, edi
jne 0x405b6a
and word [esi], di
pop edi
pop esi
leave
ret 8
mov eax, esi
jmp 0x405ba7
Function at 0x405bb1
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov ebx, 0x7a45b0
push 0x409560
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test esi, esi
mov edi, 0x400
je 0x405c00
push 1
push 0
push esi
call fcn.00405b2e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebx
push esi
call ebp
test eax, eax
je 0x405d39
cmp eax, edi
jg 0x405d39
mov esi, 0x7a4db0
push edi
push esi
push dword [esp + 0x20]
call ebp
test eax, eax
je 0x405d39
cmp eax, edi
jg 0x405d39
push esi
push ebx
push str._ls_ls_r_n
push 0x7a41b0
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x7a7a30]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00405ec7
push 4
push 0xc0000000
push esi
call fcn.00405b2e
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x1c], ebp
je 0x405d39
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x405d32
lea eax, [esp + 0x10]
push 0
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x405d32
cmp edi, dword [esp + 0x10]
jne 0x405d32
push str._Rename__r_n
push esi
call fcn.00405a93
test eax, eax
jne 0x405cc8
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x405cfd
add eax, 0xa
push 0x409544
push eax
call fcn.00405a93
mov ebp, eax
test ebp, ebp
je 0x405cf9
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x405cea
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x405ce4
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x1c]
jmp 0x405cff
mov ebp, dword [esp + 0x1c]
mov eax, edi
push ebx
add eax, esi
push 0x7a41b0
push eax
call fcn.00405ae9
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x10]
push 0
add edi, ebx
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x405d72
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
lea eax, [ebp + 0x18]
push edi
push eax
mov eax, dword [ebp + 0x18]
xor edi, edi
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
or eax, 0x20019
mov word [esi], di
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405de6
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x800
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x405dd3
cmp dword [ebp + 0x14], 1
je 0x405dd6
cmp dword [ebp + 0x14], 2
je 0x405dd6
mov word [esi], di
push dword [ebp + 0x18]
mov word [esi + 0x7fe], di
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x4062bd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7a55b4], 0
push esi
jne 0x4062f4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4062ce
mov dword [ecx*4 + 0x7a55b0], eax
inc ecx
cmp ecx, 0x100
jl 0x4062c9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406325
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a55b0]
xor eax, esi
inc ecx
dec edx
jne 0x406307
pop edi
not eax
pop esi
ret 0xc
Function at 0x4245a0
Capabilities:
Hash data with md5

Disassembly:
push ebx
push edi
push esi
sub esp, 8
mov eax, 0x9deefaf1
mov dword [esp + 4], ecx
mov edx, ecx
mov esi, dword [0x491aa0]
and esi, 0x1fc90b9a
mov dword [0x491aa0], esi
mov dword [ecx], 0
mov di, word [0x491fec]
movsx esi, di
mov ebx, dword [0x49157c]
or ebx, esi
mov dword [0x49157c], ebx
mov dword [ecx + 4], 0
mov di, word [0x4921ec]
mov cx, di
inc ecx
mov di, cx
mov word [0x4921ec], di
movsx ecx, di
imul ecx, ecx, 0x9d5c12fc
cmp eax, ecx
mov dword [esp], edx
je 0x424627
mov eax, dword [0x491860]
sar eax, 9
mov ecx, dword [0x4918b4]
add ecx, eax
mov dword [0x4918b4], ecx
mov eax, 0x4ae79f29
mov ecx, dword [esp]
mov dword [ecx + 8], 0x67452301
mov edx, dword [0x491784]
imul edx, edx, 0x69802b14
mov dword [0x491784], edx
mov dword [ecx + 0xc], 0xefcdab89
mov edx, dword [0x491c74]
and edx, 0x5c10a0dc
mov dword [0x491c74], edx
mov dword [ecx + 0x10], 0x98badcfe
mov edx, dword [0x4917f8]
cmp eax, edx
jge 0x424685
mov eax, dword [0x491d48]
add eax, 0xc8bafb6f
mov dword [0x491d48], eax
mov eax, 0xe94d5856
mov ecx, dword [esp]
mov dword [ecx + 0x14], 0x10325476
mov edx, dword [0x491ce4]
mov esi, edx
inc esi
mov dword [0x491ce4], esi
mov esi, dword [0x4917ac]
imul edx, esi
add edx, 0xf993042
cmp eax, edx
je 0x4246e1
mov eax, dword [0x491840]
mov ecx, eax
inc ecx
mov dword [0x491840], ecx
imul eax, eax, 0xe975470f
add eax, 0xdf8d5650
mov ecx, dword [0x491ea0]
and ecx, eax
mov dword [0x491ea0], ecx
add esp, 8
pop esi
pop edi
pop ebx
ret

Function at 0x424d10
Capabilities:
Terminate process

Disassembly:
push esi
sub esp, 0x10
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [0x491a88]
dec eax
mov dword [0x491a88], eax
imul eax, eax, 0x5e9533fd
and eax, 0x67d6
mov cx, word [0x492408]
mov dx, cx
add edx, eax
mov cx, dx
mov word [0x492408], cx
mov eax, dword [0x4926a4]
mov edx, esp
mov dword [edx], eax
call fcn.00434320
mov edx, dword [0x49167c]
and edx, 0x4dcc7fb4
mov esi, dword [0x49178c]
inc esi
mov dword [0x49178c], esi
add esi, 0x215c8525
add esi, 0x9ef61187
cmp edx, esi
mov byte [esp + 0xb], al
jl 0x424db5
mov eax, 0x1041ac08
mov ecx, dword [0x4918b4]
or ecx, 0x617b53cd
cmp eax, ecx
jl 0x424db0
mov eax, dword [0x491e0c]
imul eax, eax, 0x4404fbe1
mov dword [0x491e0c], eax
jmp 0x424db5
mov eax, 1
mov dword [esp], 1
mov dword [esp + 4], eax
call fcn.004560cb
int3
Function at 0x4718aa
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x490290]
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.0045f511
mov dword [ebp - 0x14], eax
cmp dword [0x4938c4], esi
jne 0x47199d
push 0x800
push esi
push 0x4854f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x47192a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x471a7d
push esi
push esi
push 0x4854f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x471a7d
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x471a7d
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4938c4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4938c8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4938cc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4938d4], eax
test eax, eax
je 0x47199a
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4938d0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4719c2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4719b5
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4719d7
push 4
pop eax
jmp 0x471a7f
cmp dword [ebp - 0x14], esi
je 0x4719d7
push dword [0x4938c4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4719bc
mov eax, dword [0x4938d0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x471a35
cmp dword [0x4938d4], edi
je 0x471a35
push eax
call ebx
push dword [0x4938d4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x471a35
test eax, eax
je 0x471a35
call ecx
test eax, eax
je 0x471a2a
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 0x471a2a
test byte [ebp - 8], 1
jne 0x471a35
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x471a65
mov eax, dword [0x4938c8]
cmp eax, edi
je 0x471a62
push eax
call ebx
test eax, eax
je 0x471a62
call eax
mov esi, eax
test esi, esi
je 0x471a62
mov eax, dword [0x4938cc]
cmp eax, edi
je 0x471a62
push eax
call ebx
test eax, eax
je 0x471a62
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4938c4]
call ebx
test eax, eax
je 0x471a7d
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x471a7f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004653b5
mov esp, ebp
pop ebp
ret
Function at 0x4021b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41432b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x41b360]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00412856
push 4
mov dword [ebp - 4], 0
call fcn.004059e7
mov edi, eax
add esp, 4
test edi, edi
je 0x402230
call fcn.00412437
mov dword [edi], eax
call fcn.004121f6
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0041212b
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x402226
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00412153
jmp 0x402232
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret