joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b8a93
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4e3160
push 0x4e3158
push str.FlsAlloc
push 0x1f
call fcn.004b88be
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4b8ac7
push dword [ebp + 8]
mov ecx, esi
call dword [0x4cb3b0]
call esi
jmp 0x4b8acd
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4b8b11
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4e3170
push 0x4e3168
push str.FlsGetValue
push 0x21
call fcn.004b88be
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4b8b48
push dword [ebp + 8]
mov ecx, esi
call dword [0x4cb3b0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4b8b50
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4e3178
push 0x4e3170
push str.FlsSetValue
push 0x22
call fcn.004b88be
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4b8b8a
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4cb3b0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4bd6b1
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4f414c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4bd6fc
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004bd84c
test al, al
jne 0x4bd6f6
sub edx, 2
cmp edx, edi
jne 0x4bd6dc
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4bd71e
lea eax, [edi + 2]
cmp edx, eax
je 0x4bd71e
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004bd5fd
add esp, 0x10
jmp 0x4bd818
push esi
lea ecx, [ebp - 0x255]
call fcn.004bd84c
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4bd761
push dword [ebp - 0x25c]
jmp 0x4bd70e
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4bd79e
cmp word [ebp - 0x226], 0
je 0x4bd7bf
cmp word [ebp - 0x226], ax
jne 0x4bd79e
cmp word [ebp - 0x224], 0
je 0x4bd7bf
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004bd5fd
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4bd80b
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4bd778
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4bd7f3
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4bd818
push 0x4bd42d
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004ac570
add esp, 0x10
jmp 0x4bd7e8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004998de
leave
ret

Function at 0x4be12e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4be13f
pop esi
ret
push ebx
push edi
push esi
call fcn.004be0f7
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004b668a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4be167
push ebx
push esi
push edi
call fcn.0049b020
add esp, 0xc
push 0
call fcn.004b6650
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4be537
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004be17c
Function at 0x4c0722
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004b6365
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4c0791
cmp esi, dword [ebp - 4]
je 0x4c078c
cmp dword [ebp + 0xc], 0
je 0x4c078c
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4c0769
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004c0274
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x4c0793
xor eax, eax
inc eax
jmp 0x4c0793
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x4c07f8
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4f414c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.004b6365
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004b6365
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x4c086f
cmp word [ecx], dx
je 0x4c086f
mov eax, dword [0x4e3874]
push edi
dec eax
push eax
push 0x4e3760
call fcn.004c0797
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4c08e2
cmp word [eax], dx
je 0x4c08e2
mov eax, dword [edi]
test eax, eax
je 0x4c0893
cmp word [eax], dx
je 0x4c0893
lea eax, [ebp - 0x10]
push eax
call fcn.004c017a
jmp 0x4c089c
lea eax, [ebp - 0x10]
push eax
call fcn.004c0215
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x4c090c
mov eax, dword [0x4e375c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x4e3450
call fcn.004c0797
add esp, 0xc
test al, al
je 0x4c090c
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4c08d7
cmp word [eax], di
je 0x4c08d7
lea eax, [ebp - 0x10]
push eax
call fcn.004c017a
pop ecx
jmp 0x4c090e
lea eax, [ebp - 0x10]
push eax
call fcn.004c0215
jmp 0x4c08d4
mov eax, dword [edi]
test eax, eax
je 0x4c08f9
cmp word [eax], dx
je 0x4c08f9
lea eax, [ebp - 0x10]
push eax
call fcn.004c012f
pop ecx
jmp 0x4c090c
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x4c09d7
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.004c061c
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4c09d7
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4c09d7
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4c09d7
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4c0964
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.004b8d2c
test ebx, ebx
je 0x4c09d2
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.004b8d2c
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4c09d7
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4c09d7
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.004c3ee5
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4c09d9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004998de
leave
ret
Function at 0x4c11b7
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.004c1133
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4c1326
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4c1326
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4c12db
jg 0x4c1213
test eax, eax
je 0x4c12d1
push 1
push 0x1000
call fcn.004b98a1
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4c1236
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4c12c8
push 0x8000
push ebx
call fcn.004b1ba3
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4c125f
jg 0x4c125a
cmp ecx, 0x1000
jb 0x4c125f
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004b4f48
add esp, 0x10
cmp eax, 0xffffffff
je 0x4c12a4
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x4c125a
jl 0x4c128b
test ecx, ecx
jne 0x4c124c
push dword [ebp - 0xc]
push ebx
call fcn.004b1ba3
push esi
call fcn.004b6650
add esp, 0xc
xor ebx, ebx
jmp 0x4c1334
cmp byte [edi + 0x24], 0
je 0x4c12bb
cmp dword [edi + 0x20], 5
jne 0x4c12bb
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4c12c6
mov ebx, dword [edi + 0x18]
jmp 0x4c12c8
xor ebx, ebx
push esi
call fcn.004b6650
pop ecx
jmp 0x4c1334
test ecx, ecx
jg 0x4c129d
jl 0x4c12db
test eax, eax
jae 0x4c129d
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004ae831
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4c12fb
cmp byte [edi + 0x1c], 0
je 0x4c129d
jmp 0x4c132c
push ebx
call fcn.004bb408
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4c129d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4c1334
cmp byte [edi + 0x1c], 0
je 0x4c1331
mov ebx, dword [edi + 0x18]
jmp 0x4c1334
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004ae831
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4c3895
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4f414c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x4c38d8
call fcn.004a46af
mov dword [eax], 0xf
call fcn.004a46c2
mov dword [eax], 0xd
call fcn.0049e60f
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004998de
leave
ret
test eax, eax
jne 0x4c38df
inc eax
jmp 0x4c38cc
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x4c38ca
xor eax, eax
cmp ecx, 1
setne al
jmp 0x4c38cc
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219

Function at 0xfa0980
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 8]
and dword [ebp - 0x14], 0
push ebx
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax]
mov eax, dword [0x4305c8]
mov dword [ebp - 0x24], eax
mov eax, dword [0x4305cc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x14]
call fcn.00401000
mov eax, dword [0x4305d0]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x4305d4]
add ebx, 0x23f
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, edi
shl eax, 4
cmp dword [0x43f80c], 0xc
mov dword [ebp - 4], eax
jne 0x401080
xor eax, eax
push eax
lea ecx, [ebp - 0x2c]
push ecx
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
mov eax, dword [0x43f80c]
cmp eax, 0xfa9
jne 0x40109c
mov dword [0x43f808], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010be
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
and dword [0x43f760], 0
mov ecx, dword [ebp - 8]
and dword [ebp - 0x10], 0
mov edx, edi
lea eax, [ebx + edi]
shr edx, cl
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [0x43f804], 0xf4ea3dee
add edx, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor eax, edx
sub esi, eax
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov edx, esi
shr edx, cl
lea eax, [ebx + esi]
mov dword [ebp - 0x14], eax
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor dword [ebp - 4], edx
sub edi, dword [ebp - 4]
add ebx, 0x61c88647
dec dword [ebp - 0x18]
jne 0x401054
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [eax + 4], esi
pop esi
pop ebx
leave
ret 4
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x405da2
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 0x405d7c
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
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 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

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 0x401007
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x46d5a8]
and dword [ebp - 8], 0
mov dword [ebp - 0x28], eax
mov eax, dword [0x46d5ac]
push esi
mov esi, dword [ebx + 4]
push edi
mov edi, dword [ebx]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x30], 0x9e3779b9
call fcn.00401000
mov eax, dword [0x46d5b0]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x20], eax
mov eax, dword [0x46d5b4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, edi
shl eax, 4
cmp dword [0x47c8ec], 0xc
mov dword [ebp - 4], eax
jne 0x401081
xor eax, eax
push eax
lea ecx, [ebp - 0x34]
push ecx
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [0x47c8ec]
cmp eax, 0xfa9
jne 0x40109d
mov dword [0x47c8e8], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010bf
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
and dword [0x47c840], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
and dword [ebp - 0x14], 0
mov edx, edi
add eax, edi
shr edx, cl
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [0x47c8e4], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor eax, edx
sub esi, eax
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov edx, esi
shr edx, cl
add eax, esi
mov dword [ebp - 0x18], eax
add edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
xor dword [ebp - 4], eax
xor dword [ebp - 4], edx
sub edi, dword [ebp - 4]
mov eax, dword [ebp - 0x30]
sub dword [ebp - 8], eax
dec dword [ebp - 0x1c]
jne 0x401055
mov dword [ebx], edi
pop edi
mov dword [ebx + 4], esi
pop esi
leave
ret
Function at 0x40467d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46c670]
jne 0x404687
repz ret
jmp fcn.0040918e

Function at 0x40c154
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.00402fd2
and dword [ebp - 4], 0
cmp dword [0x471c14], 0
mov ebx, eax
jne 0x40c205
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c2b6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40c2b6
push eax
call fcn.00402f60
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x471c14], eax
call esi
push eax
call fcn.00402f60
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x471c18], eax
call esi
push eax
call fcn.00402f60
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x471c1c], eax
call esi
push eax
call fcn.00402f60
pop ecx
mov dword [0x471c24], eax
test eax, eax
je 0x40c205
push 0x469858
push edi
call esi
push eax
call fcn.00402f60
pop ecx
mov dword [0x471c20], eax
mov eax, dword [0x471c20]
cmp eax, ebx
je 0x40c25d
cmp dword [0x471c24], ebx
je 0x40c25d
push eax
call fcn.00402fdb
push dword [0x471c24]
mov esi, eax
call fcn.00402fdb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c25d
test edi, edi
je 0x40c25d
call esi
test eax, eax
je 0x40c254
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c254
test byte [ebp - 0xc], 1
jne 0x40c25d
or dword [ebp + 0x10], 0x200000
jmp 0x40c296
mov eax, dword [0x471c18]
cmp eax, ebx
je 0x40c296
push eax
call fcn.00402fdb
pop ecx
test eax, eax
je 0x40c296
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c296
mov eax, dword [0x471c1c]
cmp eax, ebx
je 0x40c296
push eax
call fcn.00402fdb
pop ecx
test eax, eax
je 0x40c296
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x471c14]
call fcn.00402fdb
pop ecx
test eax, eax
je 0x40c2b6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c2b8
xor eax, eax
pop edi
pop esi
pop ebx
leave
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 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 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 0x702744
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
dec edi
mov dword [ebp - 0xc], eax
js 0x90cea3
jmp 0x6b2275
push ebx
push edi
cmc
mov dword [ebp - 0x10], eax
test ebp, 0x39cd6e98
cmc
mov dword [ebp - 8], 0xffffffff
cmp esi, 0xffff
jmp 0x665ee2
jne 0x90dcf9
mov edx, dword [eax + ecx + 0x78]
test cl, 0xf3
stc
mov dword [ebp - 4], edx
test edx, edx
je 0x90dcf9
mov eax, dword [eax + ecx + 0x7c]
jmp 0x5f0a39
ja 0x92f832
mov eax, esi
cmp esi, 0x650531bb
sub eax, dword [edx + ecx + 0x10]
mov dword [ebp - 8], eax
jmp 0x9332fc
push ebp
mov ebp, esp
bsr ecx, ecx
btc ecx, esi
mov ecx, dword [ebp + 8]
cmp esp, 0x735251f7
lea esp, [esp - 0x114]
cmp sp, bp
cmp dh, 0x3d
push esi
test dl, al
test dx, 0x66c3
test ecx, ecx
jmp 0x8a5298
je 0x90dcf9
mov esi, dword [ebp + 0xc]
test esi, esi
jmp 0x90dce0
ret
je 0x90cea3
mov eax, dword [edx + ecx + 0x20]
cmp si, 0x49c6
lea eax, [eax + ecx]
xor ebx, ebx
jmp 0x5d7c5c
je 0x90dcf9
mov eax, 0x5a4d
test cx, 0x863
cmp word [ecx], ax
je 0x937ab7
xor eax, eax
mov si, 0x4b62
mov si, cx
cmova esi, edi
pop esi
mov esp, ebp
xchg ebp, ebp
pop ebp
jmp 0x8b193b
mov edi, dword [edx + ecx + 0x18]
cmp edi, 0x16f063bd
test edi, edi
jmp 0x8e6ef4
jmp 0x90cea3
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jmp 0x5f6bed

Function at 0x438c8c
Capabilities:
Encode data using xor

Disassembly:
push 0x438a14
pop edx
mov ecx, 0xffecc9f0
sub ecx, ecx
mov ecx, eax
call fcn.00438cca
add eax, 0x5fdef618
or ecx, eax
xor dword [edi], edx
push 0xc832047
mov ecx, dword [esp]
add esp, 4
inc edi
mov eax, 0xe5932435
cmp edi, ebx
jne fcn.00438c8c
and ecx, eax
sub eax, 0xe373c1b1
ret