joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c178
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404934
xor eax, eax
push ebp
push 0x43c2af
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
call fcn.00404744
mov esi, eax
test esi, esi
jle 0x43c287
test esi, 1
jne 0x43c287
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dl, byte [edx + esi - 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x14]
call fcn.00402ec4
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov dl, byte [edx + esi - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x14]
mov cl, 2
call fcn.00402e94
lea edx, [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.004046e8
mov ebx, esi
sub ebx, 2
sar ebx, 1
jns 0x43c21a
adc ebx, 0
test ebx, ebx
jle 0x43c25a
mov esi, 1
lea eax, [ebp - 0x20]
push eax
mov edx, esi
add edx, edx
dec edx
mov ecx, 2
mov eax, dword [ebp - 4]
call fcn.004049a4
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x43c2c8
call fcn.00404790
mov eax, dword [ebp - 0x1c]
xor edx, edx
call fcn.00407ff4
xor byte [ebp - 9], al
inc esi
dec ebx
jne 0x43c223
lea eax, [ebp - 0x24]
push eax
xor eax, eax
mov al, byte [ebp - 9]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x43c2d4
call fcn.00408bd4
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.00404890
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c2b6
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004044a8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004044a8
ret

Function at 0x440130
Capabilities:
Check for time delay via gettickcount
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf0
push ebx
push esi
push edi
mov byte [ebp - 1], 0
xor edi, edi
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 8], eax
xor esi, esi
mov dword [ebp - 0xc], 0x400
push 1
call sub.kernel32.dll_Sleep
push 0
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp + edi - 0x40d]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.wsock32.dll_recv
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44017d
call sub.wsock32.dll_WSAGetLastError
test ebx, ebx
jne 0x44018d
inc esi
cmp esi, 5
jle 0x44018d
mov byte [ebp - 1], 1
jmp 0x44019e
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jbe 0x440153
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44822c
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x32]
mov edx, dword [0x4208f0]
call fcn.00404fc8
xor eax, eax
push ebp
push 0x4483f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp + 0x18]
mov edx, dword [edx]
xor ecx, ecx
mov eax, dword [ebp + 0x14]
call fcn.00406b9c
mov byte [ebp - 1], 0
mov eax, dword [ebp + 0x18]
mov dword [eax], 0xffffffff
mov eax, dword [0x45b388]
cmp dword [eax + 0x10], 0
jne 0x448293
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventA
mov edx, dword [0x45b388]
mov dword [edx + 0x10], eax
mov eax, dword [0x45b388]
mov eax, dword [eax + 0x10]
push eax
call sub.kernel32.dll_ResetEvent
test eax, eax
je 0x4483d3
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_ClearCommError
mov eax, dword [0x45b388]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3e5
jne 0x448306
mov eax, dword [0x45b51c]
mov eax, dword [eax]
push eax
mov eax, dword [0x45b388]
mov eax, dword [eax + 0x10]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
sete byte [ebp - 1]
cmp byte [ebp - 1], 0
je 0x4483d3
mov eax, dword [ebp + 8]
call fcn.00424700
imul eax, eax, 0x422
lea edi, [eax*8 + 0x4de4c0]
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov byte [ebp - 0x15], 0
mov eax, dword [ebp + 8]
call fcn.00427bd8
mov esi, eax
test esi, esi
jle 0x44836e
mov eax, ebx
add eax, esi
cmp eax, 0x1002
jge 0x4483d3
mov eax, dword [ebp + 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [edi + ebx]
push eax
mov eax, dword [ebp + 8]
push eax
call sym.FRDrive.dll_ReadText
test al, al
je 0x44836e
mov byte [ebp - 0x15], 1
cmp byte [ebp - 0x15], 0
je 0x44837d
cmp dword [ebp - 0x10], 0
jbe 0x44837d
add ebx, dword [ebp - 0x10]
cmp ebx, 9
jl 0x4483a9
cmp byte [edi], 0xae
jne 0x4483a9
lea ecx, [ebp - 0x38]
mov edx, ebx
mov eax, edi
call fcn.00420740
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x32]
mov eax, dword [0x45b3a4]
mov eax, dword [eax]
call fcn.00422cac
test eax, eax
je 0x4483ba
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x1c]
jbe 0x44832f
test ebx, ebx
jle 0x4483d3
mov ecx, ebx
mov edx, edi
mov eax, dword [ebp + 0x14]
call fcn.00406b94
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4483fe
lea eax, [ebp - 0x38]
call fcn.00404484
lea eax, [ebp - 0x32]
mov edx, dword [0x4208f0]
call fcn.0040508c
ret
Function at 0x44b0d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp], edx
mov esi, eax
xor ebx, ebx
call sub.kernel32.dll_GetTickCount
mov edi, eax
mov byte [esp + 4], 0
jmp 0x44b112
mov eax, dword [esi + 4]
cmp dword [eax + 0x4c], 0
jle 0x44b112
mov byte [esp + 4], 1
mov bl, 1
push esi
push edi
lea edi, [esi + 0x84a]
lea esi, [eax + 0x890]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
test bl, bl
jne 0x44b122
call sub.kernel32.dll_GetTickCount
sub eax, edi
cmp eax, dword [esp]
jb 0x44b0eb
mov al, byte [esp + 4]
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], edx
mov esi, eax
xor ebx, ebx
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov byte [esp + 4], 0
jmp 0x44b1ef
mov eax, dword [esi + 4]
cmp dword [eax + 0x48], 0
jle 0x44b1e8
push esi
lea edi, [esi + 8]
lea esi, [eax + 0x50]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
pop esi
mov al, byte [esi + 9]
mov byte [esp + 0xc], al
mov al, byte [esi + 0xa]
mov byte [esp + 0xd], al
mov ax, word [esp + 0xc]
call fcn.0044b248
mov ecx, eax
movzx edi, cx
sub edi, 0x3d
test edi, edi
jge 0x44b196
mov byte [esp + 4], 1
mov bl, 1
jmp 0x44b1ef
mov eax, edi
mov ecx, 0x3f
cdq
idiv ecx
mov edx, eax
add edx, 2
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x48]
cmp edx, eax
jne 0x44b1ef
mov byte [esp + 4], 1
mov bl, 1
mov edx, eax
dec edx
test edx, edx
jle 0x44b1ef
mov eax, 1
mov ecx, eax
shl ecx, 3
mov edi, dword [esi + 4]
mov ebp, eax
shl ebp, 3
push esi
lea ecx, [edi + ecx*8 + 0x50]
lea edi, [esi + ebp*8 + 8]
mov esi, ecx
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
pop esi
inc eax
dec edx
jne 0x44b1c2
jmp 0x44b1ef
push 1
call sub.kernel32.dll_Sleep
test bl, bl
jne 0x44b205
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 8]
cmp eax, dword [esp]
jb 0x44b14d
mov al, byte [esp + 4]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 4], eax
mov ebx, 0xc0
mov eax, dword [ebp - 4]
call fcn.0044afdc
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x44b311
call sub.kernel32.dll_GetTickCount
mov esi, eax
push 0xffffffffffffffff
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_SleepEx
mov ebx, eax
call sub.kernel32.dll_GetTickCount
sub eax, esi
cmp ebx, 0xc0
je 0x44b311
cmp eax, dword [ebp + 8]
jbe 0x44b2f0
cmp ebx, 0xc0
je 0x44b321
mov eax, dword [ebp - 4]
call fcn.0044ae30
mov al, byte [ebp - 5]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x44bbd8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 4], eax
mov ebx, 0xc0
mov eax, dword [ebp - 4]
call fcn.0044afdc
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x44bc21
call sub.kernel32.dll_GetTickCount
mov esi, eax
push 0xffffffffffffffff
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_SleepEx
mov ebx, eax
call sub.kernel32.dll_GetTickCount
sub eax, esi
cmp ebx, 0xc0
je 0x44bc21
cmp eax, dword [ebp + 8]
jbe 0x44bc00
cmp ebx, 0xc0
je 0x44bc31
mov eax, dword [ebp - 4]
call fcn.0044ae30
mov al, byte [ebp - 5]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x451c08
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404934
xor eax, eax
push ebp
push 0x451d63
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404744
mov ebx, eax
lea eax, [ebp - 0x10c]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00406b9c
lea eax, [ebp - 4]
call fcn.0040499c
mov edx, eax
lea eax, [ebp - 0x10b]
mov ecx, ebx
call fcn.00406b94
lea eax, [esi + 0x3c]
push eax
lea eax, [ebp - 0xc]
push eax
movzx eax, word [esi + 0x6a]
push eax
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [esi + 0x30]
push eax
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb ebx, ebx
inc ebx
call sub.kernel32.dll_GetLastError_1
mov edi, eax
test bl, bl
jne 0x451d3d
cmp edi, 0x3e5
jne 0x451cc8
mov eax, dword [ebp - 8]
push eax
mov eax, dword [esi + 0x4c]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x451d3d
mov bl, 1
jmp 0x451d3d
push 0
push pe_nt_image_headers32
lea eax, [ebp - 0x20c]
push eax
push 0
push edi
push 0
push 0x1000
call sub.kernel32.dll_FormatMessageA
mov eax, edi
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x214]
mov eax, 8
call fcn.00407f88
push dword [ebp - 0x214]
push 0x451d7c
lea eax, [ebp - 0x218]
lea edx, [ebp - 0x20c]
mov ecx, pe_nt_image_headers32
call fcn.004046f4
push dword [ebp - 0x218]
lea eax, [ebp - 0x210]
mov edx, 3
call fcn.00404804
mov eax, dword [ebp - 0x210]
call fcn.0042054c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451d6a
lea eax, [ebp - 0x218]
mov edx, 3
call fcn.004044a8
lea eax, [ebp - 4]
call fcn.00404484
ret
Function at 0x451d80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x451ef2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10c]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00406b9c
lea eax, [esi + 0x50]
push eax
lea eax, [ebp - 0xc]
push eax
movzx eax, word [esi + 0x68]
push eax
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [esi + 0x30]
push eax
call sub.kernel32.dll_ReadFile_1
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x451ead
call sub.kernel32.dll_GetLastError_1
mov edi, eax
cmp edi, 0x3e5
jne 0x451e38
mov eax, dword [ebp - 8]
push eax
mov eax, dword [esi + 0x60]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x451ead
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [esi + 0x50]
push eax
mov eax, dword [esi + 0x30]
push eax
call sub.kernel32.dll_GetOverlappedResult
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x451ead
push 0
push pe_nt_image_headers32
lea eax, [ebp - 0x20c]
push eax
push 0
push edi
push 0
push 0x1000
call sub.kernel32.dll_FormatMessageA
mov eax, edi
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x214]
mov eax, 8
call fcn.00407f88
push dword [ebp - 0x214]
push 0x451f0c
lea eax, [ebp - 0x218]
lea edx, [ebp - 0x20c]
mov ecx, pe_nt_image_headers32
call fcn.004046f4
push dword [ebp - 0x218]
lea eax, [ebp - 0x210]
mov edx, 3
call fcn.00404804
mov eax, dword [ebp - 0x210]
call fcn.0042054c
test bl, bl
je 0x451ed4
lea ecx, [ebp - 0x21c]
mov edx, dword [ebp - 0xc]
dec edx
lea eax, [ebp - 0x10b]
call fcn.00420740
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004044d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451ef9
lea eax, [ebp - 0x21c]
mov edx, 4
call fcn.004044a8
ret
Function at 0x452ff4
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
test dl, dl
je 0x453011
add esp, 0xfffffff0
call fcn.00403970
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x18]
push ecx
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
pop ecx
mov esi, ecx
mov ebx, edx
mov edi, eax
lea eax, [ebp - 0x18]
mov edx, dword [0x420830]
call fcn.004051d0
xor eax, eax
push ebp
push 0x4530ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, esi
xor edx, edx
mov eax, edi
call fcn.00418b1c
lea eax, [edi + 0x30]
lea edx, [ebp - 0x18]
mov ecx, dword [0x420830]
call fcn.004052f0
lea ecx, [ebp - 0x1c]
mov edx, edi
lea eax, [ebp - 0x18]
call fcn.004520c0
mov edx, dword [ebp - 0x1c]
lea eax, [edi + 0x5c]
call fcn.00405fec
lea eax, [edi + 0x64]
mov edx, dword [0x45b3a4]
mov edx, dword [edx]
test edx, edx
je 0x453088
sub edx, 0xffffffd0
call fcn.00405fec
lea edx, [ebp - 0x20]
mov eax, edi
call fcn.00423454
mov edx, dword [ebp - 0x20]
lea eax, [edi + 0x60]
call fcn.00405fec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4530d5
lea eax, [ebp - 0x20]
call fcn.00405fd4
lea eax, [ebp - 0x1c]
call fcn.00405fd4
lea eax, [ebp - 0x18]
mov edx, dword [0x420830]
call fcn.0040508c
ret
Function at 0x455af8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x455c2a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [0x45b4f0]
mov eax, dword [eax]
mov edx, dword [ebp + 8]
call fcn.004548c4
mov esi, eax
test esi, esi
je 0x455c14
lea ecx, [ebp - 8]
lea edx, [ebp - 1]
mov eax, esi
call fcn.00453a4c
mov ebx, eax
test bl, bl
je 0x455b9a
mov al, byte [ebp - 1]
sub al, 1
jb 0x455b51
je 0x455b59
sub al, 3
je 0x455b61
jmp 0x455b69
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
jmp 0x455b6f
mov eax, dword [ebp + 0xc]
mov byte [eax], 2
jmp 0x455b6f
mov eax, dword [ebp + 0xc]
mov byte [eax], 3
jmp 0x455b6f
mov eax, dword [ebp + 0xc]
mov byte [eax], 0xff
mov eax, dword [ebp - 8]
call fcn.00404744
push eax
lea eax, [ebp - 8]
call fcn.0040499c
mov edx, eax
mov eax, dword [ebp + 0x10]
pop ecx
call fcn.00406b94
mov eax, dword [ebp - 8]
call fcn.00404744
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
jmp 0x455c14
lea edx, [ebp - 8]
mov cl, 1
mov eax, esi
call fcn.00452580
mov ebx, eax
test bl, bl
jne 0x455be1
mov eax, esi
call fcn.0045263c
call sub.kernel32.dll_GetTickCount
mov edi, eax
push 0x32
call sub.kernel32.dll_Sleep
lea edx, [ebp - 8]
mov cl, 1
mov eax, esi
call fcn.00452580
mov ebx, eax
test bl, bl
jne 0x455be1
call sub.kernel32.dll_GetTickCount
sub eax, edi
cmp eax, 0xc8
jbe 0x455bba
test bl, bl
je 0x455c14
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
mov eax, dword [ebp - 8]
call fcn.00404744
push eax
lea eax, [ebp - 8]
call fcn.0040499c
mov edx, eax
mov eax, dword [ebp + 0x10]
pop ecx
call fcn.00406b94
mov eax, dword [ebp - 8]
call fcn.00404744
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455c31
lea eax, [ebp - 8]
call fcn.00404484
ret
Function at 0x455c3c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x455d6e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [0x45b4f0]
mov eax, dword [eax]
mov edx, dword [ebp + 8]
call fcn.004548c4
mov esi, eax
test esi, esi
je 0x455d58
lea ecx, [ebp - 8]
lea edx, [ebp - 1]
mov eax, esi
call fcn.00453b18
mov ebx, eax
test bl, bl
je 0x455cde
mov al, byte [ebp - 1]
sub al, 1
jb 0x455c95
je 0x455c9d
sub al, 3
je 0x455ca5
jmp 0x455cad
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
jmp 0x455cb3
mov eax, dword [ebp + 0xc]
mov byte [eax], 2
jmp 0x455cb3
mov eax, dword [ebp + 0xc]
mov byte [eax], 3
jmp 0x455cb3
mov eax, dword [ebp + 0xc]
mov byte [eax], 0xff
mov eax, dword [ebp - 8]
call fcn.00404744
push eax
lea eax, [ebp - 8]
call fcn.0040499c
mov edx, eax
mov eax, dword [ebp + 0x10]
pop ecx
call fcn.00406b94
mov eax, dword [ebp - 8]
call fcn.00404744
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
jmp 0x455d58
lea edx, [ebp - 8]
mov cl, 1
mov eax, esi
call fcn.00452580
mov ebx, eax
test bl, bl
jne 0x455d25
mov eax, esi
call fcn.0045263c
call sub.kernel32.dll_GetTickCount
mov edi, eax
push 0x32
call sub.kernel32.dll_Sleep
lea edx, [ebp - 8]
mov cl, 1
mov eax, esi
call fcn.00452580
mov ebx, eax
test bl, bl
jne 0x455d25
call sub.kernel32.dll_GetTickCount
sub eax, edi
cmp eax, 0xc8
jbe 0x455cfe
test bl, bl
je 0x455d58
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
mov eax, dword [ebp - 8]
call fcn.00404744
push eax
lea eax, [ebp - 8]
call fcn.0040499c
mov edx, eax
mov eax, dword [ebp + 0x10]
pop ecx
call fcn.00406b94
mov eax, dword [ebp - 8]
call fcn.00404744
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455d75
lea eax, [ebp - 8]
call fcn.00404484
ret
Function at 0x10001572
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x100015ad
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10001594
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x100015a5
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x100015af
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1000158a
xor eax, eax
pop edi
pop esi
ret

