joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411fc3
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
cmp byte [esi], 0
jne 0x41202c
push dword [esi + 8]
lea ecx, [ebp - 8]
call fcn.00413a60
mov ecx, esi
call fcn.00411967
test al, al
jne 0x412024
lea ecx, [ebp - 4]
call fcn.00413a41
lea ecx, [ebp - 8]
call fcn.00413e73
push eax
lea eax, [ebp - 4]
push str.There_is_something_wrong_with__s.__It_may_be_an_empty_or_damaged_archive.
push eax
call fcn.00413dde
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.00413e73
push eax
push str.FATAL_ERROR_IN_ZIP
call fcn.0041386c
pop ecx
pop ecx
push 0xffffffffffffffff
call fcn.0041d533
lea ecx, [ebp - 8]
call fcn.00413b1b
pop esi
leave
ret

Function at 0x41247a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 0xc]
test edx, edx
mov eax, dword [esp + 4]
je 0x4124a6
mov ecx, dword [esp + 8]
push esi
push edi
movzx esi, byte [ecx]
movzx edi, al
xor esi, edi
mov esi, dword [esi*4 + 0x42f3e0]
shr eax, 8
xor eax, esi
inc ecx
dec edx
jne 0x41248c
pop edi
pop esi
ret

Function at 0x414387
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call fcn.0041c440
lea eax, [ebp - 0x104]
push eax
call fcn.00414409
add esp, 0xc
push 0
lea eax, [ebp - 0x104]
push eax
call esi
test eax, eax
jne 0x414404
lea eax, [ebp - 0x104]
push 0x5c
push eax
call fcn.0041c530
test eax, eax
pop ecx
pop ecx
jne 0x4143ec
lea eax, [ebp - 0x104]
push 0x2f
push eax
call fcn.0041c530
test eax, eax
pop ecx
pop ecx
je 0x414400
and byte [eax], 0
push 0
lea eax, [ebp - 0x104]
push eax
call esi
test eax, eax
je 0x4143c4
jmp 0x414397
xor al, al
jmp 0x414406
mov al, 1
pop esi
leave
ret

Function at 0x4144cf
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4144e1
xor al, al
ret
and eax, 1
dec al
neg al
sbb eax, eax
inc eax
ret

Function at 0x4144ec
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x414513
and eax, 0xfffffffe
cmp byte [esp + 8], 0
je 0x414508
or eax, 1
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret
Function at 0x41ceff
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4299f8
push 0x420ef8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0x4377a0], eax
movzx ecx, ah
mov dword [0x4377ac], ecx
and eax, 0xff
mov dword [0x4377a8], eax
shl eax, 8
add eax, ecx
mov dword [0x4377a4], eax
movzx eax, word [0x4377a2]
mov dword [0x4377a0], eax
push 1
call fcn.0041fbfa
pop ecx
test eax, eax
jne 0x41cf6d
push 0x1c
call fcn.0041d02f
pop ecx
call fcn.0041f839
test eax, eax
jne 0x41cf7e
push 0x10
call fcn.0041d02f
pop ecx
xor esi, esi
mov dword [ebp - 4], esi
call fcn.00421b31
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x438e98], eax
call fcn.004219ff
mov dword [0x437790], eax
call fcn.004217ba
call fcn.00421701
call fcn.0041d506
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004216a3
mov dword [ebp - 0x60], eax
test byte [ebp - 0x30], 1
je 0x41cfcd
movzx eax, word [ebp - 0x2c]
jmp 0x41cfd0
push 0xa
pop eax
push eax
push dword [ebp - 0x60]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x64], eax
push eax
call fcn.0041d533
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x68], ecx
push eax
push ecx
call fcn.0042152f
pop ecx
pop ecx
ret

Function at 0x41d555
Capabilities:
Terminate process

