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

Disassembly:
cmp ecx, dword [0x100a028]
jne 0x1005d9a
ret
jmp 0x1005d9f
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x100a028]
mov dword [ebp + 0x2a4], eax
mov eax, dword [0x101b0cc]
test eax, eax
je 0x1005dc3
call eax
cmp dword [0x101b0d0], 0
je 0x1005e0a
push edi
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0
mov dword [ebp - 0x80], 0xc0000409
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [0x101b0d0]
pop edi
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.01005d91
add ebp, 0x2a8
leave
ret

Function at 0x100702b
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [esp + 0x14]
jle 0x1007066
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x1007043
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x1007082
dec esi
je 0x100707b
dec esi
jne 0x1007087
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
ret 0xc

Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x1f782d0a
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, str._NS
mov ebx, 0x42cd70
nop
mov ecx, 0x4e6d07cb
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x740f1000
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
ret

Function at 0x740f1020
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [edx + 0x3c]
sub esp, 8
cmp dword [eax + edx + 0x7c], 0
jne 0x740f1036
xor eax, eax
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + edx + 0x78]
test ecx, ecx
je 0x740f1030
mov eax, dword [ecx + edx + 0x1c]
push ebx
mov ebx, dword [ecx + edx + 0x14]
push esi
mov esi, dword [ecx + edx + 0x24]
add esi, edx
push edi
mov edi, dword [ecx + edx + 0x20]
mov dword [ebp - 8], esi
xor esi, esi
add edi, edx
add eax, edx
dec ebx
mov dword [ebp - 4], esi
je 0x740f10dc
mov ecx, dword [edi + esi*4]
add ecx, edx
cmp byte [ecx], 0x47
jne 0x740f10ba
cmp byte [ecx + 1], 0x65
jne 0x740f10ba
cmp byte [ecx + 2], 0x74
jne 0x740f10ba
cmp byte [ecx + 3], 0x50
jne 0x740f10ba
cmp byte [ecx + 4], 0x72
jne 0x740f10ba
cmp byte [ecx + 5], 0x6f
jne 0x740f10ba
cmp byte [ecx + 6], 0x63
jne 0x740f10ba
cmp byte [ecx + 7], 0x41
jne 0x740f10ba
cmp byte [ecx + 8], 0x64
jne 0x740f10ba
cmp byte [ecx + 9], 0x64
jne 0x740f10ba
cmp byte [ecx + 0xa], 0x72
jne 0x740f10ba
cmp byte [ecx + 0xb], 0x65
jne 0x740f10ba
cmp byte [ecx + 0xc], 0x73
jne 0x740f10ba
cmp byte [ecx + 0xd], 0x73
je 0x740f10c9
inc esi
cmp esi, ebx
jb 0x740f1062
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
movzx ecx, word [ecx + esi*2]
mov eax, dword [eax + ecx*4]
pop edi
pop esi
add eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x740f10f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x28], 0x4d746547
mov dword [ebp - 0x24], 0x6c75646f
mov dword [ebp - 0x20], 0x6e614865
mov dword [ebp - 0x1c], 0x41656c64
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x14], 0x74726956
mov dword [ebp - 0x10], 0x506c6175
mov dword [ebp - 0xc], 0x65746f72
mov word [ebp - 8], 0x7463
mov byte [ebp - 6], 0
call fcn.740f1000
mov esi, eax
mov edx, esi
call fcn.740f1020
mov ebx, eax
lea eax, [ebp - 0x28]
push eax
push esi
call ebx
lea ecx, [ebp - 0x14]
push ecx
push esi
mov dword [ebp - 0x34], eax
call ebx
push 0
mov esi, eax
call dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
push eax
mov eax, 1
add eax, 2
sub eax, 3
add eax, dword [ebp - 0x38]
xor eax, eax
add eax, dword [ebp - 0x2c]
add eax, 0x1c03
add eax, 0x10a0
mov dword [ebp - 0x2c], eax
pop eax
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x30]
push edx
push 0x40
push 0x10
push eax
call esi
push ebx
push esi
lea ebx, [0x740f1220]
sub ebx, dword [ebp - 0x2c]
sub ebx, 2
sub ebx, 1
add ebx, 1
sub ebx, 1
sub ebx, 2
mov esi, dword [ebp - 0x2c]
mov al, 0xe9
mov byte ds:[esi], al
inc esi
mov dword [esi], ebx
pop esi
pop ebx
mov ecx, dword [ebp + 8]
lea eax, [edi + ecx]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.740f1463
mov esp, ebp
pop ebp
ret

Function at 0x740f1463
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x740f146d
repz ret
jmp fcn.740f172a
Function at 0x740f529a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
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.740f1830
and dword [ebp - 0x14], 0
cmp dword [0x740f9784], 0
mov dword [ebp - 0x18], eax
jne 0x740f534d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x740f53f5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x740f53f5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x740f9784], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x740f9788], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x740f978c], eax
call edi
push eax
call esi
mov dword [0x740f9794], eax
test eax, eax
je 0x740f534d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x740f9790], eax
mov eax, dword [0x740f9790]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x740f53a6
cmp dword [0x740f9794], ecx
je 0x740f53a6
push eax
call esi
push dword [0x740f9794]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x740f53a6
test ebx, ebx
je 0x740f53a6
call edi
test eax, eax
je 0x740f539d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x740f539d
test byte [ebp - 8], 1
jne 0x740f53a6
or dword [ebp + 0x10], 0x200000
jmp 0x740f53d9
mov eax, dword [0x740f9788]
cmp eax, dword [ebp - 0x18]
je 0x740f53d9
push eax
call esi
test eax, eax
je 0x740f53d9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x740f53d9
mov eax, dword [0x740f978c]
cmp eax, dword [ebp - 0x18]
je 0x740f53d9
push eax
call esi
test eax, eax
je 0x740f53d9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x740f9784]
call esi
test eax, eax
je 0x740f53f5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x740f53f7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.740f1463
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x46912937
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x788a6ea0
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x425197
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
inc eax
xor ebx, ebx
push ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
cmp dword [ebp - 4], ebx
jne 0x4251c8
mov dword [ebp - 4], 0x400
cmp dword [ebp - 0xc], ebx
je 0x425299
cmp dword [ebp - 4], ebx
ja 0x4251db
mov dword [ebp - 8], ebx
jmp 0x4251e7
push dword [ebp - 4]
call fcn.00455667
pop ecx
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp eax, ebx
je 0x425262
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x425290
mov dword [ebp - 0x10], eax
lea esi, [edi + 0x44]
cmp dword [ebp - 8], ebx
je 0x425252
cmp eax, ebx
jbe 0x425252
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
lea ebx, [ebp - 0x18]
call fcn.00425b58
push 0
call fcn.0045526c
mov eax, dword [esi + 8]
pop ecx
mov ecx, dword [esi + 4]
mov eax, dword [ecx + eax*4 - 4]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
mov eax, dword [ecx + eax*4 - 4]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0xc]
xor ebx, ebx
add dword [edi + 8], eax
adc dword [edi + 0xc], ebx
cmp eax, ebx
jne 0x4251d1
jmp 0x425299
push dword [ebp - 8]
call fcn.0045526c
pop ecx
mov dword [edi + 0x18], 0x20
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x1c], eax
mov edi, dword [edi + 0xd4]
cmp edi, ebx
je 0x42528c
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor al, al
jmp 0x4252c0
push dword [ebp - 8]
call fcn.0045526c
pop ecx
mov eax, dword [edi + 8]
or eax, dword [edi + 0xc]
jne 0x4252aa
mov dword [edi + 0x18], 0x21
jmp 0x425272
mov dword [edi + 0x18], ebx
mov edi, dword [edi + 0xd4]
cmp edi, ebx
je 0x4252be
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x45e2a0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x479d40]
jne 0x45e2aa
repz ret
jmp fcn.004663a6

Function at 0x46453c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x479d40]
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.0045b92c
and dword [ebp - 0x14], 0
cmp dword [0x480034], 0
mov dword [ebp - 0x18], eax
jne 0x4645ef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x464697
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x46d490
push ebx
call edi
test eax, eax
je 0x464697
mov esi, dword [0x479000]
push eax
call esi
push 0x46d480
push ebx
mov dword [0x480034], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x480038], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x48003c], eax
call edi
push eax
call esi
mov dword [0x480044], eax
test eax, eax
je 0x4645ef
push 0x46d438
push ebx
call edi
push eax
call esi
mov dword [0x480040], eax
mov eax, dword [0x480040]
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x479004]
cmp eax, ecx
je 0x464648
cmp dword [0x480044], ecx
je 0x464648
push eax
call esi
push dword [0x480044]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x464648
test ebx, ebx
je 0x464648
call edi
test eax, eax
je 0x46463f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x46463f
test byte [ebp - 8], 1
jne 0x464648
or dword [ebp + 0x10], 0x200000
jmp 0x46467b
mov eax, dword [0x480038]
cmp eax, dword [ebp - 0x18]
je 0x46467b
push eax
call esi
test eax, eax
je 0x46467b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x46467b
mov eax, dword [0x48003c]
cmp eax, dword [ebp - 0x18]
je 0x46467b
push eax
call esi
test eax, eax
je 0x46467b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x480034]
call esi
test eax, eax
je 0x464697
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x464699
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045e2a0
leave
ret
Function at 0x401000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov eax, dword [0x430137]
shl eax, 2
mov dword [0x43013b], eax
push edi
push ecx
xor eax, eax
mov edi, 0x439ad0
mov ecx, 0x486f50
cmp ecx, edi
jbe 0x401024
sub ecx, edi
cld
rep stosb byte es:[edi], al
pop ecx
pop edi
push 0
call fcn.00496ee3
pop ecx
push 0x430100
push 0
call sub.KERNEL32.dll_GetModuleHandleA
mov dword [0x43013f], eax
push 0
jmp fcn.0042ce98

Function at 0x401108
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, esi
jmp 0x401115
inc ebx
movsx eax, byte [ebx]
cmp eax, 0x20
je 0x401114
cmp byte [ebx], 0
je 0x4011af
movsx edx, byte [ebx + 1]
cmp edx, 0x3a
jne 0x40113d
movsx ecx, byte [ebx + 2]
cmp ecx, 0x5c
jne 0x40113d
add ebx, 2
jmp 0x4011aa
movsx eax, byte [ebx]
cmp eax, 0x5c
jne 0x4011af
movsx edx, byte [ebx + 1]
cmp edx, 0x5c
jne 0x4011af
jmp 0x401151
inc ebx
movsx ecx, byte [ebx]
cmp ecx, 0x5c
je 0x40115e
cmp byte [ebx], 0
jne 0x401150
cmp byte [ebx], 0
je 0x401167
inc ebx
jmp 0x401167
inc ebx
movsx eax, byte [ebx]
cmp eax, 0x5c
je 0x401174
cmp byte [ebx], 0
jne 0x401166
cmp byte [ebx], 0
je 0x4011aa
inc ebx
jmp 0x4011aa
inc ebx
movsx edx, byte [ebx]
cmp edx, 0x5c
je 0x40118c
cmp byte [ebx], 0
jne 0x40117e
cmp byte [ebx], 0
jne 0x40119b
push 0
push esi
call sub.KERNEL32.dll_CreateDirectoryA
jmp 0x4011aa
mov byte [ebx], 0
push 0
push esi
call sub.KERNEL32.dll_CreateDirectoryA
mov byte [ebx], 0x5c
inc ebx
cmp byte [ebx], 0
jne 0x40117f
pop esi
pop ebx
pop ebp
ret

Function at 0x40136d
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, 0x430360
call fcn.004238bc
call sub.KERNEL32.dll_GetTickCount
mov ebx, eax
call sub.KERNEL32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x1f4
jb 0x401389
call fcn.00405c9c
mov eax, dword [esi]
mov ebx, dword [eax + 0x14]
mov dword [ebp - 4], esi
cmp dword [ebp - 4], 0
je 0x4013c4
mov word [ebp - 0x18], 0x14
push 3
mov eax, dword [ebp - 4]
push eax
mov edx, dword [eax + 0xc]
call dword [edx]
add esp, 8
mov word [ebp - 0x18], 8
test ebx, ebx
je 0x4013d0
push dword [ebx + 0xc]
call sub.USER32.dll_UpdateWindow
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401539
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
mov ebx, dword [ebp + 8]
push str.GetDiskFreeSpaceExA
push 0x430ace
call sub.KERNEL32.dll_GetModuleHandleA
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40156f
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x18]
push edx
push ebx
call eax
mov ebx, eax
jmp 0x4015ae
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 4]
push edx
push ebx
call sub.KERNEL32.dll_GetDiskFreeSpaceA
mov ebx, eax
test ebx, ebx
je 0x4015ae
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00428ef4
call fcn.00428ef4
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
test ebx, ebx
jne 0x4015c0
mov dword [ebp - 0x28], 0x100000
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406f0d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
test edx, edx
jne 0x406f20
or eax, 0xffffffff
jmp 0x406f47
mov eax, dword [0x431248]
test ecx, ecx
je 0x406f47
xor ebx, ebx
mov bl, byte [edx]
xor ebx, eax
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x43124c]
shr eax, 8
xor ebx, eax
mov eax, ebx
inc edx
dec ecx
jne 0x406f29
mov dword [0x431248], eax
xor eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x414405
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, dword [ebp + 8]
cmp word [ebx + 0x10], 0xffff
je 0x414475
mov eax, dword [ebx + 0x10]
shr eax, 0x10
test ax, ax
je 0x414429
push dword [ebx + 0x10]
call fcn.0042b118
pop ecx
push dword [ebx + 0xc]
call sub.USER32.dll_GetWindowTextLengthA
mov esi, eax
test esi, esi
jge 0x41444b
push 0
push 0x43425a
call fcn.00420028
add esp, 8
mov dword [ebx + 0x10], eax
jmp 0x414475
lea eax, [esi + 1]
push eax
call fcn.0042b170
pop ecx
mov dword [ebx + 0x10], eax
mov edx, dword [ebx + 0x10]
mov byte [edx], 0
mov ecx, dword [ebx + 0x10]
mov byte [ecx + esi], 0
lea eax, [esi + 1]
mov edx, dword [ebx + 0x10]
push eax
push edx
push dword [ebx + 0xc]
call sub.USER32.dll_GetWindowTextA
pop esi
pop ebx
pop ebp
ret

