joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4251b0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4700b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x20], 0
xor ecx, ecx
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], cx
lea ecx, [ebp - 0x1c]
push ecx
push 3
push eax
mov dword [ebp - 0xc], 0
call fcn.0042c220
add esp, 0xc
cmp dword [ebp - 0xc], 0
je 0x425228
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], 0
cmovae eax, dword [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov ecx, edi
push esi
push dword [ebp - 0x20]
call fcn.00424f00
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x42523d
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00422720
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043dbeb
mov esp, ebp
pop ebp
ret 4

Function at 0x427d30
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x52c
mov eax, dword [0x4700b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x52c]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
push 3
push 0
push eax
call fcn.0042ddb0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x52c]
call fcn.0042e080
cmp dword [ebp - 0xc], 0
je 0x427e51
mov bl, byte [ebp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x52c]
call fcn.0042dff0
mov ecx, dword [ebp - 0x284]
test cl, 1
je 0x427dcc
test bl, bl
jne 0x427db6
lea ecx, [ebp - 0x284]
call fcn.0042e070
test al, al
jne 0x427dcc
mov ecx, dword [ebp - 0x284]
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
and ecx, 0xfffffffe
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x284]
call fcn.0042e070
test al, al
je 0x427e06
test bl, bl
je 0x427e1c
push 1
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00427d30
add esp, 0xc
test al, al
je 0x427e79
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call edi
jmp 0x427e18
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x427e79
lea ecx, [ebp - 0x284]
call fcn.0040d4b0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x52c]
call fcn.0042e080
push eax
lea ecx, [ebp - 0x1c]
call fcn.00425ff0
lea ecx, [ebp - 0x34]
call fcn.004241b0
cmp dword [ebp - 0xc], 0
jne 0x427d80
lea ecx, [ebp - 0x1c]
call fcn.004241b0
mov bl, 1
lea ecx, [ebp - 0x52c]
call fcn.0042df70
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043dbeb
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x284]
call fcn.0040d4b0
lea ecx, [ebp - 0x1c]
call fcn.004241b0
xor bl, bl
jmp 0x427e5b
Function at 0x72e60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x72e67
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x72f3d
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x1ca368]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x1ca368]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x1ca368]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x1ca368]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x1ca368]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x1ca368]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x1ca368]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x1ca368]
add ecx, 8
sub edx, 8
dec esi
jne 0x72e80
pop edi
test edx, edx
je 0x72f5a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x1ca368]
inc ecx
dec edx
jne 0x72f41
not eax
pop esi
ret

Function at 0x72f60
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1ca368]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x1ca368]
mov dword [edx + 8], ecx
ret

Function at 0x72fb0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
push edi
xor al, bl
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0x1ca368]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x1ca368]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret
Function at 0x75d50
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
je 0x75e3b
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x75d87
cmp dword [esi + 0x40], edi
jae 0x75d87
push eax
call fcn.0007d812
add esp, 4
mov dword [esi + 0x3c], 0
cmp dword [esi + 0x3c], 0
jne 0x75d9f
lea eax, [edi + edi]
push eax
call fcn.0007d81d
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov ecx, dword [esi + 0x3c]
push edi
push ebx
push ecx
call fcn.001764a0
add esp, 0xc
xor ebx, ebx
test edi, edi
je 0x75e38
mov edx, dword [esi + 0x3c]
mov cl, byte [ebx + edx]
mov edi, dword [esi + 0x30]
mov byte [ebp + 8], cl
movsx ecx, cl
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1c8b88]
mov dword [ebp - 4], ecx
mov eax, dword [esi + 0x38]
shr edi, 8
xor dword [ebp - 4], edi
mov ecx, dword [ebp - 4]
mov dword [esi + 0x30], ecx
movzx ecx, cl
add ecx, dword [esi + 0x34]
mov edx, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 0x34], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x1c8b88]
and edx, 0xfffd
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 0x3c]
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
shr eax, 8
xor al, byte [ebp + 8]
inc ebx
mov byte [ebx + ecx - 1], al
cmp ebx, dword [ebp + 0xc]
jb 0x75db7
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x20]
test edx, edx
je 0x75e7a
mov ecx, dword [esi + 0x24]
lea ebx, [ecx + edi]
cmp ebx, dword [esi + 0x28]
jb 0x75e5f
pop edi
mov dword [esi + 0x14], 0x30000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
push eax
add ecx, edx
push ecx
call fcn.001764a0
add esp, 0xc
add dword [esi + 0x24], edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x75e9c
push 0
lea edx, [ebp + 0xc]
push edx
push edi
push eax
push ecx
call dword [0x19e428]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
mov dword [esi + 0x14], 0x1000000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x78190
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x19bd72
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1ea898]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 8
mov dword [esp + 0x24], 0xff
call dword [0x19e030]
mov ecx, esi
call fcn.0007fed9
push 0xc
call fcn.0007d7e3
add esp, 4
mov dword [esp + 0x18], eax
xor edi, edi
mov dword [esp + 0x30], edi
cmp eax, edi
je 0x78201
mov ecx, eax
call fcn.0008045a
mov edi, eax
or ebx, 0xffffffff
push str.Local_AppWizard_Generated_Applications
mov ecx, esi
mov dword [esp + 0x34], ebx
call fcn.000805e9
mov ecx, dword [esi + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.0007b690
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 1
call fcn.00079c40
mov ecx, eax
call fcn.00079cc0
mov eax, dword [esp + 0x14]
mov ecx, 0x1cab08
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x78268
test dx, dx
je 0x78264
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x78268
add eax, 4
add ecx, 4
test dx, dx
jne 0x78242
xor eax, eax
jmp 0x7826c
sbb eax, eax
sbb eax, ebx
test eax, eax
sete al
test al, al
jne 0x782d6
mov eax, dword [esp + 0x14]
mov ecx, 0x1cab0c
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x782a6
test dx, dx
je 0x782a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x782a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x78280
xor eax, eax
jmp 0x782aa
sbb eax, eax
sbb eax, ebx
test eax, eax
sete al
test al, al
je 0x782ba
call fcn.00078320
jmp 0x782d6
lea edx, [esp + 0x14]
push 0x1c8960
push edx
call fcn.00071070
add esp, 8
test al, al
je 0x782d6
push esi
call fcn.00078740
test edi, edi
je 0x782e5
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x78306
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x79010
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x19b737
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1ea898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [edi], 0x1cafa0
mov dword [edi + 0x10], 0x1cafa8
mov dword [edi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 0x18]
push esi
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x10], 1
call fcn.00079fe0
mov dword [ebp - 4], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
call fcn.0007a7c0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], bl
mov byte [esi + 0x49], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x1f2940]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x79220
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x19b448
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1ea898]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, ecx
cmp ebx, 0xffffffff
jne 0x7925c
xor eax, eax
jmp 0x793ec
mov eax, dword [edi + 0x24]
mov ecx, dword [eax]
test ecx, ecx
je 0x79285
mov eax, dword [edi + 0x34]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jae 0x79285
dec dword [eax]
mov edi, dword [edi + 0x24]
mov eax, dword [edi]
lea ecx, [eax + 1]
mov dword [edi], ecx
mov byte [eax], bl
mov eax, ebx
jmp 0x793ec
cmp dword [edi + 0x54], 0
je 0x793e9
mov ecx, dword [edi + 0x10]
lea edx, [edi + 0x48]
cmp dword [ecx], edx
jne 0x792ad
mov edx, dword [edi + 0x3c]
mov eax, dword [edi + 0x40]
mov dword [ecx], edx
mov ecx, dword [edi + 0x20]
mov dword [ecx], eax
mov edx, dword [edi + 0x30]
sub eax, eax
mov dword [edx], eax
cmp dword [edi + 0x44], 0
jne 0x792d3
mov edi, dword [edi + 0x54]
movsx eax, bl
push edi
push eax
call fcn.00173b04
add esp, 8
cmp eax, 0xffffffff
je 0x793e9
mov eax, ebx
jmp 0x793ec
lea esi, [ebp - 0x2c]
mov byte [ebp - 0x2d], bl
call fcn.00079de0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
jmp 0x792f0
mov edx, eax
cmp ebx, 0x10
jae 0x792fc
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x34]
push ebx
push edx
push eax
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x2d]
push edx
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x14]
call eax
test eax, eax
js 0x793da
cmp eax, 1
jg 0x79390
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x7933c
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
sub esi, ecx
je 0x79365
cmp ebx, 0x10
jae 0x7934b
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.001744a6
add esp, 0x10
cmp esi, eax
jne 0x793da
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x2d]
mov byte [edi + 0x49], 1
cmp dword [ebp - 0x38], edx
jne 0x793c6
test esi, esi
jne 0x792f0
cmp dword [ebp - 0x1c], 0x20
jae 0x793da
push esi
lea ebx, [esi + 8]
lea esi, [ebp - 0x2c]
call fcn.00079e40
jmp 0x792e5
cmp eax, 3
jne 0x793da
mov edi, dword [edi + 0x54]
movsx eax, byte [ebp - 0x2d]
push edi
push eax
call fcn.00173b04
add esp, 8
cmp eax, 0xffffffff
je 0x793b0
mov esi, dword [ebp + 8]
jmp 0x793b3
or esi, 0xffffffff
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.00078a90
mov eax, esi
jmp 0x793ec
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.00078a90
mov eax, dword [ebp + 8]
jmp 0x793ec
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.00078a90
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00172eb5
mov esp, ebp
pop ebp
ret 4
Function at 0x7a2b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x19b478
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1ea898]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0x7a456
cmp byte [ebx + 0x49], 0
je 0x7a456
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x7a443
lea esi, [ebp - 0x2c]
call fcn.00079de0
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x7a323
lea edx, [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebx + 0x44]
mov esi, dword [ecx]
lea edi, [ebp - 0x30]
push edi
mov edi, dword [ebp - 0x1c]
add edi, edx
push edi
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x7a363
dec eax
je 0x7a367
sub eax, 2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
je 0x7a451
call fcn.00078a90
xor al, al
jmp 0x7a458
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x7a377
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x7a3a4
cmp edi, 0x10
jae 0x7a386
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x54]
push ecx
push esi
push 1
push eax
call fcn.001744a6
add esp, 0x10
cmp esi, eax
jne 0x7a434
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x7a447
test esi, esi
jne 0x7a317
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x7a473
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x7a473
cmp edi, esi
jae 0x7a41d
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.0007a910
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x7a317
mov ecx, eax
cmp edi, 0x10
jae 0x7a3f9
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x7a414
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x7a311
test esi, esi
jne 0x7a3ef
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x7a42c
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x7a311
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.00078a90
xor al, al
jmp 0x7a458
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00078a90
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00172eb5
mov esp, ebp
pop ebp
ret
push str.string_too_long
call fcn.0018e01a
int3
Function at 0x7a7c0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x19b3bb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1ea898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0018ea66
push 4
mov dword [ebp - 4], 0
call fcn.0007d7e3
mov edi, eax
add esp, 4
test edi, edi
je 0x7a83c
call fcn.0018e43b
mov dword [edi], eax
call fcn.0018e1fa
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0018e12f
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x7a832
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0018e157
jmp 0x7a83e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0008a552
call fcn.0007f0fa
cmp eax, esi
pop esi
jne 0x84fd2
mov ecx, 0x1edfb0
jmp fcn.00090c9a
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x61df6382
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x16c32a7a
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x41d3a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x52eb6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00523013
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41d422
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005207d0
mov eax, dword [eax]
push 0x5cdd98
push eax
call fcn.00511df4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0052329e
test bl, bl
je 0x41d422
push 0x5cdd98
lea ecx, [esp + 0xc]
call fcn.0052362e
push 0x5cdda4
lea ecx, [esp + 0xc]
call fcn.0052362e
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41d45e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0052329e
jmp 0x41d529
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA_1]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41d4e2
lea edx, [esp + 0x7c]
push 0x5cdda0
push edx
call fcn.00511df4
add esp, 8
test eax, eax
je 0x41d4e2
lea eax, [esp + 0x7c]
push 0x5cdd9c
push eax
call fcn.00511df4
add esp, 8
test eax, eax
je 0x41d4e2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41d472
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0052329e
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x41dd20
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA_1]
mov esi, eax
test esi, esi
jne 0x41dd82
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA_1]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey_1]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc