joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4057ab
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
push ebp
mov ebp, dword [eax + 0x18]
mov eax, dword [edx + 0x18]
push esi
mov esi, dword [edx + 0x105c]
push edi
mov edi, dword [edx + 0x1050]
imul esi, edi
add esi, eax
cmp eax, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
jae 0x4058e1
push ebx
mov edx, dword [edx + 0x1058]
add edx, eax
add edi, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edx
jae 0x4058bc
movzx ebp, byte [ebx]
movzx esi, byte [ebx + 1]
movzx eax, byte [edi + 1]
movzx edi, byte [edi]
mov edx, eax
push 0xf
pop ecx
and edx, ecx
mov ebx, ebp
and ebx, ecx
add edx, ebx
mov ebx, edi
and ebx, ecx
add edx, ebx
mov ebx, esi
and ebx, ecx
lea edx, [edx + ebx + 2]
mov ecx, eax
and ecx, 0xffff00f0
mov ebx, ebp
and ebx, 0xffff00f0
add ecx, ebx
mov ebx, edi
and ebx, 0xffff00f0
add ecx, ebx
mov ebx, esi
and ebx, 0xffff00f0
shr edx, 2
lea ecx, [ecx + ebx + 0x20]
mov ebx, dword [esp + 0x14]
shr ecx, 2
xor dl, cl
mov ecx, 0xf0
and ax, cx
and bp, cx
and di, cx
and si, cx
and dl, 0xf
add eax, ebp
add eax, edi
mov edi, dword [esp + 0x18]
lea eax, [eax + esi + 0x20]
shr eax, 2
xor dl, al
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
inc ebx
inc ebx
inc edi
inc edi
cmp ebx, dword [esp + 0x24]
mov byte [eax], dl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
jb 0x40580a
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
add ebp, dword [edx + 0x1050]
mov edx, dword [ecx]
mov edi, dword [edx + 0x1050]
lea eax, [eax + edi*2]
cmp eax, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jb 0x4057e6
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret

Function at 0x410d09
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x410d36
push esi
call fcn.00418127
cmp byte [esi + 0x40], 0
pop ecx
je 0x410d2f
mov dword [esi + 0x10], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x410da5
mov eax, dword [esi + 0x18c]
cmp byte [eax + 0x10], 0
je 0x410d9a
mov eax, dword [esi + 8]
test eax, eax
je 0x410d57
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x18c]
push esi
call dword [eax]
test eax, eax
pop ecx
je 0x410d96
cmp eax, 2
je 0x410d9a
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x410d4c
cmp eax, 3
je 0x410d7b
cmp eax, 1
jne 0x410d4c
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
cmp dword [eax + 4], ecx
jl 0x410d4c
mov edx, dword [esi + 0x118]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x410d4c
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
jmp 0x410dc3
cmp eax, 0xcc
je 0x410dc3
mov eax, dword [esi]
mov dword [eax + 0x14], 0x12
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x18], ecx
mov eax, dword [esi]
push esi
call dword [eax]
pop ecx
call fcn.00410bdc
pop esi
ret
Function at 0x410dca
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x410e22
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x410e22
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x410e22
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret

Function at 0x410e4b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x410eb9
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push str.DisableMMX
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x410eb0
cmp dword [ebp - 0xc], 4
jne 0x410eb0
cmp dword [ebp - 0x10], edi
je 0x410eb0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x498934], edi
xor eax, eax
jmp 0x410ee1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x498934], edi
jge 0x410edc
mov dword [0x498934], edi
call fcn.00410e26
test eax, eax
je 0x410edc
emms
mov dword [0x498934], 1
mov eax, dword [0x498934]
pop edi
leave
ret

Function at 0x410fc1
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
push ebx
push edi
push 0x25
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
xor bl, bl
and byte [ebp + 0x73], bl
push eax
mov dword [ebp - 0x24], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x410ff8
inc bl
mov byte [ebp + 0x73], 1
cmp dword [ebp - 0x14], 1
jne 0x41101a
cmp dword [ebp - 0x20], 4
ja 0x411024
jne 0x411014
cmp dword [ebp - 0x1c], 0xa
jb 0x411014
cmp word [ebp - 0x18], 0x55d
jae 0x411024
mov byte [ebp + 0x73], 1
jmp 0x411024
cmp dword [ebp - 0x14], 2
jne 0x41103a
test bl, bl
je 0x411055
mov eax, dword [ebp + 0x7c]
sub eax, 6
je 0x411045
dec eax
je 0x41103e
sub eax, 3
jne 0x41103a
cmp byte [ebp + 0x73], 0
je 0x411066
xor eax, eax
jmp 0x41106e
call fcn.00410ee4
jmp 0x41106e
cmp byte [ebp + 0x73], 0
jne 0x41103a
call fcn.00410f1c
and eax, 4
jmp 0x41106e
cmp dword [ebp + 0x7c], 0xa
je 0x411066
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
jmp 0x41106e
call fcn.00410f1c
and eax, 8
pop edi
pop ebx
add ebp, 0x74
leave
ret
Function at 0x41a3ed
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x41a3fb
xor eax, eax
pop ebp
ret
cmp dword [ebp + 0x10], 8
push esi
mov esi, dword [ebp + 8]
not esi
mov ecx, 0xff
jb 0x41a4cf
mov eax, dword [ebp + 0x10]
push ebx
shr eax, 3
push edi
xor ebx, ebx
mov bl, byte [edx]
mov edi, esi
shr edi, 8
sub dword [ebp + 0x10], 8
xor ebx, esi
and ebx, ecx
mov esi, dword [ebx*4 + 0x485780]
xor ebx, ebx
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x485780]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x485780]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x485780]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x485780]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x485780]
shr esi, 8
xor edi, esi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x485780]
shr edi, 8
xor esi, edi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x485780]
shr esi, 8
xor esi, edi
inc edx
dec eax
jne 0x41a418
pop edi
pop ebx
cmp dword [ebp + 0x10], 0
je 0x41a4ef
xor eax, eax
mov al, byte [edx]
xor eax, esi
and eax, ecx
mov eax, dword [eax*4 + 0x485780]
shr esi, 8
xor esi, eax
inc edx
dec dword [ebp + 0x10]
jne 0x41a4d5
mov eax, esi
not eax
pop esi
pop ebp
ret
Function at 0x42d9e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
call fcn.0042d7f0
push ebx
call fcn.0042d8c0
mov edi, eax
add esp, 8
test edi, edi
js 0x42daa1
push 0x47a34c
push dword [ebp + 0xc]
call fcn.0045b48c
mov esi, eax
add esp, 8
mov dword [ebp - 4], esi
test esi, esi
je 0x42daa1
push ebx
call fcn.0042de80
push 0x8000
mov dword [ebp - 8], eax
call fcn.0045d581
add esp, 8
mov ebx, eax
test edi, edi
je 0x42da6e
nop
push dword [ebp - 8]
mov esi, 0x8000
cmp edi, esi
cmovl esi, edi
push esi
push ebx
call fcn.0042dab0
push dword [ebp - 4]
push esi
push 1
push ebx
call fcn.0045c20f
add esp, 0x1c
cmp eax, esi
jl 0x42da6b
sub edi, esi
jne 0x42da40
mov esi, dword [ebp - 4]
cmp dword [0x49becc], 0
jne 0x42da85
push dword [0x49c088]
call fcn.0045b20d
add esp, 4
push esi
call fcn.0045b20d
push ebx
call fcn.0045d57c
add esp, 8
test edi, edi
jne 0x42daa1
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42dab0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x49becc], 0
push esi
je 0x42dafe
mov esi, dword [ebp + 0xc]
mov edx, dword [0x498004]
mov ecx, dword [0x498008]
lea eax, [edx + esi]
cmp eax, ecx
jl 0x42dad8
mov esi, ecx
sub esi, edx
test esi, esi
jle 0x42daf7
mov ecx, dword [section..data]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.004586e0
add esp, 0xc
add dword [0x498004], esi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 1
push esi
call fcn.0045b66f
add esp, 0x10
mov edi, eax
cmp dword [0x49c068], 0
je 0x42db6b
test edi, edi
jle 0x42db6b
mov ecx, dword [0x49c080]
mov edx, edi
mov eax, dword [0x49c070]
push ebx
mov ebx, dword [0x49c06c]
add ebx, dword [0x49c07c]
add eax, ecx
mov cl, byte [0x49c084]
movzx eax, al
mov dword [ebp - 4], eax
nop word [eax + eax]
mov al, byte [esi]
lea esi, [esi + 1]
xor al, bl
sub al, byte [ebp - 4]
add cl, al
mov byte [esi - 1], cl
sub edx, 1
jne 0x42db50
mov byte [0x49c084], cl
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42def0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.0042d7f0
mov ebx, dword [ebp + 0x14]
xor esi, esi
add esp, 4
test ebx, ebx
cmovns esi, ebx
cmp dword [0x49becc], 0
je 0x42df55
push edi
call fcn.0042de80
push 0
push dword [ebp + 0x10]
mov dword [0x498004], esi
push dword [ebp + 0xc]
call fcn.0042dab0
add esp, 0x10
mov esi, eax
cmp dword [0x49becc], 0
jne 0x42e013
push dword [0x49c088]
call fcn.0045b20d
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret
cmp dword [0x49bec8], 0
je 0x42dfce
push edi
call fcn.0042e160
add esp, 4
test eax, eax
jne 0x42dfce
push dword [0x49c088]
mov ebx, dword [0x49c060]
call fcn.0045b20d
push 0x47a340
push 0x49bf58
call fcn.0045b48c
mov edi, eax
add esp, 0xc
test edi, edi
je 0x42dfe2
mov ecx, dword [0x49c064]
add ecx, esi
add ecx, dword [0x49c05c]
push 0
push ecx
push edi
call fcn.0045ba5a
cmp dword [ebp + 0x10], ebx
push edi
cmovl ebx, dword [ebp + 0x10]
push ebx
push dword [ebp + 0xc]
call fcn.0042dab0
push edi
mov esi, eax
call fcn.0045b20d
add esp, 0x1c
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret
push 0x47a340
push edi
call fcn.0045b48c
mov edi, eax
add esp, 8
test edi, edi
jne 0x42dfea
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ebp
ret
test ebx, ebx
js 0x42dffa
push 0
push esi
push edi
call fcn.0045ba5a
add esp, 0xc
push edi
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call fcn.0045b66f
push edi
mov esi, eax
call fcn.0045b20d
add esp, 0x14
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x42e020
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.0042d8c0
mov esi, eax
add esp, 4
test esi, esi
jns 0x42e040
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esi + 1]
push ebx
push eax
call fcn.0043b440
push edi
mov ebx, eax
call fcn.0042d7f0
add esp, 8
cmp dword [0x49becc], 0
je 0x42e0a2
push edi
call fcn.0042de80
push 0
push esi
push ebx
mov dword [0x498004], 0
call fcn.0042dab0
add esp, 0x10
cmp dword [0x49becc], 0
jne 0x42e14f
push dword [0x49c088]
call fcn.0045b20d
add esp, 4
mov byte [ebx + esi], 0
mov eax, ebx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [0x49bec8], 0
je 0x42e11e
push edi
call fcn.0042e160
add esp, 4
test eax, eax
jne 0x42e11e
mov eax, dword [0x49c060]
push dword [0x49c088]
mov dword [ebp - 4], eax
call fcn.0045b20d
push 0x47a340
push 0x49bf58
call fcn.0045b48c
mov edi, eax
add esp, 0xc
test edi, edi
je 0x42e14f
mov ecx, dword [0x49c064]
add ecx, dword [0x49c05c]
push 0
push ecx
push edi
call fcn.0045ba5a
mov eax, dword [ebp - 4]
cmp esi, eax
push edi
cmovl eax, esi
push eax
push ebx
call fcn.0042dab0
push edi
call fcn.0045b20d
add esp, 0x1c
mov byte [ebx + esi], 0
mov eax, ebx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x47a340
push edi
call fcn.0045b48c
mov edi, eax
add esp, 8
test edi, edi
je 0x42e14f
push 0
push 0
push edi
call fcn.0045ba5a
push edi
push esi
push 1
push ebx
call fcn.0045b66f
push edi
call fcn.0045b20d
add esp, 0x20
mov byte [ebx + esi], 0
mov eax, ebx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43a180
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.00456c30
push esi
push edi
call fcn.00432350
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.0043b500
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.0043b040
push dword [ebp - 4]
lea eax, [edi + 0x368]
push eax
call fcn.00438a50
lea eax, [ebp - 4]
push eax
call fcn.0043b160
add esp, 0x18
lea eax, [ebp - 0x1004]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x20
lea eax, [ebp - 0x2004]
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.0043b390
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2004]
push eax
call fcn.0043b040
push dword [ebp - 4]
lea esi, [edi + 0x338]
push esi
call fcn.00438a50
push 0x5c
push dword [esi]
call fcn.0043ac00
push dword [esi]
lea eax, [edi + 0x384]
push eax
call fcn.00438a50
mov eax, dword [esi]
add esp, 0x2c
dec eax
nop dword [eax]
mov cl, byte [eax + 1]
lea eax, [eax + 1]
test cl, cl
jne 0x43a230
mov ecx, dword [str.hsptv_]
mov dword [eax], ecx
mov ecx, dword [0x47a4c8]
mov dword [eax + 4], ecx
lea eax, [ebp - 4]
push eax
call fcn.0043b160
push dword [esi]
lea eax, [edi + 0x388]
push eax
call fcn.00438a50
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43a3c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea esi, [ebx*4]
not esi
and esi, 8
or esi, 2
cmp byte [eax], 0
je 0x43a477
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0x3c
lea ecx, [ebp - 4]
movlpd qword [ebp - 0x38], xmm0
push ecx
push eax
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 0x40], 0xc
mov dword [ebp - 0x3c], 0
call fcn.0043b040
mov dword [ebp - 0x38], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.0043b040
add esp, 0x10
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x28], 1
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov esi, eax
lea eax, [ebp - 4]
push eax
call fcn.0043b160
lea eax, [ebp - 8]
push eax
call fcn.0043b160
add esp, 8
test esi, esi
je 0x43a4e2
jmp 0x43a4dc
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.0043b040
add esp, 8
push esi
test bl, 0x10
je 0x43a4a3
push 0x47a34f
push 0x47a34f
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x43a4c9
test bl, 0x20
je 0x43a4c2
push 0x47a34f
push 0x47a34f
push eax
push str.print
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x43a4c9
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
lea eax, [ebp - 4]
push eax
call fcn.0043b160
add esp, 4
cmp esi, 0x20
jl 0x43a4e2
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x495c90
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0xe
push eax
call fcn.0045915a
int3
Function at 0x43a500
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.00456c30
mov eax, dword [ebp + 8]
mov byte [ebp - 0x1004], 0
push esi
cmp eax, 6
ja case.default.0x43a521
jmp dword [eax*4 + 0x43a628]
lea eax, [ebp - 0x1004]
push 0x1000
push eax
call fcn.00463870
add esp, 8
jmp 0x43a5c8
mov eax, dword [0x49c560]
mov esi, dword [eax + 0x384]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0x1000
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x43a5c8
push 0x1000
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x43a5c8
mov eax, dword [0x49c560]
mov esi, dword [eax + 0x368]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, 0x47a34f
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [0x49c560]
add esi, 0x390
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
test eax, 0x10000
je 0x43a611
push 0
movzx eax, ax
push eax
lea eax, [ebp - 0x1004]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.0043b040
mov eax, dword [0x49c560]
push dword [ebp + 8]
add eax, 0x338
push eax
call fcn.00438a50
lea eax, [ebp + 8]
push eax
call fcn.0043b160
mov eax, dword [0x49c560]
push 0x5c
mov esi, dword [eax + 0x338]
push esi
call fcn.0043ac00
add esp, 0x1c
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0x495c90
lea eax, [ebp - 4]
mov dword [ebp - 4], 3
push eax
call fcn.0045915a
nop
sub byte [ebp - 0x5abeffbd], ah
inc ebx
add byte [ebx - 0x5b], dl
inc ebx
add byte [edi - 0x5b], ah
inc ebx
add byte [ebx - 0x5b], bh
inc ebx
add byte [ebp - 0x66ffbc5b], cl
movsd dword es:[edi], dword [esi]
inc ebx
add ah, cl
int3
Function at 0x43a553
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.00456c30
mov eax, dword [ebp + 8]
mov byte [ebp - 0x1004], 0
push esi
cmp eax, 6
ja case.default.0x43a521
jmp dword [eax*4 + 0x43a628]
lea eax, [ebp - 0x1004]
push 0x1000
push eax
call fcn.00463870
add esp, 8
jmp 0x43a5c8
mov eax, dword [0x49c560]
mov esi, dword [eax + 0x384]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0x1000
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x43a5c8
push 0x1000
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x43a5c8
mov eax, dword [0x49c560]
mov esi, dword [eax + 0x368]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, 0x47a34f
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [0x49c560]
add esi, 0x390
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
test eax, 0x10000
je 0x43a611
push 0
movzx eax, ax
push eax
lea eax, [ebp - 0x1004]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.0043b040
mov eax, dword [0x49c560]
push dword [ebp + 8]
add eax, 0x338
push eax
call fcn.00438a50
lea eax, [ebp + 8]
push eax
call fcn.0043b160
mov eax, dword [0x49c560]
push 0x5c
mov esi, dword [eax + 0x338]
push esi
call fcn.0043ac00
add esp, 0x1c
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0x495c90
lea eax, [ebp - 4]
mov dword [ebp - 4], 3
push eax
call fcn.0045915a
nop
sub byte [ebp - 0x5abeffbd], ah
inc ebx
add byte [ebx - 0x5b], dl
inc ebx
add byte [edi - 0x5b], ah
inc ebx
add byte [ebx - 0x5b], bh
inc ebx
add byte [ebp - 0x66ffbc5b], cl
movsd dword es:[edi], dword [esi]
inc ebx
add ah, cl
int3
Function at 0x43a567
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.00456c30
mov eax, dword [ebp + 8]
mov byte [ebp - 0x1004], 0
push esi
cmp eax, 6
ja case.default.0x43a521
jmp dword [eax*4 + 0x43a628]
lea eax, [ebp - 0x1004]
push 0x1000
push eax
call fcn.00463870
add esp, 8
jmp 0x43a5c8
mov eax, dword [0x49c560]
mov esi, dword [eax + 0x384]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0x1000
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x43a5c8
push 0x1000
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x43a5c8
mov eax, dword [0x49c560]
mov esi, dword [eax + 0x368]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, 0x47a34f
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [0x49c560]
add esi, 0x390
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
test eax, 0x10000
je 0x43a611
push 0
movzx eax, ax
push eax
lea eax, [ebp - 0x1004]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.0043b040
mov eax, dword [0x49c560]
push dword [ebp + 8]
add eax, 0x338
push eax
call fcn.00438a50
lea eax, [ebp + 8]
push eax
call fcn.0043b160
mov eax, dword [0x49c560]
push 0x5c
mov esi, dword [eax + 0x338]
push esi
call fcn.0043ac00
add esp, 0x1c
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0x495c90
lea eax, [ebp - 4]
mov dword [ebp - 4], 3
push eax
call fcn.0045915a
nop
sub byte [ebp - 0x5abeffbd], ah
inc ebx
add byte [ebx - 0x5b], dl
inc ebx
add byte [edi - 0x5b], ah
inc ebx
add byte [ebx - 0x5b], bh
inc ebx
add byte [ebp - 0x66ffbc5b], cl
movsd dword es:[edi], dword [esi]
inc ebx
add ah, cl
int3
Function at 0x43b050
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00464489

Function at 0x43b070
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push ebx
mov ebx, dword [ebp + 0x10]
mov ecx, ebx
and ecx, 1
mov eax, ebx
shl ecx, 4
mov edx, ecx
or edx, 6
and al, 2
push esi
lea eax, [ebp - 0x144]
cmove edx, ecx
push eax
push dword [ebp + 8]
mov dword [ebp - 4], edx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp + 0x10], eax
cmp eax, 0xffffffff
jne 0x43b0b7
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [ebp + 0xc]
and ebx, 4
nop
mov ecx, dword [ebp - 4]
xor eax, eax
and ecx, dword [ebp - 0x144]
cmp eax, ecx
sbb eax, eax
neg eax
test ebx, ebx
jne 0x43b0dc
xor eax, eax
cmp eax, ecx
sbb eax, eax
inc eax
test eax, eax
je 0x43b128
mov al, byte [ebp - 0x118]
xor ecx, ecx
test al, al
setne cl
cmp al, 0x2e
jne 0x43b108
mov al, byte [ebp - 0x117]
test al, al
je 0x43b128
cmp al, 0x2e
jne 0x43b108
cmp byte [ebp - 0x116], 0
je 0x43b128
test ecx, ecx
je 0x43b128
lea eax, [ebp - 0x118]
inc esi
push eax
push edi
call fcn.004389d0
push 0x47a490
push edi
call fcn.004389d0
add esp, 0x10
lea eax, [ebp - 0x144]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43b0c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x43b0c0
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43b460
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
mov ecx, 0x47a34c
test esi, esi
mov eax, 0x47a524
push edi
cmovs eax, ecx
push eax
push dword [ebp + 8]
call fcn.0045b48c
mov edi, eax
add esp, 8
test edi, edi
jne 0x43b490
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
test esi, esi
js 0x43b4a0
push 0
push esi
push edi
call fcn.0045ba5a
add esp, 0xc
push edi
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call fcn.0045c20f
push edi
mov esi, eax
call fcn.0045b20d
add esp, 0x14
mov eax, esi
pop edi
pop esi
pop ebp
ret