joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b3ec
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x46b515
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov esi, 1
test edx, edx
je 0x46b42a
inc esi
push 0xbf
push edi
push 0
lea eax, [ebp - 0x10]
push eax
push esi
call sub.user32.dll_MsgWaitForMultipleObjects
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x46b452
call sub.wsock32.dll_WSAGetLastError
call fcn.0046a1c0
jmp 0x46b4f3
cmp ebx, 0x102
jne 0x46b474
lea edx, [ebp - 0x30]
mov eax, dword [0x4ea34c]
call fcn.00406908
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.0046a218
jmp 0x46b4f3
cmp ebx, esi
jne 0x46b4f3
jmp 0x46b4b5
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_DispatchMessageA
cmp edi, 0xffffffff
je 0x46b4b5
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp edi, eax
jge 0x46b4b5
lea edx, [ebp - 0x34]
mov eax, dword [0x4ea34c]
call fcn.00406908
mov eax, dword [ebp - 0x34]
or edx, 0xffffffff
call fcn.0046a218
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x46b47a
cmp edi, 0xffffffff
je 0x46b4f3
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp edi, eax
jge 0x46b4f3
lea edx, [ebp - 0x38]
mov eax, dword [0x4ea34c]
call fcn.00406908
mov eax, dword [ebp - 0x38]
or edx, 0xffffffff
call fcn.0046a218
test ebx, ebx
sete al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b51c
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.004047bc
ret
Function at 0x46c1fc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
lea edi, [ebp - 0x24]
mov eax, esi
call fcn.0046c2dc
cmp dword [eax + 0xc], 0
jle 0x46c2d4
mov eax, esi
call fcn.0046c2dc
push dword [eax + 0xc]
mov eax, ebx
shl eax, 3
imul eax, eax, 0x3e8
pop edx
mov ecx, edx
cdq
idiv ecx
mov ebx, eax
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x46c2cd
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [esi + 8]
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
push 0xbf
push ebx
push 0
lea eax, [ebp - 4]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
sub eax, 1
jb 0x46c2b6
je 0x46c297
sub eax, 0x101
jne 0x46c25d
jmp 0x46c2b6
push edi
call sub.user32.dll_TranslateMessage
push edi
call sub.user32.dll_DispatchMessageA
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp ebx, eax
jl 0x46c2a9
push 1
push 0
push 0
push 0
push edi
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x46c280
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp ebx, eax
jl 0x46c2b6
jmp 0x46c25d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c2d4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetLastError
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48b3a4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48b52f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x3c]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x48b512
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 0x98]
mov eax, dword [eax + 0x10]
call fcn.00408bec
mov edx, dword [ebp - 0x1c]
mov eax, 0x48b548
call fcn.00404d9c
test eax, eax
jle 0x48b416
mov ecx, edi
mov dl, 1
mov eax, dword [0x489774]
call fcn.00489804
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x18]
mov eax, dword [ebx + 0x98]
mov edx, dword [eax + 0x34]
mov eax, 0x48b558
call fcn.00408ce0
test al, al
je 0x48b489
mov ecx, edi
mov dl, 1
mov eax, dword [0x472958]
call fcn.00472ca4
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x48b482
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00470018
test al, al
je 0x48b46c
jmp 0x48b463
mov edx, dword [ebp - 0x14]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x14], 0
je 0x48b459
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b4fc
mov eax, dword [ebp - 0x14]
call fcn.00403990
ret
mov eax, ebx
call fcn.0048b560
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x48b4a4
cmp dword [ebp - 8], 0
jae 0x48b4c0
jmp 0x48b4a6
jge 0x48b4c0
mov eax, ebx
call fcn.00470018
test al, al
je 0x48b4fc
mov byte [esi + 0x78], 1
mov edx, edi
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x1c]
jmp 0x48b4fc
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0xc], eax
mov eax, ebx
call fcn.00470018
test al, al
je 0x48b4fc
jmp 0x48b4e2
mov edx, edi
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
sub eax, dword [ebp - 0x10]
sbb edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 4]
jne 0x48b4fa
cmp eax, dword [ebp - 8]
jb 0x48b4d9
jmp 0x48b4fc
jl 0x48b4d9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b519
mov eax, dword [ebp - 0x18]
call fcn.00403990
ret
Function at 0x48ffd8
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4902ee
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2c]
mov edx, dword [0x46814c]
call fcn.00405ce4
push 4
lea eax, [ebp - 0x24]
mov ecx, 1
mov edx, dword [0x46814c]
call fcn.00405bb8
add esp, 4
mov eax, dword [ebp - 0x24]
mov byte [eax], 0xd
mov eax, dword [ebp - 0x24]
mov byte [eax + 1], 0xa
mov eax, dword [ebp - 0x24]
mov byte [eax + 2], 0xd
mov eax, dword [ebp - 0x24]
mov byte [eax + 3], 0xa
push 2
lea eax, [ebp - 0x28]
mov ecx, 1
mov edx, dword [0x46814c]
call fcn.00405bb8
add esp, 4
mov eax, dword [ebp - 0x28]
mov byte [eax], 0xa
mov eax, dword [ebp - 0x28]
mov byte [eax + 1], 0xa
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.0041f594
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xac], edx
mov eax, dword [ebp - 4]
add eax, 0xb0
call fcn.00404798
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xa0]
mov edx, dword [ebp - 4]
mov byte [edx + 0xe0], al
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x79], 0
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x78], 0
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x1c], edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x30]
call fcn.0046b7f8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
cdq
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], edx
xor eax, eax
push ebp
push 0x49012a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490131
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x34], edx
ret
Function at 0x498898
Capabilities:
Read file via mapping

