joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403083
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.00401f2f
and dword [ebp - 4], 0
cmp dword [0x417b40], 0
mov ebx, eax
jne 0x403134
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4031e5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4031e5
push eax
call fcn.00401ebd
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x417b40], eax
call esi
push eax
call fcn.00401ebd
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x417b44], eax
call esi
push eax
call fcn.00401ebd
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x417b48], eax
call esi
push eax
call fcn.00401ebd
pop ecx
mov dword [0x417b50], eax
test eax, eax
je 0x403134
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00401ebd
pop ecx
mov dword [0x417b4c], eax
mov eax, dword [0x417b4c]
cmp eax, ebx
je 0x40318c
cmp dword [0x417b50], ebx
je 0x40318c
push eax
call fcn.00401f38
push dword [0x417b50]
mov esi, eax
call fcn.00401f38
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40318c
test edi, edi
je 0x40318c
call esi
test eax, eax
je 0x403183
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x403183
test byte [ebp - 0xc], 1
jne 0x40318c
or dword [ebp + 0x10], 0x200000
jmp 0x4031c5
mov eax, dword [0x417b44]
cmp eax, ebx
je 0x4031c5
push eax
call fcn.00401f38
pop ecx
test eax, eax
je 0x4031c5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4031c5
mov eax, dword [0x417b48]
cmp eax, ebx
je 0x4031c5
push eax
call fcn.00401f38
pop ecx
test eax, eax
je 0x4031c5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x417b40]
call fcn.00401f38
pop ecx
test eax, eax
je 0x4031e5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4031e7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x404f18
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x416a08]
jne 0x404f22
repz ret
jmp fcn.004066c5
Function at 0x4078e0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
sub esp, 0x54
push ebx
push ebp
mov ebp, dword [esp + 0x60]
push esi
push edi
xor edi, edi
push 0x40
lea eax, [esp + 0x28]
push edi
push eax
mov dword [esp + 0x2c], edi
call fcn.004051a0
mov ebx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x78]
push ecx
xor eax, eax
add ebx, 0x40
push ebx
push section..data
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call fcn.00408ee0
mov esi, eax
add esp, 0x18
cmp esi, edi
je 0x4079f6
push 0x2a
push 0x414488
push esi
call fcn.00406360
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub edi, 2
push edi
lea eax, [esi + 0x2a]
push edx
push eax
call fcn.00406360
push 4
lea eax, [edi + esi + 0x2a]
push 0x414484
push eax
call fcn.00406360
add esp, 0x24
push esi
push str.cmd__S_n
call fcn.0040b482
add eax, 0x40
push eax
call fcn.0040b366
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp + 0x70]
push eax
mov dword [esp + 0x48], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
jne 0x4079cf
mov ecx, dword [esp + 0x6c]
push eax
push ecx
call fcn.00409100
add esp, 8
push ebx
push esi
push section..data
mov edi, eax
call fcn.00408f00
add esp, 0xc
jmp 0x4079fa
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push esi
push section..data
call fcn.00408f00
add esp, 0xc
jmp 0x4079fa
mov edi, dword [esp + 0x68]
test edi, edi
jne 0x407a16
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x6c]
push ecx
push str.Unable_to_launch_the_installer_of_FocalScope_Thick_Client.
push 0x19
push edx
call fcn.00408dc0
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
Function at 0x409670
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push esi
mov esi, eax
xor eax, eax
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea ebx, [esi + 0x18]
lea edi, [esi + 0x14]
nop
cmp dword [edi], 4
je 0x4097be
push 2
push 0
push edi
call ebp
cmp eax, 2
jne 0x409690
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4096bf
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00409f70
mov edi, eax
jmp 0x40978a
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x4097ad
mov edx, dword [ebx + 0x14]
push 0
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [esi + 0x260]
push edx
push eax
call ebp
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00409100
mov edi, eax
add esp, 8
test edi, edi
je 0x40978d
mov edx, dword [ebx + 0x18]
add dword [esi + 0x268], edx
mov eax, dword [esi + 0x270]
adc dword [esi + 0x26c], 0
and eax, dword [esi + 0x274]
cmp eax, 0xffffffff
jne 0x409732
mov ecx, dword [ebx + 0x18]
mov edx, dword [esi + 0x268]
push ecx
push edx
push str._d_bytes_are_downloaded.
push 0x15
jmp 0x409747
mov eax, dword [esi + 0x270]
mov ecx, dword [esi + 0x268]
push eax
push ecx
push str._d_bytes_are_downloaded.
push 3
mov ecx, dword [esi + 8]
call fcn.00409530
mov edx, dword [esp + 0x34]
add esp, 0x10
push esi
push 0
push ebx
push edx
mov dword [ebx + 0x18], 0x4000
call dword [sym.imp.WININET.dll_InternetReadFileExA]
mov edi, eax
test edi, edi
jne 0x4096c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x4097b4
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00409f90
add esp, 8
mov ecx, dword [esp + 0x24]
push 0
push ecx
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
lea ebx, [esp + 0x14]
mov eax, edi
call fcn.004095b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov edi, 1
jmp 0x40978d
mov eax, 2
call fcn.00409580
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x409ae0
Capabilities:
Create http request
Delete file
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x416a08]
xor eax, esp
mov dword [esp + 0x210], eax
mov eax, dword [esp + 0x21c]
mov ecx, dword [esp + 0x230]
push ebx
mov ebx, dword [esp + 0x228]
push ebp
mov ebp, dword [esp + 0x228]
push esi
mov esi, dword [esp + 0x224]
push edi
lea edx, [esp + 0x18]
push edx
push 0x104
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edi, [esi + 0x58]
push edi
push 0
push ebp
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test ebx, ebx
je 0x409b51
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, dword [esp + 0x14]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [esi + 0x260], eax
push ecx
push ebx
call fcn.00409100
add esp, 8
test eax, eax
je 0x409c51
mov edx, dword [esi + 0x14]
test edx, edx
je 0x409ba8
push 0x2ef1
push ebx
call fcn.00409f70
add esp, 8
jmp 0x409c33
push 0x10000000
push 0
push 0
push 0
push str.nodev
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi], eax
test eax, eax
jne 0x409bd0
push eax
push ebx
call fcn.00409f90
add esp, 8
jmp 0x409c33
push 0x409ac0
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov eax, dword [esp + 0x238]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x23c]
push esi
push 0x84000200
push 0
push 0
mov dword [esi + 0xc], eax
mov eax, dword [esi]
push edx
push eax
mov dword [esi + 0x10], ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
test eax, eax
jne 0x409c55
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x409c55
push 0
push ebx
call fcn.00409f90
mov ecx, dword [esi]
add esp, 8
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esi], 0
mov edx, dword [esi + 0x260]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
mov dword [esi + 0x260], 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
jmp 0x409c7f
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
push 0x19
push str.Connecting_to_the_server.
add edx, eax
mov eax, dword [ecx + 4]
push 0
push edx
call eax
add esp, 0x10
mov eax, 1
call fcn.00409580
mov eax, 1
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00404f18
add esp, 0x214
ret

