joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6aaec9b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x20], ecx
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], edx
mov ebp, dword [esp + 0x80]
add eax, 0x6c
mov dword [esp], eax
call method.std::ctype_char__const_std::use_facet_std.ctype_char____std::locale_const_
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x28]
mov dword [ecx], 0
cmp byte [eax + 0x1c], 0
je 0x6aaecaf0
movzx ecx, byte [eax + 0x42]
mov eax, ebp
mov byte [esp + 0x3c], cl
test al, al
jne 0x6aaeca90
movzx eax, byte [esp + 0x24]
mov byte [esp + 0x3e], 0
mov byte [esp + 0x3d], al
lea eax, [esp + 0x3c]
mov ecx, dword [esp + 0x20]
mov dword [esp], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], eax
call sym.__ZNKSt7__cxx118time_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE21_M_extract_via_formatES4_S4_RSt8ios_baseRSt12_Ios_Ios
sub esp, 0x20
test eax, eax
mov ebx, eax
mov ebp, edx
je 0x6aaecb52
cmp edx, 0xffffffff
je 0x6aaecab0
test esi, esi
mov ebp, edx
je 0x6aaeca7f
cmp edi, 0xffffffff
je 0x6aaecac1
mov eax, dword [esp + 0x74]
or dword [eax], 2
add esp, 0x4c
mov eax, ebx
mov edx, ebp
pop ebx
pop esi
pop edi
pop ebp
ret 0x24
mov eax, ebp
mov byte [esp + 0x3f], 0
mov byte [esp + 0x3d], al
movzx eax, byte [esp + 0x24]
mov byte [esp + 0x3e], al
jmp 0x6aaeca21
mov eax, dword [eax + 8]
cmp eax, dword [ebx + 0xc]
jae 0x6aaecb40
movzx edx, byte [eax]
jmp 0x6aaeca6d
xor edx, edx
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jae 0x6aaecb70
movzx eax, byte [eax]
cmp eax, 0xffffffff
sete al
cmp dl, al
je 0x6aaeca78
add esp, 0x4c
mov eax, ebx
mov edx, ebp
pop ebx
pop esi
pop edi
pop ebp
ret 0x24
mov ecx, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], eax
call method.std::ctype_char_._M_widen_init___const
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x18]
mov edx, ecx
mov dword [esp + 0x28], ecx
mov ecx, 0x25
cmp edx, method.std::ctype_char_.do_widen_char__const
mov edx, dword [esp + 0x2c]
je 0x6aaeca09
mov ecx, eax
mov dword [esp], 0x25
call dword [esp + 0x28]
sub esp, 4
mov ecx, eax
mov edx, dword [esp + 0x2c]
jmp 0x6aaeca09
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
cmp eax, 0xffffffff
mov edx, eax
jne 0x6aaeca6d
xor ebx, ebx
test esi, esi
je 0x6aaeca78
cmp edi, 0xffffffff
mov edx, 1
jne 0x6aaeca7f
jmp 0x6aaecac3
mov eax, dword [esi]
mov byte [esp + 0x20], dl
mov ecx, esi
call dword [eax + 0x24]
movzx edx, byte [esp + 0x20]
jmp 0x6aaecad2
Function at 0x6aaecec0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
mov ebp, ecx
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x80]
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x34], eax
mov esi, eax
lea eax, [ecx + 0x6c]
mov dword [esp], eax
call method.std::ctype_wchar_t__const_std::use_facet_std.ctype_wchar_t____std::locale_const_
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x80]
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 0x1c], 4
mov dword [esp + 0x24], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x18], 0x270f
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], 0
mov ecx, ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], esi
mov dword [esp + 0x4c], 0
mov dword [esp + 8], eax
call sym.__ZNKSt7__cxx118time_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE14_M_extract_numES4_S4_RiiijRSt8ios_baseRSt12_Ios_Iosta
sub esp, 0x28
mov bx, dx
mov ebp, eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
mov edi, edx
mov dword [esp + 0x3c], edx
test ecx, ecx
jne 0x6aaecfc0
mov ecx, dword [esp + 0x48]
test ecx, ecx
lea esi, [ecx - 0x76c]
js 0x6aaed022
mov ecx, dword [esp + 0x88]
test eax, eax
mov dword [ecx + 0x14], esi
je 0x6aaecfce
cmp dx, 0xffff
mov ecx, edx
je 0x6aaed001
mov eax, dword [esp + 0x30]
mov edi, ecx
test eax, eax
je 0x6aaecfac
cmp word [esp + 0x34], 0xffff
je 0x6aaed030
mov eax, dword [esp + 0x84]
or dword [eax], 2
add esp, 0x5c
mov bx, di
mov eax, ebp
mov edx, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
mov esi, dword [esp + 0x84]
or dword [esi], 4
test eax, eax
jne 0x6aaecf84
mov edx, dword [esp + 0x30]
xor ebp, ebp
test edx, edx
je 0x6aaecfa2
cmp word [esp + 0x34], 0xffff
mov edx, 1
jne 0x6aaecfac
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jae 0x6aaed034
movzx eax, word [eax]
cmp ax, 0xffff
sete al
cmp al, dl
je 0x6aaecfa2
jmp 0x6aaecfac
mov edx, dword [eax + 8]
cmp edx, dword [eax + 0xc]
jae 0x6aaed050
movzx ecx, word [edx]
cmp cx, 0xffff
je 0x6aaecfce
mov eax, dword [esp + 0x30]
mov edi, ecx
test eax, eax
jne 0x6aaecf96
jmp 0x6aaecfac
lea esi, [ecx + 0x64]
jmp 0x6aaecf76
xor edx, edx
jmp 0x6aaecfe5
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x34], dl
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx edx, byte [esp + 0x34]
jmp 0x6aaecff4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x24]
mov ecx, eax
jmp 0x6aaed00c
Function at 0x6aaf0050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x2c], ecx
mov edi, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x34], edx
mov esi, dword [esp + 0x8c]
mov word [esp + 0x28], bx
add eax, 0x6c
mov dword [esp], eax
call method.std::ctype_wchar_t__const_std::use_facet_std.ctype_wchar_t____std::locale_const_
mov ecx, eax
mov eax, dword [esp + 0x84]
mov dword [eax], 0
mov eax, dword [ecx]
mov dword [esp], 0x25
call dword [eax + 0x28]
sub esp, 4
mov edx, dword [esp + 0x34]
mov word [esp + 0x48], ax
test dl, dl
jne 0x6aaf0170
mov eax, esi
xor edx, edx
movsx si, al
mov word [esp + 0x4c], dx
mov word [esp + 0x4a], si
lea eax, [esp + 0x48]
mov bx, word [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sym.__ZNKSt7__cxx118time_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE21_M_extract_via_formatES4_S4_RSt8ios_baseRSt12_Ios_Ios
sub esp, 0x20
test eax, eax
mov bx, dx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov esi, eax
je 0x6aaf01a1
cmp dx, 0xffff
mov eax, edx
je 0x6aaf0190
test edi, edi
mov edx, eax
je 0x6aaf0159
cmp bp, 0xffff
je 0x6aaf01d0
mov eax, dword [esp + 0x84]
or dword [eax], 2
add esp, 0x5c
mov bx, dx
mov eax, esi
mov edx, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x24
mov eax, esi
movsx dx, dl
movsx si, al
xor eax, eax
mov word [esp + 0x4a], dx
mov word [esp + 0x4c], si
mov word [esp + 0x4e], ax
jmp 0x6aaf00d9
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jae 0x6aaf01d4
movzx eax, word [eax]
cmp ax, 0xffff
jne 0x6aaf013f
xor esi, esi
test edi, edi
je 0x6aaf014f
cmp bp, 0xffff
jne 0x6aaf0159
mov ebp, 1
mov eax, dword [edi + 8]
cmp eax, dword [edi + 0xc]
jae 0x6aaf01e5
movzx eax, word [eax]
cmp ax, 0xffff
mov ecx, ebp
sete al
cmp al, cl
je 0x6aaf014f
jmp 0x6aaf0159
xor ebp, ebp
jmp 0x6aaf01b2
mov eax, dword [esi]
mov dword [esp + 0x28], edx
mov ecx, esi
call dword [eax + 0x24]
mov edx, dword [esp + 0x28]
jmp 0x6aaf019b
mov eax, dword [edi]
mov dword [esp + 0x28], edx
mov ecx, edi
call dword [eax + 0x24]
mov edx, dword [esp + 0x28]
jmp 0x6aaf01bd
Function at 0x6ab0fba0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
mov esi, ecx
push ebx
sub esp, 0x50
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
lea eax, [edi + 0x6c]
mov dword [esp], eax
call method.std::ctype_wchar_t__const_std::use_facet_std.ctype_wchar_t____std::locale_const_
lea eax, [esp + 0x4c]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], 4
mov dword [esp + 0x18], 0x270f
mov ecx, esi
mov dword [esp + 0x24], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x4c], 0
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call method.std::time_get_wchar_t__std::istreambuf_iterator_wchar_t__std::char_traits_wchar_t_____._M_extract_num_std::istreambuf_iterator_wchar_t__std::char_traits_wchar_t_____std::istreambuf_iterator_wchar_t__std::char_traits_wchar_t_____int__int__int__unsi
sub esp, 0x28
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x60], eax
movzx eax, word [esp + 0x3c]
mov word [esp + 0x64], ax
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x6ab0fc85
mov eax, dword [esp + 0x48]
test eax, eax
lea edx, [eax - 0x76c]
js 0x6ab0fc90
mov eax, dword [esp + 0x78]
mov dword [eax + 0x14], edx
lea ecx, [esp + 0x60]
call method.std::istreambuf_iterator_wchar_t__std::char_traits_wchar_t___._M_get___const
lea ecx, [esp + 0x68]
mov esi, eax
call method.std::istreambuf_iterator_wchar_t__std::char_traits_wchar_t___._M_get___const
cmp si, 0xffff
sete dl
cmp ax, 0xffff
sete al
cmp dl, al
jne 0x6ab0fc74
or dword [ebx], 2
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
add esp, 0x50
pop ebx
pop esi
pop edi
ret 0x1c
or dword [ebx], 4
jmp 0x6ab0fc4b
lea edx, [eax + 0x64]
jmp 0x6ab0fc44
Function at 0x6ab0ffe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
mov esi, ecx
sub esp, 0x8c
mov eax, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
lea ebp, [eax + 0x6c]
mov dword [esp], ebp
call method.std::__timepunct_wchar_t__const_std::use_facet_std.__timepunct_wchar_t____std::locale_const_
mov dword [esp], ebp
mov edi, eax
call method.std::ctype_wchar_t__const_std::use_facet_std.ctype_wchar_t____std::locale_const_
mov eax, dword [edi + 8]
mov dword [esp + 0x44], 0
mov ecx, esi
mov edx, dword [eax + 0x48]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0x50]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x54]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x58]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x60]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x70], edx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0x40]
mov eax, dword [eax + 0x44]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x48]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x18], 7
mov dword [esp + 0x14], eax
lea eax, [esp + 0x40]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call sym.__ZNKSt8time_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE24_M_extract_wday_or_monthES3_S3_RiPPKwjRSt8ios_baseRSt12_Ios_I
sub esp, 0x24
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0xa0], eax
movzx eax, word [esp + 0x3c]
mov word [esp + 0xa4], ax
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x6ab10150
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0xb8]
mov dword [eax + 0x18], edx
lea eax, [esp + 0xa8]
lea ecx, [esp + 0xa0]
mov dword [esp], eax
call method.std::istreambuf_iterator_wchar_t__std::char_traits_wchar_t___.equal_std::istreambuf_iterator_wchar_t__std::char_traits_wchar_t____const__const
sub esp, 4
test al, al
je 0x6ab1012e
or dword [ebx], 2
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
or dword [ebx], 4
jmp 0x6ab1010e
Function at 0x6ab25b00
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
mov ebp, ecx
push esi
push ebx
sub esp, 0x1c
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov eax, dword [ebp]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call sym._read
cmp eax, 0xffffffff
mov ebx, eax
je 0x6ab25b40
add esp, 0x1c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 8
call sym.__errno
cmp dword [eax], 4
je 0x6ab25b11
add esp, 0x1c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 8

Function at 0x6ab36690
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push esi
push ebx
mov ebx, ecx
sub esp, 0x24
mov ecx, dword [esp + 0x30]
mov dword [esp], 0x6ab63afc
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.compare_char_const__const
sub esp, 4
test eax, eax
mov ecx, 0x1571
jne 0x6ab366f3
mov dword [ebx], ecx
mov edx, 1
jmp 0x6ab366c4
mov ecx, dword [ebx + edx*4 - 4]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul eax, eax, 0x6c078965
add eax, edx
mov dword [ebx + edx*4], eax
add edx, 1
cmp edx, 0x270
jne 0x6ab366c0
mov dword [ebx + 0x9c0], 0x270
add esp, 0x24
pop ebx
pop esi
ret 4
mov eax, dword [esp + 0x30]
mov esi, dword [eax]
lea eax, [esp + 0x1c]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call sym._strtoul
cmp byte [esi], 0
mov ecx, eax
je 0x6ab36721
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0
je 0x6ab366b3
mov dword [esp], str.random_device::_M_strtoul_const_std::string_
call method.std.__throw_runtime_error_char_const_
nop
nop
nop
Function at 0x6ab41400
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0xc], 0x80000000
mov dword [ebp - 0x10], 0x7fffffff
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0xe2
ja 0x6ab4148c
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
mov eax, dword [eax + edx*4]
and eax, 0x80000000
mov ecx, eax
mov eax, dword [ebp - 4]
lea edx, [eax + 1]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + edx*4]
and eax, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
lea edx, [eax + 0x18d]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + edx*4]
mov edx, dword [ebp - 0x14]
shr edx, 1
xor edx, eax
mov eax, dword [ebp - 0x14]
and eax, 1
test eax, eax
je 0x6ab41474
mov eax, 0x9908b0df
jmp 0x6ab41479
mov eax, 0
mov ecx, edx
xor ecx, eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
mov dword [eax + edx*4], ecx
add dword [ebp - 4], 1
jmp 0x6ab4141e
mov dword [ebp - 8], 0xe3
cmp dword [ebp - 8], 0x26e
ja 0x6ab41501
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
and eax, 0x80000000
mov ecx, eax
mov eax, dword [ebp - 8]
lea edx, [eax + 1]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + edx*4]
and eax, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
lea edx, [eax - 0xe3]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + edx*4]
mov edx, dword [ebp - 0x18]
shr edx, 1
xor edx, eax
mov eax, dword [ebp - 0x18]
and eax, 1
test eax, eax
je 0x6ab414e9
mov eax, 0x9908b0df
jmp 0x6ab414ee
mov eax, 0
mov ecx, edx
xor ecx, eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 8]
mov dword [eax + edx*4], ecx
add dword [ebp - 8], 1
jmp 0x6ab41493
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x9bc]
and eax, 0x80000000
mov edx, eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
and eax, 0x7fffffff
or eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x630]
mov edx, dword [ebp - 0x1c]
shr edx, 1
xor edx, eax
mov eax, dword [ebp - 0x1c]
and eax, 1
test eax, eax
je 0x6ab41541
mov eax, 0x9908b0df
jmp 0x6ab41546
mov eax, 0
xor edx, eax
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x9bc], edx
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x9c0], 0
nop
leave
ret
Function at 0x6ab41590
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call method.unsigned_int_std::__detail.__mod_unsigned_int__0u__1u__0u__unsigned_int_
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], edx
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x26f
ja 0x6ab41609
mov eax, dword [ebp - 0xc]
lea edx, [eax - 1]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
shr eax, 0x1e
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x6c078965
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call method.unsigned_int_std::__detail.__mod_unsigned_int__624u__1u__0u__unsigned_int_
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call method.unsigned_int_std::__detail.__mod_unsigned_int__0u__1u__0u__unsigned_int_
mov ecx, eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov dword [eax + edx*4], ecx
add dword [ebp - 0xc], 1
jmp 0x6ab415b2
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x9c0], 0x270
nop
leave
ret 4

Function at 0x6ab41700
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x9c0]
cmp eax, 0x26f
jbe 0x6ab41723
mov eax, dword [ebp - 0x1c]
mov ecx, eax
call fcn.6ab41400
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x9c0]
lea ecx, [eax + 1]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x9c0], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
shr eax, 0xb
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
shl eax, 7
and eax, 0x9d2c5680
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
shl eax, 0xf
and eax, 0xefc60000
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
shr eax, 0x12
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
leave
ret
Function at 0x40107e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax]
mov eax, dword [0x4ac6b8]
mov dword [ebp - 0x24], eax
mov eax, dword [0x4ac6bc]
xor ecx, ecx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
call fcn.00401077
mov eax, dword [0x4ac6c0]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x4ac6c4]
add ebx, 0x23f
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0x20
jmp 0x4010d0
xor ecx, ecx
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, edi
shl eax, 4
cmp dword [0x4bb914], 0xc
mov dword [ebp - 4], eax
jne 0x4010fa
push ecx
lea eax, [ebp - 0x2c]
push eax
push ecx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
mov eax, dword [0x4bb914]
cmp eax, 0xfa9
jne 0x401116
mov dword [0x4bb910], 0xedeb2e40
cmp eax, 0x3eb
jne 0x401137
push str.fahubizavojijalaho
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and dword [0x4bb868], 0
mov ecx, dword [ebp - 8]
and dword [ebp - 0x10], 0
mov edx, edi
lea eax, [ebx + edi]
shr edx, cl
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [0x4bb90c], 0xf4ea3dee
add edx, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor eax, edx
sub esi, eax
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov edx, esi
shr edx, cl
lea eax, [ebx + esi]
mov dword [ebp - 0x14], eax
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor dword [ebp - 4], edx
sub edi, dword [ebp - 4]
add ebx, 0x61c88647
dec dword [ebp - 0x18]
jne 0x4010ce
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [eax + 4], esi
pop esi
pop ebx
leave
ret 4
Function at 0x4073d4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ab84c]
jne 0x4073de
repz ret
jmp fcn.0040be73

Function at 0x40b861
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405b17
and dword [ebp - 4], 0
cmp dword [0x4b08fc], 0
mov ebx, eax
jne 0x40b912
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b9c3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b9c3
push eax
call fcn.00405aa5
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4b08fc], eax
call esi
push eax
call fcn.00405aa5
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4b0900], eax
call esi
push eax
call fcn.00405aa5
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b0904], eax
call esi
push eax
call fcn.00405aa5
pop ecx
mov dword [0x4b090c], eax
test eax, eax
je 0x40b912
push 0x4a7f18
push edi
call esi
push eax
call fcn.00405aa5
pop ecx
mov dword [0x4b0908], eax
mov eax, dword [0x4b0908]
cmp eax, ebx
je 0x40b96a
cmp dword [0x4b090c], ebx
je 0x40b96a
push eax
call fcn.00405b20
push dword [0x4b090c]
mov esi, eax
call fcn.00405b20
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b96a
test edi, edi
je 0x40b96a
call esi
test eax, eax
je 0x40b961
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b961
test byte [ebp - 0xc], 1
jne 0x40b96a
or dword [ebp + 0x10], 0x200000
jmp 0x40b9a3
mov eax, dword [0x4b0900]
cmp eax, ebx
je 0x40b9a3
push eax
call fcn.00405b20
pop ecx
test eax, eax
je 0x40b9a3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b9a3
mov eax, dword [0x4b0904]
cmp eax, ebx
je 0x40b9a3
push eax
call fcn.00405b20
pop ecx
test eax, eax
je 0x40b9a3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b08fc]
call fcn.00405b20
pop ecx
test eax, eax
je 0x40b9c3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b9c5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x25819d18
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x25819d27
pop dword [ebp - 0x2c]
mov eax, 0x25819d27
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x558a3438
sub dword [ebp - 0x3c], 0x737eeed
mov dword [ebp - 0x38], 0xa91ad964
add dword [ebp - 0x38], 0x891872e1
mov dword [ebp - 0x34], 0xdb4eca8a
add dword [ebp - 0x34], 0x70fd79a4
mov dword [ebp - 0x30], 0x4fdcafa9
add dword [ebp - 0x30], 0xb0235057
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x8ee01aef
sub eax, 0x695e4aab
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x91aaea02
add dword [ebp - 0x3c], 0xe2c77f54
mov dword [ebp - 0x38], 0x328e04ea
sub dword [ebp - 0x38], 0xf121a375
mov dword [ebp - 0x34], 0xc34bfabe
add dword [ebp - 0x34], 0xa02371ae
mov dword [ebp - 0x30], 0xa0092f6
sub dword [ebp - 0x30], 0xa0092f6
or cl, byte [ebp - 0x3b63]
call dword [ebx + 0x50]
mov eax, 0xf1ce8177
add eax, 0x33b34f09
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x38b53
push 0
call eax
mov ecx, 0xecf85758
add ecx, 0x1307e147
mov ebx, eax
mov edi, 0x78f09049
sub edi, 0x536dfa49
add edi, dword [ebp - 0x2c]
mov edx, 0x26996486
sub edx, 0xab9633d4
sub dword [ebp - 0x24], edi
mov esi, dword [edi]
xor dword [ebp - 0x28], edx
sub esi, edx
mov dword [ebx], esi
xor dword [ebp - 0x10], 0x55facd6b
add ebx, 0xf5766cb4
add ebx, 0xa899350
add edi, 0x7caca09a
add edi, 0x83535f6a
loop 0x25819e44
add eax, 0xbf76d57e
add eax, 0x4089ffd1
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x4d9f3ed5
sub ecx, 0x281f3ed5
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret