joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4160b8
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax], 0
and dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x416d63
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x460]
sub esp, 0x4e0
mov eax, dword [0x445bbc]
xor eax, ebp
mov dword [ebp + 0x45c], eax
mov eax, dword [ebp + 0x468]
mov ecx, dword [ebp + 0x46c]
push ebx
mov dword [ebp - 0x80], ecx
test eax, eax
je 0x416e42
xor ecx, ecx
cmp cx, word [eax]
je 0x416e42
push 0x438fa0
push eax
call dword [sym.imp.MSVCR90.dll__wfopen]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x416dbb
inc eax
jmp 0x416e45
push esi
lea eax, [ebp - 0x7c]
push edi
push eax
call fcn.004160b8
mov esi, dword [sym.imp.MSVCR90.dll_fread]
push ebx
mov edi, 0x400
push edi
lea eax, [ebp + 0x5c]
push 1
push eax
call esi
add esp, 0x14
jmp 0x416dfb
push eax
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00416ac7
push ebx
push edi
lea eax, [ebp + 0x5c]
push 1
push eax
call esi
add esp, 0x1c
test eax, eax
ja 0x416de0
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push eax
call fcn.00416b65
push 0xd8
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00428d7a
push ebx
call dword [sym.imp.MSVCR90.dll_ferror]
add esp, 0x18
pop edi
pop esi
push ebx
test eax, eax
je 0x416e37
call dword [sym.imp.MSVCR90.dll_fclose]
pop ecx
push 2
jmp 0x416e44
call dword [sym.imp.MSVCR90.dll_fclose]
pop ecx
xor eax, eax
jmp 0x416e45
push 3
pop eax
mov ecx, dword [ebp + 0x45c]
xor ecx, ebp
pop ebx
call fcn.00428868
add ebp, 0x460
leave
ret
Function at 0x4175c0
Capabilities:
Delete file

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 8]
call fcn.0041abd3
xor ebx, ebx
mov dword [esi + 0x550], ebx
mov eax, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
push dword [eax]
lea ecx, [esi + 0x554]
push ebx
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::erase_unsigned_int__unsigned_int_]
lea edi, [esi + 0x5a8]
mov eax, dword [edi]
mov dword [esi + 0x5b0], ebx
mov dword [esi + 0x5b4], ebx
mov dword [esi + 0x5b8], ebx
mov dword [esi + 0x5bc], ebx
cmp eax, 0xffffffff
je 0x41763b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [edi], 0xffffffff
cmp dword [esi + 0x5a0], ebx
je 0x41763b
lea eax, [esi + 0x58c]
cmp dword [eax + 0x18], 8
jb 0x417631
mov eax, dword [eax + 4]
jmp 0x417634
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
push dword [eax]
lea ecx, [esi + 0x570]
push ebx
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::erase_unsigned_int__unsigned_int_]
mov eax, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
push dword [eax]
lea ecx, [esi + 0x58c]
push ebx
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::erase_unsigned_int__unsigned_int_]
pop edi
pop esi
pop ebx
ret

Function at 0x417aa0
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
push edi
xor edi, edi
cmp dword [eax + 0x14], edi
je 0x417b2a
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x14], edi
je 0x417b29
cmp dword [eax + 0x18], 0x10
jb 0x417ac5
mov eax, dword [eax + 4]
jmp 0x417ac8
add eax, 4
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.00417828
pop ecx
pop ecx
test al, al
je 0x417b29
cmp dword [esi + 0x18], 8
jb 0x417ae3
mov eax, dword [esi + 4]
jmp 0x417ae6
lea eax, [esi + 4]
push edi
push 0x80
push 3
push edi
push edi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x417b29
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x417b22
lea eax, [ebp - 8]
push eax
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
leave
ret 8
Function at 0x4184a1
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x4184d5
xor eax, eax
cmp ax, word [esi]
je 0x4184d5
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4184e0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4184d1
test al, 0x10
je 0x4184d1
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret
push 0x132b3a1
call fcn.00419a5e
pop ecx
xor al, al
pop esi
ret

Function at 0x41e158
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x28]
test eax, eax
je 0x41e1f2
push ebx
lea ebx, [esi + 0x14]
push edi
mov ecx, dword [esi + 0x30]
sub eax, ecx
cmp eax, 0x2000
jb 0x41e17c
mov eax, 0x2000
cmp dword [ebx + 0x18], 0x10
jb 0x41e187
mov edx, dword [ebx + 4]
jmp 0x41e18a
lea edx, [ebx + 4]
push 0
push eax
add ecx, edx
push ecx
push dword [esi + 0x10]
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
je 0x41e1ca
add dword [esi + 0x30], eax
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x28]
cmp edi, eax
jne 0x41e16b
mov eax, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
push dword [eax]
mov ecx, ebx
push 0
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::erase_unsigned_int__unsigned_int_]
mov ecx, dword [esi + 8]
and dword [esi + 0x30], 0
mov eax, dword [ecx]
push edi
call dword [eax + 8]
jmp 0x41e1f0
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x41e1e6
push dword [esi + 0x28]
mov ecx, dword [esi + 8]
push dword [esi + 0x30]
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x41e1f0
push 0
push eax
mov ecx, esi
call fcn.0041dfca
pop edi
pop ebx
pop esi
ret
Function at 0x41e3e6
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x68], 0x10
jb 0x41e09a
mov eax, dword [esi + 0x54]
jmp 0x41e09d
lea eax, [esi + 0x54]
push 0x400
lea ecx, [esi + 0x74]
push ecx
push eax
mov eax, dword [esi + 0xc]
push 0x402
push dword [eax + 4]
call sub.WS2_32.dll_WSAAsyncGetHostByName
mov dword [esi + 0x474], eax
test eax, eax
jne 0x41e0d2
call sub.WS2_32.dll_WSAGetLastError
push 1
push eax
mov ecx, esi
call fcn.0041dfca
pop esi
ret
mov dword [esi + 4], 1
pop esi
ret
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x41e454
push eax
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi + 0x10], eax
cmp eax, 0xffffffff
jne 0x41e413
call sub.WS2_32.dll_WSAGetLastError
push 1
push eax
mov ecx, esi
call fcn.0041dfca
pop esi
ret
mov ecx, dword [esi + 0xc]
push 0x3f
push 0x401
push dword [ecx + 4]
push eax
call sub.WS2_32.dll_WSAAsyncSelect
cmp eax, 0xffffffff
je 0x41e402
cmp dword [esi + 0x68], 0x10
jb 0x41e436
mov eax, dword [esi + 0x54]
jmp 0x41e439
lea eax, [esi + 0x54]
push eax
call sub.WS2_32.dll_inet_addr
mov dword [esi + 0x70], eax
mov ecx, esi
pop esi
cmp eax, 0xffffffff
jne 0x41e44f
jmp 0x41e08c
jmp fcn.0041e0db
cmp eax, 3
jne 0x41e411
pop esi
jmp fcn.0041e158

Function at 0x428d80
Capabilities:
Encode data using xor

Disassembly:
mov ah, bl
adc ax, 0xdc4c
push edi
out dx, eax
pushal
sub ah, dh
insd dword es:[edi], dx
push esi
jnp 0x428d75
push eax
mov ebx, 0xf4201507
and ah, dh
wait
loope 0x428d73
xlatb
movntq qword [eax - 0x38], mm6
test al, 0x10
movsd dword es:[edi], dword [esi]
les esi, [edi - 0xd4c3949]
mov ebp, 0x809989fe
cmp byte [edx + esi*8 + 0x1c], bh
adc byte [ecx - 0x73241d1f], dl
adc dword [ecx - 0x39], eax
imul ebp, dword [ecx - 0x7f2f4d3b], 0x7561a46a
mov dh, 2
invalid

Function at 0x42f4d8
Capabilities:
Encode data using xor

