joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402beb
Capabilities:
Check if file exists
Get file attributes
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x104
lea eax, [ebp - 0x108]
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push ebx
push 0x4011c4
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402ca2
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], edi
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
push ebx
push dword [ebp - 0x10c]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExA]
test eax, eax
jne 0x402ca2
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x402c92
lea eax, [ebp - 0x108]
mov edx, edi
push eax
mov ecx, esi
call fcn.004027f5
test eax, eax
setns bl
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x402ce6
push edi
lea eax, [ebp - 0x108]
push eax
push 0x4011e4
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x402ce6
push 0x401200
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
test eax, eax
je 0x402ce6
lea eax, [ebp - 0x108]
mov edx, edi
push eax
mov ecx, esi
call fcn.004027f5
xor ebx, ebx
test eax, eax
setns bl
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040170e
mov esp, ebp
pop ebp
ret
Function at 0x402ea5
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x72c
mov eax, dword [0x405004]
xor eax, esp
mov dword [esp + 0x728], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov esi, 0x208
mov dword [esp + 0xc], eax
push esi
xor ebx, ebx
lea eax, [esp + 0x14]
push ebx
push eax
xor edi, edi
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [esp + 0x528]
push esi
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [esp + 0x320]
push esi
xor esi, esi
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
test eax, eax
jne 0x402fbf
mov esi, 0x80004005
push 0x104
lea eax, [esp + 0x324]
push eax
push 0x61b
push dword [0x4053c8]
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x104
lea eax, [esp + 0x52c]
push eax
push 0x61c
push dword [0x4053c8]
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x10
lea eax, [esp + 0x324]
push eax
lea eax, [esp + 0x530]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
test edi, edi
je 0x402f82
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x4053c8]
test eax, eax
je 0x402f99
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
and dword [0x4053c8], 0
test ebx, ebx
je 0x402fa3
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x734]
shr esi, 0x1f
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.00403dd0
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, eax
call fcn.004038a4
push 2
push esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, eax
test esi, esi
js 0x402f21
xor ebx, ebx
inc ebx
call fcn.00402e37
mov dword [0x4053c8], eax
test eax, eax
je 0x402f1c
mov esi, dword [esp + 0xc]
mov edx, 0x401300
push 0
push 0
mov ecx, esi
call fcn.00402cf9
mov dword [0x4053ac], eax
mov edi, 0x104
push edi
lea eax, [esp + 0x118]
mov edx, 0x4012d4
push eax
mov ecx, esi
call fcn.00402cf9
push edi
lea eax, [esp + 0x14]
mov edx, 0x4012cc
push eax
mov ecx, esi
call fcn.00402cf9
lea ecx, [esp + 0x218]
xor edi, edi
call fcn.00402beb
test eax, eax
je 0x40305b
lea eax, [esp + 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x402f1c
push 0x40121c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4053cc], eax
test eax, eax
je 0x402f1c
mov ecx, dword [0x4053ac]
mov eax, 0x401980
test ecx, ecx
jne 0x403090
mov eax, 0x402170
lea edx, [esp + 0x10]
push edx
push eax
xor eax, eax
test ecx, ecx
push 0
setne al
lea eax, [eax*4 + 0x44d]
push eax
push dword [0x4053c8]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 0xffffffff
jne 0x4030c2
mov esi, 0x8000ffff
jmp 0x402f21
xor esi, esi
jmp 0x402f77
Function at 0x40323a
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x20019
push esi
push 0x401224
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40329e
lea eax, [ebp - 0x10]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], esi
push eax
push esi
push 0x401250
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40329e
cmp dword [ebp - 8], 4
jne 0x40329e
cmp dword [ebp - 0xc], esi
jne 0x40329e
inc esi
cmp dword [ebp - 4], 0
je 0x4032ad
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x403a1e
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor esi, esi
mov edi, ecx
push esi
push esi
push edi
push 0x403980
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
test eax, eax
jne 0x403a60
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x403a57
movzx esi, si
or esi, 0x80070000
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x403a81
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 4]
push eax
push 1
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoWaitForMultipleHandles]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x403ba0
Capabilities:
Terminate process

Disassembly:
call fcn.00404073
jmp 0x403baa
push 0x5c
push 0x404378
call fcn.00404128
xor ebx, ebx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x4053bc
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x403bfc
cmp eax, esi
jne 0x403bef
xor esi, esi
inc esi
mov edi, esi
jmp 0x403bff
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403bd3
xor esi, esi
inc esi
cmp dword [0x4053c0], esi
jne 0x403c11
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x403c4b
cmp dword [0x4053c0], ebx
jne 0x403c45
mov dword [0x4053c0], esi
push 0x4010d8
push 0x4010cc
call fcn.00403d7f
pop ecx
pop ecx
test eax, eax
je 0x403c4b
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x403d79
mov dword [0x405024], esi
cmp dword [0x4053c0], esi
jne 0x403c6e
push 0x4010c8
push 0x4010c0
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x4053c0], 2
test edi, edi
jne 0x403c7b
xor eax, eax
mov ecx, 0x4053bc
xchg dword [ecx], eax
cmp dword [0x4053c4], 0
je 0x403ca7
push 0x4053c4
call fcn.00403f80
pop ecx
test eax, eax
je 0x403ca7
push ebx
push 2
push ebx
mov esi, dword [0x4053c4]
mov ecx, esi
call dword [0x4061a4]
call esi
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov edi, dword [ebp - 0x24]
mov cl, byte [esi]
cmp cl, 0x20
ja 0x403d05
test cl, cl
je 0x403cd4
test edi, edi
jne 0x403d05
test cl, cl
je 0x403cd4
cmp cl, 0x20
ja 0x403cd4
inc esi
mov dword [ebp - 0x20], esi
mov cl, byte [esi]
jmp 0x403cc3
test byte [ebp - 0x40], 1
je 0x403ce0
movzx eax, word [ebp - 0x3c]
jmp 0x403ce3
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x405020], eax
cmp dword [0x405038], 0
jne 0x403d5e
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cl, 0x22
jne 0x403d16
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x24], edi
movzx eax, cl
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x403d29
inc esi
mov dword [ebp - 0x20], esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x403cb4
cmp dword [0x405024], 0
jne 0x403d72
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x405020]
mov dword [ebp - 4], 0xfffffffe
call fcn.00404170
ret

Function at 0x403e74
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x404398
call fcn.004042c4
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x403ed4
cmp eax, 0xffffffff
je 0x403ed4
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x403ecd
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x403ecd
cmp edx, 0x10000000
jae 0x403ecd
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x403eca
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.00404309
ret 4
Function at 0x403f30
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x403f6e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x403f66
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x403f70
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x403f56
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x404040
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x404056
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x404071
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0xed2282f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc esp
movzx eax, word [edi + 6]
lea eax, [eax + eax*4]
shl eax, 3
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.0ed2261b
or ch, ch
pop esi
inc ecx
mov ax, word [edi + 6]
cmp ax, bx
jbe 0xed22875
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0xed2286f
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0xed22860
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.0ed2261b
sub al, 0xe6
fiadd dword [0x50a8458d]
call fcn.0ed2262b
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.0ed225e0
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0xed22909
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0ed2261b
aad 0x95
movsb byte es:[edi], byte [esi]
and ecx, dword [ebp - 0x17af3fbb]
invalid
Function at 0xed229d1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [ecx + 0x458df845]
xchg esp, eax
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0ed2262b
push eax
push esi
push dword [ebp + 8]
call fcn.0ed225e0
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0ed2262b
push eax
push esi
push dword [ebp + 8]
call fcn.0ed225e0
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0ed2261b
pop edx
fild dword [ebp + 0x7c9d885f]
invalid
Function at 0xed22b91
Capabilities:
Inspect section memory permissions

Disassembly:
dec ecx
lodsb al, byte [esi]
and cl, byte [ebx - 0x1fcc382]
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0xed22e0a
add eax, esi
mov dword [ebp - 0x44], eax
cmp dword [eax + 4], ebx
jne 0xed22bc0
cmp dword [eax + 0xc], ebx
je 0xed22c63
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.0ed2261b
push ebx
clc
invalid
call fcn.0ed2261b
popfd
fistp qword [esi + 0x20]
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0xed22ccf
add eax, esi
cmp dword [eax], ebx
je 0xed22ccf
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0xed22cca
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0xed22cb4
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0xed22cbc
cmp edx, ebx
jne 0xed22e0a
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0xed22c8b
add eax, dword [eax + 4]
jmp 0xed22c78
mov dword [ebp + 0xc], ebx
jmp 0xed22cda
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0xed22cf2
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0xed22d10
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0xed22d6e
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0xed22d55
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0xed22d5e
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0xed22d68
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0xed22d4a
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0xed22cd4
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0xed22dbb
dec eax
je 0xed22db2
sub eax, 3
je 0xed22da9
mov dword [ebp - 4], 0x40
jmp 0xed22dd8
mov dword [ebp - 4], 4
jmp 0xed22dbe
mov dword [ebp - 4], 0x20
jmp 0xed22dbe
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0xed22e0a
invalid
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0xed22d8a
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0ed2261b
jbe 0xed22dd1
or al, 0x3a
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0xed22e16
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0xed230cc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.0ed2262b
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0ed225e0
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.0ed2261b
sti
invalid

Function at 0xed2c688
Capabilities:
Create thread

Disassembly:
mov edi, edi
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0xc], edi
jne 0xed2c6a3
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0xed2c6f0
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0xed3e060
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea eax, [esi + 0x14]
push eax
push edi
push esi
push 0xed2c66b
push edi
push edi
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x10], eax
cmp eax, edi
je 0xed2c6e4
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], edi
pop edi
pop esi
ret

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
xor ecx, ecx
push esi
push edi
cmp dword [ebp + 0xc], ecx
jne 0xed32c9a
mov edi, dword [ebp + 0x14]
cmp edi, ecx
je 0xed32c9a
cmp dword [ebp + 0x10], 1
jne 0xed32c9a
mov eax, dword [edi + 4]
mov esi, dword [ebp + 8]
cmp eax, dword [esi + 0x90]
jne 0xed32bfe
mov edi, dword [edi + 0x10]
cmp dword [0xed3ff1c], edi
je 0xed32c9a
mov eax, dword [esi + 0x110]
mov dword [0xed3ff1c], edi
cmp eax, ecx
je 0xed32bdc
cmp dword [eax + 0x28], ecx
je 0xed32bdc
push 1
push ecx
mov ecx, esi
call fcn.0ed31f74
push 0
mov ecx, esi
call fcn.0ed32986
mov esi, dword [esi + 0x110]
test esi, esi
je 0xed32c9a
cmp dword [esi + 0x24], 0
je 0xed32c9a
call fcn.0ed33d35
jmp 0xed32c9a
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
cmp eax, 0x201
je 0xed32c13
cmp eax, 0x203
jne 0xed32c41
lea eax, [ebp - 0x10]
push eax
push dword [edi]
call ebx
movsx eax, word [edi + 0xc]
add eax, dword [ebp - 0x10]
mov dword [esi + 0xe4], eax
movsx eax, word [edi + 0xe]
add eax, dword [ebp - 0xc]
mov dword [esi + 0xe8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xf4], eax
mov eax, dword [edi + 4]
cmp eax, 0x202
je 0xed32c52
cmp eax, 0xa2
jne 0xed32c99
lea eax, [ebp - 0x10]
push eax
push dword [edi]
call ebx
movsx eax, word [edi + 0xc]
add eax, dword [ebp - 0x10]
mov dword [esi + 0xec], eax
movsx eax, word [edi + 0xe]
add eax, dword [ebp - 0xc]
mov dword [esi + 0xf0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xf8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0xed3ff18], eax
je 0xed32c99
push 1
push 0
mov ecx, esi
call fcn.0ed31f74
pop ebx
pop edi
xor eax, eax
pop esi
leave
ret 0x10
Function at 0x9af075
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x9af09c
call fcn.00951578
mov dword [eax], esi
call fcn.00951565
push 0x16
pop esi
mov dword [eax], esi
call fcn.009521ba
mov eax, esi
jmp 0x9af0f1
test dword [ebp + 0xc], 0xfffffff9
jne 0x9af082
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9af0c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0095158b
pop ecx
call fcn.00951565
mov eax, dword [eax]
jmp 0x9af0f1
test al, 0x10
jne 0x9af0ef
test al, 1
je 0x9af0ef
test byte [ebp + 0xc], 2
je 0x9af0ef
call fcn.00951578
mov dword [eax], 5
call fcn.00951565
mov dword [eax], 0xd
jmp 0x9af0c0
xor eax, eax
pop esi
pop ebp
ret

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x431002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
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
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
popal
nop
nop
nop
nop
jmp fcn.00401219