joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e83d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d9325
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x7cc164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.0057b630
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x5e8463
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0xfffffff
je 0x5e85c0
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.0054d1bd
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov ecx, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6e9e00]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x6e9e00]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x5e855f
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call fcn.00566aa0
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.0054dcb0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x5e853e
cmp ebx, 0x200
jae 0x5e853c
shl ebx, 3
cmp ebx, ecx
jae 0x5e853e
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.0057da60
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0057b630
mov ecx, dword [edi + 8]
mov edx, dword [eax]
jmp 0x5e8562
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
lea eax, [ecx + 1]
mov dword [edi + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x5e8590
mov dword [ecx + eax*8], esi
jmp 0x5e859f
cmp edi, edx
jne 0x5e8599
mov dword [ecx + eax*8], esi
jmp 0x5e85a3
cmp dword [ecx + eax*8 + 4], ebx
jne 0x5e85a3
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.0054c683
int3
Function at 0x5e8680
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dfa3d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x7cc164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
mov dword [esi], vtable.google::protobuf::DynamicMessageFactory.0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
call fcn.005e85d0
push 0x30
lea eax, [esi + 0x30]
mov dword [esi + 0x2c], 0
push 0
push eax
call fcn.0054f880
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000a6a4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x10011dac], 0
push esi
push edi
jne 0x1000a61a
call fcn.1000a586
test eax, eax
je 0x1000a65f
mov eax, dword [0x10011dac]
cmp eax, 1
jne 0x1000a63b
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x1000a65f
jmp 0x1000a6a1
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x1000a6a1
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1000a663
xor eax, eax
jmp 0x1000a6a1
mov eax, dword [esi]
push dword [0x10011dac]
call edi
mov edi, eax
test edi, edi
je 0x1000a685
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x1000a6a1
lea edi, [esi + 0xff0]
push esi
push dword [0x10011dac]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x1000a68b
mov eax, esi
pop edi
pop esi
ret
jmp 0x1000a606

Function at 0x1000a812
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10011c4c]
jne 0x1000a81c
repz ret
jmp fcn.1000b021

Function at 0x1000acde
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x1000aced
pop dword [ebp - 0x44]
mov eax, 0xd859ad39
add eax, 0x37a6ffb4
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x39467
push 0
mov eax, 0xc40a6f15
add eax, 0x4bf651fb
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x5050
mov esi, eax
mov edi, 0xafb6b43f
add edi, 0x604b11c1
add edi, dword [ebp - 0x44]
mov ebx, 0xce42d4f3
add ebx, 0xbb815c93
add dword [ebp - 0x1c], 0x264f829b
mov edx, dword [edi]
sub dword [ebp - 0x24], 0xa2a781c8
add edx, ebx
sub dword [ebp - 0x28], eax
mov dword [esi], edx
xor dword [ebp - 8], 0xa58ca0a8
add esi, 0x7351350e
sub esi, 0x7351350a
add edi, 4
loop 0x1000ad46
add eax, 0x27baf4ba
add eax, 0xd8463f59
mov ebx, eax
add eax, 5
mov ecx, 0xaf9182ea
sub ecx, 0x9f9182ea
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x1000fe15
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1000fe24
pop dword [ebp - 0x24]
mov eax, 0x1000fe24
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x38c4d
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x4303
mov edx, eax
mov edi, 0x10024400
add edi, dword [ebp - 0x24]
mov esi, 0xd0a31d55
sub esi, 0x8b7c626d
mov dword [ebp - 0x18], 0x4e14e26d
mov ebx, dword [edi]
mov dword [ebp - 0x10], 0xd6cd7169
sub ebx, esi
add dword [ebp - 0x20], eax
mov dword [edx], ebx
xor dword [ebp - 0x14], eax
add edx, 0xba74630d
add edx, 0x458b9cf7
add edi, 4
loop 0x1000fe6d
add eax, 0x20a105f7
sub eax, 0x20a00718
mov ebx, eax
add eax, 5
mov ecx, 0xe2dbe057
add ecx, 0x2d241fa9
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x401a22
Capabilities:
Hide graphical window

Disassembly:
mov ecx, 0xfffffffe
jmp fcn.0040161c
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x40c302
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40c311
pop dword [ebp - 0x34]
mov eax, 0xe9ed2927
sub eax, 0xe9ac6616
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x3836e
push 0
mov eax, 0x61b677cc
add eax, 0x9e8a690c
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x24f74b25
add ecx, 0xdb08f781
xor ebx, ebx
add ebx, eax
mov esi, 0x413bc4
add esi, dword [ebp - 0x34]
mov edi, 0xad244622
add edi, 0x456d43e
mov dword [ebp - 0x1c], 0x6ed2fcc5
mov edx, dword [esi]
add dword [ebp - 0x2c], 0xe88ac2f3
sub edx, edi
xor dword [ebp - 0x30], edx
mov dword [ebx], edx
add dword [ebp - 0x14], 0x8d8a6ffd
add ebx, 4
add esi, 0xcaa3f321
sub esi, 0xcaa3f31d
loop 0x40c36c
add eax, 0x73a2d18c
add eax, 0x8c5e2bdf
mov ebx, eax
add eax, 5
mov ecx, 0x70cdaf03
add ecx, 0x8f7250fd
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x45dcb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x32000]
push edi
or ebp, 0xffffffff
jmp 0x45dcd2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45dcd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45dcc8
mov eax, 1
add ebx, ebx
jne 0x45dceb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45dce0
jne 0x45dcfc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45dce0
xor ecx, ecx
sub eax, 3
jb 0x45dd10
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45dd82
mov ebp, eax
add ebx, ebx
jne 0x45dd1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x45dd28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x45dd4c
inc ecx
add ebx, ebx
jne 0x45dd38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45dd2d
jne 0x45dd49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45dd2d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45dd6c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45dd5d
jmp 0x45dcce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45dd6c
add edi, ecx
jmp 0x45dcce
pop esi
mov edi, esi
mov ecx, 0x4b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45dd8a
cmp byte [edi], 0x34
jne 0x45dd8a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x45dd8f
lea edi, [esi + 0x5a000]
mov eax, dword [edi]
or eax, eax
je 0x45ddfe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5d25c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5d2e4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45ddbc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5d2ec]
or eax, eax
je 0x45ddf8
mov dword [ebx], eax
add ebx, 4
jmp 0x45ddd9
call dword [esi + 0x5d2e8]
mov ebp, dword [esi + 0x5d2f0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x45de32
sub esp, 0xffffff80
jmp 0x401e70
Function at 0x4ba445
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c23c8
cmp edx, dword [eax]
je 0x4ba467
add eax, 8
inc ecx
cmp eax, 0x4c2458
jl 0x4ba458
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c23c8]
jne 0x4ba595
mov eax, dword [0x4c6d4c]
cmp eax, 1
je 0x4ba56f
test eax, eax
jne 0x4ba498
cmp dword [0x4c22f0], 1
je 0x4ba56f
cmp edx, 0xfc
je 0x4ba595
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ba4cf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004bae30
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb2c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ba512
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb2c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bf944
push edi
call fcn.004bd190
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004bae30
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bae40
lea eax, [ebp - 0xa0]
push 0x4bf924
push eax
call fcn.004bae40
push dword [esi + 0x4c23cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bae40
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bd104
add esp, 0x2c
pop edi
jmp 0x4ba595
lea eax, [ebp + 8]
lea esi, [esi + 0x4c23cc]
push 0
push eax
push dword [esi]
call fcn.004bb2c0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x402f10
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [0x548024]
test eax, eax
jne 0x402f57
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
push edx
push eax
call dword [0x548004]
mov ecx, dword [ebp - 4]
push ecx
call dword [0x548008]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402f76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esp, ebp
pop ebp
ret
Function at 0x404250
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537d0b
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x596278]
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 esi, dword [ebp + 8]
xor ebx, ebx
push 0xff
lea eax, [ebp - 0x11b]
push ebx
push eax
mov byte [ebp - 0x11c], bl
call fcn.005192a0
mov eax, dword [esi]
add esp, 0xc
cmp dword [eax - 0xc], ebx
jl 0x4043f3
push str._PROGRAMFILES
push eax
call fcn.0051a826
add esp, 8
cmp eax, ebx
je 0x4043f3
sub eax, dword [esi]
cmp eax, 0xffffffff
je 0x4043f3
push 0xff
lea ecx, [ebp - 0x21b]
push ebx
push ecx
mov dword [ebp - 0x22c], ebx
mov byte [ebp - 0x21c], bl
call fcn.005192a0
add esp, 0xc
mov dword [ebp - 0x230], 0x100
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
push 0xf003f
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], ebx
call fcn.00402200
test eax, eax
jne 0x40437d
lea edx, [ebp - 0x230]
push edx
push str.Local_AppData
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x228]
call fcn.00401240
test eax, eax
jne 0x404354
mov dword [ebp - 0x22c], 1
mov edi, dword [ebp - 0x228]
cmp edi, ebx
je 0x40436d
push edi
call dword [0x548008]
xor edi, edi
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x224], ebx
cmp dword [ebp - 0x22c], ebx
jne 0x4043ce
jmp 0x404383
mov edi, dword [ebp - 0x228]
push 0x100
lea ecx, [ebp - 0x11c]
push ecx
call dword [0x548418]
push ebx
xor eax, eax
push ebx
push ebx
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov byte [ebp - 0x13], al
push edx
lea eax, [ebp - 0x11c]
push eax
mov byte [ebp - 0x1c], bl
call fcn.00519cae
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x21c]
push str._sProgram_Files
push edx
call fcn.0051b1fe
add esp, 0x20
lea eax, [ebp - 0x21c]
push eax
push str._PROGRAMFILES
mov ecx, esi
call fcn.00403000
mov dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x4043f3
push edi
call dword [0x548008]
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jl 0x404438
push str._WINDOWS
push eax
call fcn.0051a826
add esp, 8
cmp eax, ebx
je 0x404438
sub eax, dword [esi]
cmp eax, 0xffffffff
je 0x404438
push 0x100
lea ecx, [ebp - 0x11c]
push ecx
call dword [0x54841c]
lea edx, [ebp - 0x11c]
push edx
push str._WINDOWS
mov ecx, esi
call fcn.00403000
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jl 0x40447d
push str._SYSTEM32
push eax
call fcn.0051a826
add esp, 8
cmp eax, ebx
je 0x40447d
sub eax, dword [esi]
cmp eax, 0xffffffff
je 0x40447d
push 0x100
lea eax, [ebp - 0x11c]
push eax
call dword [0x548418]
lea ecx, [ebp - 0x11c]
push ecx
push str._SYSTEM32
mov ecx, esi
call fcn.00403000
push 0x549028
push 0x549024
mov ecx, esi
call fcn.00403000
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.00519291
mov esp, ebp
pop ebp
ret
Function at 0x406110
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0xc], 1
push ebx
push esi
push edi
mov ebx, ecx
jge 0x406142
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0xc]
mov dword [ebp + 0xc], 0x548ea4
call fcn.0051ab6d
push 0x57da48
lea ecx, [ebp - 0xc]
push ecx
call fcn.0051ae19
xor eax, eax
lea ecx, [ebx + 1]
mov byte [ecx + eax], al
inc eax
cmp eax, 0x100
jl 0x406147
mov esi, dword [ebp + 8]
mov word [ebx + 0x201], 0
mov edi, 0x100
jmp 0x406170
movzx edx, byte [ebx + 0x201]
mov dword [ebx + 0x204], ecx
mov al, byte [edx + esi]
add al, byte [ecx]
inc ecx
add byte [ebx + 0x202], al
movzx edx, byte [ebx + 0x202]
lea eax, [edx + ebx + 1]
mov dword [ebx + 0x208], eax
movzx edx, byte [ecx - 1]
mov byte [ebx + 0x20c], dl
movzx edx, byte [eax]
mov byte [ecx - 1], dl
movzx edx, byte [ebx + 0x20c]
mov eax, dword [ebx + 0x208]
mov byte [eax], dl
movzx eax, byte [ebx + 0x201]
inc eax
cdq
idiv dword [ebp + 0xc]
dec edi
mov byte [ebx + 0x201], dl
jne 0x406170
lea edi, [ebx + 0x101]
lea esi, [ebx + 1]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov word [ebx + 0x201], 0
mov byte [ebx], 1
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4073d0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53812b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x596278]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], 0x5493d4
call fcn.005375d4
push 4
mov dword [ebp - 4], 0
call fcn.004197d1
mov edi, eax
add esp, 4
test edi, edi
je 0x407450
call fcn.005372c7
mov dword [edi], eax
call fcn.00537086
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00536fbb
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x407446
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00536fe3
jmp 0x407452
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408440
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5382a7
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x596278]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], eax
je 0x40848e
mov dword [ebx], 0x549458
mov dword [ebx + 0x58], 0x5493cc
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], 0x5493c4
mov edx, dword [ebx]
mov edi, dword [edx + 4]
add edi, ebx
mov ecx, edi
call fcn.00402770
lea esi, [ebx + 4]
push 0x20
mov ecx, edi
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], 0
call fcn.00407ea0
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x4084da
mov eax, dword [edi + 0xc]
or eax, 4
or eax, 4
push 0
push eax
mov ecx, edi
call fcn.00402640
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], 0x549454
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.004073d0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], 0x549414
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
xor ecx, ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
mov dword [esi + 0x3c], 0x20
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x50], ecx
mov dword [esi + 0x48], 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x408750
Capabilities:
Hash data using sha256

Disassembly:
mov eax, ecx
xor ecx, ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
ret

Function at 0x4087a0
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
mov byte [ecx + 0x68], al
ret
Function at 0x40bbd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538438
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x596278]
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, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x40bcf1
cmp byte [edi + 0x49], bl
je 0x40bcf1
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x40bce5
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x40bc45
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x40bc5d
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x40bc86
dec eax
je 0x40bc8a
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x40bce0
jmp 0x40bcec
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x40bc9a
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x40bcc3
cmp ebx, 0x10
jae 0x40bca9
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00519552
add esp, 0x10
cmp esi, eax
jne 0x40bcdd
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x40bce9
test esi, esi
jne 0x40bc51
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.004036a0
jmp 0x40bc4b
lea ecx, [ebp - 0x2c]
call fcn.00402fd0
xor al, al
jmp 0x40bcf3
lea ecx, [ebp - 0x2c]
call fcn.00402fd0
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.00519291
mov esp, ebp
pop ebp
ret