joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452a58
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004048c4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x452ab0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x458088]
mov dl, 1
mov eax, dword [0x45254c]
call fcn.0040a0e4
call fcn.00403e74
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00452684
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x453a18
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x411264]
call fcn.00404e1c
xor eax, eax
push ebp
push 0x453b5c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x457c38], 0
jne 0x453a6b
mov ecx, dword [0x457cfc]
mov dl, 1
mov eax, dword [0x407754]
call fcn.0040a0a8
call fcn.00403e74
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402fbc
mov eax, ebx
call fcn.00404c8c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x453b6c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.0040617c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404c9c
test eax, eax
jle 0x453b03
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x453afc
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404694
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.0040467c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004085cc
test eax, eax
jne 0x453afc
mov ebx, 0x15
jmp 0x453b08
mov ebx, 0x10
jmp 0x453b08
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x457c38]
call fcn.00453970
mov eax, dword [ebp - 8]
call fcn.00453970
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406194
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453b63
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404438
lea eax, [ebp - 0x10]
mov edx, dword [0x411264]
call fcn.00404eec
ret
Function at 0x402f7c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push 0
mov eax, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push eax
push dword [ebp + 0x14]
call sub.kernel32.dll_WriteFile
test eax, eax
setne al
movsx eax, al
push eax
call fcn.00402e1c
mov esi, eax
cmp dword [0x407f2c], 0xffffffff
je 0x402fdd
mov eax, dword [ebp + 0x14]
cmp eax, dword [0x407f28]
jne 0x402fdd
lea eax, [ebp - 0x1c]
push eax
push dword [0x407f28]
call sub.kernel32.dll_GetConsoleScreenBufferInfo
movsx eax, word [ebp - 0x18]
mov dword [0x407f34], eax
movsx eax, word [ebp - 0x16]
mov dword [0x407f38], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4030f4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38c
push esi
push edi
mov edi, 3
push 0x408a74
call fcn.00406240
mov esi, dword [eax]
push 0x408a74
call fcn.00406240
mov dword [eax], 0x40
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x38c]
push eax
push 0
call fcn.00405aa8
call fcn.00405924
lea eax, [ebp - 0x150]
push eax
push 1
call fcn.004059b0
call fcn.00404580
test eax, eax
jne 0x403235
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x190]
push eax
push 0x40
push 0
call fcn.00405a88
call fcn.00404580
test eax, eax
jne 0x4031ab
cmp word [ebp - 0x190], 0x5a4d
jne 0x4031ab
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x154]
call fcn.004059cc
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x190]
push eax
push 2
push 0
call fcn.00405a88
jmp 0x4031b5
mov dword [ebp - 0x154], 0
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x154]
call fcn.004059cc
call fcn.00404580
test eax, eax
jne 0x403219
cmp word [ebp - 0x190], 0x4550
jne 0x403219
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x288]
push eax
push 0xf8
push 0
call fcn.00405a88
call fcn.00404580
test eax, eax
jne 0x403219
cmp dword [ebp - 0x288], 0x4550
jne 0x403219
cmp word [ebp - 0x22c], 3
jne 0x403219
mov edi, 2
lea eax, [ebp - 0x150]
push eax
call fcn.004059fc
push 0x408a6c
call fcn.00406240
mov dword [eax], 0
push 0x408a74
call fcn.00406240
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40328c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0x18]
push dword [ebp + 0x1c]
call sub.kernel32.dll_CreateThread
mov esi, eax
push esi
call sub.kernel32.dll_CloseHandle
test esi, esi
setne al
movsx eax, al
push eax
call fcn.00402e1c
mov esi, eax
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x403330
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
cmp dword [0x407fcc], 0
je 0x403352
mov eax, dword [0x407fcc]
mov dword [ebp - 4], eax
jmp 0x4033e7
push 0x104
call fcn.00404654
mov dword [ebp - 4], eax
push 0x104
push dword [ebp - 4]
push 0
call sub.kernel32.dll_GetModuleFileNameA
push dword [ebp - 4]
call fcn.0040411c
inc eax
mov ebx, eax
call sub.kernel32.dll_GetCommandLineA
mov esi, eax
mov al, byte [esi]
dec al
cmp al, 0x1f
jbe 0x403397
push esi
lea eax, [ebp - 0x108]
push eax
call fcn.004032c8
mov esi, eax
inc esi
push esi
call fcn.0040411c
inc eax
mov edi, eax
lea eax, [ebp - 4]
push eax
mov eax, ebx
add eax, edi
inc eax
push eax
call fcn.004046b4
call sub.kernel32.dll_AreFileApisANSI
test eax, eax
jne 0x4033c8
push edi
mov eax, dword [ebp - 4]
add eax, ebx
push eax
push esi
call sub.user32.dll_CharToOemBuffA
jmp 0x4033d5
push esi
mov eax, dword [ebp - 4]
add eax, ebx
push eax
push edi
call fcn.00404e94
mov eax, dword [ebp - 4]
add eax, ebx
add eax, edi
mov byte [eax], 0
mov eax, dword [ebp - 4]
mov dword [0x407fcc], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4034c4
Capabilities:
Contain obfuscated stackstrings
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov dword [ebp - 0x24], 0x52414853
mov dword [ebp - 0x20], 0x454d4445
mov dword [ebp - 0x1c], 0x5356354d
call sub.kernel32.dll_GetCurrentProcessId
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0xb
call fcn.00404e08
xor eax, eax
mov bl, 0
cmp dword [0x407f70], 0
jne 0x403512
push 0x407cc0
push 1
call fcn.00402d28
mov dword [0x407f70], eax
cmp dword [0x407f70], 0
jne 0x40352b
push 0x8000
call fcn.00404654
mov esi, eax
mov bl, 1
jmp 0x403565
lea eax, [ebp - 0x24]
push eax
push 0
push 6
call dword [0x407f70]
test eax, eax
jne 0x403555
lea eax, [ebp - 0x24]
push eax
push 0x8000
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov bl, 1
push 0
push 0
push 0
push 6
push eax
call sub.kernel32.dll_MapViewOfFile
mov esi, eax
test bl, bl
je 0x40358e
push esi
push 0x8000
push 0xff
call fcn.00404ef0
push esi
push 0x24
push 0
call fcn.00404ef0
mov eax, esi
add eax, 0xc
push eax
call fcn.0040473c
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40393c
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push esi
call fcn.004038c8
lea edx, [ebp - 0x400]
movzx ecx, word [ebp + 0x14]
dec ecx
xor esi, esi
jmp 0x403974
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
mov word [edx + 2], ax
mov eax, dword [ebp + 0x18]
movzx eax, byte [eax]
mov word [edx], ax
inc dword [ebp + 0x18]
add edx, 4
inc esi
cmp ecx, esi
jge 0x40395a
mov ax, word [ebp + 0x14]
mov word [ebp - 0x404], ax
mov word [ebp - 0x402], 1
mov word [ebp - 0x408], 0
mov word [ebp - 0x406], 0
mov ax, word [ebp + 0x10]
mov word [ebp - 0x410], ax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x40e], ax
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0x14]
add ecx, eax
dec ecx
mov word [ebp - 0x40c], cx
mov ax, word [ebp + 0xc]
mov word [ebp - 0x40a], ax
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x408]
push dword [ebp - 0x404]
lea eax, [ebp - 0x400]
push eax
push dword [0x407f28]
call sub.kernel32.dll_WriteConsoleOutputA
pop esi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x403d1c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x403d3c
mov al, byte [ebp - 4]
jmp 0x403d3f
mov al, byte [ebp + 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405d60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
or edi, 0xffffffff
or eax, 0xffffffff
mov dword [ebp - 0x24], 0
xor esi, esi
mov edx, dword [0x408320]
add edx, 0x24
mov esi, edx
cmp dword [edx], 0xffffffff
je 0x405d9e
mov ecx, dword [edx + 8]
cmp ecx, dword [ebp + 0x10]
ja 0x405d99
mov ecx, dword [edx + 8]
cmp ecx, dword [esi + 8]
jbe 0x405d99
mov esi, edx
add edx, 0x10
jmp 0x405d82
mov edx, esi
cmp dword [edx], 0xffffffff
je 0x405eb2
mov ecx, dword [edx + 8]
cmp ecx, dword [ebp + 0x10]
ja 0x405eb2
mov ecx, dword [edx + 8]
cmp ecx, dword [ebp + 0x10]
ja 0x405eb0
mov ecx, dword [edx + 8]
sub dword [ebp + 0x10], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [edx + 0xc]
test edx, edx
je 0x405eb0
mov cl, byte [edx]
sub cl, 0x3c
jne 0x405de6
jmp 0x405eb0
sub cl, 3
jne 0x405e00
inc edx
mov dword [ebp - 0xc], edx
movzx ecx, byte [edx]
inc ecx
add edx, ecx
mov byte [ebp - 0x25], 1
jmp 0x405eab
inc cl
jne 0x405e14
movzx ecx, word [edx + 1]
add edi, ecx
add edx, 3
jmp 0x405eab
inc cl
jne 0x405e28
movzx ecx, word [edx + 1]
add edi, ecx
mov ecx, dword [edx + 3]
add eax, ecx
add edx, 7
jmp 0x405e3b
movzx ecx, byte [edx]
shr ecx, 6
add edi, ecx
mov cl, byte [edx]
and cl, 0x3f
movzx ecx, cl
add eax, ecx
inc edx
cmp eax, dword [ebp + 0x10]
jne 0x405e45
mov esi, eax
mov dword [ebp - 0x24], edi
cmp eax, dword [ebp + 0x10]
jl 0x405ea2
sub eax, dword [ebp + 0x10]
cmp eax, 0xa
jle 0x405e58
cmp byte [ebp - 0x25], 0
jne 0x405ea0
mov eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov eax, dword [ebp + 0xc]
mov byte [eax], cl
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
cmp eax, dword [ebp - 0x14]
jle 0x405e8e
inc dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov dl, byte [eax + ecx]
xor dl, 0xaa
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov byte [eax + ecx], dl
jmp 0x405e69
movzx eax, word [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
add esi, dword [ebp - 0x18]
mov eax, esi
jmp 0x405eb2
jmp 0x405eb0
mov esi, eax
mov dword [ebp - 0x24], edi
mov byte [ebp - 0x25], 0
jmp 0x405dd8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x406388
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x10
cld
push ecx
call fcn.00406364
call fcn.004034c4
mov dword [0x408320], eax
lea edx, [eax + 0x18]
mov dword [0x408380], edx
pop edx
call fcn.004061e4
call sub.kernel32.dll_GetEnvironmentStrings
mov dword [0x40834c], eax
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x408360], eax
mov dword [0x408388], eax
call fcn.004030f4
cmp eax, 3
setb byte [0x408329]
call fcn.00404114
lea eax, [esp]
xor edx, edx
mov ecx, dword fs:[edx]
mov dword fs:[edx], eax
mov dword [eax], ecx
mov dword [eax + 4], 0x406614
mov dword [eax + 8], ebp
jmp dword [esp + 0x10]
Function at 0x412ee0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe000]
push edi
jmp 0x412efa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x412f01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x412ef0
mov eax, 1
add ebx, ebx
jne 0x412f13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x412f08
jne 0x412f24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412f08
xor ecx, ecx
sub eax, 3
jb 0x412f38
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x412faa
mov ebp, eax
add ebx, ebx
jne 0x412f43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x412f50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x412f74
inc ecx
add ebx, ebx
jne 0x412f60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x412f55
jne 0x412f71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412f55
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x412f94
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x412f85
jmp 0x412ef6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x412f94
add edi, ecx
jmp 0x412ef6
pop esi
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x412ffc
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x15330]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x153ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x412fb1
mov ecx, edi
jns 0x412fe0
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 + 0x153f4]
or eax, eax
je 0x412ff6
mov dword [ebx], eax
add ebx, 4
jmp 0x412fce
call dword [esi + 0x153f0]
mov ebp, dword [esi + 0x153f8]
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 0x413030
sub esp, 0xffffff80
jmp 0x403956
Function at 0x40a99a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, eax
push esi
mov esi, dword [ebp + 8]
and ecx, 0xfffffffc
jbe 0x40a9de
rol eax, 5
xor eax, dword [edx + esi]
add edx, 4
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, 4
imul eax, eax, 0x9e3779b9
cmp edx, ecx
jb 0x40a9ad
jmp 0x40a9de
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x40a9ce
pop esi
pop ebp
ret

