joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49c30f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x49c34e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x49c34e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x49c34e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x49c34e
cmp dword [ecx + 0x74], 0xe
jbe 0x49c34e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4ae00f
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4e2018]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4ae05a
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004ae1aa
test al, al
jne 0x4ae054
sub edx, 2
cmp edx, edi
jne 0x4ae03a
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4ae07c
lea eax, [edi + 2]
cmp edx, eax
je 0x4ae07c
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004adf5b
add esp, 0x10
jmp 0x4ae176
push esi
lea ecx, [ebp - 0x255]
call fcn.004ae1aa
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4ae0bf
push dword [ebp - 0x25c]
jmp 0x4ae06c
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4ae0fc
cmp word [ebp - 0x226], 0
je 0x4ae11d
cmp word [ebp - 0x226], ax
jne 0x4ae0fc
cmp word [ebp - 0x224], 0
je 0x4ae11d
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004adf5b
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4ae169
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4ae0d6
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4ae151
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4ae176
push 0x4add8b
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004a9520
add esp, 0x10
jmp 0x4ae146
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049c563
leave
ret

Function at 0x4aeeb0
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4bb7fc
push 0x4bb7f4
push str.FlsAlloc
push 0x1f
call fcn.004aedeb
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4aeee4
push dword [ebp + 8]
mov ecx, esi
call dword [0x4b87a4]
call esi
jmp 0x4aeeea
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x4aef2e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4bb80c
push 0x4bb804
push str.FlsGetValue
push 0x21
call fcn.004aedeb
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4aef65
push dword [ebp + 8]
mov ecx, esi
call dword [0x4b87a4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4aef6d
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4bb814
push 0x4bb80c
push str.FlsSetValue
push 0x22
call fcn.004aedeb
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4aefa7
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4b87a4]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4b5790
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4b57bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4b57bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x43ba69
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
test esi, esi
je 0x43bb3b
push ebx
lea edx, [ecx + 2]
xor ebx, ebx
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x43ba80
sub ecx, edx
mov al, 1
sar ecx, 1
lea ecx, [esi + ecx*2]
mov dword [ebp - 4], ecx
cmp esi, ecx
jae 0x43bb3a
push edi
movzx eax, al
xor eax, 1
lea ebx, [eax*4 + 4]
mov edi, ebx
push 0x407f6c
call fcn.00462889
pop ecx
sub edi, 1
jne 0x43baaf
push 0x20
pop edx
jmp 0x43bac7
add esi, 2
movzx eax, word [esi]
mov ecx, eax
cmp ax, dx
je 0x43bac4
movzx eax, cx
mov edi, esi
mov edx, esi
test ax, ax
je 0x43bb0c
mov ecx, eax
push 0xa
pop eax
cmp cx, ax
je 0x43bb0c
push 0x20
pop eax
cmp cx, ax
jne 0x43baf1
mov edx, edi
add edi, 2
inc ebx
cmp ebx, 0x50
jb 0x43bafe
cmp edx, esi
jne 0x43bb0a
movzx eax, word [edi]
mov ecx, eax
test ax, ax
jne 0x43badf
jmp 0x43bb0c
mov edi, edx
mov eax, edi
sub eax, esi
push esi
sar eax, 1
push eax
push 0x407f70
call fcn.00462889
add esp, 0xc
push 0xa
pop eax
cmp word [edi], ax
jne 0x43bb2c
add edi, 2
xor al, al
mov esi, edi
cmp edi, dword [ebp - 4]
jb 0x43baa0
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x444b7a
Capabilities:
Get memory capacity

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x463b20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov edi, ecx
mov dword [ebp - 0x54], eax
mov byte [ebx], 0
push dword [0x401a98]
call fcn.0043c639
test eax, eax
je 0x444bf9
mov byte [ebx], 1
mov ecx, edi
push dword [0x401a88]
call fcn.0043c639
test eax, eax
je 0x444ce5
push 0x41d4d0
push 0
call fcn.0043b96c
mov edx, 0x650
mov eax, dword [ebp - 0x54]
mov esi, 0x80070057
pop ecx
pop ecx
mov ecx, dword [ebp + 4]
push esi
push 0x411b78
mov byte [eax], 0
call fcn.0043c390
mov eax, esi
jmp 0x444ce7
and dword [ebp - 0x50], 0
lea eax, [ebp - 0x48]
xor ebx, ebx
mov dword [ebp - 0x48], 0x40
push eax
mov byte [ebp - 0x49], bl
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x444c30
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov ebx, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, ebx
shrd ecx, eax, 1
mov byte [ebp - 0x49], 1
shr eax, 1
jmp 0x444c37
mov ecx, 0x40000000
xor eax, eax
mov dword [esi], ecx
mov ecx, edi
mov dword [esi + 4], eax
push dword [0x401a88]
call fcn.0043c639
test eax, eax
je 0x444caa
push dword [0x401a88]
mov ecx, edi
call fcn.0043c639
test eax, eax
je 0x444c94
push 0xa
push 0
push eax
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcstoui64]
add esp, 0xc
mov dword [esi], eax
cmp byte [ebp - 0x49], 0
mov dword [esi + 4], edx
je 0x444cbe
cmp edx, ebx
jb 0x444cbe
ja 0x444c84
mov eax, dword [ebp - 0x50]
cmp dword [esi], eax
jbe 0x444cbe
push 0x41d3f8
push 0
call fcn.0043b9bd
pop ecx
pop ecx
jmp 0x444cbe
push 0x41d380
push 0
call fcn.0043b96c
mov edx, 0x67a
jmp 0x444bd7
push dword [esi + 4]
push dword [esi]
push 0x41d328
push 0
call fcn.0043b81c
add esp, 0x10
xor eax, eax
inc eax
cmp dword [esi + 4], eax
jb 0x444ce5
ja 0x444ccd
cmp dword [esi], 0
jbe 0x444ce5
and dword [esi], 0
push eax
push 0
push 0x41d328
push 0
mov dword [esi + 4], eax
call fcn.0043b81c
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00461c30
leave
ret 8

Function at 0x4496c4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
lea edx, [ebp - 4]
mov dword [ebp - 4], ebx
call fcn.00452eb9
test eax, eax
js 0x4496f0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4496f0
test al, 0x10
jne 0x4496f0
mov bl, 1
push dword [ebp - 4]
call fcn.00462073
pop ecx
mov al, bl
pop ebx
leave
ret

Function at 0x4496fe
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
lea edx, [ebp - 4]
mov dword [ebp - 4], ebx
call fcn.00452eb9
test eax, eax
js 0x44972a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44972a
test al, 0x10
je 0x44972a
mov bl, 1
push dword [ebp - 4]
call fcn.00462073
pop ecx
mov al, bl
pop ebx
leave
ret
Function at 0x449738
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
lea edx, [ebp - 4]
mov dword [ebp - 4], ebx
call fcn.00452eb9
test eax, eax
js 0x44975f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
push dword [ebp - 4]
call fcn.00462073
pop ecx
mov al, bl
pop ebx
leave
ret

Function at 0x449a47
Capabilities:
Delete file
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov ebx, edx
test esi, esi
js 0x449a89
cmp byte [ebp + 0xc], 0
je 0x449aed
push 0xb
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x449aed
mov ecx, ebx
call fcn.00452b94
test al, al
je 0x449a82
mov esi, 0x800700ce
jmp 0x449a89
call fcn.0043eac5
mov esi, eax
mov ecx, dword [ebp + 8]
call fcn.00449738
test al, al
je 0x449ad6
push dword [ebp + 8]
push 0x426e60
push 1
call fcn.0043b81c
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x449ad6
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x449ac6
movzx eax, ax
or eax, 0x80070000
push 0x426e18
push eax
push 1
call fcn.0043b918
add esp, 0xc
test esi, esi
jns 0x449aed
mov ecx, dword [ebp + 4]
mov edx, 0xba
push esi
push 0x4244e8
call fcn.0043c390
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x452001
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x10], edx
xor edi, edi
lea edx, [ebp - 8]
mov dword [ebp - 8], edi
call fcn.00452eb9
mov ebx, eax
test ebx, ebx
jns 0x452042
cmp dword [0x463f58], edi
je 0x45220f
push edi
push 0x40c614
mov edx, ebx
mov cl, 1
call fcn.0043b847
jmp 0x45220f
push edi
push edi
push 3
pop ebx
push ebx
push edi
push 1
push SysReAllocString
push dword [ebp - 8]
mov esi, edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
test edi, edi
je 0x452099
push 0
call fcn.0043cd2e
mov esi, edi
cmp edi, 0xffffffff
jne 0x452099
call fcn.0043eac5
cmp dword [0x463f58], 0
je 0x45208d
push 0
push 0x432128
mov edx, eax
mov cl, 1
call fcn.0043b847
call fcn.0043eac5
mov ebx, eax
jmp 0x452209
push 0x64
pop eax
push 0x4023e0
push eax
mov dword [ebp - 4], eax
call fcn.00462078
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x4520d7
mov ebx, 0x8007000e
cmp dword [0x463f58], eax
je 0x452202
push eax
push 0x43216c
mov edx, ebx
mov cl, 1
call fcn.0043b847
jmp 0x452202
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45210a
call fcn.0043eac5
cmp dword [0x463f58], 0
je 0x452199
push 0
push 0x432188
jmp 0x452190
push 2
pop eax
cmp dword [ebp - 4], eax
jb 0x452168
movzx edx, word [edi]
mov ecx, edx
mov dword [ebp - 0xc], 0xbbef
cmp cx, word [ebp - 0xc]
je 0x452144
mov dword [ebp - 0xc], 0xfeff
cmp cx, word [ebp - 0xc]
je 0x45213f
mov ecx, 0xfffe
cmp dx, cx
jne 0x452153
mov ebx, eax
jmp 0x45216a
xor ebx, ebx
inc ebx
jmp 0x45216a
cmp dword [ebp - 4], ebx
jb 0x452153
cmp byte [edi + 2], 0xbf
jne 0x452153
mov eax, ebx
jmp 0x45216a
push 0
push dword [ebp - 4]
push edi
call dword [sym.imp.ADVAPI32.dll_IsTextUnicode]
neg eax
sbb eax, eax
and eax, 0xfffffffe
add ebx, eax
xor eax, eax
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4521a2
call fcn.0043eac5
cmp dword [0x463f58], 0
je 0x452199
push 0
push 0x4321c8
mov edx, eax
mov cl, 1
call fcn.0043b847
call fcn.0043eac5
mov ebx, eax
jmp 0x452202
push 0x4023e0
push 0x18
call fcn.00461ec5
pop ecx
pop ecx
test eax, eax
je 0x4521ce
and dword [eax + 8], 0
and dword [eax + 0xc], 0
and dword [eax + 0x10], 0
mov dword [eax], esi
mov dword [eax + 4], ebx
mov dword [eax + 0x14], 1
jmp 0x4521d0
xor eax, eax
test eax, eax
jne 0x4521f2
mov ebx, 0x8007000e
cmp dword [0x463f58], eax
je 0x4521fb
push eax
push 0x40a564
mov edx, ebx
mov cl, 1
call fcn.0043b847
jmp 0x4521fb
mov ecx, dword [ebp - 0x10]
xor esi, esi
xor ebx, ebx
mov dword [ecx], eax
push 0
call fcn.0043cc55
push edi
call fcn.00462073
pop ecx
push esi
call fcn.0043cd2e
push dword [ebp - 8]
call fcn.00462073
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x45258f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x4525c3
cmp dword [0x463f58], 0
mov esi, 0x80070490
je 0x4525bc
push 0
push 0x43240c
mov edx, esi
mov cl, 1
call fcn.0043b847
mov eax, esi
jmp 0x452695
mov eax, dword [esi + 8]
push ebx
push edi
mov edi, eax
mov ebx, 0x10000
sub edi, dword [esi + 0xc]
add edi, dword [esi + 0x10]
test eax, eax
jne 0x452626
push 0x4023e0
push ebx
call fcn.00462078
mov ebx, eax
mov eax, dword [esi + 8]
pop ecx
pop ecx
cmp eax, ebx
je 0x4525fb
push eax
call fcn.00462073
pop ecx
mov dword [esi + 8], ebx
mov eax, ebx
test eax, eax
jne 0x45261f
mov esi, 0x8007000e
cmp dword [0x463f58], eax
je 0x45261b
push eax
push 0x432420
mov edx, esi
mov cl, 1
call fcn.0043b847
mov eax, esi
jmp 0x452693
mov ebx, 0x10000
jmp 0x45263a
test edi, edi
je 0x45263a
push edi
push dword [esi + 0xc]
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov eax, dword [esi + 8]
add esp, 0xc
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push 0
push ecx
sub ebx, edi
add eax, edi
push ebx
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45267b
call fcn.0043eac5
cmp dword [0x463f58], 0
je 0x452674
push 0
push 0x432438
mov edx, eax
mov cl, 1
call fcn.0043b847
call fcn.0043eac5
jmp 0x452693
mov ecx, dword [ebp - 4]
lea eax, [ecx + edi]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
test ecx, ecx
jne 0x452691
and dword [esi + 0x14], ecx
xor eax, eax
pop edi
pop ebx
pop esi
leave
ret
Function at 0x45587c
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov bl, dl
test edi, edi
jne 0x4558aa
mov esi, 0x80070057
push esi
push 0x4340b8
push 0x18
mov ecx, dword [ebp + 4]
pop edx
call fcn.0043c390
jmp 0x455a0b
lea edx, [ecx + 2]
xor esi, esi
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x4558af
sub ecx, edx
sar ecx, 1
push 0x5c
pop eax
cmp word [edi + ecx*2 - 2], ax
jne 0x4558db
test bl, bl
je 0x4558db
mov esi, 0x80070057
push esi
push 0x4340b8
push 0x19
jmp 0x45589c
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push edi
mov ecx, eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0x401644
mov dword [ebp - 0x14], eax
call fcn.00460e70
mov esi, eax
test esi, esi
jns 0x45590f
push esi
push 0x4340b8
push 0x25
jmp 0x455a2b
xor esi, esi
test bl, bl
jne 0x455951
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x45591a
sub ecx, edx
sar ecx, 1
push 0x5c
pop eax
cmp word [edi + ecx*2 - 2], ax
je 0x455951
push eax
lea ecx, [ebp - 0x1c]
call fcn.00460857
mov esi, eax
test esi, esi
jns 0x45594f
push esi
push 0x4340b8
push 0x29
jmp 0x455a2b
xor esi, esi
mov ebx, dword [ebp - 0xc]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x455959
sub ecx, edx
sar ecx, 1
xor edx, edx
mov al, dl
push 0x5c
mov byte [ebp - 1], al
lea edi, [ebx + ecx*2]
pop esi
cmp edi, ebx
jbe 0x4559cb
sub edi, 2
cmp word [edi], si
jne 0x4559c7
cmp word [edi - 2], 0x3a
je 0x4559cb
push edx
xor eax, eax
push ebx
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4559a0
mov al, 1
mov byte [ebp - 1], al
jmp 0x4559c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0xb7
jne 0x4559b7
mov al, 1
mov byte [ebp - 1], al
jmp 0x4559bf
cmp esi, 3
jne 0x455a12
mov al, byte [ebp - 1]
push 0x5c
pop esi
mov word [edi], si
xor edx, edx
test al, al
je 0x455975
cmp word [edi], dx
je 0x4559fa
lea edi, [edi + 2]
movzx eax, word [edi]
mov ecx, eax
cmp ax, si
jne 0x4559f5
push edx
xor eax, eax
push ebx
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x455a36
mov word [edi], si
mov ecx, esi
xor edx, edx
test cx, cx
jne 0x4559d0
mov esi, edx
cmp dword [ebp - 0xc], 0
je 0x455a0b
push dword [ebp - 0xc]
call fcn.00462073
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
test esi, esi
jle 0x455a21
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x4559fc
push esi
push 0x4340b8
push 0x4f
mov ecx, dword [ebp + 4]
pop edx
call fcn.0043c390
jmp 0x4559fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4559fc
movzx esi, si
or esi, 0x80070000
jmp 0x4559fc
Function at 0x455b4f
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x463b20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x218], eax
mov edi, edx
lea eax, [ebp - 0x210]
mov esi, ecx
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x455ba4
mov ecx, dword [ebp + 4]
mov edx, 0x84
push 0x4340b8
call fcn.00453243
jmp 0x455c6d
push 0x5c
pop edx
lea ecx, [ebp - 0x210]
call fcn.00452900
and dword [ebx], 0
lea eax, [ebp - 0x214]
and dword [ebp - 0x214], 0
mov edx, esi
push eax
push edi
call fcn.00455d3d
mov edi, eax
test edi, edi
jns 0x455c00
cmp dword [0x463f58], 0
je 0x455bf8
push 0
push 0x434190
mov edx, edi
mov cl, 1
call fcn.0043b847
cmp dword [0x463f58], 0
je 0x455bf8
call fcn.0043b9da
mov esi, dword [ebp - 0x214]
jmp 0x455c64
mov esi, dword [ebp - 0x214]
push 0
push 0x100
push 2
push 0
push 7
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
call fcn.0043cd2e
push dword [ebp - 0x218]
mov dl, 1
mov ecx, esi
call fcn.00455a4d
mov edi, eax
test edi, edi
jns 0x455c55
cmp dword [0x463f58], 0
je 0x455c5d
push 0
push 0x4341e8
mov edx, edi
mov cl, 1
call fcn.0043b847
jmp 0x455c5d
mov eax, esi
xor esi, esi
mov dword [ebx], eax
xor edi, edi
push 0
call fcn.0043cd2e
push esi
call dword [sym.imp.OLE32.dll_CoTaskMemFree]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00461c30
leave
ret 8
Function at 0x458969
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push eax
push dword [ebp + 0xc]
mov dword [ebp - 8], ecx
push ebx
call fcn.00458737
mov esi, dword [ebp - 4]
mov edi, eax
test edi, edi
jns 0x4589c1
cmp dword [0x463f58], 0
je 0x458a39
push 0
push 0x436ef8
mov edx, edi
mov cl, 1
call fcn.0043b847
cmp dword [0x463f58], 0
je 0x458a39
call fcn.0043b9da
jmp 0x458a39
and dword [ebp - 0xc], 0
cmp dword [ebp + 0xc], 0
jbe 0x458a37
lea eax, [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x10]
and dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov edi, dword [eax + 4]
call fcn.0043e6c6
push eax
xor dl, dl
mov ecx, edi
call fcn.00455a4d
mov edi, eax
test edi, edi
js 0x458a7d
push dword [ebp + 0x14]
mov edi, dword [ebp - 8]
push dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
push esi
mov edi, dword [edi]
push dword [ebp - 4]
push dword [eax]
mov ecx, dword [edi]
call dword [0x464258]
mov ecx, dword [ebp - 8]
call dword [edi]
mov edi, eax
test edi, edi
js 0x458a54
lea ecx, [ebp - 4]
call fcn.0043e6ea
mov eax, dword [ebp - 0xc]
add ebx, 0x10
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp + 0xc]
jb 0x4589d1
xor edi, edi
test esi, esi
je 0x458a44
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call dword [sym.imp.OLE32.dll_CoTaskMemFree]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [0x463f58], 0
je 0x458a96
push 0
push 0x436f48
mov edx, edi
mov cl, 1
call fcn.0043b847
cmp dword [0x463f58], 0
je 0x458a96
call fcn.0043b9da
jmp 0x458a96
cmp dword [0x463f58], 0
je 0x458a96
push 0
push 0x436e30
mov edx, edi
mov cl, 1
call fcn.0043b847
lea ecx, [ebp - 4]
call fcn.0043e6ea
jmp 0x458a39
Function at 0x45b2e8
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
mov dword [esp + 0x10], edx
lea eax, [esp + 0x28]
mov dword [esp + 0x24], 0x44
push ebx
push eax
mov esi, ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor eax, eax
lea edi, [esp + 0x1c]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x45b34d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x435c40
jmp 0x45b384
push 0x13880
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45b367
mov ebx, 0x80004005
jmp 0x45b38f
push dword [esp + 0xc]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x45b38f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x435ca8
push 1
mov ebx, eax
call fcn.00451fa0
pop ecx
pop ecx
cmp dword [esp + 0x10], 0
je 0x45b3a0
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x14], 0
je 0x45b3b1
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jle 0x45b3c0
movzx ebx, bx
or ebx, 0x80070000
test ebx, ebx
jns 0x45b3d5
mov ecx, dword [ebp + 4]
mov edx, 0x5cb
push ebx
push 0x435ea0
call fcn.0043c390
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x461c41
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
cmp edx, esi
je 0x461c7e
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edx + 0xc]
jb 0x461c77
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
cmp ecx, eax
jb 0x461c83
add edx, 0x28
cmp edx, esi
jne 0x461c68
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x461c80
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0x74a6133e
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push esi
push edi
mov esi, ecx
xor edi, edi
push dword [esi + 0x18]
push edi
push dword [eax + 0x18]
call dword [0x74aa1aac]
mov eax, dword [esi + 4]
mov dword [esi + 0x18], edi
cmp dword [eax], 2
jne 0x74a61376
push eax
mov eax, dword fs:[0x30]
push edi
push dword [eax + 0x18]
call dword [0x74aa1aac]
mov dword [esi + 4], edi
mov eax, dword [esi + 0xc]
cmp dword [eax], 2
jne 0x74a61392
push eax
mov eax, dword fs:[0x30]
push edi
push dword [eax + 0x18]
call dword [0x74aa1aac]
mov dword [esi + 0xc], edi
mov eax, dword fs:[0x30]
push esi
push edi
push dword [eax + 0x18]
call dword [0x74aa1aac]
pop edi
pop esi
ret