Function at 0x40a166
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push esi
push 0xb
push 1
push str._________:
call fcn.0040b81c
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edx
push eax
call fcn.00411e70
add esp, 0x20
test eax, eax
je 0x40a1a6
mov ecx, dword [esp]
mov edx, dword [esp + 4]
push esi
push ecx
push 1
push edx
call fcn.0040b81c
add esp, 0x10
push esi
push 2
push 1
push 0x4132b4
call fcn.0040b81c
add esp, 0x18
ret
Function at 0x40afb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx eax, word [esp + 8]
mov ecx, dword [esp + 4]
push ebx
push esi
push 0xa
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, dword [esp + 0x1c]
xor edx, edx
mov esi, eax
test esi, esi
setne dl
push edx
push ebx
call fcn.00409100
add esp, 8
test eax, eax
je 0x40b03e
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
xor eax, eax
test edi, edi
setne al
push eax
push ebx
call fcn.00409100
add esp, 8
test eax, eax
je 0x40b03d
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
mov ebp, eax
test ebp, ebp
setne cl
push ecx
push ebx
call fcn.00409100
mov edi, eax
add esp, 8
test edi, edi
je 0x40b03c
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push esi
push eax
mov dword [edx], ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40333c
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x410aa0
call fcn.00406024
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x40323d
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x40323d
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x40323d
cmp dword [eax + 0x400074], 0xe
jbe 0x40323d
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x403241
and dword [ebp - 0x1c], 0
push 1
call main
pop ecx
test eax, eax
jne 0x403255
push 0x1c
call main
pop ecx
call fcn.00407199
test eax, eax
jne 0x403266
push 0x10
call main
pop ecx
call fcn.00406d3d
and dword [ebp - 4], 0
call fcn.00403bed
test eax, eax
jge 0x403280
push 0x1b
call main
pop ecx
call sub.kernel32.dll_GetCommandLineW
mov dword [0x413d00], eax
call fcn.00406ce0
mov dword [0x412ff8], eax
call main
test eax, eax
jge 0x4032a5
push 8
call main
pop ecx
call fcn.00406a03
test eax, eax
jge 0x4032b6
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x4032c9
push eax
call main
pop ecx
mov eax, dword [0x413340]
mov dword [0x413344], eax
push eax
push dword [0x413334]
push dword [0x41332c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4032f7
push eax
call main
call fcn.0040428b
jmp 0x40332c
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.00406069
ret
call main
jmp 0x4031eb

Function at 0x40cd3c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x40cd4b
pop dword [ebp - 0x18]
mov eax, 0x40cd4b
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x39b48
push 0
mov eax, 0x695819bd
sub eax, 0x6917389d
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0xd2b1f7b5
sub ecx, 0xd2b1ae24
mov edx, eax
mov edi, 0xc56c8bae
sub edi, 0xc52b13ae
add edi, dword [ebp - 0x18]
mov esi, 0xa4ef9dde
mov ebx, dword [edi]
sub dword [ebp - 0xc], esi
add ebx, esi
xor dword [ebp - 0x14], ebx
mov dword [edx], ebx
sub dword [ebp - 8], esi
add edx, 0x2c978b4b
sub edx, 0x2c978b47
add edi, 0x7fbb3a0b
add edi, 0x8044c5f9
loop 0x40cd9f
add eax, 0xa836f583
add eax, 0x57ca2394
mov ebx, eax
add eax, 0xfad43b5c
sub eax, 0xfad43b57
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x45d470
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4e000]
push edi
jmp 0x45d48a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45d491
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45d480
mov eax, 1
add ebx, ebx
jne 0x45d4a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45d4b4
jne 0x45d4d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45d4d3
dec eax
add ebx, ebx
jne 0x45d4c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x45d498
add ebx, ebx
jne 0x45d4cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x45d525
xor ecx, ecx
sub eax, 3
jb 0x45d4eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45d55a
sar eax, 1
mov ebp, eax
jmp 0x45d4f6
add ebx, ebx
jne 0x45d4f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45d4c4
inc ecx
add ebx, ebx
jne 0x45d504
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45d4c4
add ebx, ebx
jne 0x45d511
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45d506
jne 0x45d522
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45d506
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45d544
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45d536
jmp 0x45d486
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45d544
add edi, ecx
jmp 0x45d486
pop esi
lea edi, [esi + 0x5b000]
mov eax, dword [edi]
or eax, eax
je 0x45d5ac
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6395c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x639f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45d561
mov ecx, edi
jns 0x45d590
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 + 0x639f8]
or eax, eax
je 0x45d5a6
mov dword [ebx], eax
add ebx, 4
jmp 0x45d57e
call dword [esi + 0x639f4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x45d5dd
cmp al, 0xef
ja 0x45d5d0
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x45d5b2
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x45d5bf
mov ebp, dword [esi + 0x639fc]
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 0x45d611
sub esp, 0xffffff80
jmp 0x402a21
Function at 0x416b6b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x425458]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407fe5
mov dword [ebp - 0x14], eax
cmp dword [0x43faa8], esi
jne 0x416c5e
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x416beb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x416d3e
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x416d3e
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x416d3e
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43faa8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43faac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43fab0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43fab8], eax
test eax, eax
je 0x416c5b
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43fab4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x416c83
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x416c76
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x416c98
push 4
pop eax
jmp 0x416d40
cmp dword [ebp - 0x14], esi
je 0x416c98
push dword [0x43faa8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x416c7d
mov eax, dword [0x43fab4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x416cf6
cmp dword [0x43fab8], edi
je 0x416cf6
push eax
call ebx
push dword [0x43fab8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x416cf6
test eax, eax
je 0x416cf6
call ecx
test eax, eax
je 0x416ceb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x416ceb
test byte [ebp - 8], 1
jne 0x416cf6
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x416d26
mov eax, dword [0x43faac]
cmp eax, edi
je 0x416d23
push eax
call ebx
test eax, eax
je 0x416d23
call eax
mov esi, eax
test esi, esi
je 0x416d23
mov eax, dword [0x43fab0]
cmp eax, edi
je 0x416d23
push eax
call ebx
test eax, eax
je 0x416d23
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43faa8]
call ebx
test eax, eax
je 0x416d3e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x416d40
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406f82
mov esp, ebp
pop ebp
ret
Function at 0x401380
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x528c24]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00407490
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.00407530
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.0048d9be
add esp, 0x68
ret

Function at 0x4013f0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x528c24]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00407490
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.00407530
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.0048d9be
add esp, 0x68
ret
Function at 0x401c80
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x6c
mov eax, dword [0x528c24]
xor eax, esp
mov dword [esp + 0x68], eax
push esi
lea eax, [esp + 8]
mov esi, edx
push eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.00405360
add esp, 8
test eax, eax
jne 0x401ceb
pop esi
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0048d9be
add esp, 0x6c
ret
mov eax, dword [esp + 0x74]
test eax, eax
jbe 0x401d00
push esi
lea ecx, [esp + 0x14]
call fcn.00407490
add esp, 4
lea esi, [esp + 0x10]
mov ecx, ebx
call fcn.00407530
test edi, edi
je 0x401d1e
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, dword [esp + 8]
sete al
mov dword [edi], eax
mov ecx, dword [esp + 0x6c]
pop esi
xor ecx, esp
mov eax, 1
call fcn.0048d9be
add esp, 0x6c
ret

Function at 0x401db0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
mov eax, dword [0x528c24]
xor eax, esp
mov dword [esp + 0x5c], eax
xor eax, eax
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
push edi
lea eax, [esp + 8]
mov edi, ecx
push eax
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00405550
add esp, 4
test eax, eax
jne 0x401e0e
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0048d9be
add esp, 0x64
ret
lea esi, [esp + 8]
mov ecx, ebx
call fcn.00407530
mov ecx, dword [esp + 0x64]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.0048d9be
add esp, 0x64
ret

Function at 0x401e30
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x74
mov eax, dword [0x528c24]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
push edi
lea ecx, [esp + 8]
push ecx
push eax
mov dword [esp + 0x10], 0x6a09e667
mov dword [esp + 0x14], 0xbb67ae85
mov dword [esp + 0x18], 0x3c6ef372
mov dword [esp + 0x1c], 0xa54ff53a
mov dword [esp + 0x20], 0x510e527f
mov dword [esp + 0x24], 0x9b05688c
mov dword [esp + 0x28], 0x1f83d9ab
mov dword [esp + 0x2c], 0x5be0cd19
call fcn.00405630
add esp, 8
test eax, eax
jne 0x401eaf
pop edi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0048d9be
add esp, 0x74
ret
mov eax, esi
lea edi, [esp + 8]
call fcn.00406b40
mov ecx, dword [esp + 0x74]
pop edi
xor ecx, esp
mov eax, 1
call fcn.0048d9be
add esp, 0x74
ret

Function at 0x4034e0
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40350b
push 0x5124f8
mov eax, 0x5124f8
call fcn.004081e0
add esp, 4
xor eax, eax
pop ecx
ret
mov eax, 1
cmp esi, dword [esp]
je 0x403524
push 0x5124f8
call fcn.00408490
add esp, 4
xor eax, eax
pop ecx
ret