Disassembly:
xor byte [ecx], dl
pop ecx
pop esi
pop ecx
rol byte [0xedd51159], 1
jge 0x42f50f
or ebp, dword [edi]
das
jnp 0x42f494
ror ah, 0x99
jge 0x42f4ea
fidiv word [esi + 0x2124a390]
mov byte [0xe100e6c9], al
add cl, ah
cmp edx, 0xffffffd5
out 0x42, al
cmpsd dword [esi], dword es:[edi]
pop esp
pop ebp
xor eax, 0xb5836c4a
jbe 0x42f53d
cmc
mov al, 0x6d
dec ebp
out 9, eax
sub bh, ch
mov esi, 0xd2742eaa
invalid
pop ecx
jle 0x42f49b
jl 0x42f518
xchg edx, eax
insb byte es:[edi], dx
adc ax, 0x13e7
insd dword es:[edi], dx
jle 0x42f4f5
sbb eax, 0x40153542
inc eax
cmp al, bh
and dh, byte [ecx]
enter 0xffffffffffff947f, 0x5a
pop esp
add dword [eax + 0x45400680], ebp
or al, 0x5a
test dword [ebx - 0x658585f0], 0x757bf75f
adc dword [eax], 0x7a
jp 0x42f4b7
pop edi
idiv dword [ebx + 0x75]
test eax, 0xa1080b
inc ecx
iretd
cmc
pop ds
invalid
Function at 0x103a0eb8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x103a0ec2
pushal
call 0x103a0ec8
pop ebp
sub ebp, 0x10
sub ebp, 0x3a0eb8
mov al, byte [esp + 0x28]
cmp al, 1
je 0x103a0eec
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x103a0ef5
mov eax, 0x3a0eb8
add eax, ebp
add eax, 0x63
mov ecx, 0x5e3
mov edx, 0x93782adb
xor byte [eax], dl
inc eax
dec ecx
jne 0x103a0f0c
jmp 0x103a0f1f
push eax
push ss
push eax
push edx
out 0xdb, eax
fcmovnu st(0), st(3)
pop edx
sbb ah, byte [ebx]
fcmovnu st(0), st(3)
fcmovnu st(0), st(0)
push ss
arpl cx, bx
fcmovnu st(0), st(3)
invalid
Function at 0x10047fd
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x100bfa0
call fcn.01004b14
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x100e15c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1004612
cmp eax, esi
jne 0x1004605
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x1004615
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10045ec
xor esi, esi
inc esi
mov eax, dword [0x100e158]
cmp eax, esi
jne 0x1004628
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1004663
mov eax, dword [0x100e158]
test eax, eax
jne 0x100465d
mov dword [0x100e158], esi
push 0x10011f0
push 0x10011e4
call fcn.01004569
pop ecx
pop ecx
test eax, eax
je 0x1004663
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x100472d
mov dword [0x100d998], esi
mov eax, dword [0x100e158]
cmp eax, esi
jne 0x1004687
push 0x10011e0
push 0x10011d8
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100e158], 2
cmp dword [ebp - 0x1c], ebx
jne 0x1004694
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100e168], ebx
je 0x10046b5
push 0x100e168
call fcn.01004a89
pop ecx
test eax, eax
je 0x10046b5
push ebx
push 2
push ebx
call dword [0x100e168]
push dword [0x100d980]
push dword [0x100d984]
push dword [0x100d97c]
call fcn.01004145
add esp, 0xc
mov dword [0x100d994], eax
cmp dword [0x100d988], ebx
jne 0x1004713
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x100d998], ebx
jne 0x1004721
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x100d994]
call fcn.01004b59
ret
call fcn.01004c61
jmp 0x10045ca
Function at 0x100bc73
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100d03c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x20]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x228], ecx
xor ecx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x220], ecx
cmp ebx, ecx
je 0x100bcb4
mov dword [ebx], ecx
cmp dword [ebp + 0x24], ecx
jne 0x100bcd1
push eax
push 0x109
lea eax, [ebp - 0x218]
push eax
call fcn.0100bc28
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x21c]
push ecx
push 0x20019
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100bd26
mov ecx, dword [0x100d05c]
cmp ecx, 0x100d05c
je 0x100bdeb
test byte [ecx + 0x1c], 2
je 0x100bdeb
push eax
lea eax, [ebp - 0x218]
push eax
push 0x1003a3c
push 0x15
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010055de
jmp 0x100bdeb
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x228]
lea eax, [ebp - 0x22c]
push eax
push 0
push esi
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, 0x1003a3c
test eax, eax
je 0x100bd87
mov ecx, dword [0x100d05c]
cmp ecx, 0x100d05c
je 0x100bdb8
test byte [ecx + 0x1c], 2
je 0x100bdb8
push eax
push esi
push dword [ebp - 0x230]
push edi
push 0x16
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0100bb5b
jmp 0x100bdb8
mov ecx, dword [ebp - 0x22c]
mov eax, dword [ebp - 0x224]
cmp ecx, dword [ebp + 0x1c]
je 0x100bda8
cmp ecx, 3
jne 0x100bdb8
cmp dword [ebp + 0x1c], 4
jne 0x100bdb8
cmp eax, 4
jne 0x100bdb8
test ebx, ebx
je 0x100bdae
mov dword [ebx], eax
mov dword [ebp - 0x220], 1
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x100bdeb
mov ecx, dword [0x100d05c]
cmp ecx, 0x100d05c
je 0x100bdeb
test byte [ecx + 0x1c], 4
je 0x100bdeb
push eax
push edi
push 0x17
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01006957
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x220]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100480c
leave
ret 0x20
Function at 0xa19058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00a191a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xa1907e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa1906a
add dl, dl
jne 0xa19089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa190dc
xor eax, eax
add dl, dl
jne 0xa19096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa1917d
add dl, dl
jne 0xa190a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa190b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa190bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa190c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xa190d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xa19075
mov eax, 1
add dl, dl
jne 0xa190ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa190f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa190e1
sub eax, ebx
mov ebx, 1
jne 0xa19128
mov ecx, 1
add dl, dl
jne 0xa1910e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa19119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa19105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa19075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xa1913f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa1914a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa19136
cmp eax, 0x7d00
jae 0xa1916d
cmp eax, 0x500
jb 0xa19168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa19075
cmp eax, 0x7f
ja 0xa19170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa19075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xa1919e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xa19075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401d50
Capabilities:
Hash data using crc32b

Disassembly:
push esi
xor ecx, ecx
xor eax, eax
push ebx
xor ebx, ebx
jmp 0x401d95
mov eax, ecx
mov ebx, ecx
shl eax, 0x19
mov edx, eax
xor edx, 0x4c11db7
test cl, 0x80
cmovne eax, edx
lea edx, [eax + eax]
mov esi, edx
xor esi, 0x4c11db7
test eax, eax
cmovs edx, esi
lea eax, [edx + edx]
mov esi, eax
xor esi, 0x4c11db7
test edx, edx
cmovs eax, esi
lea edx, [eax + eax]
mov esi, edx
xor esi, 0x4c11db7
test eax, eax
cmovs edx, esi
lea eax, [edx + edx]
mov esi, eax
xor esi, 0x4c11db7
test edx, edx
cmovs eax, esi
lea edx, [eax + eax]
mov esi, edx
xor esi, 0x4c11db7
test eax, eax
cmovs edx, esi
lea eax, [edx + edx]
mov esi, eax
xor esi, 0x4c11db7
test edx, edx
cmovs eax, esi
lea edx, [eax + eax]
mov esi, edx
xor esi, 0x4c11db7
test eax, eax
cmovs edx, esi
add ecx, 1
mov dword [ebx*4 + 0x452080], edx
cmp ecx, 0x100
jne 0x401d60
movzx eax, word [0x430828]
movzx edx, byte [eax + 0x4308d2]
xor dl, byte [eax + 0x430820]
mov byte [0x452060], dl
movzx edx, byte [eax + 0x4308d3]
lea eax, [edx + eax + 0xb3]
movzx edx, byte [eax + 0x430952]
xor dl, byte [eax + 0x430820]
mov byte [0x452061], dl
movzx edx, byte [eax + 0x430953]
lea eax, [edx + eax + 0x133]
movzx edx, byte [eax + 0x43099e]
xor dl, byte [eax + 0x430820]
mov byte [0x452062], dl
movzx edx, byte [eax + 0x43099f]
lea eax, [edx + eax + 0x17f]
movzx edx, byte [eax + 0x43094e]
xor dl, byte [eax + 0x430820]
mov byte [0x452063], dl
movzx edx, byte [eax + 0x43094f]
lea eax, [edx + eax + 0x12f]
movzx edx, byte [eax + 0x4309fa]
xor dl, byte [eax + 0x430820]
mov byte [0x452064], dl
movzx edx, byte [eax + 0x4309fb]
lea eax, [edx + eax + 0x1db]
movzx edx, byte [eax + 0x430967]
xor dl, byte [eax + 0x430820]
mov byte [0x452065], dl
movzx edx, byte [eax + 0x430968]
lea eax, [edx + eax + 0x148]
movzx ecx, byte [eax + 0x430853]
movzx edx, byte [eax + 0x430852]
xor dl, byte [eax + 0x430820]
mov byte [0x452066], dl
movzx edx, byte [ecx + eax + 0x430859]
xor dl, byte [ecx + eax + 0x430853]
mov byte [0x452067], dl
pop ebx
pop esi
ret

Function at 0x401f50
Capabilities:
Encode data using xor

Disassembly:
push esi
push ebx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
test eax, eax
jle 0x401fd0
sub eax, 1
shr eax, 2
lea ebx, [edx + eax*4 + 4]
mov eax, dword [esp + 0xc]
lea esi, [esi]
movzx esi, byte [edx + 3]
mov ecx, eax
shr eax, 0x18
add edx, 4
shl ecx, 8
xor eax, esi
movzx esi, byte [edx - 2]
xor ecx, dword [eax*4 + 0x452080]
mov eax, ecx
shr ecx, 0x18
xor ecx, esi
shl eax, 8
movzx esi, byte [edx - 3]
xor eax, dword [ecx*4 + 0x452080]
mov ecx, eax
shr eax, 0x18
xor eax, esi
shl ecx, 8
movzx esi, byte [edx - 4]
xor ecx, dword [eax*4 + 0x452080]
mov eax, ecx
shr ecx, 0x18
xor ecx, esi
shl eax, 8
xor eax, dword [ecx*4 + 0x452080]
cmp edx, ebx
jne 0x401f70
pop ebx
pop esi
ret
mov eax, dword [esp + 0xc]
pop ebx
pop esi
ret
Function at 0x407320
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
movzx eax, word [0x452060]
movzx edx, word [0x452062]
mov byte [0x4526c2], 8
lea edi, [esp + 0x2c]
mov dword [esp + 8], 4
shl eax, 0x10
mov dword [esp + 4], edi
or eax, edx
mov dword [esp], 0xffffffff
mov dword [esp + 0x2c], eax
movzx eax, word [0x44abc0]
mov word [0x4526c0], ax
mov eax, dword [esp + 0x54]
mov byte [0x4526c3], al
call fcn.00401f50
mov dword [esp + 8], 4
mov dword [esp + 4], 0x4526c0
mov dword [esp], eax
call fcn.00401f50
mov dword [0x4526c4], eax
imul eax, dword [esp + 0x50], 0xa48
mov edx, dword [eax + 0x452a00]
lea ebp, [eax + 0x22c]
lea esi, [eax + 0x4529ec]
test edx, edx
jne 0x407430
imul ebx, dword [esp + 0x50], 0xa48
mov dword [ebp + 0x4527c0], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov eax, dword [ebx + 0x4529d4]
mov dword [esp + 0x10], esi
mov dword [ebx + 0x4529fc], eax
movzx eax, byte [0x4526c2]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x4529cc]
add ebx, 0x4527c0
mov dword [esp + 4], 0x4526c0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub esp, 0x14
test eax, eax
je 0x407480
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
lea ebx, [eax + 0x4527c0]
mov eax, dword [eax + 0x4529cc]
mov dword [esp + 0xc], 1
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov eax, dword [ebx + 0x214]
sub esp, 0x10
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [ebx + 0x240], 0
sub esp, 4
jmp 0x4073b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x407427
mov dword [ebx + 0x240], 1
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x407800
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
movzx eax, word [0x452060]
movzx edx, word [0x452062]
mov dword [0x4526c0], 0x60caa55
lea edi, [esp + 0x2c]
mov dword [esp + 8], 4
shl eax, 0x10
mov dword [esp + 4], edi
or eax, edx
mov dword [esp], 0xffffffff
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
mov byte [0x4526c5], 0
mov byte [0x4526c4], al
xor eax, eax
mov word [0x4526c6], ax
call fcn.00401f50
mov dword [esp + 8], 8
mov dword [esp + 4], 0x4526c0
mov dword [esp], eax
call fcn.00401f50
mov dword [0x4526c8], eax
imul eax, dword [esp + 0x50], 0xa48
mov edx, dword [eax + 0x452a00]
lea ebp, [eax + 0x22c]
lea esi, [eax + 0x4529ec]
test edx, edx
jne 0x407920
imul ebx, dword [esp + 0x50], 0xa48
mov dword [ebp + 0x4527c0], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov eax, dword [ebx + 0x4529d4]
mov dword [esp + 0x10], esi
mov dword [ebx + 0x4529fc], eax
movzx eax, byte [0x4526c2]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x4529cc]
add ebx, 0x4527c0
mov dword [esp + 4], 0x4526c0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub esp, 0x14
test eax, eax
je 0x407970
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
lea ebx, [eax + 0x4527c0]
mov eax, dword [eax + 0x4529cc]
mov dword [esp + 0xc], 1
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov eax, dword [ebx + 0x214]
sub esp, 0x10
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [ebx + 0x240], 0
sub esp, 4
jmp 0x40789b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x407910
mov dword [ebx + 0x240], 1
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret