joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46ecd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x46ed36
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x46ed36
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x46ed17
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x470c00
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x5b0f24]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x470c13
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x470c54
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x5b0fcc]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x470c86
mov bl, byte [esp + ecx + 0x4c]
jmp 0x470c8a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x470c7b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x470ca8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x470cac
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x470c9d
xor ecx, ecx
mov eax, 0x5b0f34
xor ebx, ebx
mov bl, byte [ecx + 0x5b0fdc]
cmp byte [esp + ebx + 0x14], 0
je 0x470cd7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x5b0ff4]
cmp byte [esp + ebx + 0x14], 0
je 0x470cee
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x470cbe
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x470c47
lea edx, [esp + 0x84]
push edx
call fcn.00470d30
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x492ed6
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x492f0e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00490f60
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00490f38
jmp 0x492f1a
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4945cd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x49460f
call fcn.0049a2c8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x49460f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x494606
xor eax, eax
jmp 0x494617
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0049461d
pop edi
pop esi
pop ebx
ret 4

Function at 0x49a7f8
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x49a826
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49a844
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049a75e
jmp 0x49a844
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49a844
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049a75e
test edi, edi
mov eax, edi
jne 0x49a82e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x417d34
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.00417db3
jae 0x417d40
xor ecx, ecx
call fcn.00417db3
jae 0x417d6a
xor eax, eax
call fcn.00417db3
jae 0x417d7b
mov al, 0x10
call fcn.00417db3
adc al, al
jae 0x417d5c
jne 0x417da8
stosb byte es:[edi], al
jmp 0x417d41
call fcn.00417dbf
dec ecx
loop 0x417d87
mov eax, ebp
call fcn.00417dbd
jmp 0x417da9
lodsb al, byte [esi]
shr eax, 1
je 0x417dcf
adc ecx, 2
mov ebp, eax
jmp 0x417da9
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00417dbd
cmp eax, 0x7d00
jae 0x417da7
cmp eax, 0x500
jae 0x417da8
cmp eax, 0x7f
ja 0x417da9
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x417d41
pop ebp
ret 8
Function at 0x412565
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004123e4

Function at 0x41695c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004162ca

Function at 0x416967
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416505

Function at 0xbd0058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00bd01a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xbd007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbd006a
add dl, dl
jne 0xbd0089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbd00dc
xor eax, eax
add dl, dl
jne 0xbd0096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbd017d
add dl, dl
jne 0xbd00a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbd00b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbd00bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbd00c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xbd00d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xbd0075
mov eax, 1
add dl, dl
jne 0xbd00ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbd00f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbd00e1
sub eax, ebx
mov ebx, 1
jne 0xbd0128
mov ecx, 1
add dl, dl
jne 0xbd010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbd0119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbd0105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbd0075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xbd013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbd014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbd0136
cmp eax, 0x7d00
jae 0xbd016d
cmp eax, 0x500
jb 0xbd0168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbd0075
cmp eax, 0x7f
ja 0xbd0170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbd0075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xbd019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xbd0075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401416
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
xor esi, esi
lea ecx, [edi + 0x1c]
shr edi, 2
mov eax, edi
mov dword [ebp - 0xc], ecx
shr eax, 1
add eax, 3
mov dword [ebx], eax
add ebx, 0x10
test edi, edi
je 0x40144c
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [ebx + esi*4], eax
inc esi
cmp esi, edi
jb 0x40143f
cmp esi, ecx
jae 0x401538
mov eax, esi
sub eax, edi
lea eax, [ebx + eax*4]
mov dword [ebp - 4], eax
xor edx, edx
mov ecx, dword [ebx + esi*4 - 4]
mov eax, esi
mov dword [ebp + 8], ecx
div edi
mov dword [ebp - 8], eax
test edx, edx
jne 0x4014ca
movzx ecx, cl
movzx edx, byte [ecx + section..data]
mov ecx, dword [ebp + 8]
shr ecx, 0x18
shl edx, 8
movzx eax, byte [ecx + section..data]
mov ecx, dword [ebp + 8]
or edx, eax
mov eax, ecx
shl edx, 8
shr eax, 0x10
and eax, 0xff
shr ecx, 8
and ecx, 0xff
movzx eax, byte [eax + section..data]
movzx ecx, byte [ecx + section..data]
or edx, eax
mov eax, dword [ebp - 8]
shl edx, 8
movzx eax, byte [eax + 0x43e100]
xor ecx, eax
or ecx, edx
jmp 0x40151e
cmp edi, 6
jbe 0x40151e
cmp edx, 4
jne 0x40151e
mov edx, dword [ebp + 8]
mov eax, ecx
shr eax, 0x10
and eax, 0xff
movzx ecx, byte [eax + section..data]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + section..data]
shl eax, 8
or ecx, eax
mov eax, edx
shr eax, 8
and eax, 0xff
shl ecx, 8
movzx eax, byte [eax + section..data]
or ecx, eax
movzx eax, dl
shl ecx, 8
movzx eax, byte [eax + section..data]
or ecx, eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
add edx, 4
xor eax, ecx
mov dword [ebp - 4], edx
mov dword [ebx + esi*4], eax
inc esi
cmp esi, dword [ebp - 0xc]
jb 0x40145e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4054b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f21d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x4054d3
jmp 0x405539
lea ecx, [ebp - 0x10]
call fcn.004015f0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
neg edx
sbb dl, dl
and dl, 0x27
add dl, 0x20
movsx eax, dl
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push str.__Id:__3d_index:__3d_score:__5d__c__n
lea ecx, [ebp - 0x10]
push ecx
call fcn.004030e0
add esp, 0x18
lea ecx, [ebp - 0x10]
call fcn.00459cf0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x405ad0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f2cf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [ebp - 0x10], 0
jmp 0x405afd
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx + 4]
jae 0x405b23
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
call fcn.004040d0
mov edx, dword [eax]
push edx
call fcn.004054b0
add esp, 4
jmp 0x405af4
lea ecx, [ebp - 0x14]
call fcn.004015f0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
push str.Total_list_score:__15d_n_n
lea edx, [ebp - 0x14]
push edx
call fcn.004030e0
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.00459cf0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x405f90
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f320
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
jne 0x405fbb
xor eax, eax
jmp 0x40603b
push 0
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
call fcn.004040d0
mov edx, dword [eax]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xc], 0
jne 0x405fdd
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x10]
jmp 0x40603b
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00405e40
add esp, 8
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x18]
call fcn.004015f0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x14]
push edx
push 0x531360
lea eax, [ebp - 0x18]
push eax
call fcn.004030e0
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.00459cf0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401640
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x41b260
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x12c]
add eax, 4
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x18]
push edx
push 4
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xc]
push eax
push 0x553964
push 0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [eax + 0x14]
call edx
mov dword [ebp - 0x20], eax
push 0x104
push 0
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax]
push ecx
call fcn.004df590
add esp, 0xc
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0x104
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax]
push ecx
call fcn.004e2300
add esp, 0x18
cmp dword [ebp + 0x18], 0
je 0x41b337
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x12c]
call fcn.0041b670
cmp dword [ebp - 0x20], 0
jl 0x41b446
lea eax, [ebp - 4]
push eax
push 0x40
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x41b446
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x10]
push eax
push 1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 0xc]
call ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x41b446
cmp dword [ebp - 0x1c], 0
jbe 0x41b446
lea edx, [ebp - 0x128]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 0x2c]
call ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x41b441
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x124]
push eax
call fcn.004e3040
add esp, 8
test eax, eax
jne 0x41b441
mov ecx, dword [ebp - 0x124]
push ecx
push 0x104
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx]
push eax
call fcn.004e1a60
add esp, 0xc
push str..lnk
push 0x104
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx]
push edx
call fcn.004e1a60
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x12c]
call fcn.0041b4f0
mov dword [ebp - 8], eax
movzx edx, word [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x12c]
call fcn.0041b590
jmp 0x41b364
xor eax, eax
mov esp, ebp
pop ebp
ret 0x14
Function at 0x41b670
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x5c], ecx
push 0x208
call fcn.0047db10
add esp, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0041ba60
add esp, 8
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.004e26b0
add esp, 8
test eax, eax
jne 0x41b6ea
movzx edx, word [ebp - 0x2a]
and edx, 0x8000
je 0x41b6e5
push str.pathToLink_points_to_a_path_that_is_existing_and_not_a_directory
mov ecx, dword [ebp - 0x5c]
call fcn.0041b650
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.0047d990
add esp, 4
xor eax, eax
jmp 0x41b789
jmp 0x41b772
push 0x208
call fcn.0047db10
add esp, 4
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x3c], edx
lea eax, [ebp - 0x3c]
push eax
push 0x5c
push 0x2f
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041b9d0
add esp, 0x10
push 0
mov edx, dword [ebp - 0x3c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x41b760
push str.error_occurred_while_trying_to_create_the_pathToLink
mov ecx, dword [ebp - 0x5c]
call fcn.0041b650
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0047d990
add esp, 4
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
push eax
call fcn.0047d990
add esp, 4
xor eax, eax
jmp 0x41b789
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
push edx
call fcn.0047d990
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.0047d990
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x41c870
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51fed9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x38], 0x10
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x3c]
call fcn.0041baf0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0041f690
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
call fcn.0044e4a0
mov byte [ebp - 4], 2
mov dword [ebp - 0x40], 0
jmp 0x41c8e3
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x10]
jge 0x41c938
mov edx, dword [ebp - 0x40]
push edx
lea ecx, [ebp - 0x3c]
call fcn.0041f000
movzx eax, ax
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x48]
call fcn.0044e4a0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x44]
push ecx
push 0x5386e8
lea edx, [ebp - 0x48]
push edx
call fcn.004030e0
add esp, 0xc
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x14]
call fcn.004117e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00401640
jmp 0x41c8da
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004100e0
mov edx, dword [ebp - 0x4c]
or edx, 1
mov dword [ebp - 0x4c], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401640
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00401640
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x41e530
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520365
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x1c], ecx
push str.InitInstance
mov ecx, 0x583380
call fcn.00410130
push 0x536a04
mov ecx, 0x583538
call fcn.00410130
push 0x538b58
mov ecx, 0x583544
call fcn.00410130
push 0x538b54
mov ecx, 0x58354c
call fcn.00410130
push 0x538b54
mov ecx, 0x58355c
call fcn.00410130
mov byte [0x583529], 1
push 0x538b4c
mov ecx, 0x583560
call fcn.00410130
push 2
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0041c980
lea ecx, [ebp - 0x14]
call fcn.00401640
push 0
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.0041c980
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
call fcn.0041e490
push 0x7d0
call fcn.004e39a0
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401640
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42f550
Capabilities:
Create process memory minidump
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52190e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x10dc
call fcn.004e3340
xor eax, eax
mov word [ebp - 0x814], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x812]
push ecx
call fcn.004df590
add esp, 0xc
xor edx, edx
mov word [ebp - 0x1014], dx
push 0x7fe
push 0
lea eax, [ebp - 0x1012]
push eax
call fcn.004df590
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x1030], cx
xor edx, edx
mov dword [ebp - 0x102e], edx
mov dword [ebp - 0x102a], edx
mov dword [ebp - 0x1026], edx
mov word [ebp - 0x1022], dx
lea eax, [ebp - 0x1030]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push 0
push 0x1a
lea ecx, [ebp - 0x1014]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.make_minidump:
mov ecx, 0x583370
call fcn.004389a0
movzx edx, word [ebp - 0x1024]
push edx
movzx eax, word [ebp - 0x1026]
push eax
movzx ecx, word [ebp - 0x1028]
push ecx
movzx edx, word [ebp - 0x102a]
push edx
movzx eax, word [ebp - 0x102e]
push eax
movzx ecx, word [ebp - 0x1030]
push ecx
push str.CrashDump
lea edx, [ebp - 0x1014]
push edx
push str._s_s___4d_02d_02d__02d_02d_02d.dmp
push 0x400
lea eax, [ebp - 0x814]
push eax
call fcn.00421880
add esp, 0x2c
lea ecx, [ebp - 0x814]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0041baf0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00459cf0
push eax
lea ecx, [ebp - 0x10d8]
call fcn.0041f550
mov dword [ebp - 0x10dc], eax
mov edx, dword [ebp - 0x10dc]
mov dword [ebp - 0x10e0], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10e0]
call fcn.00459cf0
push eax
lea ecx, [ebp - 0x1054]
call fcn.004025c0
mov dword [ebp - 0x10e4], eax
mov eax, dword [ebp - 0x10e4]
mov dword [ebp - 0x10e8], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10e8]
call fcn.00419640
push eax
mov ecx, 0x583370
call fcn.004389a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1054]
call fcn.00401ef0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10d8]
call fcn.0041f590
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x814]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1034], eax
cmp dword [ebp - 0x1034], 0xffffffff
jne 0x42f738
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401640
jmp 0x42f7b6
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x1020], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x101c], edx
mov dword [ebp - 0x1018], 0
push 0
push 0
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x1020]
and eax, ecx
push eax
push 0x52
mov edx, dword [ebp - 0x1034]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.dbghelp.dll_MiniDumpWriteDump
cmp dword [ebp - 0x1034], 0
je 0x42f7a7
mov eax, dword [ebp - 0x1034]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1034], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret