joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414500
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x78]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 1
jmp 0x414536
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x414594
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [eax + ecx*4]
push edx
call fcn.00414470
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jne 0x414592
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov eax, dword [ebp - 0x10]
mov cx, word [edx + eax*2]
mov word [ebp - 0x18], cx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
movzx ecx, word [ebp - 0x18]
mov edx, dword [ebp + 8]
add edx, dword [eax + ecx*4]
mov eax, edx
jmp 0x414596
jmp 0x41452d
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4145a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x64
mov byte [ebp - 6], 0x6c
mov byte [ebp - 5], 0x6c
mov byte [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call dword [fcn.00402008]
mov esp, ebp
pop ebp
ret

Function at 0x414df0
Capabilities:
Encode data using xor

Disassembly:
lea ecx, [0xd414937b]
adc ecx, 0xd6107d95
xchg ebp, eax
jge 0x414d86
salc
bswap edx
add ebp, 0xfce
mov edi, esi
sub ebp, 0xfcd
lea edi, [0x2247de43]
xor bh, al
add byte [ebp + 0x47de433d], cl
and dh, byte [edx]
clc
cmp ebp, 0xa48
jb 0x414d6b
movd mm2, eax
movd esi, mm2
and al, 0x2e
test cl, 0xb4
adc ch, dh
add esi, 0x176fa
lea ebx, [0x22d43ba2]
sub esi, 0xcd5
mov ebp, edi
mov bh, 0x72
lea edx, [0x5f6e82fc]
push esi
push ecx
cmp eax, edx
jne 0x414dd5
imul eax, eax
test cl, 0xb3
mov ch, dl
test edx, 0x63613ebe
sbb ecx, 0x1d268aff
imul ebp, ebx
mov edi, 0xffff4862
dec eax
invalid
jmp [ecx - 0x3a]
mov bh, 0x26
xlatb
adc dword [ecx + 0xb963f7], eax
add byte [ebx - 0x387e8c], dh
je 0x414d73
invalid
dec dword [esi]
add byte [eax], al
je 0x414d73
invalid
or ah, 0x1c
imul ecx, ebx
add edi, 0xfffff0c2
test ecx, ebp
add edi, 0xf3f
imul ecx, edx
and bl, dl
mov ah, 0xaa
cmp edi, 0x221
jb 0x414df7
sbb eax, ebp
push ebx
push 0xefe560
imul edx, ebp
push esi
movzx ebx, dx
inc bl
xor ecx, 0xc4b2
test esi, 0xd59d4d3d
xchg ah, bh
ret
Function at 0x415910
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push 0x289fbd13
call fcn.00416a50
add esp, 4
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x90], 0x73
mov byte [ebp - 0x8f], 0x63
mov byte [ebp - 0x8e], 0x20
mov byte [ebp - 0x8d], 0x73
mov byte [ebp - 0x8c], 0x74
mov byte [ebp - 0x8b], 0x6f
mov byte [ebp - 0x8a], 0x70
mov byte [ebp - 0x89], 0x20
mov byte [ebp - 0x88], 0
mov byte [ebp - 0x9c], 0x73
mov byte [ebp - 0x9b], 0x63
mov byte [ebp - 0x9a], 0x20
mov byte [ebp - 0x99], 0x64
mov byte [ebp - 0x98], 0x65
mov byte [ebp - 0x97], 0x6c
mov byte [ebp - 0x96], 0x65
mov byte [ebp - 0x95], 0x74
mov byte [ebp - 0x94], 0x65
mov byte [ebp - 0x93], 0x20
mov byte [ebp - 0x92], 0
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x80]
push ecx
call dword [0x10009050]
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x80]
push eax
call dword [0x10009080]
push 0
lea ecx, [ebp - 0x80]
push ecx
call dword [ebp - 0x84]
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0x80]
push eax
call dword [0x10009050]
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x80]
push edx
call dword [0x10009080]
push 0
lea eax, [ebp - 0x80]
push eax
call dword [ebp - 0x84]
mov esp, ebp
pop ebp
ret
Function at 0x4168d0
Capabilities:
Hash data using rshash

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x5c6b7
mov dword [ebp - 4], 0xf8c9
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x416948
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
cmp eax, 0x41
jl 0x416921
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
cmp edx, 0x5a
jg 0x416921
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
lea eax, [eax + edx + 0x20]
mov dword [ebp - 0xc], eax
jmp 0x416933
mov ecx, dword [ebp - 0xc]
imul ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
add ecx, eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
imul ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
jmp 0x4168eb
mov eax, dword [ebp - 0xc]
and eax, 0x7fffffff
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x78]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 1
jmp 0x416996
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x4169f4
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [eax + ecx*4]
push edx
call fcn.004168d0
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jne 0x4169f2
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov eax, dword [ebp - 0x10]
mov cx, word [edx + eax*2]
mov word [ebp - 0x18], cx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
movzx ecx, word [ebp - 0x18]
mov edx, dword [ebp + 8]
add edx, dword [eax + ecx*4]
mov eax, edx
jmp 0x4169f6
jmp 0x41698d
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x416a00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x64
mov byte [ebp - 6], 0x6c
mov byte [ebp - 5], 0x6c
mov byte [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call dword [0x1000903c]
mov esp, ebp
pop ebp
ret
Function at 0x424a70
Capabilities:
Hash data using rshash

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x5c6b7
mov dword [ebp - 4], 0xf8c9
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x424ae8
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
cmp eax, 0x41
jl 0x424ac1
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
cmp edx, 0x5a
jg 0x424ac1
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
lea eax, [eax + edx + 0x20]
mov dword [ebp - 0xc], eax
jmp 0x424ad3
mov ecx, dword [ebp - 0xc]
imul ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
add ecx, eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
imul ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
jmp 0x424a8b
mov eax, dword [ebp - 0xc]
and eax, 0x7fffffff
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x78]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 1
jmp 0x424b36
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x424b94
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [eax + ecx*4]
push edx
call fcn.00424a70
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jne 0x424b92
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov eax, dword [ebp - 0x10]
mov cx, word [edx + eax*2]
mov word [ebp - 0x18], cx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
movzx ecx, word [ebp - 0x18]
mov edx, dword [ebp + 8]
add edx, dword [eax + ecx*4]
mov eax, edx
jmp 0x424b96
jmp 0x424b2d
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x424ba0
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x64
mov byte [ebp - 6], 0x6c
mov byte [ebp - 5], 0x6c
mov byte [ebp - 4], 0
push ebx
push ecx
mov ebx, dword fs:[0x30]
mov ecx, dword [ebx + 0xc]
mov ecx, dword [ecx + 0x1c]
mov ecx, dword [ecx]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x14], eax
pop ecx
pop ebx
push 0x3777cccb
mov eax, dword [ebp - 0x14]
push eax
call fcn.00424b00
add esp, 8
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x10]
push ecx
call dword [ebp - 0x18]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425420
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push 0x74e3bb2e
call fcn.00424c20
add esp, 4
mov dword [ebp - 0x14c], eax
push 0x3749ca10
call fcn.00424c20
add esp, 4
mov dword [ebp - 4], eax
push 0x49f43cb7
call fcn.00424c20
add esp, 4
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x18], 0x23ec5044
mov dword [ebp - 0x14], 0x33af2093
push 0
push 2
call dword [ebp - 0x14c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x148], 0x128
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [ebp - 4]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x140]
push eax
call fcn.004252f0
add esp, 8
test eax, eax
je 0x425514
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x140]
push edx
call fcn.004252f0
add esp, 8
test eax, eax
je 0x425514
lea eax, [ebp - 0x124]
push eax
push 0x100050d8
call dword [0x1000501c]
test eax, eax
je 0x425514
mov dword [0x10007128], 0
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x154], ecx
lea edx, [ebp - 0x154]
push edx
push 0x100019e0
call dword [0x10005098]
cmp dword [0x10007128], 0xa
jbe 0x425510
mov eax, 1
jmp 0x425576
xor eax, eax
jmp 0x425576
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [ebp - 0x150]
test eax, eax
jne 0x425492
mov byte [ebp - 0x10], 0x4d
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0xc], 0x53
mov byte [ebp - 0xb], 0x6e
mov byte [ebp - 0xa], 0x69
mov byte [ebp - 9], 0x66
mov byte [ebp - 8], 0x66
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x72
mov byte [ebp - 5], 0
lea edx, [ebp - 0x10]
push edx
push 0
call dword [0x100050a0]
test eax, eax
je 0x425574
mov eax, 1
jmp 0x425576
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x425790
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x300
mov dword [ebp - 0x1cc], 0
jmp 0x4257b4
mov eax, dword [ebp - 0x1cc]
add eax, 1
mov dword [ebp - 0x1cc], eax
cmp dword [ebp - 0x1cc], 0x64
jge 0x4257bf
jmp 0x4257a5
push 0x4f
push 0x40
lea ecx, [ebp - 0xc0]
push ecx
push 0x100070c0
call fcn.00424c70
add esp, 0x10
mov dword [ebp - 0x1d0], 0
jmp 0x4257f2
mov edx, dword [ebp - 0x1d0]
add edx, 1
mov dword [ebp - 0x1d0], edx
cmp dword [ebp - 0x1d0], 0x64
jge 0x4257fd
jmp 0x4257e3
push 0x214c6981
call fcn.00424c20
add esp, 4
mov dword [ebp - 0x18], eax
push 0x104
lea eax, [ebp - 0x1c8]
push eax
call dword [ebp - 0x18]
mov byte [ebp - 0xc], 0x75
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x33
mov byte [ebp - 7], 0x32
mov byte [ebp - 6], 0x2e
mov byte [ebp - 5], 0x64
mov byte [ebp - 4], 0x6c
mov byte [ebp - 3], 0x6c
mov byte [ebp - 2], 0
lea ecx, [ebp - 0xc]
push ecx
call dword [0x1000505c]
mov dword [ebp - 0x34], eax
push 0x384977d3
mov edx, dword [ebp - 0x34]
push edx
call fcn.00424b00
add esp, 8
mov dword [ebp - 0x2c], eax
push 0x7f8a
push 0x7f00
push 0
call dword [0x100050a4]
push eax
call dword [0x1000509c]
push eax
call dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xc0]
push ecx
call fcn.00425580
add esp, 8
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov byte [ebp - 0x24], 0x48
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x61
mov byte [ebp - 0x21], 0x70
mov byte [ebp - 0x20], 0x46
mov byte [ebp - 0x1f], 0x72
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1d], 0x65
mov byte [ebp - 0x1c], 0
push 0x6a6f5696
call fcn.00424c20
add esp, 4
mov dword [ebp - 0x38], eax
push 0x4fe490b7
call fcn.00424c20
add esp, 4
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00424ba0
call dword [eax - 1]
push ebp
enter 0x4589, 0xffffffffffffffd8
Function at 0x426670
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x698
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [0x10005068]
push 0x100050b8
lea edx, [ebp - 0x110]
push edx
call dword [0x10005014]
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [0x10005040]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4266be
jmp 0x42690e
cmp dword [ebp - 0x250], 0x10
jne 0x426729
movsx edx, byte [ebp - 0x224]
cmp edx, 0x2e
je 0x426729
mov byte [ebp - 0x254], 0x5c
mov byte [ebp - 0x253], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x360]
push ecx
call dword [0x10005068]
lea edx, [ebp - 0x254]
push edx
lea eax, [ebp - 0x360]
push eax
call dword [0x10005014]
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x360]
push edx
call dword [0x10005014]
lea eax, [ebp - 0x360]
push eax
call fcn.00426670
add esp, 4
push 0x100050c0
lea ecx, [ebp - 0x224]
push ecx
call fcn.00425e00
add esp, 8
test eax, eax
je 0x4267af
lea edx, [ebp - 0x224]
push edx
call dword [0x10005004]
movsx eax, byte [ebp + eax - 0x225]
cmp eax, 0x74
jne 0x4267af
mov byte [ebp - 0x46c], 0x5c
mov byte [ebp - 0x46b], 0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x468]
push edx
call dword [0x10005068]
lea eax, [ebp - 0x46c]
push eax
lea ecx, [ebp - 0x468]
push ecx
call dword [0x10005014]
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x468]
push eax
call dword [0x10005014]
lea ecx, [ebp - 0x468]
push ecx
call dword [0x10005060]
push 0x100050c8
lea edx, [ebp - 0x224]
push edx
call fcn.00425e00
add esp, 8
test eax, eax
je 0x4268eb
lea eax, [ebp - 0x224]
push eax
call dword [0x10005004]
movsx ecx, byte [ebp + eax - 0x225]
cmp ecx, 0x65
jne 0x4268eb
mov byte [ebp - 0x57c], 0x5c
mov byte [ebp - 0x57b], 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x578]
push eax
call dword [0x10005068]
lea ecx, [ebp - 0x57c]
push ecx
lea edx, [ebp - 0x578]
push edx
call dword [0x10005014]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x578]
push ecx
call dword [0x10005014]
push 0
lea edx, [ebp - 0x578]
push edx
call fcn.00425e60
add esp, 8
movzx eax, al
test eax, eax
je 0x4268eb
push 0x104
lea ecx, [ebp - 0x698]
push ecx
call dword [0x10005010]
mov byte [ebp - 0x58c], 0x5c
mov byte [ebp - 0x58b], 0x5c
mov byte [ebp - 0x58a], 0x73
mov byte [ebp - 0x589], 0x79
mov byte [ebp - 0x588], 0x73
mov byte [ebp - 0x587], 0x74
mov byte [ebp - 0x586], 0x65
mov byte [ebp - 0x585], 0x6d
mov byte [ebp - 0x584], 0x2e
mov byte [ebp - 0x583], 0x65
mov byte [ebp - 0x582], 0x78
mov byte [ebp - 0x581], 0x65
mov byte [ebp - 0x580], 0
lea edx, [ebp - 0x58c]
push edx
lea eax, [ebp - 0x698]
push eax
call dword [0x10005014]
lea ecx, [ebp - 0x698]
push ecx
lea edx, [ebp - 0x578]
push edx
call fcn.00425e60
add esp, 8
push 0x64
call dword [0x10005038]
lea eax, [ebp - 0x250]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [0x10005058]
test eax, eax
jne 0x4266be
mov edx, dword [ebp - 4]
push edx
call dword [0x10005050]
mov esp, ebp
pop ebp
ret
Function at 0x402770
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x410380
push 0x40f24c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
call ebx
push 0
call ebx
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
je 0x4028df
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0
call ebx
mov esi, edi
mov dword [ebp - 0x1c], esi
cmp byte [edi], 0x5c
jne 0x40282e
lea eax, [edi + 1]
cmp byte [eax], 0x5c
jne 0x40282e
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x402809
cmp al, 0x5c
je 0x402809
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
jmp 0x4027f1
cmp byte [esi], 0
je 0x402812
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x402827
cmp al, 0x5c
je 0x402827
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
jmp 0x40280f
cmp byte [esi], 0
je 0x40284d
jmp 0x402849
lea eax, [edi + 1]
cmp byte [eax], 0x3a
jne 0x40284d
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x40284d
cmp al, 0x5c
jne 0x40284d
inc esi
mov dword [ebp - 0x1c], esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov al, byte [esi]
test al, al
je 0x4028a3
cmp al, 0x5c
jne 0x402895
mov byte [esi], 0
push edi
call ebx
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
jne 0x402888
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x402892
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x402892
push edi
jmp 0x4028d6
and eax, 0x10
cmp al, 0x10
je 0x402892
push edi
jmp 0x4028d6
mov byte [esi], 0x5c
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x402853
mov dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x402bc0
Capabilities:
Get disk information
Get disk size
Get file system object information

Disassembly:
sub esp, 0x784
push ebx
lea eax, [esp + 0x128]
push ebp
push eax
mov dword [esp + 0x28], ecx
push 0x100
mov byte [esp + 0x394], 0x67
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov al, byte [esp + 0x12c]
xor edx, edx
test al, al
lea ebp, [esp + 0x12c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov ebx, 1
je 0x402d5d
push esi
push edi
jmp 0x402c1a
xor edx, edx
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x30]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x34]
push ecx
push edx
push edx
push edx
push edx
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push 0x410
lea edx, [esp + 0x238]
push 0x160
push edx
push 0x80
push ebp
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + 0x344]
push eax
call esi
mov edi, eax
lea ecx, [esp + 0x30]
inc edi
push ecx
mov dword [esp + 0x2c], edi
call esi
inc eax
mov dword [esp + 0x14], eax
mov al, byte [ebp]
cmp al, 0x41
je 0x402ccc
cmp al, 0x42
je 0x402ccc
lea edx, [esp + 0x18]
push 0
lea eax, [esp + 0x24]
push edx
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x402ccc
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, 0x14
call fcn.0040f260
mov edx, dword [esp + 0x24]
mov esi, eax
mov eax, dword [esp + 0x20]
mov ecx, 0x14
call fcn.0040f260
mov dword [esp + 0x10], eax
jmp 0x402cd2
xor esi, esi
mov dword [esp + 0x10], esi
mov cl, byte [ebp]
push ebp
mov byte [esp + ebx + 0x398], cl
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edx, dword [esp + 0x10]
mov ecx, edi
mov byte [esp + ebx + 0x395], al
mov eax, ecx
mov dword [esp + ebx + 0x396], esi
lea esi, [esp + 0x344]
lea edi, [esp + ebx + 0x39e]
mov dword [esp + ebx + 0x39a], edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x28]
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
lea edx, [eax + ebx]
lea esi, [esp + 0x34]
lea edi, [esp + edx + 0x3a2]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
add ecx, eax
lea ebx, [ebx + ecx + 0xa]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ebp, [eax + ebp + 1]
cmp byte [ebp], 0
jne 0x402c18
pop edi
pop esi
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x38c]
push ebx
push edx
call fcn.00404a20
pop ebp
pop ebx
add esp, 0x784
ret