joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10020980
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008cf30
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x100c6084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.std::_Facet_base.0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [esi], vtable.std::locale::facet.0
mov dword [esi + 4], eax
mov dword [ebp - 4], 1
mov dword [esi], vtable.std::codecvt_base.0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x70]
push 0x10093f5c
mov dword [esi], vtable.std::codecvt_wchar_t__char__int_.0
call fcn.1000a4b0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x3c]
push eax
call fcn.10068779
add esp, 4
movdqu xmm0, xmmword [eax]
movdqu xmmword [esi + 8], xmm0
movdqu xmm0, xmmword [eax + 0x10]
movdqu xmmword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x30], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.1000a5a0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100234d0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008dbdb
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x100c6084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x828]
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
push str.HiFi2_Board_Free
push dword [edi]
mov dword [ebp - 0x81c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x814], edi
mov dword [ebp - 0x818], esi
mov dword [ebp - 0x820], eax
call fcn.10007820
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov ebx, dword [esi + 0x48]
cmp byte [eax + 0x1e10], 0
je 0x1002355d
push dword [ebp + 0x1c]
push dword [ebp + 0x10]
push str.Platform___i__HostType___i_n
push eax
call fcn.10007490
add esp, 0x10
mov byte [esi + 0x2c], 0
lea esi, [ebx + 0x24]
mov eax, dword [esi]
test eax, eax
je 0x10023614
cmp dword [ebx + 0x1c], 0
je 0x10023614
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi]
cmp byte [eax + 0x1e10], 0
je 0x1002359b
push dword [ebx + 0x20]
push str.Exiting_parameterization_thread__Thread_ID___i_..._n
push eax
call fcn.10007490
add esp, 0xc
push 0xfa0
push dword [ebx + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100235fb
push 0xffffffffffffffff
push dword [ebx + 0x1c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp dword [ebp + 0x1c], 3
jne 0x100235c7
cmp byte [edi + 0x1e10], 0
je 0x10023614
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x810]
push str.Failed_to_gracefully_exit_the_HiFi2_hardware_parameterization_thread__current_error_code:__i_._Thread_was_terminated.
push eax
call fcn.10037779
lea eax, [ebp - 0x810]
push eax
push 0xffffffffffffffff
push 0
push dword [ebp - 0x820]
call dword [ebp - 0x81c]
add esp, 0x1c
jmp 0x10023614
mov eax, dword [edi]
cmp byte [eax + 0x1e10], 0
je 0x10023614
push 0x10094548
push eax
call fcn.10007490
add esp, 8
mov edi, 2
lea esp, [esp]
cmp dword [esi], 0
je 0x10023633
push 0
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 4
dec edi
jne 0x10023620
cmp dword [ebp + 0x10], edi
jne 0x1002367b
mov esi, dword [ebp - 0x814]
mov eax, dword [esi]
cmp byte [eax + 0x1e10], 0
je 0x1002365d
push str.Calling__RTKUSB_Free__..._n
push eax
call fcn.10007490
add esp, 8
mov eax, dword [ebx + 0x38]
call eax
mov eax, dword [esi]
cmp byte [eax + 0x1e10], 0
je 0x1002367b
push 0x10094548
push eax
call fcn.10007490
add esp, 8
cmp byte [ebx], 0
je 0x1002368d
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov byte [ebx], 0
mov esi, dword [ebp - 0x818]
push dword [esi + 0x48]
call fcn.10036f96
add esp, 4
mov dword [esi + 0x48], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x828]
call fcn.100078a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100368c4
mov esp, ebp
pop ebp
ret
Function at 0x10025200
Capabilities:
Enumerate process modules
Get process image filename
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2210
call fcn.1003a8e0
mov eax, dword [0x100c6084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + 2]
mov edi, edi
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10025220
lea eax, [ebp - 0x2210]
sub esi, ecx
push eax
push 0x2000
lea eax, [ebp - 0x220c]
sar esi, 1
push eax
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
je 0x1002531d
mov eax, dword [ebp - 0x2210]
shr eax, 2
push ebx
xor ebx, ebx
mov dword [ebp - 0x2210], eax
test eax, eax
je 0x1002531c
push edi
lea ebx, [ebx]
push dword [ebp + ebx*4 - 0x220c]
push 0
push 0x1001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x1002530e
push 0x208
lea eax, [ebp - 0x20c]
push eax
push edi
call sub.KERNEL32.dll_K32GetProcessImageFileNameW
test eax, eax
je 0x10025307
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100252b0
sub eax, edx
sar eax, 1
cmp eax, esi
jl 0x10025307
mov ecx, dword [ebp + 8]
sub eax, esi
lea eax, [ebp + eax*2 - 0x20c]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100252f6
test dx, dx
je 0x100252f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100252f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x100252d0
xor eax, eax
jmp 0x100252fb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10025307
push eax
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [ebp - 0x2210]
jb 0x10025270
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100368c4
mov esp, ebp
pop ebp
ret
Function at 0x100259c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008de38
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100c6084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x10025b1d
cmp byte [ebx + 0x45], 0
je 0x10025b1d
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x10025a14
xor al, al
jmp 0x10025b1f
mov ecx, 0xf
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 0x28]
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 8
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
nop
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x10025a97
dec eax
je 0x10025a9b
sub eax, 2
je 0x10025aed
xor bl, bl
jmp 0x10025aef
mov byte [ebx + 0x45], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x10025ad3
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.10039948
add esp, 0x10
cmp esi, eax
jne 0x10025a93
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x45], 0
je 0x10025aed
test esi, esi
jne 0x10025a60
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.10026b20
jmp 0x10025a59
mov bl, 1
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0x10
jb 0x10025b07
push dword [ebp - 0x28]
call fcn.10036d8f
add esp, 4
mov dword [ebp - 0x14], 0xf
mov al, bl
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jmp 0x10025b1f
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100368c4
mov esp, ebp
pop ebp
ret
Function at 0x100324d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.10032176
push eax
push esi
push dword [ebp + 8]
call fcn.1003212b
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
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.10032176
push eax
push esi
push dword [ebp + 8]
call fcn.1003212b
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.10032176
push eax
push esi
push dword [ebp + 8]
call fcn.1003212b
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.10032166
cmp dword [esp + edx - 0x2f], eax
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.10032166
aam 0x92
fnstcw word [ecx*4 - 0x837b]
call dword [eax - 0x18]
sbb al, 0xfb
invalid
Function at 0x10069378
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x1008fa55
call fcn.100578a9
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x40], ebx
je 0x10069470
cmp byte [esi + 0x46], bl
je 0x10069470
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
jne 0x100693b4
xor al, al
jmp 0x10069472
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.100106e0
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov ebx, edi
cmp eax, 0x10
jae 0x100693e1
lea ebx, [ebp - 0x28]
mov edi, ebx
mov ecx, dword [esi + 0x40]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, ebx
mov edx, dword [ecx]
push eax
push edi
lea eax, [esi + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x10069408
dec eax
je 0x1006940c
dec eax
dec eax
je 0x1006945e
xor bl, bl
jmp 0x10069460
mov byte [esi + 0x46], 0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
mov ecx, edi
cmp eax, 0x10
jae 0x1006941c
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
sub ebx, ecx
je 0x10069444
cmp eax, 0x10
jae 0x1006942b
lea edi, [ebp - 0x28]
push dword [esi + 0x50]
push ebx
push 1
push edi
call fcn.10039948
add esp, 0x10
cmp ebx, eax
jne 0x10069404
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
cmp byte [esi + 0x46], 0
je 0x1006945e
test ebx, ebx
jne 0x100693d5
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.10026b20
jmp 0x100693cf
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10003c50
mov al, bl
jmp 0x10069472
mov al, 1
call fcn.10057858
ret
Function at 0x4013ca
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x6b2338], 1
mov dword [0x6b233c], 1
mov dword [0x6b2340], 1
mov dword [0x6b232c], 1
mov dword [ebp - 4], 0x400000
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x401415
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x401438
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
movzx eax, ax
cmp eax, 0x10b
je 0x40145a
cmp eax, 0x20b
je 0x40147f
jmp 0x4014aa
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5c]
cmp eax, 0xe
ja 0x40146c
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x4014af
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
cmp eax, 0xe
ja 0x401497
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x4014af
mov eax, 0
leave
ret

Function at 0x402cac
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebx
mov ebx, edx
sub esp, 0x10
test edx, edx
je 0x402cc6
mov dword [esp], edx
call sub.msvcrt.dll_strlen
mov dword [esp + 0xc], esi
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
call sub.msvcrt.dll_fwrite
mov dword [esp], esi
call sub.msvcrt.dll_fflush
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x405f2b
Capabilities:
Write file on windows

Disassembly:
cmp dword [0x6b209c], 0
jne 0x405f36
jmp fcn.00405ee7
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
call fcn.00405e9c
mov dword [esp + 4], edx
mov ebx, edx
mov dword [esp], eax
call dword [0x6b209c]
push edx
push edx
test ebx, ebx
je 0x405f65
bt dword [ebx], 0x1e
jb 0x405f65
mov dword [esp], ebx
call fcn.00403bec
mov dword [esp], 0x4331cc
call fcn.00423180
cmp byte [eax], 0
je 0x405f99
mov byte [eax], 0
mov dword [esp], 0x43314c
call fcn.00423180
mov ecx, eax
mov eax, dword [eax]
mov edx, dword [eax + 0x1c]
mov dword [esp], 0
call fcn.0040422c
push eax
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x407489
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
mov esi, edx
push ebx
xor ebx, ebx
sub esp, 0x2c
mov dword [esp], 0x6b2080
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edx
cmp ebx, esi
jl 0x4074fa
mov dword [esp], 1
mov ebx, dword [fcn.00428b8c]
call ebx
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x43437b
call sub.msvcrt.dll_fwrite
mov dword [esp], 1
call ebx
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov dword [esp], 0x6b2080
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push eax
jmp 0x407573
test ebx, ebx
jns 0x40750d
dec esi
mov dword [esp], ebx
mov dword [esp + 4], esi
call fcn.0040598b
jmp 0x407573
mov dword [esp], 1
call dword [0x433658]
mov dword [esp + 8], 0
mov ecx, eax
lea eax, [edi + ebx*8]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040738b
sub esp, 0xc
mov dword [esp], 0x4331cc
call fcn.00423180
cmp byte [eax], 0
jne 0x407573
lea ecx, [ebp - 0x1c]
mov edx, 1
mov eax, ebx
call fcn.00402bc7
test al, al
je 0x40756b
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00403d00
mov ebx, dword [ebp - 0x1c]
jmp 0x4074a6
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x41b75c
Capabilities:
Hash data using sha256

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x9c
mov dword [ebp - 0x90], edx
lea edx, [ebp - 0x80]
mov edi, edx
mov dword [ebp - 0x94], ecx
mov ecx, 0x1a
rep stosd dword es:[edi], eax
mov dword [esp], 0x4331cc
mov dword [ebp - 0x78], 0x6a09e667
mov dword [ebp - 0x74], 0xbb67ae85
mov dword [ebp - 0x70], 0x3c6ef372
mov dword [ebp - 0x6c], 0xa54ff53a
mov dword [ebp - 0x68], 0x510e527f
mov dword [ebp - 0x64], 0x9b05688c
mov dword [ebp - 0x60], 0x1f83d9ab
mov dword [ebp - 0x5c], 0x5be0cd19
call fcn.00423180
xor edx, edx
mov dword [ebp - 0x8c], eax
mov edi, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x90]
cmp byte [edi], 0
jne 0x41b8bb
test eax, eax
jle 0x41b88d
mov esi, dword [ebp - 0x80]
mov ecx, 0x40
and esi, 0x3f
sub ecx, esi
cmp ecx, eax
mov ebx, ecx
cmovg ebx, eax
test edx, edx
js 0x41b80b
cmp dword [ebp - 0x90], edx
jg 0x41b820
mov eax, dword [ebp - 0x90]
mov dword [esp], edx
dec eax
mov dword [esp + 4], eax
call fcn.0040598b
jmp 0x41b88d
lea esi, [ebp + esi - 0x58]
mov ecx, ebx
mov edi, esi
mov esi, dword [ebp - 0x94]
add esi, edx
rep movsb byte es:[edi], byte [esi]
lea esi, [edx + ebx]
mov ecx, ebx
xor edx, esi
xor ecx, esi
test edx, ecx
js 0x41b84f
mov edi, eax
mov edx, ebx
sub edi, ebx
xor eax, edi
xor edx, edi
not eax
or eax, edx
js 0x41b856
call fcn.00403d00
jmp 0x41b88d
add ebx, dword [ebp - 0x80]
mov dword [ebp - 0x80], ebx
jae 0x41b861
inc dword [ebp - 0x7c]
and bl, 0x3f
je 0x41b86f
mov eax, edi
mov edx, esi
jmp 0x41b7e3
mov dword [esp], 0x40
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x78]
call fcn.0041b8f4
push eax
mov eax, dword [ebp - 0x8c]
cmp byte [eax], 0
je 0x41b866
mov eax, dword [ebp - 0x8c]
cmp byte [eax], 0
jne 0x41b8bb
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x80]
call fcn.0041e2ea
mov eax, dword [ebp - 0x8c]
cmp byte [eax], 0
jne 0x41b8bb
mov edx, 0x68
lea ecx, [ebp - 0x80]
call fcn.0041b724
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
Function at 0x4216a4
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
rdtsc
mov ecx, eax
mov ebx, edx
rdtsc
sub eax, ecx
mov ecx, 0xff
sbb edx, ebx
cmp ecx, eax
mov eax, 0
sbb eax, edx
mov eax, 1
jb 0x4216d4
cpuid
mov eax, ecx
shr eax, 0x1f
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x421e94
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call fcn.00428b8c
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call fcn.00428b8c
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort

Function at 0x4229e4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x422a03
mov eax, 0
jmp 0x422a47
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x422a26
mov eax, 0
jmp 0x422a47
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x422a42
mov eax, 0
jmp 0x422a47
mov eax, 1
leave
ret

Function at 0x422a49
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x422aa8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x422aa0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x422aa0
mov eax, dword [ebp - 4]
jmp 0x422abc
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x422a7d
mov eax, 0
leave
ret
Function at 0x429c9d
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
add esp, 0xffffff80
cmp dword [ebp + 8], 0
je 0x429db6
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0042da84
cmp eax, 1
jne 0x429dac
mov dword [ebp - 0x77], 0x6f727245
mov dword [ebp - 0x73], 0x6c632072
mov dword [ebp - 0x6f], 0x696e6165
mov dword [ebp - 0x6b], 0x7520676e
mov dword [ebp - 0x67], 0x70732070
mov dword [ebp - 0x63], 0x6b5f6e69
mov dword [ebp - 0x5f], 0x20737965
mov dword [ebp - 0x5b], 0x20726f66
mov dword [ebp - 0x57], 0x65726874
mov dword [ebp - 0x53], 0x206461
lea eax, [ebp - 0x4f]
mov ecx, 0x43
mov ebx, 0
mov dword [eax], ebx
mov dword [eax + ecx - 4], ebx
lea edx, [eax + 4]
and edx, 0xfffffffc
sub eax, edx
add ecx, eax
and ecx, 0xfffffffc
shr ecx, 2
mov edi, edx
mov eax, ebx
rep stosd dword es:[edi], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call eax
mov dword [esp + 8], 0xa
lea edx, [ebp - 0x77]
add edx, 0x27
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__ultoa]
call eax
mov dword [ebp - 0xc], 0x27
jmp 0x429d62
add dword [ebp - 0xc], 1
lea edx, [ebp - 0x77]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
test al, al
je 0x429d79
mov eax, dword [ebp - 0xc]
cmp eax, 0x69
jbe 0x429d5e
mov eax, dword [ebp - 0xc]
cmp eax, 0x69
ja 0x429d97
lea edx, [ebp - 0x77]
mov eax, dword [ebp - 0xc]
add eax, edx
mov byte [eax], 0xa
mov eax, dword [ebp - 0xc]
add eax, 1
mov byte [ebp + eax - 0x77], 0
lea eax, [ebp - 0x77]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call eax
sub esp, 4
call sub.msvcrt.dll_abort
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [eax], edx
jmp 0x429db7
nop
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
ret