Function at 0x40b6e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x40b715
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x40b73f
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x40b73f
test edi, edi
je 0x40b70c
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40b70c
test edi, edi
je 0x40b747
mov eax, edi
jmp 0x40b70e
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40b70e
mov esi, 0xc3
push esi
push str.c:_builds_moz2_slave_m_in_w32_d_0000000000000000000_build_src_mfbt_Poison.cpp
push str.no_usable_poison_region_identified
call fcn.0040ea56
add esp, 0xc
int3
Function at 0x40ea8a
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestLinkedList.exe_gMozillaPoisonSize], eax
call fcn.0040b6e0
pop ecx
mov ecx, dword [sym.TestLinkedList.exe_gMozillaPoisonSize]
mov dword [sym.TestLinkedList.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40eac2
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestLinkedList.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret

Function at 0x16a4120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.GVD1
lea edi, [esi - 0x1270000]
push edi
or ebp, 0xffffffff
jmp 0x16a4142
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a4149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
mov al, byte [edi]
jb 0x16a4138
mov eax, 1
add ebx, ebx
jne 0x16a415d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a416e
jne 0x16a417e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a417e
dec eax
add ebx, ebx
jne 0x16a417a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a4152
xor ecx, ecx
sub eax, 3
jb 0x16a4196
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a420a
sar eax, 1
mov ebp, eax
jmp 0x16a41a1
add ebx, ebx
jne 0x16a41a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x16a41ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x16a41d2
inc ecx
add ebx, ebx
jne 0x16a41be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a41b3
jne 0x16a41cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a41b3
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
mov al, byte [edi + ecx]
jbe 0x16a41f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a41e6
jmp 0x16a413e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a41f4
add edi, ecx
jmp 0x16a413e
pop esi
mov edi, esi
mov ecx, 0x346a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a4212
cmp byte [edi], 0x16
jne 0x16a4212
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 eax, ebx
loop 0x16a4217
lea edi, [esi + 0x12a1000]
mov eax, dword [edi]
or eax, eax
je 0x16a4286
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a57f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a58e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a4244
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a58ec]
or eax, eax
je 0x16a4280
mov dword [ebx], eax
add ebx, 4
jmp 0x16a4261
call dword [esi + 0x12a58f0]
popal
jmp 0x46b748
Function at 0x401d3e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x401de0
push 9
push str.ERROR_
push dword [0x413462]
call fcn.004024cf
mov edi, dword [0x413462]
sub eax, eax
mov ecx, 0xffff
repne scasb al, byte es:[edi]
sub edi, 1
push edi
push 0
push 0xa
push dword [ebp + 8]
call fcn.004027e2
cmp dword [0x412cde], 0
je 0x401db9
push 0xa
push str._IN_LINE
push dword [0x413462]
call fcn.00402507
mov edi, dword [0x413462]
sub eax, eax
mov ecx, 0xffff
repne scasb al, byte es:[edi]
sub edi, 1
push edi
push 0
push 0xa
push dword [0x412cde]
call fcn.004027e2
push 3
push 0x412090
push dword [0x413462]
call fcn.00402507
push 0xffff
push dword [ebp + 0xc]
push dword [0x413462]
call fcn.00402507
jmp 0x401df3
push 0xffff
push dword [ebp + 0xc]
push dword [0x413462]
call fcn.004024cf
push 0x15
push str.ERROR
push dword [0x413462]
push 0
call sub.USER32.dll_MessageBoxA
cmp eax, 2
jne 0x401e16
mov esi, 0x412cf0
jmp fcn.0040ef06
mov eax, dword [ebp + 8]
leave
ret 8

Function at 0x401e1d
Capabilities:
Write file on windows

Disassembly:
push eax
push ebx
push edi
pushfd
mov ebx, dword [0x415472]
cmp ebx, 0x200
jae 0x401e6d
mov edi, dword [0x413462]
mov dword [ebx*4 + 0x413472], edi
add ebx, 1
mov dword [0x415472], ebx
sub eax, eax
mov ecx, 0xffff
repne scasb al, byte es:[edi]
mov eax, 0xffff
sub eax, ecx
test eax, 1
je 0x401e5f
add eax, 1
add eax, dword [0x413462]
cmp eax, dword [0x415476]
jl 0x401ec0
popfd
push 0x37
push str.PASPLUS_RUNTIME_ERROR:_STRING_MEMORY_OVERFLOW_IN_LINE
push dword [0x413462]
call fcn.004024cf
mov edi, dword [0x413462]
sub eax, eax
mov ecx, 0xffff
repne scasb al, byte es:[edi]
sub edi, 1
push edi
push 0
push 0xa
push dword [0x412cde]
call fcn.004027e2
push 0x10
push str.ERROR
push dword [0x413462]
push 0
call sub.USER32.dll_MessageBoxA
mov esi, 0x412cf0
jmp fcn.0040ef06
mov dword [0x413462], eax
popfd
pop edi
pop ebx
pop eax
ret

Function at 0x402972
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov ebx, dword [ebp + 0xc]
test ebx, ebx
mov dword [ebp - 4], ebx
jne 0x40298b
lea ebx, [0x412ff8]
mov dword [ebp - 4], ebx
mov eax, 0
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x40299f
mov ebx, dword [ebx]
mov dword [ebp - 8], ebx
invalid
push es
add byte [eax], al
invalid

Function at 0x403455
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
invalid
add dword [eax], eax
invalid

Function at 0x403721
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
mov eax, 0
mov dword [ebp - 4], eax
invalid

Function at 0x404b01
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0xc]
call sub.USER32.dll_GetDlgItem
mov dword [esi], eax
push 0
add bh, bh
call sub.USER32.dll_ShowWindow
add cl, cl
ret 8
Function at 0x405973
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [ebp + 8]
mov dword [esi], eax
fild dword [esi]
fld qword [0x4103f0]
fdivp st(1)
fld qword [0x4103f8]
fmulp st(1)
fld1
fld qword [0x410410]
fdivp st(1)
fmulp st(1)
fld qword [0x410418]
fld1

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push 0x810
push 0x40
call sub.KERNEL32.dll_GlobalAlloc

Function at 0x40e8d9
Capabilities:
Write file on windows

Disassembly:
mov edi, 0x412cf0
mov ecx, 0x415490
sub ecx, edi
sub ecx, 4
shr ecx, 2
sub eax, eax
rep stosd dword es:[edi], eax
push 0x20000
push 0
call sub.KERNEL32.dll_GlobalAlloc
mov dword [0x412710], eax
test eax, eax
jne 0x40e923
call sub.KERNEL32.dll_GetLastError
invalid