Disassembly:
push ebx
mov ebx, eax
push 0
push 0
push 0
push 6
push ebx
call sub.kernel32.dll_MapViewOfFile
pop ebx
ret

Function at 0x4c976c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffba8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x448], ecx
mov dword [ebp - 0x44c], ecx
mov dword [ebp - 0x458], ecx
mov dword [ebp - 0x40], ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cb2f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x24], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], esi
mov eax, dword [esi + 0x38]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, esi
call fcn.004ccf08
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [esi + 0x30]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, dword [esi + 0x44]
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], ebx
mov eax, ebx
call fcn.00402af4
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, 0x4cb6f8
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x39], 0
xor edx, edx
push ebp
push 0x4cb2bb
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 9], 0
Function at 0x4def28
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4df0fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [edi + 0x38], 0
jne 0x4df0e5
mov eax, dword [edi + 0x30]
call fcn.00404a58
test eax, eax
jne 0x4def7e
mov eax, dword [edi + 0x34]
call fcn.00404a58
test eax, eax
jne 0x4def7e
mov eax, edi
call fcn.004df19c
jmp 0x4df0e5
cmp dword [edi + 0xa0], 0
jne 0x4defb5
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x30]
call fcn.00409bc8
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4eca68]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa0], eax
cmp dword [edi + 0xa4], 0
jne 0x4defec
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x34]
call fcn.00409bc8
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4eca68]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa4], eax
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.004df1dc
mov ebx, eax
test bl, bl
jne 0x4df09a
mov eax, dword [edi + 0x30]
call fcn.00404a58
test eax, eax
jne 0x4df024
mov eax, dword [edi + 0xc0]
call fcn.00404a58
test eax, eax
je 0x4df09a
mov eax, dword [edi + 0xc0]
call fcn.00404a58
test eax, eax
je 0x4df046
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0xc0]
call fcn.00409bc8
jmp 0x4df072
push dword [edi + 0x30]
push 0x4df118
push dword [edi + 0x34]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.00404b18
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.00409bc8
push 7
lea eax, [ebp - 0x101]
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x20
jb 0x4df09a
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.004df1dc
mov ebx, eax
test bl, bl
jne 0x4df0a7
mov eax, edi
call fcn.004df19c
jmp 0x4df0e5
mov eax, dword [edi + 0x58]
test eax, eax
je 0x4df0b6
mov dword [edi + 0xa8], eax
jmp 0x4df0c0
mov dword [edi + 0xa8], 1
mov eax, edi
call fcn.004df254
test al, al
je 0x4df0e5
mov eax, edi
mov si, 0xffee
call fcn.00403b98
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.004df300
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4df105
lea eax, [ebp - 0x108]
call fcn.00404798
ret
Function at 0x4fa020
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa3000]
push edi
jmp 0x4fa03a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4fa041
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4fa030
mov eax, 1
add ebx, ebx
jne 0x4fa053
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4fa064
jne 0x4fa083
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4fa083
dec eax
add ebx, ebx
jne 0x4fa070
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4fa048
add ebx, ebx
jne 0x4fa07f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4fa0d5
xor ecx, ecx
sub eax, 3
jb 0x4fa09b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4fa10a
sar eax, 1
mov ebp, eax
jmp 0x4fa0a6
add ebx, ebx
jne 0x4fa0a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4fa074
inc ecx
add ebx, ebx
jne 0x4fa0b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4fa074
add ebx, ebx
jne 0x4fa0c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4fa0b6
jne 0x4fa0d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4fa0b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4fa0f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4fa0e6
jmp 0x4fa036
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4fa0f4
add edi, ecx
jmp 0x4fa036
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4fa112
cmp byte [edi], 0x11
jne 0x4fa112
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4fa117
lea edi, [esi + 0xf3000]
mov eax, dword [edi]
or eax, eax
je 0x4fa18f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x11afac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x11b128]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4fa144
mov ecx, edi
jns 0x4fa173
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x11b12c]
or eax, eax
je 0x4fa189
mov dword [ebx], eax
add ebx, 4
jmp 0x4fa161
call dword [esi + 0x11b13c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4fa1c0
cmp al, 0xef
ja 0x4fa1b3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4fa195
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4fa1a2
mov ebp, dword [esi + 0x11b130]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4fa1f4
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x406cd7
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov dword [ebp - 0x408], 0
jmp 0x406cfb
mov eax, dword [ebp - 0x408]
add eax, 1
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 0xff
jg 0x406d6a
mov ecx, dword [ebp - 0x408]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x40c], 8
jmp 0x406d2b
mov edx, dword [ebp - 0x40c]
sub edx, 1
mov dword [ebp - 0x40c], edx
cmp dword [ebp - 0x40c], 0
jle 0x406d58
mov eax, dword [ebp - 4]
and eax, 1
test eax, eax
je 0x406d4e
mov ecx, dword [ebp - 4]
shr ecx, 1
xor ecx, 0xedb88320
mov dword [ebp - 4], ecx
jmp 0x406d56
mov edx, dword [ebp - 4]
shr edx, 1
mov dword [ebp - 4], edx
jmp 0x406d1c
mov eax, dword [ebp - 0x408]
mov ecx, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x404], ecx
jmp 0x406cec
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
sub eax, 1
mov dword [ebp + 0xc], eax
test edx, edx
je 0x406dc5
mov ecx, dword [ebp + 0x10]
shr ecx, 8
and ecx, 0xffffff
mov dword [ebp - 0x410], ecx
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 0x10]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + ecx*4 - 0x404]
mov dword [ebp - 0x414], edx
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0x410]
xor ecx, dword [ebp - 0x414]
mov dword [ebp + 0x10], ecx
jmp 0x406d6a
mov eax, dword [ebp + 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x407650
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x400
call fcn.0040eba0
add esp, 4
mov dword [0x4193a8], eax
mov dword [ebp - 8], 0
jmp 0x40767a
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xff
jg 0x4076d6
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 8
jmp 0x40769b
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jle 0x4076c5
mov eax, dword [ebp - 4]
and eax, 1
test eax, eax
je 0x4076bb
mov ecx, dword [ebp - 4]
shr ecx, 1
xor ecx, 0xedb88320
mov dword [ebp - 4], ecx
jmp 0x4076c3
mov edx, dword [ebp - 4]
shr edx, 1
mov dword [ebp - 4], edx
jmp 0x407692
mov eax, dword [ebp - 8]
mov ecx, dword [0x4193a8]
mov edx, dword [ebp - 4]
mov dword [ecx + eax*4], edx
jmp 0x407671
mov esp, ebp
pop ebp
ret

Function at 0x40913c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push edx
push esi
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, ecx
cmp edx, 4
jl 0x409183
cmp edx, 0x10
jl 0x40916f
shr ecx, 4
nop
xor eax, dword [ebx]
mov esi, dword [ebx + 4]
xor eax, dword [ebx + 8]
xor esi, dword [ebx + 0xc]
add ebx, 0x10
xor eax, esi
dec ecx
jne 0x40915c
mov ecx, edx
shr ecx, 2
and ecx, 3
test ecx, ecx
je 0x409183
xor eax, dword [ebx]
add ebx, 4
dec ecx
jne 0x40917b
and edx, 3
cmp edx, 3
jne 0x409197
xor ecx, ecx
mov cl, byte [ebx]
inc ebx
shl ecx, 0x10
xor eax, ecx
jmp 0x40919c
cmp edx, 2
jne 0x4091a8
xor ecx, ecx
mov cl, byte [ebx]
inc ebx
shl ecx, 8
xor eax, ecx
jmp 0x4091ad
cmp edx, 1
jne 0x4091b3
xor ecx, ecx
mov cl, byte [ebx]
xor eax, ecx
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x401511
Capabilities:
Create thread

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x34
call sym.___main
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], dbg.encryptData@4
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateThread_24
sub esp, 0x18
mov dword [ebp - 0xc], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], dbg.decryptData@4
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateThread_24
sub esp, 0x18
mov dword [ebp - 0x10], eax
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov eax, 0
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret
Function at 0x40fa50
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x40fc14
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb000]
push edi
or ebp, 0xffffffff
jmp 0x40fa7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40fa81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40fa70
mov eax, 1
add ebx, ebx
jne 0x40fa93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40fa88
jne 0x40faa4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40fa88
xor ecx, ecx
sub eax, 3
jb 0x40fab8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40fb2a
mov ebp, eax
add ebx, ebx
jne 0x40fac3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40fad0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40faf4
inc ecx
add ebx, ebx
jne 0x40fae0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40fad5
jne 0x40faf1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40fad5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40fb14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40fb05
jmp 0x40fa76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40fb14
add edi, ecx
jmp 0x40fa76
pop esi
mov edi, esi
mov ecx, 0x32e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40fb32
cmp byte [edi], 6
jne 0x40fb32
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40fb37
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40fba6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf498]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf538]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40fb64
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf53c]
or eax, eax
je 0x40fba0
mov dword [ebx], eax
add ebx, 4
jmp 0x40fb81
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x40fbd7
cmp al, 0xef
ja 0x40fbca
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x40fbac
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x40fbb9
mov ebp, dword [esi + 0xf540]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x40fc0b
sub esp, 0xffffff80
jmp 0x4070a4
Function at 0x402430
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 4
push eax
mov ecx, dword [ebp - 4]
call fcn.004024f0
test eax, eax
jne 0x402490
mov dword [ebp - 0xc], 0x104
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
add edx, 4
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x402490
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
mov byte [eax + 4], 0
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
mov edx, dword [ebp - 4]
add edx, 0x20c
push edx
call fcn.0040f870
add esp, 8
push 0
mov ecx, dword [ebp - 4]
call fcn.00402630
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4024b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 1
mov ecx, dword [ebp - 4]
call fcn.00402630
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
movzx ecx, word [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4024f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x42a21c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], 0
cmp dword [ebp + 8], 0
je 0x4025a7
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.0040f870
add esp, 8
push str.ONFLOWTESTTEMPTEMPTEMP.html
lea edx, [ebp - 0x108]
push edx
call fcn.0040f880
add esp, 8
push 0x42058c
lea eax, [ebp - 0x108]
push eax
call fcn.00410114
add esp, 8
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x402598
mov ecx, dword [ebp - 0x10c]
push ecx
push 1
push 2
push 0x4205b4
call fcn.0041034a
add esp, 0x10
mov edx, dword [ebp - 0x10c]
push edx
call fcn.0040fc91
add esp, 4
mov dword [ebp - 0x110], 1
lea eax, [ebp - 0x108]
push eax
call fcn.00410533
add esp, 4
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040af7c
mov esp, ebp
pop ebp
ret 4