Disassembly:
push edi
call fcn.0041d5f9
xor edi, edi
inc edi
cmp dword [0x4377dc], edi
jne 0x41d577
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [esp + 0xc], 0
push ebx
mov ebx, dword [esp + 0x14]
mov dword [0x4377d8], edi
mov byte [0x4377d4], bl
jne 0x41d5cb
mov eax, dword [0x438e94]
push esi
test eax, eax
je 0x41d5b9
mov ecx, dword [0x438e90]
lea esi, [ecx - 4]
cmp esi, eax
jb 0x41d5b9
mov eax, dword [esi]
test eax, eax
je 0x41d5ae
call eax
sub esi, 4
cmp esi, dword [0x438e94]
jae 0x41d5a6
push 0x42c094
push 0x42c08c
call fcn.0041d60b
pop ecx
pop ecx
pop esi
push 0x42c09c
push 0x42c098
call fcn.0041d60b
pop ecx
pop ecx
test ebx, ebx
pop ebx
je 0x41d5e7
pop edi
jmp fcn.0041d602
push dword [esp + 8]
mov dword [0x4377dc], edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x41f8c3
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [0x431e30]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x41f920
push 0x74
push 1
call fcn.0041e2f3
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x41f918
push esi
push dword [0x431e30]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x41f918
push esi
call fcn.0041f8b0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
or dword [esi + 4], 0xffffffff
mov dword [esi], eax
jmp 0x41f920
push 0x10
call fcn.0041d00a
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
ret

Function at 0x421d25
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov ecx, dword [ebp + 8]
xor eax, eax
cmp ecx, dword [eax*8 + 0x434260]
je 0x421d42
inc eax
cmp eax, 0x12
jb 0x421d33
push esi
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x434260]
jne 0x421e70
mov eax, dword [0x437798]
cmp eax, 1
je 0x421e4a
test eax, eax
jne 0x421d73
cmp dword [0x431a64], 1
je 0x421e4a
cmp ecx, 0xfc
je 0x421e70
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x421daa
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0041c440
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0041c3c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x421ded
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041c3c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x429ecc
push edi
call fcn.0041c630
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0041c440
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0041c450
lea eax, [ebp - 0xa0]
push 0x429eac
push eax
call fcn.0041c450
push dword [esi + 0x434264]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041c450
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004254c0
add esp, 0x2c
pop edi
jmp 0x421e70
lea eax, [ebp + 8]
lea esi, [esi + 0x434264]
push 0
push eax
push dword [esi]
call fcn.0041c3c0
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 0x42208a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x422250
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x437d40]
shl esi, 2
mov eax, dword [edi]
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x422250
test cl, 0x48
je 0x4220f0
mov al, byte [eax + 5]
cmp al, 0xa
je 0x4220f0
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
lea eax, [ebp - 0xc]
push 0
push eax
mov eax, dword [edi]
push dword [ebp + 0x10]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x422142
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x42212a
call fcn.0041dbea
mov dword [eax], 9
call fcn.0041dbf3
mov dword [eax], esi
jmp 0x42213a
cmp eax, 0x6d
je 0x422250
push eax
call fcn.0041db7c
pop ecx
or eax, 0xffffffff
jmp 0x422252
mov eax, dword [edi]
mov edx, dword [ebp - 0xc]
add dword [ebp - 8], edx
lea ecx, [eax + esi + 4]
mov al, byte [ecx]
test al, al
jns 0x42224b
test edx, edx
je 0x422165
cmp byte [ebx], 0xa
jne 0x422165
or al, 4
jmp 0x422167
and al, 0xfb
mov byte [ecx], al
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [ebp + 0x10], eax
add ecx, eax
cmp eax, ecx
mov dword [ebp - 8], ecx
jae 0x422245
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x422235
cmp al, 0xd
je 0x42219b
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x422227
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x4221b5
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x4221b0
add dword [ebp + 0x10], 2
jmp 0x422209
mov dword [ebp + 0x10], eax
jmp 0x422223
lea eax, [ebp - 0xc]
push 0
push eax
inc dword [ebp + 0x10]
lea eax, [ebp - 1]
push 1
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4221dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x422223
cmp dword [ebp - 0xc], 0
je 0x422223
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x4221fe
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x422209
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x422226
cmp ebx, dword [ebp + 0xc]
jne 0x42220e
cmp byte [ebp - 1], 0xa
jne 0x42220e
mov byte [ebx], 0xa
jmp 0x422226
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00421ed8
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x422227
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x42217f
jmp 0x422245
mov eax, dword [edi]
lea esi, [eax + esi + 4]
mov al, byte [esi]
test al, 0x40
jne 0x422245
or al, 2
mov byte [esi], al
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x422252
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4235d9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
jne 0x4235f9
xor eax, eax
jmp 0x423762
mov eax, dword [ebp + 8]
sar eax, 5
lea ebx, [eax*4 + 0x437d40]
mov eax, dword [ebp + 8]
and eax, 0x1f
lea esi, [eax + eax*8]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x423629
push 2
push edi
push dword [ebp + 8]
call fcn.00421ed8
add esp, 0xc
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x4236fb
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], eax
mov dword [ebp + 8], edi
jbe 0x423736
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x418]
sub ecx, dword [ebp + 0xc]
mov dword [ebp - 4], edi
cmp ecx, dword [ebp + 0x10]
jae 0x423684
mov edx, dword [ebp - 8]
inc dword [ebp - 8]
inc ecx
mov dl, byte [edx]
cmp dl, 0xa
jne 0x423675
inc dword [ebp - 0x10]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 4]
mov byte [eax], dl
inc eax
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x400
jl 0x423658
mov edi, eax
lea eax, [ebp - 0x418]
sub edi, eax
lea eax, [ebp - 0x14]
push 0
push eax
lea eax, [ebp - 0x418]
push edi
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4236c4
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], eax
cmp eax, edi
jl 0x4236cd
mov eax, dword [ebp - 8]
xor edi, edi
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
jb 0x423649
jmp 0x4236cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], eax
xor edi, edi
mov eax, dword [ebp - 0xc]
cmp eax, edi
jne 0x42375f
cmp dword [ebp + 8], edi
je 0x423736
push 5
pop esi
cmp dword [ebp + 8], esi
jne 0x423728
call fcn.0041dbea
mov dword [eax], 9
call fcn.0041dbf3
mov dword [eax], esi
jmp 0x423731
lea ecx, [ebp - 0x14]
push edi
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42371d
mov eax, dword [ebp - 0x14]
mov dword [ebp + 8], edi
mov dword [ebp - 0xc], eax
jmp 0x4236cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], eax
jmp 0x4236cf
push dword [ebp + 8]
call fcn.0041db7c
pop ecx
or eax, 0xffffffff
jmp 0x423762
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x42374b
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x1a
je 0x4235f2
call fcn.0041dbea
mov dword [eax], 0x1c
call fcn.0041dbf3
mov dword [eax], edi
jmp 0x423731
sub eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x424c18
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push esi
push edi
xor edi, edi
push edi
push 0x80
push 4
push edi
push 3
push 0x1f03ff
push str.C:_Program_Files_Gold_Miner_crtlog.txt
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, edi
je 0x424c96
push 2
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x804]
push dword [ebp + 8]
push eax
call fcn.0041e0f1
add esp, 0xc
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x804]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
leave
ret

Function at 0x424c9a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
mov ebx, eax
push esi
push 0x80
push 4
push esi
push 3
push 0x1f03ff
push str.C:_Program_Files_Gold_Miner_crtlog.txt
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push esi
lea eax, [ebp - 4]
push esi
push eax
push 0x400
push ebx
push esi
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push dword [ebp - 4]
lea eax, [ebp - 0x808]
push ebx
push str.Win32__d:__s_r_n
push eax
call fcn.0041c5d8
add esp, 0x10
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp edi, esi
je 0x424d44
push 2
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x808]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x421870
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x13000]
push edi
or ebp, 0xffffffff
jmp 0x421892
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x421899
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x421888
mov eax, 1
add ebx, ebx
jne 0x4218ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4218a0
jne 0x4218bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4218a0
xor ecx, ecx
sub eax, 3
jb 0x4218d0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x421942
mov ebp, eax
add ebx, ebx
jne 0x4218db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4218e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42190c
inc ecx
add ebx, ebx
jne 0x4218f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4218ed
jne 0x421909
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4218ed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42192c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42191d
jmp 0x42188e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42192c
add edi, ecx
jmp 0x42188e
pop esi
mov edi, esi
mov ecx, 0x436
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42194a
cmp byte [edi], 7
jne 0x42194a
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 0x42194f
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x4219be
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x25bcc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x25c38]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42197c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x25c40]
or eax, eax
je 0x4219b8
mov dword [ebx], eax
add ebx, 4
jmp 0x421999
call dword [esi + 0x25c3c]
mov ebp, dword [esi + 0x25c44]
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 0x4219f2
sub esp, 0xffffff80
jmp 0x405762
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x66aa90
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
movzx eax, byte [0xa070f8]
cmp al, 0x83
je 0x66aac0
mov cl, 0x89
nop word cs:[eax + eax]
mov al, 0x2b
lock cmpxchg byte [0xa070f8], cl
je 0x66aaca
cmp al, 0x83
jne 0x66aab0
push 0xa070e0
call fcn.008ebdca
mov ebx, 0xffffffe8
lea edx, [0xceb14dd9]
mov ecx, 0x31e0c09e
lea ebp, [0xceb14dda]
mov esi, 0x31e0c09c
nop word cs:[eax + eax]
mov dword [esp], edx
mov eax, ecx
mov edx, 0xaaaaaaab
mul edx
mov edi, edx
mov eax, esi
mov edx, 0xaaaaaaab
mul edx
shr edx, 4
lea eax, [edx + edx*2]
mov edx, dword [esp]
movzx eax, byte [ebp + eax*8]
xor al, 0xac
add byte [ebx + 0xa070f8], al
shr edi, 4
lea eax, [edi + edi*2]
movzx eax, byte [edx + eax*8]
xor al, 0xac
add byte [ebx + 0xa070f9], al
add edx, 0xfffffffe
add ecx, 2
add ebp, 0xfffffffe
add esi, 2
add ebx, 2
jne 0x66aaf0
mov al, 0x83
xchg byte [0xa070f8], al
push 0xa070e0
call fcn.008ebdca
int3

Function at 0x66ab60
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
movzx eax, byte [0xa07110]
cmp al, 0xde
je 0x66ab90
mov cl, 0xa1
nop word cs:[eax + eax]
mov al, 0x18
lock cmpxchg byte [0xa07110], cl
je 0x66ab9a
cmp al, 0xde
jne 0x66ab80
push 0xa07100
call fcn.008ebdaa
xor ebx, ebx
mov ecx, 0xf5b23d19
mov esi, 0xf5b23d18
mov ebp, 0xf0f0f0f1
nop dword [eax + eax]
mov eax, ecx
mul ebp
mov edi, edx
mov eax, esi
mul ebp
mov eax, edx
shr eax, 4
and edx, 0xfffffff0
add edx, eax
mov eax, edi
shr eax, 4
neg edx
movzx edx, byte [ebx + edx - 0x9bbb468]
xor dl, 4
add byte [ebx + 0xa07100], dl
and edi, 0xfffffff0
add edi, eax
neg edi
movzx eax, byte [ebx + edi - 0x9bbb467]
xor al, 4
add byte [ebx + 0xa07101], al
add ebx, 2
add ecx, 2
add esi, 2
cmp ebx, 0x10
jne 0x66abb0
mov al, 0xde
xchg byte [0xa07110], al
push 0xa07100
call fcn.008ebdaa
int3
Function at 0x66ba80
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
nop
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x681cd0
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x66bae1
nop
mov dword [ecx], 0x92128c
mov dword [ecx + 0x58], 0
mov dword [ecx + 0x78], 0
mov dword [ecx + 0x7c], 0
mov dword [ecx + 0x80], 0
mov dword [ecx + 0x50], 0x9214a0
mov esi, ecx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov dword [ecx + eax], 0x921298
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x50]
mov dword [esi + eax - 4], ecx
lea eax, [esi + 4]
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov dword [esi + ecx], 0x9214e8
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
lea edx, [ecx - 8]
mov dword [esi + ecx - 4], edx
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x20], esi
add ecx, esi
mov dword [ebp - 0x10], 1
push 0
push eax
call fcn.0066c170
nop
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], 0x921298
mov eax, dword [edx]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x50]
mov dword [edx + eax - 4], ecx
mov dword [edx + 4], 0x921ac4
push 8
call fcn.008ea17d
add esp, 4
mov dword [ebp - 0x24], eax
nop
mov dword [ebp - 0x10], 0
push 1
call fcn.008ec014
add esp, 4
nop
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x38], ecx
lea ecx, [eax + 8]
mov dword [eax + 0x10], ecx
lea ecx, [eax + 0xc]
mov dword [eax + 0x14], ecx
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea ecx, [eax + 0x1c]
mov dword [eax + 0x24], ecx
lea ecx, [eax + 0x28]
mov dword [eax + 0x30], ecx
lea ecx, [eax + 0x2c]
mov dword [eax + 0x34], ecx
mov dword [eax + 0xc], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 8], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x28], 0
mov dword [eax + 4], 0x9219f4
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 4
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 4