Function at 0x418a9c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push dword [edi + 0x10]
mov eax, dword [edi]
push dword [eax + 0xc]
push 0x7ff8
push dword [edi]
call fcn.00414273
add esp, 0x10
test eax, eax
je 0x418ad2
test eax, eax
setg dl
and edx, 1
mov eax, edx
jmp 0x418b88
mov bl, 1
cmp dword [edi + 0x10], 0
je 0x418b86
mov esi, dword [edi + 0x10]
mov dword [ebp - 4], esi
push 0xf0
push dword [ebp - 4]
mov eax, dword [edi]
mov edx, dword [eax + 0x6c]
push dword [edx + 8]
call sub.KERNEL32.dll_FindResourceA
mov esi, eax
test esi, esi
je 0x418b86
mov dword [ebp - 8], esi
push dword [ebp - 8]
mov ecx, dword [edi]
mov eax, dword [ecx + 0x6c]
push dword [eax + 8]
call sub.KERNEL32.dll_LoadResource
test eax, eax
je 0x418b86
push eax
call sub.KERNEL32.dll_LockResource
mov esi, eax
test esi, esi
je 0x418b7b
jmp 0x418b72
mov ax, word [esi]
mov word [ebp - 0xa], ax
add esi, 2
mov dx, word [esi]
mov word [ebp - 0xc], dx
add esi, 2
mov ecx, dword [esi]
mov dword [ebp - 0x10], ecx
add esi, 4
mov dword [ebp - 0x14], esi
movzx eax, word [ebp - 0xc]
mov dword [ebp - 0x18], eax
movzx edx, word [ebp - 0xa]
mov dword [ebp - 0x1c], edx
push dword [ebp - 0x14]
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
mov ecx, dword [edi]
push dword [ecx + 0xc]
call sub.USER32.dll_SendDlgItemMessageA
inc eax
jne 0x418b6f
xor ebx, ebx
add esi, dword [ebp - 0x10]
test bl, bl
je 0x418b7b
cmp byte [esi], 0
jne 0x418b28
mov eax, dword [edi]
push dword [eax + 0x68]
call fcn.004167a0
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41902e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 5], 0
jne 0x419057
cmp byte [ebx + 0x1b], 0
je 0x41904d
push dword [ebx]
call sub.KERNEL32.dll_LockResource
mov dword [ebx + 5], eax
jmp 0x419057
push dword [ebx]
call sub.KERNEL32.dll_GlobalLock
mov dword [ebx + 5], eax
mov eax, dword [ebx + 5]
cmp dword [eax], 0x28
je 0x419075
push dword [ebx]
call sub.KERNEL32.dll_GlobalUnlock
push 0
push 0x7fdc
call fcn.0040e715
add esp, 8
mov edx, dword [ebx + 5]
cmp dword [edx + 0x10], 3
jne 0x419092
mov ecx, dword [ebx + 5]
add ecx, 0x28
mov dword [ebx + 9], ecx
mov eax, dword [ebx + 5]
add eax, 0x34
mov dword [ebx + 0xd], eax
jmp 0x4190a0
xor edx, edx
mov dword [ebx + 9], edx
mov ecx, dword [ebx + 5]
add ecx, 0x28
mov dword [ebx + 0xd], ecx
mov eax, dword [ebx + 5]
cmp dword [eax + 0x20], 0
je 0x4190b1
mov edx, dword [ebx + 5]
mov ecx, dword [edx + 0x20]
jmp 0x4190c1
mov eax, dword [ebx + 5]
mov dx, word [eax + 0xe]
push edx
call fcn.00420134
pop ecx
mov ecx, eax
mov dword [ebx + 0x15], ecx
mov eax, dword [ebx + 0x15]
shl eax, 2
add eax, dword [ebx + 0xd]
mov dword [ebx + 0x11], eax
cmp dword [ebx + 0x15], 0
jne 0x4190db
xor edx, edx
mov dword [ebx + 0xd], edx
mov word [ebx + 0x19], 0
pop ebx
pop ebp
ret

Function at 0x41c665
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0xc]
shr eax, 4
inc eax
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
push 6
push dword [ebp - 0xc]
push dword [esi + 8]
call sub.KERNEL32.dll_FindResourceA
mov edi, eax
test edi, edi
je 0x41c70d
mov dword [ebp - 0x10], edi
push dword [ebp - 0x10]
push dword [esi + 8]
call sub.KERNEL32.dll_LoadResource
mov dword [ebp - 4], eax
test eax, eax
je 0x41c70d
push dword [ebp - 4]
call sub.KERNEL32.dll_LockResource
mov edi, eax
test eax, eax
je 0x41c6fd
mov eax, dword [ebp + 0xc]
and eax, 0xf
jmp 0x41c6c5
add ebx, ebx
add edi, ebx
mov bx, word [edi]
add edi, 2
movzx ebx, bx
mov edx, eax
add eax, 0xffffffff
test edx, edx
jne 0x41c6c1
test ebx, ebx
je 0x41c6fd
push 0
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push edi
push 0
push 0
call sub.KERNEL32.dll_WideCharToMultiByte
mov ebx, eax
test ebx, ebx
jbe 0x41c6fd
mov eax, dword [ebp + 0x10]
mov byte [eax + ebx], 0
push dword [ebp - 4]
call sub.KERNEL32.dll_FreeResource
test ebx, ebx
je 0x41c70d
mov eax, ebx
jmp 0x41c73c
cmp esi, dword [0x436608]
je 0x41c72e
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [0x436608]
call fcn.0041c665
add esp, 0x10
jmp 0x41c73c
cmp dword [ebp + 0x14], 0
je 0x41c73a
mov edx, dword [ebp + 0x10]
mov byte [edx], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret