joyce8/EMBER2024-capa huggingface dataset:
Function at 0x487d8e
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.004fc6b5
call fcn.0041d02f
cmp dword [eax + 0x14], 0
jne 0x487da9
mov ecx, esi
pop esi
jmp fcn.00487194
pop esi
ret

Function at 0x487eaf
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0041c724
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x487eeb
call fcn.004880ce
mov dword [esi + 0xc], 1
jmp 0x487ef0
call fcn.004880ce
cmp dword [esi], 0
je 0x487f39
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x487f13
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00418167
jmp 0x487f24
push 0xff
mov ecx, esi
call fcn.0040a241
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040b02c
jmp 0x487f5d
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x487f5d
push dword [esi]
push dword [ebp - 4]
call fcn.0041d1de
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x488023
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004880ce
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x48806b
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00418167
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040b02c
jmp 0x488076
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041d1de
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4fa38f
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.0045fc11
call fcn.0041d02f
cmp dword [eax + 0x14], 0
jne 0x4fa3aa
mov ecx, esi
pop esi
jmp fcn.004f9c77
pop esi
ret
Function at 0x5378ec
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x59d058]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0052c775
mov dword [ebp - 0x14], eax
cmp dword [0x5a86b4], esi
jne 0x5379df
push 0x800
push esi
push 0x57a5e0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x53796c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x537abf
push esi
push esi
push 0x57a5e0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x537abf
push 0x57a5f8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x537abf
push eax
call ebx
push 0x57a604
push edi
mov dword [0x5a86b4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x57a614
push edi
mov dword [0x5a86b8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x5a86bc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5a86c4], eax
test eax, eax
je 0x5379dc
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5a86c0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x537a04
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5379f7
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x537a19
push 4
pop eax
jmp 0x537ac1
cmp dword [ebp - 0x14], esi
je 0x537a19
push dword [0x5a86b4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x5379fe
mov eax, dword [0x5a86c0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x537a77
cmp dword [0x5a86c4], edi
je 0x537a77
push eax
call ebx
push dword [0x5a86c4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x537a77
test eax, eax
je 0x537a77
call ecx
test eax, eax
je 0x537a6c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x537a6c
test byte [ebp - 8], 1
jne 0x537a77
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x537aa7
mov eax, dword [0x5a86b8]
cmp eax, edi
je 0x537aa4
push eax
call ebx
test eax, eax
je 0x537aa4
call eax
mov esi, eax
test esi, esi
je 0x537aa4
mov eax, dword [0x5a86bc]
cmp eax, edi
je 0x537aa4
push eax
call ebx
test eax, eax
je 0x537aa4
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5a86b4]
call ebx
test eax, eax
je 0x537abf
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x537ac1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00527a7b
mov esp, ebp
pop ebp
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x40de38
nop
mov ecx, 0x1cef1d19
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data_1
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x1d21367b
nop
nop
nop
nop
test eax, eax
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0xa6671b
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
mov ecx, 0x1af92671
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, reloc.user32.dll_SetWindowLongA
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, reloc.kernel32.dll_GetVersionExW
nop
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x46e1ce
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x530e50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0046755f
mov dword [ebp - 0x14], eax
cmp dword [0x532d78], edi
jne 0x46e2bf
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x46e24c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x46e39f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x46e39f
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46e39f
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x532d78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x532d7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x532d80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x532d88], eax
test eax, eax
je 0x46e2bc
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x532d84], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x46e2e4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46e2d7
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x46e2f9
push 4
pop eax
jmp 0x46e3a1
cmp dword [ebp - 0x14], edi
je 0x46e2f9
push dword [0x532d78]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x46e2de
mov eax, dword [0x532d84]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x46e357
cmp dword [0x532d88], esi
je 0x46e357
push eax
call ebx
push dword [0x532d88]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x46e357
test eax, eax
je 0x46e357
call ecx
test eax, eax
je 0x46e34c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x46e34c
test byte [ebp - 8], 1
jne 0x46e357
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x46e387
mov eax, dword [0x532d7c]
cmp eax, esi
je 0x46e384
push eax
call ebx
test eax, eax
je 0x46e384
call eax
mov edi, eax
test edi, edi
je 0x46e384
mov eax, dword [0x532d80]
cmp eax, esi
je 0x46e384
push eax
call ebx
test eax, eax
je 0x46e384
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x532d78]
call ebx
test eax, eax
je 0x46e39f
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x46e3a1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00463541
leave
ret
Function at 0x401f30
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
jmp 0x401f3b
push eax
mov eax, esp
push eax
mov ebx, esp
push eax
mov esi, esp
push eax
mov dword [ebp - 0x10], esp
push eax
mov edi, esp
mov dword [eax], edx
mov dword [ebp - 0x14], ebx
mov dword [ebx], ecx
mov dword [esi], 0x1505
mov dword [edi], 0
mov dword [edi], 0
jmp 0x401f66
jmp 0x401f68
mov ecx, dword [edi]
cmp ecx, dword [eax]
setb cl
test cl, 1
jne 0x401f76
jmp 0x401fbf
jmp 0x401f78
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov edx, dword [edi]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x10]
mov byte [edx], cl
movzx ecx, byte [edx]
cmp ecx, 0
sete cl
test cl, 1
jne 0x401f97
jmp 0x401f99
jmp 0x401fc1
mov ecx, dword [esi]
shl ecx, 5
add ecx, dword [esi]
mov edx, dword [ebp - 0x10]
movzx edx, byte [edx]
add ecx, edx
mov dword [esi], ecx
mov ecx, dword [edi]
sub ecx, 0x8354f5c9
add ecx, 1
add ecx, 0x8354f5c9
mov dword [edi], ecx
jmp 0x401f66
jmp 0x401fc1
mov eax, dword [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4061e0
Capabilities:
Link many functions at runtime

Disassembly:
mov dword [0x47655c], 0x4686e4
mov dword [0x476560], 0x4686fa
mov dword [0x476564], 0x468710
mov dword [0x476568], 0x468724
mov dword [0x47656c], 0x46873c
jmp fcn.004050e0
Function at 0x406220
Capabilities:
Get file size
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
mov eax, 0x1050
call fcn.0044d720
lea eax, [0x472170]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], 0x1c
mov dword [esp + 8], eax
call fcn.00407a60
mov eax, dword [esp + 0x1c]
add eax, 0x1c
lea ecx, [esp + 0x3c]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], 0x14
call fcn.0044e6ae
cmp eax, 0
je 0x40628b
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [esp + 0x1c]
cmp dword [eax], 1
jne 0x4062a9
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], 1
jmp 0x406465
lea eax, [esp + 0x50]
xor ecx, ecx
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], 0x800
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
sub esp, 0xc
lea eax, [esp + 0x50]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0x80000000
mov dword [esp + 8], 3
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 0x80
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
sub esp, 0x1c
mov dword [esp + 0x20], eax
mov eax, 0xffffffff
cmp dword [esp + 0x20], eax
sete al
test al, 1
jne 0x406323
jmp 0x406338
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], 1
jmp 0x406461
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
call eax
sub esp, 8
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 4]
add ecx, 0x30
cmp eax, ecx
setb al
test al, 1
jne 0x40636a
jmp 0x40638f
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], 1
jmp 0x406461
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.004557d4
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
lea esi, [esp + 0x38]
xor edi, edi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
sub esp, 0x14
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [esp + 0x1c]
add eax, 8
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
add ecx, dword [edx + 4]
add ecx, 8
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], 0x14
call fcn.0044e6ae
cmp eax, 0
setne al
test al, 1
jne 0x406441
jmp 0x40641e
call fcn.00406470
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00455735
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 1
jmp 0x406461
jmp 0x406443
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00455735
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], 1
jmp 0x406461
jmp 0x406463
jmp 0x406465
mov eax, dword [esp + 0x24]
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
Function at 0x42fcc0
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
sub esp, 0x2c
mov eax, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0042f8e0
mov eax, dword [esp + 0x3c]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0x40000000
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 0x80
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
sub esp, 0x1c
mov dword [esp + 0x20], eax
mov eax, 0xffffffff
cmp dword [esp + 0x20], eax
je 0x42fdab
jmp 0x42fd4c
cmp dword [esp + 0x1c], 0
setne al
test al, 1
jne 0x42fd5a
jmp 0x42fdab
cmp dword [esp + 0x24], 0
jle 0x42fdab
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea esi, [esp + 0x28]
xor edi, edi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub esp, 0x14
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
cmp dword [esp + 0x1c], 0
je 0x42fdbe
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.00455735
add esp, 0x2c
pop esi
pop edi
ret
Function at 0x430a90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
push str.be85de5ipdocierre1
call fcn.00430460
add esp, 4
mov esi, eax
mov eax, dword [ebx]
mov word [ebp + eax], 0x2d2d
mov eax, dword [ebx]
mov ecx, eax
and ecx, 0x128b63af
xor eax, 0x928b63af
lea edx, [eax + ecx*2]
lea eax, [eax + ecx*2]
add eax, 0x6d749c53
mov dword [ebx], eax
lea edi, [edx + ebp]
add edi, 0x6d749c53
push esi
call fcn.00455ce0
add esp, 4
push eax
push esi
push edi
call fcn.0044fd30
add esp, 0xc
push esi
call fcn.00455ce0
add esp, 4
add eax, dword [ebx]
mov dword [ebx], eax
add eax, ebp
push 0x28
push str._r_nContent_Disposition:_form_data__name_
push eax
call fcn.0044fd30
add esp, 0xc
mov eax, dword [ebx]
lea ecx, [eax + 0x28]
mov dword [ebx], ecx
lea esi, [ebp + eax + 0x28]
mov edi, dword [esp + 0x18]
push edi
call fcn.00455ce0
add esp, 4
push eax
push edi
push esi
call fcn.0044fd30
add esp, 0xc
push edi
call fcn.00455ce0
add esp, 4
mov ecx, dword [ebx]
mov edx, ecx
and edx, eax
xor ecx, eax
lea eax, [ecx + edx*2]
mov dword [ebx], eax
mov byte [ebp + eax + 4], 0xa
mov dword [ebp + eax], 0xd0a0d22
mov eax, dword [ebx]
mov ecx, eax
or ecx, 4
and eax, 4
lea edx, [ecx + eax]
add eax, ecx
inc eax
mov dword [ebx], eax
lea esi, [ebp + edx + 1]
mov edi, dword [esp + 0x1c]
push edi
call fcn.00455ce0
add esp, 4
push eax
push edi
push esi
call fcn.0044fd30
add esp, 0xc
push edi
call fcn.00455ce0
add esp, 4
add eax, dword [ebx]
mov dword [ebx], eax
mov word [ebp + eax], 0xa0d
add dword [ebx], 2
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4311f0
Capabilities:
Authenticate hmac
Encode data using base64
Parse pe header

Disassembly:
push esi
mov esi, ecx
test edx, edx
je 0x4311fe
call fcn.00431210
jmp 0x431203
call fcn.004314b0
mov ecx, esi
pop esi
jmp fcn.00432b10
Function at 0x445f00
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [ebp + 8]
jmp 0x445f0e
push eax
mov ecx, esp
sub esp, 0x820
mov edi, esp
sub esp, 8
mov esi, esp
push eax
mov dword [ebp - 0x10], esp
sub esp, 0x10
mov dword [ebp - 0x14], esp
push eax
mov ebx, esp
mov dword [ebp - 0x18], ecx
mov dword [ecx], eax
xor eax, eax
sub esp, 0xc
mov dword [esp], edi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x820
call fcn.00450830
add esp, 0xc
cmp edi, 0
setne al
test al, 1
jne 0x445f5f
jmp 0x4460b0
sub esp, 8
mov dword [esp], edi
mov dword [esp + 4], 0x104
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp eax, 0
setne al
or al, al
xor al, 0xff
or al, 0
xor al, 0xff
and al, 1
or al, 0
or al, 0
xor al, 0xff
and al, 1
movzx eax, al
cmp eax, 0
jle 0x445f9c
mov word [esi], 0x43
mov edi, ebx
jmp 0x445fa3
mov eax, dword [edi]
mov word [esi], ax
mov edi, ebx
mov word [esi + 2], 0x3a
mov word [esi + 4], 0x5c
mov word [esi + 6], 0
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0
xor eax, eax
sub esp, 0x20
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp eax, 0
je 0x4460b0
sub esp, 4
mov dword [esp], ebx
call fcn.00445ea0
add esp, 4
mov esi, dword [ebp - 0x14]
mov dword [esi], eax
sub esp, 4
mov dword [esp], ebx
call fcn.00445ea0
add esp, 4
mov word [esi + 4], ax
sub esp, 4
mov dword [esp], ebx
call fcn.00445ea0
add esp, 4
mov word [esi + 6], ax
mov dword [edi], 1
cmp dword [edi], 9
jl 0x44604d
jmp 0x446071
jmp 0x44604f
sub esp, 4
mov dword [esp], ebx
call fcn.00445ea0
add esp, 4
mov ecx, dword [edi]
sub ecx, 1
mov byte [esi + ecx + 8], al
jmp 0x446068
mov eax, dword [edi]
add eax, 1
mov dword [edi], eax
jmp 0x446046
jmp 0x446073
mov eax, dword [esi + 8]
movzx ecx, word [esi + 4]
movzx edx, word [esi + 6]
mov esi, dword [esi]
mov edi, dword [ebp - 0x18]
mov edi, dword [edi]
lea ebx, str.l2_08x_08x_04x_xu
sub esp, 0x18
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
jmp 0x4460b0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4460c0
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov ebx, dword [esp + 0x18]
push ebx
call fcn.00455ce0
add esp, 4
mov edi, eax
mov eax, esp
push 0
push 0
push eax
push 0
push 1
push edi
push ebx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
xor esi, esi
test eax, eax
je 0x446140
mov ebp, dword [esp]
mov eax, ebp
not eax
or eax, 1
add eax, ebp
mov ecx, ebp
or ecx, 1
add eax, ecx
inc eax
push eax
call fcn.004557d4
add esp, 4
mov ecx, ebx
mov ebx, eax
mov byte [eax + ebp], 0
push 0
push 0
lea eax, [esp + 8]
push eax
push ebx
push 1
push edi
push ecx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x446137
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp]
mov dword [eax], ecx
mov esi, ebx
jmp 0x446140
push ebx
call fcn.00455735
add esp, 4
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret