joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40dcf0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44135c
mov eax, dword fs:[0]
push eax
mov eax, 0x11f8
call fcn.00423fc0
mov eax, dword [0x46706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1204]
mov byte [ebp - 0x11fd], 0
push eax
lea ecx, [ebp - 0x16c]
call fcn.0041df30
add esp, 4
mov dword [ebp - 4], 0
cmp dword [ebp - 0x15c], 0
je 0x40df29
xor eax, eax
xorps xmm0, xmm0
push 0x848
push eax
mov word [ebp - 0x26], ax
lea eax, [ebp - 0x11fc]
push eax
movups xmmword [ebp - 0x36], xmm0
call fcn.00426340
add esp, 0xc
lea eax, [ebp - 0x16c]
cmp dword [ebp - 0x158], 0x10
lea ecx, [ebp - 0x11fc]
cmovae eax, dword [ebp - 0x16c]
push eax
call fcn.0040f760
mov byte [ebp - 4], 1
lea eax, [ebp - 0x13c]
movq xmm0, qword [ebp - 0x11f4]
push 0x104
push 0
push eax
movq qword [ebp - 0x38], xmm0
call fcn.00426340
add esp, 0xc
lea eax, [ebp - 0x13c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp byte [ebp - 0x13c], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x140], 0xf
mov dword [ebp - 0x144], 0
mov byte [ebp - 0x154], 0
jne 0x40de08
xor ecx, ecx
jmp 0x40de1a
lea ecx, [ebp - 0x13c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40de11
sub ecx, edx
push ecx
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x154]
call fcn.00402740
mov byte [ebp - 4], 2
lea eax, [ebp - 0x9b4]
push 0x848
push 0
push eax
call fcn.00426340
add esp, 0xc
lea eax, [ebp - 0x154]
cmp dword [ebp - 0x140], 0x10
lea ecx, [ebp - 0x9b4]
cmovae eax, dword [ebp - 0x154]
push eax
call fcn.0040f760
mov byte [ebp - 4], 3
xorps xmm0, xmm0
movups xmmword [ebp - 0x22], xmm0
xor eax, eax
movq xmm0, qword [ebp - 0x9ac]
mov word [ebp - 0x12], ax
movq qword [ebp - 0x24], xmm0
nop word [eax + eax]
movzx ecx, word [ebp + eax - 0x24]
movzx edx, word [ebp + eax - 0x38]
cmp dx, cx
jb 0x40deab
ja 0x40deb2
add eax, 2
cmp eax, 8
jl 0x40de90
jmp 0x40deb2
mov byte [ebp - 0x11fd], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x9b4]
call fcn.0040f800
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x140]
cmp eax, 0x10
jb 0x40dee3
inc eax
lea ecx, [ebp - 0x154]
push eax
push dword [ebp - 0x154]
call fcn.00402ba0
mov dword [ebp - 0x140], 0xf
mov dword [ebp - 0x144], 0
mov byte [ebp - 0x154], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11fc]
call fcn.0040f800
cmp byte [ebp - 0x11fd], 0
je 0x40df29
mov eax, dword [ebp - 0x1204]
test eax, eax
je 0x40df29
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x158]
cmp eax, 0x10
jb 0x40df4e
inc eax
lea ecx, [ebp - 0x16c]
push eax
push dword [ebp - 0x16c]
call fcn.00402ba0
mov al, byte [ebp - 0x11fd]
mov dword [ebp - 0x158], 0xf
mov dword [ebp - 0x15c], 0
mov byte [ebp - 0x16c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042318e
mov esp, ebp
pop ebp
ret
Function at 0x40e880
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4414a8
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x46706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x24c], 0
call fcn.00426340
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x40e928
xor ecx, ecx
jmp 0x40e940
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e931
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00409420
mov dword [ebp - 4], 1
mov edi, dword [ebp - 0x220]
test edi, edi
je 0x40ea8e
push 1
push ecx
push 0x455c5c
lea ecx, [ebp - 0x230]
call fcn.0040eb20
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x40e9c5
push 1
push ecx
push 0x455c60
lea ecx, [ebp - 0x230]
call fcn.0040eb20
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x40e9c5
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov dword [ebp - 0x220], 0
cmovae eax, dword [ebp - 0x230]
xor edx, edx
mov word [eax], dx
mov edi, dword [ebp - 0x220]
test edi, edi
je 0x40ea8e
lea eax, [ecx + 1]
push eax
push ecx
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040df90
mov byte [ebp - 4], 2
lea eax, [ebp - 0x248]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x230]
call fcn.00409f00
push 0x11
push 0x455c64
lea ecx, [ebp - 0x230]
call fcn.0040a020
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40ea7f
test al, 0x10
jne 0x40ea7f
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [ebp - 0x230]
push eax
call fcn.0040e270
mov dword [ebp - 0x24c], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.00407960
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00407960
jmp 0x40eaf7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.00407960
xor eax, eax
mov dword [esi + 0x14], 7
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x4551f4
mov word [esi], ax
call fcn.00409420
mov dword [ebp - 0x24c], 1
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x40eada
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00409ea0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov eax, esi
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.0042318e
mov esp, ebp
pop ebp
ret 4
Function at 0x40ed00
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44157e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x46706c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0xac]
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov ebx, dword [edi + 0xa8]
cmp ebx, 0xe
jne 0x40eeff
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x40ee7b
push 0x114
mov dword [edi + 0xa8], 1
call fcn.0042c12e
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40eef9
push 0x114
push 0
push ebx
call fcn.00426340
add esp, 0xc
mov dword [ebx], 0x114
push ebx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebx + 4]
cmp eax, 4
jne 0x40edb4
mov dword [edi + 0xa8], 5
jmp 0x40eef0
cmp eax, 5
jne 0x40ee02
cmp dword [ebx + 8], 0
jne 0x40edce
mov dword [edi + 0xa8], 6
jmp 0x40eef0
cmp eax, 5
jne 0x40ee02
cmp dword [ebx + 8], 1
jne 0x40ede8
mov dword [edi + 0xa8], 7
jmp 0x40eef0
cmp eax, 5
jne 0x40ee02
cmp dword [ebx + 8], 2
jne 0x40ee02
mov dword [edi + 0xa8], 8
jmp 0x40eef0
cmp eax, 6
jne 0x40eef0
cmp dword [ebx + 8], 0
jne 0x40ee20
mov dword [edi + 0xa8], 9
jmp 0x40eef0
cmp eax, 6
jne 0x40eef0
cmp dword [ebx + 8], 1
jne 0x40ee3e
mov dword [edi + 0xa8], 0xb
jmp 0x40eef0
cmp eax, 6
jne 0x40eef0
cmp dword [ebx + 8], 2
jne 0x40ee5c
mov dword [edi + 0xa8], 0xc
jmp 0x40eef0
cmp eax, 6
jne 0x40eef0
cmp dword [ebx + 8], 3
jne 0x40eef0
mov dword [edi + 0xa8], 0xd
jmp 0x40eef0
cmp al, 4
jae 0x40ee8b
mov dword [edi + 0xa8], 0
jmp 0x40eef9
push 0x114
mov dword [edi + 0xa8], 2
call fcn.0042c12e
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40eef9
push 0x114
push 0
push ebx
call fcn.00426340
add esp, 0xc
mov dword [ebx], 0x114
push ebx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebx + 4]
cmp eax, 4
jne 0x40eef0
cmp dword [ebx + 8], 0xa
jne 0x40eedf
mov dword [edi + 0xa8], 3
jmp 0x40eef0
cmp eax, 4
jne 0x40eef0
cmp dword [ebx + 8], 0x5a
jne 0x40eef0
mov dword [edi + 0xa8], eax
push ebx
call fcn.0042bc9f
add esp, 4
mov ebx, dword [edi + 0xa8]
push esi
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ef30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4415de
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x46706c]
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, ecx
mov eax, dword [ebp + 8]
lea esi, [ebx + 0xac]
mov dword [ebp - 0x234], 0
push esi
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x23c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 1
cmp dword [ebx + 0x28], 0
jne 0x40f096
push 0x200
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x40efe9
cmp byte [ebp - 0x210], 0
jne 0x40efc0
xor ecx, ecx
jmp 0x40efd9
lea ecx, [ebp - 0x210]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40efd0
sub ecx, edx
push ecx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebx + 0x18]
call fcn.00402740
push 1
sub esp, 8
lea edi, [ebx + 0x18]
mov ecx, edi
call fcn.0040f6e0
push eax
push 0
lea eax, [ebp - 0x228]
mov ecx, edi
push eax
call fcn.00402420
mov ecx, eax
mov dword [ebp - 0x22c], ecx
mov byte [ebp - 4], 2
cmp edi, ecx
je 0x40f057
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x40f032
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00402ba0
mov ecx, dword [ebp - 0x22c]
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x40f04a
mov eax, dword [edi]
jmp 0x40f04c
mov eax, edi
push ecx
mov ecx, edi
mov byte [eax], 0
call fcn.004096a0
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 1
call fcn.004024e0
cmp dword [edi + 0x14], 0x10
jb 0x40f070
mov ecx, dword [edi]
jmp 0x40f072
mov ecx, edi
mov edx, dword [edi + 0x10]
push 0
push 0x454233
call fcn.0040f650
add esp, 8
test eax, eax
jne 0x40f096
push 2
push 0x455c88
mov ecx, edi
call fcn.00402740
mov ecx, dword [ebp - 0x230]
lea eax, [ebx + 0x18]
push eax
call fcn.00407a80
mov dword [ebp - 0x234], 1
push esi
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x230]
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.0042318e
mov esp, ebp
pop ebp
ret 4
Function at 0x40f820
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push edi
mov edi, ecx
lea ecx, [ebp - 4]
push ecx
lea eax, [edi + 0x28]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov ebx, eax
test ebx, ebx
je 0x40f922
push esi
lea esi, [ebx + 1]
push esi
call fcn.00423651
push esi
push 0
push eax
mov dword [edi], eax
call fcn.00426340
add esp, 0x10
lea eax, [edi + 0x28]
push dword [edi]
push ebx
push dword [ebp - 4]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
pop esi
test eax, eax
je 0x40f922
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.0040f930
test eax, eax
je 0x40f922
mov ecx, dword [ebp - 0x30]
mov eax, ecx
shr eax, 0x10
mov word [edi + 8], ax
mov word [edi + 0xa], cx
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
shr eax, 0x10
mov word [edi + 0xc], ax
mov word [edi + 0xe], cx
mov ecx, dword [ebp - 0x28]
mov eax, ecx
shr eax, 0x10
mov word [edi + 0x10], ax
mov word [edi + 0x12], cx
mov ecx, dword [ebp - 0x24]
mov eax, ecx
shr eax, 0x10
mov word [edi + 0x14], ax
mov eax, dword [ebp - 0x1c]
mov word [edi + 0x16], cx
mov ecx, edi
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x24], eax
lea eax, [edi + 0x230]
push eax
push 0x455cf0
call fcn.0040f990
lea eax, [edi + 0x640]
mov ecx, edi
push eax
push 0x455cfc
call fcn.0040f990
lea eax, [edi + 0x438]
mov ecx, edi
push eax
push 0x455d0c
call fcn.0040f990
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410d50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441d1c
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x46706c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
push 1
lea eax, [edi + 0x88]
mov dword [edi], vtable.BaseHcdn::Thread.0
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x410dc5
lea esi, [edi + 0x6c]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [edi + 0x84]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ecx
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.00414a70
mov dword [ebp - 4], 3
mov ecx, dword [edi + 0xc8]
mov byte [ebp - 4], 0xb
mov eax, dword [edi + 0xc8]
push ecx
lea ecx, [edi + 0xc8]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
call fcn.00412ba0
mov byte [ebp - 4], 0x13
mov eax, dword [edi + 0xc8]
push eax
mov byte [ebp - 4], 0x13
call fcn.004233d1
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0xb4]
mov dword [ebp - 4], 0x27
call fcn.004125d0
mov byte [ebp - 4], 0x28
mov eax, dword [edi + 0xb4]
push eax
mov byte [ebp - 4], 0x28
call fcn.004233d1
add esp, 4
mov byte [ebp - 4], 0x28
mov dword [edi + 0xb4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0xa0]
mov dword [ebp - 4], 0x35
call fcn.00412960
mov byte [ebp - 4], 0x36
mov eax, dword [edi + 0xa0]
push eax
mov byte [ebp - 4], 0x36
call fcn.004233d1
add esp, 4
mov byte [ebp - 4], 0x36
mov dword [edi + 0xa0], 0
mov dword [ebp - 4], 0x43
lea ecx, [edi + 0x8c]
mov byte [ebp - 4], 0x44
call fcn.00412960
mov byte [ebp - 4], 0x45
mov eax, dword [edi + 0x8c]
push eax
mov byte [ebp - 4], 0x45
call fcn.004233d1
add esp, 4
mov byte [ebp - 4], 0x45
mov ecx, edi
mov dword [edi + 0x8c], 0
mov dword [ebp - 4], 0xffffffff
call fcn.004108b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x413c90
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443408
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x46706c]
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 edi, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x413de4
push eax
lea ecx, [ebp - 0x40]
call fcn.00402560
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.004025c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
mov eax, dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
add eax, ecx
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
mov esi, eax
cmovae ecx, dword [ebp - 0x40]
xor ebx, ebx
sub esi, ecx
xor edx, edx
cmp ecx, eax
cmova esi, ebx
test esi, esi
je 0x413d1e
cmp byte [ecx], 0x2f
jne 0x413d18
mov byte [ecx], 0x5c
inc edx
inc ecx
cmp edx, esi
jne 0x413d10
push 1
push ecx
lea eax, [ebp - 0x5c]
mov byte [ebp - 0x5c], 0x5c
push eax
lea ecx, [ebp - 0x40]
call fcn.0040d2f0
test eax, eax
jns 0x413d91
push 0x454304
lea edx, [edi + 4]
lea ecx, [ebp - 0x58]
call fcn.00413e10
add esp, 4
mov esi, eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
cmp eax, esi
je 0x413d85
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x413d6a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402ba0
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004096a0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.004024e0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402aa0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x413dc3
cmp eax, 0xffffffff
je 0x413dc3
mov esi, 1
jmp 0x413dc5
xor esi, esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.004024e0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.004024e0
mov eax, esi
jmp 0x413de6
xor eax, eax
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.0042318e
mov esp, ebp
pop ebp
ret 4
Function at 0x414960
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44371c
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x46706c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea esi, [ebx + 0x54]
mov dword [ebp - 0x10], esi
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
call edi
mov dword [ebp - 4], 0
push esi
mov dword [ebp - 0x14], esi
call edi
mov byte [ebp - 4], 1
mov edi, dword [ebx + 0x4c]
push esi
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 0
test edi, edi
jne 0x414a3e
mov edx, dword [ebp + 8]
test edx, edx
je 0x4149f5
cmp byte [edx], 0
jne 0x4149da
xor ecx, ecx
push ecx
push edx
lea ecx, [ebx + 0x34]
call fcn.00402740
jmp 0x414a0a
mov ecx, edx
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4149e0
sub ecx, edi
push ecx
push edx
lea ecx, [ebx + 0x34]
call fcn.00402740
jmp 0x414a0a
cmp dword [ebx + 0x48], 0x10
lea eax, [ebx + 0x34]
mov dword [eax + 0x10], 0
jb 0x414a07
mov eax, dword [eax]
mov byte [eax], 0
lea edi, [ebx + 8]
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x4c], 1
cmp dword [edi], 0
jne 0x414a3e
lea eax, [edi + 4]
mov byte [edi + 0x28], 1
push eax
push 0
push edi
push 0x414c90
push 0
push 0
call fcn.0042cf86
add esp, 0x18
mov dword [edi], eax
push esi
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
mov eax, 1
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 0x4165a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4442fa
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x46706c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
xor dl, dl
mov dword [ebp - 4], 3
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
mov byte [ebp - 4], dl
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov byte [ebp - 4], 7
mov byte [ebp - 4], 8
mov byte [ebp - 4], 6
mov byte [ebp - 4], 5
mov byte [ebp - 4], dl
mov edi, dword [ebx]
mov al, 1
mov byte [ebp - 0x14], al
mov esi, dword [ebp + 0x10]
cmp byte [ecx + 0xd], 0
jne 0x41664d
mov edi, ecx
test dl, dl
je 0x416629
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 9
mov byte [ebp - 4], 0
mov eax, dword [ecx + 0x10]
cmp eax, dword [esi]
setae al
jmp 0x41663d
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0
mov eax, dword [esi]
cmp eax, dword [ecx + 0x10]
setb al
mov byte [ebp - 0x14], al
test al, al
je 0x416648
mov ecx, dword [ecx]
jmp 0x416607
mov ecx, dword [ecx + 8]
jmp 0x416607
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0
mov ecx, edi
mov dword [ebp + 0x10], ecx
test al, al
je 0x4166ed
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 0x19
mov byte [ebp - 4], 0x1a
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 0x13
mov eax, dword [ebx]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x18]
jne 0x4166e2
mov byte [ebp - 4], 0x1b
mov byte [ebp - 4], 0
push dword [ebp + 0x14]
push ecx
push edi
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
call fcn.00416930
mov byte [ebp - 4], 0x1d
mov byte [ebp - 4], 0x1c
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp + 0x10]
call fcn.004168d0
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 0x1f
mov byte [ebp - 4], 0x1e
mov byte [ebp - 4], 0
mov eax, dword [ecx + 0x10]
cmp eax, dword [esi]
jae 0x416725
mov byte [ebp - 4], 0x20
mov byte [ebp - 4], 0
push dword [ebp + 0x14]
push ecx
push edi
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
call fcn.00416930
mov byte [ebp - 4], 0x22
mov byte [ebp - 4], 0x21
jmp 0x4166bf
mov byte [ebp - 4], 0x23
mov byte [ebp - 4], 0x25
mov byte [ebp - 4], 0x26
mov byte [ebp - 4], 0x24
mov byte [ebp - 4], 0x28
mov byte [ebp - 4], 0x29
mov byte [ebp - 4], 0x27
mov byte [ebp - 4], 0
push dword [ebp + 0x14]
call fcn.004233d1
add esp, 4
mov byte [ebp - 4], 0x2b
mov byte [ebp - 4], 0x2a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
mov byte [eax + 4], 0
jmp 0x4166ca
Function at 0x417ac0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444cf8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x46706c]
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, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x417c82
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402560
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x417c73
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
lea esi, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
add eax, edi
cmp dword [ebp - 0x18], 0x10
mov edx, eax
cmovae esi, dword [ebp - 0x2c]
xor ecx, ecx
sub edx, esi
cmp esi, eax
cmova edx, ecx
test edx, edx
je 0x417b51
nop word [eax + eax]
cmp byte [esi], 0x2f
jne 0x417b48
mov byte [esi], 0x5c
inc ecx
inc esi
cmp ecx, edx
jne 0x417b40
mov edi, dword [ebp - 0x1c]
push 1
lea eax, [edi - 1]
push eax
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402420
push 0x454304
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.0040f600
test eax, eax
jne 0x417ba4
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
dec eax
push eax
push 0
lea eax, [ebp - 0x5c]
push eax
call fcn.00402420
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040d270
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.004024e0
lea ecx, [ebp - 0x44]
call fcn.004025c0
push 1
push ecx
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x14], 0x5c
call fcn.00402680
cmp eax, 0xffffffff
je 0x417bf0
push eax
push 0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402420
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.0040d270
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.004024e0
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmovae eax, dword [ebp - 0x2c]
push eax
call edi
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x44]
mov esi, eax
cmovae ecx, dword [ebp - 0x44]
push ecx
call edi
cmp esi, 0xffffffff
jne 0x417c30
cmp eax, esi
jne 0x417c30
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
mov ecx, ebx
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.00417ac0
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call edi
cmp eax, 0xffffffff
je 0x417c5b
test al, 0x10
je 0x417c5b
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.004024e0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0
call fcn.004024e0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.004024e0
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.0042318e
mov esp, ebp
pop ebp
ret 4