Function at 0x10001794
Capabilities:
Contain obfuscated stackstrings
Inspect section memory permissions

Disassembly:
stosb byte es:[edi], al
pop eax
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
rol esi, cl
inc ebp
scasd eax, dword es:[edi]
hlt
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.10001532
dec eax
mov byte [0x458d34b2], al
test al, 0x50
call fcn.10001542
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.100014f7

Function at 0x10001a8c
Capabilities:
Inspect section memory permissions

Disassembly:
push eax
call fcn.100014a3
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x10001a6f

Function at 0x100040a0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x10004100
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 4]
mov edx, 0x10004118
mov eax, 0x10004130
call fcn.10001be8
push 0
push dword [ebp - 4]
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
or al, al
jne 0x100040e3
xor eax, eax
leave
ret
mov eax, 1
leave
ret
Function at 0x632c4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00064a24
test esi, esi
jne 0x632fa
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00064b14
jmp 0x63318
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.000631c8
mov edi, eax
test esi, esi
je 0x63318
cmp dword [ebx], 0
je 0x63318
dec esi
jmp 0x63301
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x639f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0xc3020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x63a88
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x63a68
xor eax, eax
push ebp
push 0x63a61
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x63aa4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63a68
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0xc3020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0xc3020], ax
mov esp, ebp
pop ebp
ret

Function at 0x648a4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0xc504c], 0
je 0x64905
cmp word [0xc5220], 0xd7b2
jne 0x648cd
cmp dword [0xc5228], 0
jbe 0x648cd
mov eax, 0xc521c
call dword [0xc5238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x6492c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0xc302c], 0
jne 0x64921
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret