joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453533
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x57651c]
push esi
mov esi, ecx
test eax, eax
jne 0x45359a
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp esi, eax
jne 0x45354d
xor eax, eax
pop esi
ret
push edi
push 8
call fcn.004f8c17
pop ecx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x453587
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 8
push edi
call fcn.004f8ec4
and dword [0x576528], 0
mov eax, esi
pop ecx
pop ecx
mov dword [0x57651c], esi
jmp 0x453599
mov eax, dword [0x576530]
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], esi
mov dword [0x576530], edi
pop edi
pop esi
ret
Function at 0x4683d0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x57254c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 4]
test eax, eax
je 0x46841d
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x468412
cmp dword [ebp - 8], 0x103
jne 0x46841d
push 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
lea eax, [esi + 8]
push eax
push 4
push esi
push 0x468e20
push 0
push 0
call fcn.00509dff
xor ebx, ebx
mov dword [esi + 4], eax
add esp, 0x18
test eax, eax
setne bl
test eax, eax
je 0x46844b
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test ebx, ebx
pop ebx
jne 0x468461
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f8955
mov esp, ebp
pop ebp
ret
push 0x3e8
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
neg eax
pop esi
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.004f8955
mov esp, ebp
pop ebp
ret
Function at 0x4694f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0x57254c]
xor eax, esp
mov dword [esp + 0x240], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov esi, reloc.WS2_32.dll_bind
push edi
cmp ecx, 1
jne 0x46952b
mov esi, accept
jmp 0x46953f
cmp ecx, 2
jne 0x469537
mov esi, reloc.WS2_32.dll_accept
jmp 0x46953f
cmp ecx, 3
mov eax, esi
cmove esi, eax
cmp dword [ebp + 0xc], 0x40
mov ecx, 0x20019
mov eax, 0x20119
mov dword [esp + 0x18], ebx
cmovne eax, ecx
mov dword [esp + 0xc], eax
call fcn.00410cb0
mov edi, eax
mov eax, dword [edi + 4]
test eax, eax
je 0x469594
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0x4f676552
push ecx
push eax
mov dword [esp + 0x30], 0x4b6e6570
mov dword [esp + 0x34], 0x78457965
mov word [esp + 0x38], 0x41
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x2c], eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x10]
mov eax, dword [edi + 0x2c]
push 0
push dword [esp + 0x1c]
push esi
call eax
test eax, eax
je 0x4695c4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.004f8955
mov esp, ebp
pop ebp
ret
push 0x209
lea eax, [esp + 0x3c]
mov dword [esp + 0x20], 0x208
push 0
push eax
call fcn.004fb730
mov edi, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x20], 1
call fcn.00410cb0
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x469619
movaps xmm0, xmmword [0x55b280]
lea ecx, [esp + 0x24]
push ecx
push eax
movups xmmword [esp + 0x2c], xmm0
mov byte [esp + 0x3c], bl
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x30], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [esi + 0x30]
push 0
push dword [esp + 0x24]
push edi
call eax
test eax, eax
jne 0x4696ad
lea ebx, [eax + 1]
cmp dword [ebp + 0x10], eax
je 0x4696ad
lea ecx, [esp + 0x38]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x469647
sub ecx, edx
xor eax, eax
xor edx, edx
test ecx, ecx
jle 0x469673
nop dword [eax + eax]
mov bl, byte [esp + eax + 0x38]
cmp bl, 0x22
je 0x46966e
mov byte [esp + edx + 0x38], bl
inc edx
inc eax
cmp eax, ecx
jl 0x469660
mov byte [esp + edx + 0x38], 0
call fcn.00405960
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x4696a1
movaps xmm0, xmmword [str.PathFileExistsA]
lea ecx, [esp + 0x24]
push ecx
push eax
movups xmmword [esp + 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x18], eax
lea eax, [esp + 0x38]
push eax
mov eax, dword [esi + 0x18]
call eax
mov ebx, eax
mov edi, dword [esp + 0x18]
test edi, edi
je 0x4696f0
call fcn.00410cb0
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x4696ea
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0x43676552
push ecx
push eax
mov dword [esp + 0x30], 0x65736f6c
mov dword [esp + 0x34], 0x79654b
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x34]
push edi
call eax
mov ecx, dword [esp + 0x24c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004f8955
mov esp, ebp
pop ebp
ret
Function at 0x469980
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
mov eax, dword [0x57254c]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
test edi, edi
je 0x469aaa
push 0x228
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0x22c
push 0
push eax
call fcn.004fb730
add esp, 0xc
call fcn.0040e6f0
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x469a1b
movaps xmm0, xmmword [0x55b260]
lea ecx, [esp + 0x240]
push ecx
push eax
movups xmmword [esp + 0x248], xmm0
mov dword [esp + 0x258], 0x70616e53
mov dword [esp + 0x25c], 0x746f6873
mov byte [esp + 0x260], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x134], eax
mov eax, dword [esi + 0x134]
push 0
push 2
call eax
mov esi, eax
cmp esi, 0xffffffff
je 0x469aaa
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x469a8a
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [esp + 0x34]
push edi
push eax
call fcn.005098db
add esp, 8
test eax, eax
je 0x469a82
lea eax, [esp + 0x10]
push eax
push esi
call ebx
test eax, eax
jne 0x469a44
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.004f8955
mov esp, ebp
pop ebp
ret
mov dword [esp + 0xc], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.004f8955
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x25c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004f8955
mov esp, ebp
pop ebp
ret
Function at 0x469ad0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52e82b
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x57254c]
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
call fcn.0040e6f0
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x469b3c
movaps xmm0, xmmword [0x55b260]
lea ecx, [ebp - 0x2c]
push ecx
push eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x70616e53
mov dword [ebp - 0x18], 0x746f6873
mov byte [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x134], eax
mov eax, dword [esi + 0x134]
push 0
push 2
call eax
mov dword [ebp - 0x27c], eax
cmp eax, 0xffffffff
jne 0x469b5a
xor eax, eax
jmp 0x469c78
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x278], 0x22c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x469b53
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x254]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
lea ecx, [ebx + 1]
push ecx
call fcn.004f8efa
mov esi, eax
add esp, 4
test esi, esi
je 0x469bea
push ebx
push 0
push esi
call fcn.004fb730
add esp, 0xc
lea eax, [ebp - 0x254]
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x469bea
push esi
call fcn.004f8ef5
add esp, 4
lea ecx, [ebp - 0x294]
call fcn.004064b0
jmp 0x469c13
push esi
lea ecx, [ebp - 0x44]
call fcn.00406470
push esi
call fcn.004f8ef5
add esp, 4
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x294]
push eax
call fcn.00406430
lea ecx, [ebp - 0x44]
call fcn.004063b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x294]
mov eax, dword [edi + 4]
push ecx
cmp dword [edi + 8], eax
je 0x469c36
mov ecx, eax
call fcn.00406430
add dword [edi + 4], 0x18
jmp 0x469c3e
push eax
mov ecx, edi
call fcn.0040f9d0
lea ecx, [ebp - 0x294]
mov dword [ebp - 4], 0xffffffff
call fcn.004063b0
mov ebx, dword [ebp - 0x27c]
lea eax, [ebp - 0x278]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x469b76
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
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.004f8955
mov esp, ebp
pop ebp
ret
Function at 0x469ca0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x57254c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x124
lea eax, [ebp - 0x144]
mov dword [ebp - 0x148], pe_nt_image_headers32
push 0
push eax
mov ebx, ecx
call fcn.004fb730
add esp, 0xc
call fcn.0040e6f0
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x469d14
movaps xmm0, xmmword [0x55b260]
lea ecx, [ebp - 0x20]
push ecx
push eax
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x70616e53
mov dword [ebp - 0xc], 0x746f6873
mov byte [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x134], eax
mov eax, dword [esi + 0x134]
push 0
push 2
call eax
mov esi, eax
cmp esi, 0xffffffff
je 0x469d69
lea eax, [ebp - 0x148]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x469d62
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
nop
lea eax, [ebp - 0x124]
push ebx
push eax
call fcn.00509a8b
add esp, 8
test eax, eax
je 0x469d7c
lea eax, [ebp - 0x148]
push eax
push esi
call edi
test eax, eax
jne 0x469d40
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f8955
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f8955
mov esp, ebp
pop ebp
ret

Function at 0x46a0b0
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x57254c]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push str.GetNativeSystemInfo
push str.kernel32.dll
movaps xmmword [ebp - 0x40], xmm0
movaps xmmword [ebp - 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46a108
lea ecx, [ebp - 0x40]
push ecx
call eax
jmp 0x46a112
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [ebp - 0x40]
cmp ax, 6
je 0x46a13b
cmp ax, 0xa
je 0x46a13b
cmp ax, 9
je 0x46a13b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f8955
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.004f8955
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x46b660
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52e999
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x57254c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], edx
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0
call fcn.004064b0
mov dword [ebp - 4], 0
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x20], 1
test ebx, ebx
je 0x46b801
mov ecx, dword [ebp - 0x1c]
nop word [eax + eax]
mov al, byte [ecx]
dec ebx
mov byte [ebp + esi - 0x14], al
inc ecx
mov ah, byte [ebp - 0x12]
inc esi
mov dl, byte [ebp - 0x13]
mov dh, byte [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0xe], ah
mov byte [ebp + 0xb], dl
mov byte [ebp - 0xd], dh
cmp esi, 3
jne 0x46b74c
mov al, dh
mov cl, dh
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ah
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
xor esi, esi
nop dword [eax + eax]
movzx eax, byte [ebp + esi - 0x18]
mov ecx, 0x5764fc
push eax
call fcn.0045e790
mov ecx, edi
movzx eax, byte [eax]
push eax
call fcn.0045e7c0
inc esi
cmp esi, 4
jl 0x46b720
mov ecx, dword [ebp - 0x1c]
xor esi, esi
mov dl, byte [ebp + 0xb]
mov dh, byte [ebp - 0xd]
test ebx, ebx
jne 0x46b6c0
mov dword [ebp + 8], esi
test esi, esi
je 0x46b801
mov eax, esi
cmp esi, 3
jge 0x46b785
cmp eax, 3
jae 0x46b815
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x46b769
mov cl, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov dh, byte [ebp - 0x14]
jmp 0x46b788
mov cl, byte [ebp - 0xe]
mov al, dh
xor ebx, ebx
shr al, 2
and dh, 3
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl dh, 4
add dh, al
shl dl, 2
mov al, cl
mov byte [ebp - 0x17], dh
shr al, 6
and cl, 0x3f
add dl, al
mov byte [ebp - 0x15], cl
lea eax, [esi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x1c], eax
test eax, eax
jle 0x46b7e7
mov esi, eax
movzx eax, byte [ebp + ebx - 0x18]
mov ecx, 0x5764fc
push eax
call fcn.0045e790
mov ecx, edi
movzx eax, byte [eax]
push eax
call fcn.0045e7c0
inc ebx
cmp ebx, esi
jl 0x46b7c4
mov esi, dword [ebp + 8]
cmp esi, 3
jge 0x46b801
mov ebx, 3
sub ebx, esi
push 0x3d
mov ecx, edi
call fcn.0045e7c0
sub ebx, 1
jne 0x46b7f3
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004f9082
int3
Function at 0x46ba80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ea21
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x57254c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], 0
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
jb 0x46bacc
mov edx, dword [edx]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0046b660
add esp, 4
mov dword [ebp - 4], 1
xor ebx, ebx
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46bb12
cmp eax, ebx
jbe 0x46bb95
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
cmovae edx, dword [ebp - 0x2c]
mov al, byte [ecx + ebx]
xor al, 0x6b
mov byte [edx + ebx], al
inc ebx
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
ja 0x46baf0
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
push eax
cmovae edx, dword [ebp - 0x2c]
mov ecx, edi
call fcn.0046b660
add esp, 4
xor esi, esi
mov dword [ebp - 0x30], 1
cmp dword [edi + 0x10], esi
jbe 0x46bb6b
push esi
mov ecx, edi
call fcn.0045e790
push esi
mov ecx, edi
cmp byte [eax], 0x2b
jne 0x46bb50
call fcn.0045e790
mov byte [eax], 0x5f
jmp 0x46bb65
call fcn.0045e790
cmp byte [eax], 0x2f
jne 0x46bb65
push esi
mov ecx, edi
call fcn.0045e790
mov byte [eax], 0x2d
inc esi
cmp esi, dword [edi + 0x10]
jb 0x46bb36
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004063b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004f8955
mov esp, ebp
pop ebp
ret
call fcn.004089b0
int3

Function at 0x46bba0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ea21
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x57254c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], 0
call fcn.0046b820
mov dword [ebp - 4], 1
xor edi, edi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46bc1f
cmp eax, edi
jbe 0x46bc5a
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
cmovae edx, dword [ebp - 0x2c]
mov al, byte [ecx + edi]
xor al, 0x6b
mov byte [edx + edi], al
inc edi
mov eax, dword [ebp - 0x1c]
cmp eax, edi
ja 0x46bbfd
lea edx, [ebp - 0x2c]
mov ecx, ebx
call fcn.0046b820
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 0
call fcn.004063b0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004f8955
mov esp, ebp
pop ebp
ret
call fcn.004089b0
int3
Function at 0x46bc60
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
test ebx, ebx
je 0x46bd6d
cmp word [ebx], 0
je 0x46bd6d
cmp word [ebx + 2], 0x3a
jne 0x46bd6d
cmp word [ebx + 4], 0x5c
jne 0x46bd6d
push esi
mov esi, ebx
push edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x46bc96
sub esi, ecx
mov edx, 2
sar esi, 1
xor ecx, ecx
lea eax, [esi + 4]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004f8efa
add esp, 4
lea ecx, [esi + 1]
mov edi, eax
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynW]
push edi
call ebx
cmp word [edi + esi*2 - 2], 0x5c
lea eax, [edi + esi*2]
je 0x46bce6
push 2
push 0x555afc
push eax
call ebx
lea eax, [edi + 6]
mov dword [ebp - 4], 1
push 0x5c
push eax
call fcn.004fab13
mov esi, eax
add esp, 8
test esi, esi
je 0x46bd5a
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
push edi
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x46bd1c
test al, 0x10
jne 0x46bd25
push 0
push edi
call ebx
test eax, eax
je 0x46bd53
mov eax, 0x5c
push eax
mov word [esi], ax
lea eax, [esi + 2]
push eax
call fcn.004fab13
mov esi, eax
add esp, 8
test esi, esi
jne 0x46bd07
push edi
call fcn.004f8ef5
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
push edi
call fcn.004f8ef5
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46bd80
Capabilities:
Check if file exists
Get file attributes
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10f4
call fcn.004f9530
mov eax, dword [0x57254c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x46bda7
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x46bf02
test al, 0x10
jne 0x46bf02
cmp dword [esi + 0x14], 0x10
jb 0x46bdc7
mov esi, dword [esi]
push 0
push 0
push 3
push 0
push 1
push accept
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x46beea
push edi
push 0x1000
lea eax, [ebp - 0x1054]
mov dword [ebp - 0x10f4], 0x67452301
push 0
push eax
mov dword [ebp - 0x10f0], 0xefcdab89
mov dword [ebp - 0x10ec], 0x98badcfe
mov dword [ebp - 0x10e8], 0x10325476
mov dword [ebp - 0x10e4], 0
mov dword [ebp - 0x10e0], 0
mov dword [ebp - 0x10dc], 0
call fcn.004fb730
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 0xc
nop dword [eax + eax]
push 0
lea eax, [ebp - 0x1058]
push eax
push 0x1000
lea eax, [ebp - 0x1054]
push eax
push esi
call edi
test eax, eax
je 0x46be94
mov eax, dword [ebp - 0x1058]
test eax, eax
je 0x46be94
push eax
lea edx, [ebp - 0x1054]
lea ecx, [ebp - 0x10f4]
call fcn.00470c60
add esp, 4
cmp dword [ebp - 0x1058], 0
ja 0x46be50
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x10f4]
movups xmmword [ebp - 0x14], xmm0
call fcn.00470d40
push 0x40
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.004fb730
add esp, 8
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x14]
call fcn.00470df0
add esp, 4
lea ecx, [ebp - 0x54]
lea edx, [ecx + 1]
pop edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46bed5
sub ecx, edx
lea eax, [ebp - 0x54]
push ecx
push eax
mov ecx, ebx
call fcn.00407ce0
xor eax, eax
cmp dword [ebx + 0x10], eax
pop esi
setne al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f8955
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.004f8955
mov esp, ebp
pop ebp
ret
Function at 0x4710c0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52eca3
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x57254c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x148]
mov esi, dword [ebp + 0x14]
or edi, 0xffffffff
mov dword [ebp - 0x14c], ebx
call fcn.004064b0
push 0x104
push 0
push 0x105
mov dword [ebp - 4], 0
push ebx
mov dword [esi], 0
call fcn.00511b14
push 0x105
lea eax, [ebp - 0x130]
push 0
push eax
call fcn.004fb730
add esp, 0x1c
call fcn.00405a90
mov ebx, eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x471168
movaps xmm0, xmmword [0x55b270]
lea ecx, [ebp - 0x24]
push ecx
push eax
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x130]
push eax
push 0
push 0
push 0x801a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x47118f
mov dword [esi], 3
jmp 0x471294
lea ecx, [ebp - 0x130]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x471198
sub ecx, edx
lea eax, [ebp - 0x130]
push ecx
push eax
lea ecx, [ebp - 0x148]
call fcn.00407ce0
push str.GlobalMgr.db
lea edx, [ebp - 0x148]
lea ecx, [ebp - 0x28]
call fcn.00473210
add esp, 4
push eax
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 1
call fcn.00419230
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.004063b0
cmp dword [ebp - 0x134], 0x10
lea eax, [ebp - 0x148]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
cmovae eax, dword [ebp - 0x148]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push eax
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x471224
mov dword [esi], 0x50
jmp 0x47125f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x47128e
cmp dword [ebp - 0x134], 0x10
lea eax, [ebp - 0x148]
push 0
cmovae eax, dword [ebp - 0x148]
push 0x80
push 2
push 0
push 3
push 0xc0000000
push eax
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x47128e
cmp dword [ebp - 0x134], 0x10
lea eax, [ebp - 0x148]
push 0x104
cmovae eax, dword [ebp - 0x148]
push eax
push 0x105
push dword [ebp - 0x14c]
call fcn.00503e2e
add esp, 0x10
jmp 0x471294
mov dword [esi], 0x65f
lea ecx, [ebp - 0x148]
mov dword [ebp - 4], 0xffffffff
call fcn.004063b0
mov eax, edi
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.004f8955
mov esp, ebp
pop ebp
ret 0x10