joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001af0
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0xc]
push esi
xor edx, edx
push edi
mov edi, dword [ebp + 8]
test ecx, ecx
jle 0x10001b17
mov al, byte [edx + edi]
xor al, 0x91
sub al, 0x67
mov byte [edx + edi], al
inc edx
cmp edx, ecx
jl 0x10001b08
mov ebx, dword [ebp + 0x10]
mov edx, dword [sym.imp.WS2_32.dll_send]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp + 8], ecx
cmp ecx, ebx
jb 0x10001b7a
lea esp, [esp]
xor esi, esi
mov eax, dword [ebp - 8]
push 0
push ebx
push edi
push dword [eax + 0xa8]
call edx
test eax, eax
jg 0x10001b51
mov edx, dword [sym.imp.WS2_32.dll_send]
inc esi
cmp esi, 0xf
jl 0x10001b32
cmp esi, 0xf
je 0x10001bbe
mov esi, dword [ebp - 4]
add esi, eax
push 0xa
mov dword [ebp - 4], esi
add edi, ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 8]
mov edx, dword [sym.imp.WS2_32.dll_send]
sub ecx, ebx
mov dword [ebp + 8], ecx
cmp ecx, ebx
jae 0x10001b30
test ecx, ecx
jle 0x10001bac
xor esi, esi
mov eax, dword [ebp - 8]
push 0
push ecx
push edi
push dword [eax + 0xa8]
call edx
test eax, eax
jg 0x10001ba2
mov ecx, dword [ebp + 8]
mov edx, dword [sym.imp.WS2_32.dll_send]
inc esi
cmp esi, 0xf
jl 0x10001b80
cmp esi, 0xf
je 0x10001bbe
mov esi, dword [ebp - 4]
add esi, eax
or eax, 0xffffffff
cmp esi, dword [ebp + 0xc]
pop edi
cmove eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10001ea0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push esi
push 0
push 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
push 0
push 0
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push dword [ebp + 0x1c]
mov dword [ebp - 4], eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x10]
push eax
push 0x10002130
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100042a5
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10002220
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10010308
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100150f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
call fcn.10001d70
push 1
lea eax, [ebp + 0xb]
push eax
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [esi], vtable.CChatManager.0
mov dword [esi + 0xc], 0
mov byte [ebp + 0xb], 0xd2
call fcn.10001e00
mov ecx, esi
call fcn.10001e80
push 0
push 0
push esi
push 0x100025b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1000229c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10002850
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.10003f80
mov eax, dword [0x100150f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov cl, byte [esi]
cmp cl, 0x64
jne 0x10002896
cmp eax, 1
jne 0x10002896
mov ecx, edi
call fcn.10001de0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10003b30
mov esp, ebp
pop ebp
ret 8
test cl, cl
jne 0x100028c3
cmp eax, 1
jne 0x100028c3
push 0
push 0
push 0x401
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10003b30
mov esp, ebp
pop ebp
ret 8
push ebx
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x1fff
lea eax, [ebp - 0x2003]
push 0
push eax
mov byte [ebp - 0x2004], 0
call fcn.10003fb0
movzx eax, word [ebp - 0x2008]
push esi
push eax
movzx eax, word [ebp - 0x200a]
push eax
movzx eax, word [ebp - 0x200c]
push eax
movzx eax, word [ebp - 0x200e]
push eax
movzx eax, word [ebp - 0x2012]
push eax
movzx eax, word [ebp - 0x2014]
push eax
push 0x10011350
lea eax, [ebp - 0x2004]
push str._s__d__d__d__d:_02d:_02d_r_n___s_r_n_r_n
push eax
call fcn.10004675
add esp, 0x34
push 0x3e8
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
push ebx
call esi
cmp eax, 0x4e20
jl 0x10002964
push 0x100112f1
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push ebx
call esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push eax
push 0xb1
push ebx
call esi
lea eax, [ebp - 0x2004]
push eax
push 0
push 0xc2
push ebx
call esi
push 9
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.10003b30
mov esp, ebp
pop ebp
ret 8
Function at 0x1000f429
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100150f0]
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.10007969
mov dword [ebp - 0x14], eax
cmp dword [0x10016fb0], edi
jne 0x1000f51a
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x1000f4a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1000f5fa
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1000f5fa
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000f5fa
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x10016fb0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x10016fb4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x10016fb8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10016fc0], eax
test eax, eax
je 0x1000f517
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10016fbc], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1000f53f
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1000f532
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x1000f554
push 4
pop eax
jmp 0x1000f5fc
cmp dword [ebp - 0x14], edi
je 0x1000f554
push dword [0x10016fb0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1000f539
mov eax, dword [0x10016fbc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x1000f5b2
cmp dword [0x10016fc0], esi
je 0x1000f5b2
push eax
call ebx
push dword [0x10016fc0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1000f5b2
test eax, eax
je 0x1000f5b2
call ecx
test eax, eax
je 0x1000f5a7
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 0x1000f5a7
test byte [ebp - 8], 1
jne 0x1000f5b2
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x1000f5e2
mov eax, dword [0x10016fb4]
cmp eax, esi
je 0x1000f5df
push eax
call ebx
test eax, eax
je 0x1000f5df
call eax
mov edi, eax
test edi, edi
je 0x1000f5df
mov eax, dword [0x10016fb8]
cmp eax, esi
je 0x1000f5df
push eax
call ebx
test eax, eax
je 0x1000f5df
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x10016fb0]
call ebx
test eax, eax
je 0x1000f5fa
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x1000f5fc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10003b30
leave
ret
Function at 0x4215c0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ada17
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x680da0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x134]
call fcn.00418270
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1bc]
call fcn.00418270
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x134]
call fcn.0041a400
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x1bc]
call fcn.0041a400
push 0x5c
push 0x2f
lea ecx, [ebp - 0x134]
call fcn.0041ad30
push 0x5c
push 0x2f
lea ecx, [ebp - 0x1bc]
call fcn.0041ad30
mov byte [ebp - 0x1bd], 0
lea ecx, [ebp - 0xac]
call fcn.0044ddc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.0044de40
movzx edx, al
test edx, edx
je 0x42169e
lea ecx, [ebp - 0x1bc]
call fcn.00419680
push eax
lea ecx, [ebp - 0x134]
call fcn.00419680
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
setne al
mov byte [ebp - 0x1bd], al
jmp 0x42177c
lea ecx, [ebp - 0x134]
call fcn.00418400
test eax, eax
jg 0x4216c0
lea ecx, [ebp - 0x1bc]
call fcn.00418400
test eax, eax
jle 0x421753
lea ecx, [ebp - 0x24c]
call fcn.00418270
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2d4]
call fcn.00418270
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.004217f0
add esp, 8
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x1bc]
push ecx
call fcn.004217f0
add esp, 8
lea ecx, [ebp - 0x2d4]
call fcn.00418d10
push eax
lea ecx, [ebp - 0x24c]
call fcn.00418d10
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dl
mov byte [ebp - 0x1bd], dl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2d4]
call fcn.00418380
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24c]
call fcn.00418380
jmp 0x42177c
lea ecx, [ebp - 0x1bc]
call fcn.00418d10
push eax
lea ecx, [ebp - 0x134]
call fcn.00418d10
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
mov byte [ebp - 0x1bd], al
movzx ecx, byte [ebp - 0x1bd]
test ecx, ecx
jne 0x421795
cmp dword [ebp + 0x10], 0
je 0x421795
mov ecx, dword [ebp + 0x10]
call fcn.004358f0
mov dl, byte [ebp - 0x1bd]
mov byte [ebp - 0x2d5], dl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xac]
call fcn.0044de20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1bc]
call fcn.00418380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.00418380
mov al, byte [ebp - 0x2d5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058e793
mov esp, ebp
pop ebp
ret
Function at 0x421920
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ada9c
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x680da0]
xor eax, ebp
mov dword [ebp - 0x98], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x94]
call fcn.00418270
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x94]
call fcn.0041a400
push 0x5c
push 0x2f
lea ecx, [ebp - 0x94]
call fcn.0041ad30
lea ecx, [ebp - 0x134]
call fcn.0044ddc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x134]
call fcn.0044de40
movzx ecx, al
test ecx, ecx
je 0x4219e8
lea ecx, [ebp - 0x94]
call fcn.00419680
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne dl
mov byte [ebp - 0x255], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0044de20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00418380
mov al, byte [ebp - 0x255]
jmp 0x421bbb
lea ecx, [ebp - 0x94]
call fcn.00418400
cmp eax, 0x104
jle 0x421aee
lea ecx, [ebp - 0x1bc]
call fcn.00418270
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x94]
push ecx
call fcn.00421250
add esp, 8
lea ecx, [ebp - 0x24c]
call fcn.00418270
mov byte [ebp - 4], 3
push 0x5fa5bc
lea ecx, [ebp - 0x24c]
call fcn.00419ec0
lea ecx, [ebp - 0x1bc]
call fcn.0041a0e0
push eax
lea ecx, [ebp - 0x24c]
call fcn.00419ec0
lea ecx, [ebp - 0x24c]
call fcn.00418d10
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x1c0], eax
cmp dword [ebp - 0x1c0], 0
jne 0x421a8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x421a8f
mov dword [ebp - 0x1c0], 1
cmp dword [ebp - 0x1c0], 0
setne dl
mov byte [ebp - 0x256], dl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24c]
call fcn.00418380
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1bc]
call fcn.00418380
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0044de20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00418380
mov al, byte [ebp - 0x256]
jmp 0x421bbb
lea ecx, [ebp - 0x94]
call fcn.00418d10
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
jne 0x421b61
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x254], eax
cmp dword [ebp + 0xc], 0
je 0x421b4e
mov eax, dword [ebp - 0x254]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00435990
lea ecx, [ebp - 0x94]
call fcn.0041a0e0
push eax
push str.failedToDeleteFilepath
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x2c]
call eax
cmp dword [ebp - 0x254], 2
jne 0x421b61
mov dword [ebp - 0x250], 1
cmp dword [ebp - 0x250], 0
setne cl
mov byte [ebp - 0x257], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0044de20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00418380
mov al, byte [ebp - 0x257]
jmp 0x421bbb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x98]
xor ecx, ebp
call fcn.0058e793
mov esp, ebp
pop ebp
ret
Function at 0x422b90
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5adba1
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x680da0]
xor eax, ebp
mov dword [ebp - 0x98], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0xffffffff
mov ecx, dword [ebp + 8]
call fcn.00418400
test eax, eax
jne 0x422bfb
cmp dword [ebp + 0x14], 0
je 0x422bf4
push str.GetAttributes:_filename_is_empty
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x14]
call edx
xor al, al
jmp 0x422d64
lea ecx, [ebp - 0x94]
call fcn.00418270
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x94]
call fcn.0041a400
push 0x5c
push 0x2f
lea ecx, [ebp - 0x94]
call fcn.0041ad30
lea ecx, [ebp - 0x94]
call fcn.00418400
mov dword [ebp - 0x138], eax
lea ecx, [ebp - 0x134]
call fcn.0044ddc0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x138], 0x104
jge 0x422cac
lea ecx, [ebp - 0x94]
call fcn.00419360
movzx ecx, al
test ecx, ecx
jne 0x422c7b
lea ecx, [ebp - 0x134]
call fcn.0044de40
movzx edx, al
test edx, edx
je 0x422cac
lea ecx, [ebp - 0x94]
call fcn.00419680
push eax
call fcn.00424a00
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0xffffffff
jne 0x422ca7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x422d2c
cmp dword [ebp - 0x138], 0
jle 0x422d02
lea ecx, [ebp - 0x1c4]
call fcn.00418270
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1c4]
push edx
lea eax, [ebp - 0x94]
push eax
call fcn.004217f0
add esp, 8
lea ecx, [ebp - 0x1c4]
call fcn.00418d30
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c4]
call fcn.00418380
jmp 0x422d19
lea ecx, [ebp - 0x94]
call fcn.00418d30
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0xffffffff
jne 0x422d2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
xor eax, eax
cmp dword [edx], 0xffffffff
setne al
mov byte [ebp - 0x1c5], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0044de20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00418380
mov al, byte [ebp - 0x1c5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x98]
xor ecx, ebp
call fcn.0058e793
mov esp, ebp
pop ebp
ret
Function at 0x423120
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5adc4c
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x680da0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x13c]
call fcn.00418270
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x13c]
call fcn.0041a400
push 0x5c
push 0x2f
lea ecx, [ebp - 0x13c]
call fcn.0041ad30
lea ecx, [ebp - 0xac]
call fcn.0044ddc0
mov byte [ebp - 4], 1
mov dword [ebp - 0xb0], 0
lea ecx, [ebp - 0xac]
call fcn.0044de40
movzx ecx, al
test ecx, ecx
je 0x4231c4
push 0
lea ecx, [ebp - 0x13c]
call fcn.00419680
push eax
call fcn.004249c0
add esp, 8
mov dword [ebp - 0xb0], eax
jmp 0x42323d
lea ecx, [ebp - 0x13c]
call fcn.00418400
test eax, eax
jle 0x423223
lea ecx, [ebp - 0x1c4]
call fcn.00418270
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1c4]
push edx
lea eax, [ebp - 0x13c]
push eax
call fcn.004217f0
add esp, 8
push 0
lea ecx, [ebp - 0x1c4]
call fcn.00418d10
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c4]
call fcn.00418380
jmp 0x42323d
push 0
lea ecx, [ebp - 0x13c]
call fcn.00418d10
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jne 0x423293
cmp dword [ebp + 0xc], 0
je 0x423293
lea ecx, [ebp - 0x1ec]
call fcn.0041da10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1ec]
call fcn.00420cc0
lea ecx, [ebp - 0x1ec]
call fcn.004e5670
push eax
push str.errorMsg
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x2c]
call eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1ec]
call fcn.0041dde0
cmp dword [ebp - 0xb0], 0
setne cl
mov byte [ebp - 0x1ed], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xac]
call fcn.0044de20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.00418380
mov al, byte [ebp - 0x1ed]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058e793
mov esp, ebp
pop ebp
ret
Function at 0x4232f0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5adba1
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x680da0]
xor eax, ebp
mov dword [ebp - 0x98], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x94]
call fcn.00418270
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x94]
call fcn.0041a400
push 0x5c
push 0x2f
lea ecx, [ebp - 0x94]
call fcn.0041ad30
push 0
push 1
lea ecx, [ebp - 0x94]
push ecx
call fcn.00421be0
add esp, 0xc
lea ecx, [ebp - 0x134]
call fcn.0044ddc0
mov byte [ebp - 4], 1
mov dword [ebp - 0x138], 0
lea ecx, [ebp - 0x134]
call fcn.0044de40
movzx edx, al
test edx, edx
je 0x4233af
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x94]
call fcn.00419680
push eax
call fcn.004249e0
add esp, 8
movzx ecx, al
mov dword [ebp - 0x138], ecx
jmp 0x42342c
lea ecx, [ebp - 0x94]
call fcn.00418400
test eax, eax
jle 0x423410
lea ecx, [ebp - 0x1c4]
call fcn.00418270
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1c4]
push edx
lea eax, [ebp - 0x94]
push eax
call fcn.004217f0
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x1c4]
call fcn.00418d10
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c4]
call fcn.00418380
jmp 0x42342c
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x94]
call fcn.00418d10
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
setne al
mov byte [ebp - 0x1c5], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0044de20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00418380
mov al, byte [ebp - 0x1c5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x98]
xor ecx, ebp
call fcn.0058e793
mov esp, ebp
pop ebp
ret

Function at 0x4249e0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
setne al
pop ebp
ret
Function at 0x429b80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
call fcn.00434690
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
push 0x429c50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x429bf4
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x140], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004329f0
push str.Failed_to_start_thread
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x18]
mov edx, dword [eax + 0x14]
call edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x18]
mov eax, dword [edx + 0x28]
call eax
xor al, al
jmp 0x429c47
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.004329f0
push str.Task_started_in_background_thread.
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x18]
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [ebp - 4]
push ecx
push str.createThread
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00435440
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x18]
mov edx, dword [eax + 0x28]
call edx
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x431ad0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aef12
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x680da0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.ClsBgTask.0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 8], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 9], 1
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xa], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00438a80
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x28], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00418270
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xb8
call fcn.00403930
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xd8], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xe0
call fcn.004348b0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x1a8
call fcn.00477ff0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret