joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428fc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [esi + 0x2c]
mov dword [ebp - 0xc], edi
jmp 0x428fd3
mov edi, dword [ebp - 0xc]
mov ebx, dword [esi + 0x3c]
sub ebx, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub ebx, eax
lea edx, [edi + ecx - 0x106]
mov dword [ebp - 4], ebx
cmp eax, edx
jb 0x42904d
mov eax, dword [esi + 0x38]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.0042f340
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], edi
sub dword [esi + 0x6c], edi
add esp, 0xc
sub dword [esi + 0x5c], edi
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x429021
sub eax, edi
jmp 0x429023
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x429012
mov ecx, dword [esi + 0x40]
mov edx, edi
lea ecx, [ecx + edi*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x429040
sub eax, edi
jmp 0x429042
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x429031
add ebx, edi
mov dword [ebp - 4], ebx
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x429102
mov edx, dword [esi + 0x74]
add edx, dword [esi + 0x6c]
mov eax, dword [edi + 4]
add edx, dword [esi + 0x38]
mov ecx, dword [ebp - 4]
mov ebx, eax
mov dword [ebp - 8], edx
cmp ebx, ecx
jbe 0x429073
mov ebx, ecx
test ebx, ebx
je 0x4290c6
sub eax, ebx
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x429095
mov edx, dword [edi]
mov ecx, dword [edi + 0x30]
mov eax, ebx
call fcn.00424860
jmp 0x4290ae
cmp eax, 2
jne 0x4290b4
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
test ecx, ecx
jne 0x4290a7
xor eax, eax
jmp 0x4290b1
mov edx, ebx
call fcn.00422f20
mov edx, dword [ebp - 8]
mov dword [edi + 0x30], eax
mov ecx, dword [edi]
push ebx
push ecx
push edx
call fcn.0042f340
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x4290ee
mov edx, dword [esi + 0x6c]
add edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x58]
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x429102
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x428fd0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b448
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4a84e0], 0
push esi
push edi
jne 0x42b3be
call fcn.0042b32a
test eax, eax
je 0x42b403
mov eax, dword [0x4a84e0]
cmp eax, 1
jne 0x42b3df
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x42b403
jmp 0x42b445
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x42b445
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x42b407
xor eax, eax
jmp 0x42b445
mov eax, dword [esi]
push dword [0x4a84e0]
call edi
mov edi, eax
test edi, edi
je 0x42b429
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x42b445
lea edi, [esi + 0xff0]
push esi
push dword [0x4a84e0]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x42b42f
mov eax, esi
pop edi
pop esi
ret
jmp 0x42b3aa

Function at 0x42cfbb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a0234]
jne 0x42cfc5
repz ret
jmp fcn.00435865

Function at 0x42ea3c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x42ea63
call fcn.0043315e
mov dword [eax], esi
call fcn.0043314b
push 0x16
pop esi
mov dword [eax], esi
call fcn.00436e84
mov eax, esi
jmp 0x42eab8
test dword [ebp + 0xc], 0xfffffff9
jne 0x42ea49
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42ea90
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00433171
pop ecx
call fcn.0043314b
mov eax, dword [eax]
jmp 0x42eab8
test al, 0x10
jne 0x42eab6
test al, 1
je 0x42eab6
test byte [ebp + 0xc], 2
je 0x42eab6
call fcn.0043315e
mov dword [eax], 5
call fcn.0043314b
mov dword [eax], 0xd
jmp 0x42ea87
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4476d5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a0234]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004367e6
and dword [ebp - 0x14], 0
cmp dword [0x4a9648], 0
mov dword [ebp - 0x18], eax
jne 0x447788
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x447830
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x486518
push ebx
call edi
test eax, eax
je 0x447830
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x486508
push ebx
mov dword [0x4a9648], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4a964c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4a9650], eax
call edi
push eax
call esi
mov dword [0x4a9658], eax
test eax, eax
je 0x447788
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4a9654], eax
mov eax, dword [0x4a9654]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4477e1
cmp dword [0x4a9658], ecx
je 0x4477e1
push eax
call esi
push dword [0x4a9658]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4477e1
test ebx, ebx
je 0x4477e1
call edi
test eax, eax
je 0x4477d8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4477d8
test byte [ebp - 8], 1
jne 0x4477e1
or dword [ebp + 0x10], 0x200000
jmp 0x447814
mov eax, dword [0x4a964c]
cmp eax, dword [ebp - 0x18]
je 0x447814
push eax
call esi
test eax, eax
je 0x447814
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x447814
mov eax, dword [0x4a9650]
cmp eax, dword [ebp - 0x18]
je 0x447814
push eax
call esi
test eax, eax
je 0x447814
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4a9648]
call esi
test eax, eax
je 0x447830
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x447832
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cfbb
leave
ret
Function at 0x44d710
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479df8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4a0234]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
call edx
mov edi, eax
mov dword [ebp - 0x10], edi
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
push ecx
push edx
push edi
mov ecx, esi
mov dword [ebp - 4], 0
call eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
push eax
push ecx
mov ecx, edi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push edi
mov ecx, esi
call edx
mov bl, al
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call edx
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4665e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b659
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4a0234]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov ecx, dword [edi + 0x34]
sub ecx, dword [edi + 0x30]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
call fcn.00465d20
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20]
push edx
push esi
mov ecx, edi
call fcn.00466130
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0xc]
push ecx
mov ecx, esi
call eax
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.004644d0
add esp, 0x10
mov edx, dword [esi]
mov edx, dword [edx + 8]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call edx
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
xor eax, eax
mov edx, ecx
mov esi, edi
rep stosd dword es:[edi], eax
lea eax, [edx*4]
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 1
push esi
cmp eax, 0x10
jb 0x4666af
call fcn.0046a410
jmp 0x4666b4
call fcn.0046a420
mov edi, dword [ebp - 0x20]
add esp, 4
mov byte [ebp - 4], bl
cmp edi, ebx
je 0x4666ed
mov ebx, dword [ebp - 0x1c]
mov esi, edi
cmp edi, ebx
je 0x4666e4
lea ebx, [ebx]
lea ecx, [ebp - 0x14]
push esi
push ecx
call fcn.004647e0
add esi, 0x28
add esp, 8
cmp esi, ebx
jne 0x4666d0
push edi
call fcn.0042cfb0
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x466710
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b659
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4a0234]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebx + 0x34]
sub ecx, dword [ebx + 0x30]
mov eax, 0x66666667
imul ecx
mov ecx, dword [edi + 0x34]
sub ecx, dword [edi + 0x30]
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add esi, edx
add eax, esi
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
call fcn.00465d20
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20]
push edx
push esi
mov ecx, edi
call fcn.00466130
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0x20]
push ecx
push esi
mov ecx, ebx
call fcn.00466130
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [esi]
push ebx
push edx
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004644d0
add esp, 0x10
mov edx, dword [esi]
mov edx, dword [edx + 8]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call edx
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
xor eax, eax
mov edx, ecx
mov esi, edi
rep stosd dword es:[edi], eax
lea eax, [edx*4]
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 1
push esi
cmp eax, 0x10
jb 0x46680b
call fcn.0046a410
jmp 0x466810
call fcn.0046a420
mov edi, dword [ebp - 0x20]
add esp, 4
mov byte [ebp - 4], 0
test edi, edi
je 0x466841
mov esi, edi
cmp edi, ebx
je 0x466838
lea ecx, [ebp - 0x14]
push esi
push ecx
call fcn.004647e0
add esi, 0x28
add esp, 8
cmp esi, ebx
jne 0x466824
push edi
call fcn.0042cfb0
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x469350
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
pop ebp
ret

Function at 0x46a4f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov ecx, edi
shr ecx, 2
xor eax, eax
test ecx, ecx
je 0x46a524
mov eax, edx
sub esi, edx
mov dword [ebp - 4], ecx
push ebx
mov ebx, dword [esi + eax]
xor dword [eax], ebx
add eax, 4
dec ecx
jne 0x46a512
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
pop ebx
add eax, eax
add eax, eax
sub edi, eax
je 0x46a549
add edx, eax
add esi, eax
test edi, edi
je 0x46a549
mov ecx, esi
mov eax, edx
sub ecx, edx
mov esi, edi
lea esp, [esp]
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
dec esi
jne 0x46a540
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46a550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov eax, esi
shr eax, 2
xor ecx, ecx
xor edx, edx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x46a58c
mov esi, ebx
mov edx, edi
sub esi, edi
mov dword [ebp - 4], eax
mov ebx, dword [esi + edx]
xor ebx, dword [edx]
add edx, 4
or ecx, ebx
dec eax
jne 0x46a576
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov edx, dword [ebp - 4]
lea eax, [edx*4]
sub esi, eax
jne 0x46a5a5
pop edi
xor eax, eax
test ecx, ecx
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
add ebx, eax
add edi, eax
mov eax, ecx
mov edx, ecx
shr edx, 0x10
shr eax, 0x18
or al, dl
mov edx, ecx
shr edx, 8
or dl, al
or dl, cl
test esi, esi
je 0x46a5d3
mov ecx, ebx
mov eax, edi
sub ecx, edi
mov bl, byte [eax + ecx]
xor bl, byte [eax]
inc eax
or dl, bl
dec esi
jne 0x46a5c8
pop edi
xor eax, eax
test dl, dl
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x475dfa
Capabilities:
Get common file path

Disassembly:
push 0xc44
mov eax, 0x47dff1
call fcn.00433635
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, ecx
xor edi, edi
mov dword [ebp - 0xc50], eax
cmp esi, edi
je 0x475e65
cmp word [esi], di
je 0x475e65
push edi
push esi
call fcn.0042eabb
pop ecx
pop ecx
test eax, eax
jne 0x475e65
mov dword [ebp - 0xc4c], edi
call fcn.00411215
test al, al
je 0x475e65
push esi
call fcn.0042effd
pop ecx
test eax, eax
je 0x475e65
push 0xc8
call ebx
inc dword [ebp - 0xc4c]
cmp dword [ebp - 0xc4c], 0x3e8
jl 0x475e38
mov eax, dword [ebp - 0xc50]
cmp eax, edi
je 0x475eba
cmp word [eax], di
je 0x475eba
push edi
push eax
call fcn.0042eabb
pop ecx
pop ecx
test eax, eax
jne 0x475eba
mov dword [ebp - 0xc4c], edi
mov esi, dword [ebp - 0xc50]
call fcn.00411215
test al, al
je 0x475eba
push esi
call fcn.0042effd
pop ecx
test eax, eax
je 0x475eba
push 0xc8
call ebx
inc dword [ebp - 0xc4c]
cmp dword [ebp - 0xc4c], 0x3e8
jl 0x475e87
push 7
pop eax
xor ecx, ecx
mov dword [ebp - 0xc18], eax
mov dword [ebp - 0xc1c], edi
mov word [ebp - 0xc2c], cx
mov dword [ebp - 4], edi
mov dword [ebp - 0xc34], eax
xor eax, eax
mov dword [ebp - 0xc38], edi
mov word [ebp - 0xc48], ax
lea eax, [ebp - 0xc48]
push eax
push dword [ebp - 0xc50]
lea ecx, [ebp - 0xc2c]
mov byte [ebp - 4], 1
call fcn.0040d86c
xor eax, eax
push 0x3fe
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push edi
push eax
call fcn.0042f2c0
add esp, 0x14
lea eax, [ebp - 0x410]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
push 0x7fe
mov word [ebp - 0xc10], ax
lea eax, [ebp - 0xc0e]
push edi
push eax
call fcn.0042f2c0
add esp, 0xc
push 0x400
lea eax, [ebp - 0xc10]
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp dword [ebp - 0xc1c], edi
je 0x475fdb
cmp dword [ebp - 0xc18], 8
mov eax, dword [ebp - 0xc2c]
jae 0x475f8a
lea eax, [ebp - 0xc2c]
lea ecx, [ebp - 0xc10]
push ecx
push eax
call fcn.0042d890
pop ecx
pop ecx
test eax, eax
je 0x475fdb
cmp dword [ebp - 0xc18], 8
mov eax, dword [ebp - 0xc2c]
jae 0x475fb2
lea eax, [ebp - 0xc2c]
push edi
push eax
call fcn.0042eabb
pop ecx
pop ecx
test eax, eax
jne 0x475fdb
cmp dword [ebp - 0xc18], 8
mov eax, dword [ebp - 0xc2c]
jae 0x475fd4
lea eax, [ebp - 0xc2c]
push eax
call fcn.0042ee48
pop ecx
push 1
xor edi, edi
lea esi, [ebp - 0xc48]
call fcn.00402144
push 1
lea esi, [ebp - 0xc2c]
call fcn.00402144
call fcn.004336b8
ret 4
Function at 0x4761f7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4a0234]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
mov esi, 0x4abf80
cmp dword [0x4abf90], edi
jne 0x476326
lea eax, [ebp - 0x804]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x804]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x47623a
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x804]
call fcn.00401f96
cmp dword [0x4abf94], 8
mov eax, dword [0x4abf80]
jae 0x476264
mov eax, esi
push edi
push eax
call fcn.0042eabb
pop ecx
pop ecx
test eax, eax
je 0x476284
xor eax, eax
mov ecx, 0x48cbb4
call fcn.00401f96
mov ecx, esi
call fcn.004113a3
cmp dword [0x4abf90], edi
je 0x4762a9
cmp dword [0x4abf94], 8
mov eax, dword [0x4abf80]
jae 0x47629c
mov eax, esi
push edi
push eax
call fcn.0042eabb
pop ecx
pop ecx
test eax, eax
je 0x4762bb
push str.TEMP
call fcn.0042edce
pop ecx
push eax
push esi
call fcn.00402011
cmp dword [0x4abf90], edi
je 0x4762e0
cmp dword [0x4abf94], 8
mov eax, dword [0x4abf80]
jae 0x4762d3
mov eax, esi
push edi
push eax
call fcn.0042eabb
pop ecx
pop ecx
test eax, eax
je 0x4762f2
push 0x491224
call fcn.0042edce
pop ecx
push eax
push esi
call fcn.00402011
cmp dword [0x4abf90], edi
je 0x476317
cmp dword [0x4abf94], 8
mov eax, dword [0x4abf80]
jae 0x47630a
mov eax, esi
push edi
push eax
call fcn.0042eabb
pop ecx
pop ecx
test eax, eax
je 0x476326
push 0xffffffffffffffff
push edi
mov eax, 0x4abf48
mov ecx, esi
call fcn.00401d19
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042cfbb
leave
ret
Function at 0x4764d6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47e110
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x4a0234]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push esi
push edi
mov eax, dword [0x4a0234]
xor eax, esp
push eax
lea eax, [esp + 0x458]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0040bdb4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x2c]
call fcn.0040bcec
xor ebx, ebx
mov dword [esp + 0x460], ebx
mov eax, dword [eax]
cmp eax, ebx
je 0x47653d
mov eax, dword [eax]
jmp 0x47653f
xor eax, eax
push eax
lea esi, [esp + 0x34]
call fcn.00402f07
lea edi, [esp + 0x2c]
call fcn.00401a09
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x18]
mov dword [esp + 0x30], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x460], 3
push dword [esp + 0x28]
lea ecx, [esp + 0x1c]
call fcn.00411122
pop ecx
cmp eax, 1
jle 0x476613
xor eax, eax
push 0x3fe
mov word [esp + 0x50], ax
lea eax, [esp + 0x52]
push ebx
push eax
call fcn.0042f2c0
mov esi, dword [esp + 0x24]
add esp, 0xc
jmp 0x476607
push 0x200
lea eax, [esp + 0x50]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [esp + 0x44], 8
mov ecx, dword [esp + 0x30]
jae 0x4765d1
lea ecx, [esp + 0x30]
lea eax, [esp + 0x4c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4765fb
cmp dx, bx
je 0x4765f7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4765fb
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4765d5
xor eax, eax
jmp 0x476600
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x47660f
add esi, 4
cmp esi, dword [esp + 0x1c]
jne 0x4765b0
jmp 0x47662a
mov eax, dword [esi]
jmp 0x476626
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub ecx, eax
sar ecx, 2
test ecx, ecx
je 0x47662a
mov eax, dword [eax]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x18], ebx
je 0x47663a
push dword [esp + 0x18]
call fcn.0042cfb0
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0x34]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.00402144
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x458]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.0042cfbb
mov esp, ebp
pop ebp
ret

Function at 0x476f77
Capabilities:
Create thread

Disassembly:
push ebx
push edi
call fcn.0042e062
xor ebx, ebx
mov edi, eax
cmp dword [0x4ac19c], ebx
jne 0x476fc5
cmp word [0x4ac2a2], 3
push esi
mov esi, 0x4ac298
jne 0x476fab
call fcn.00402a13
test al, 1
je 0x476fab
cmp byte [0x4ac059], bl
je 0x476fc4
push 0x4ac1a4
push ebx
push esi
push 0x4084a8
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4ac1a8], eax
pop esi
mov eax, edi
pop edi
pop ebx
ret
Function at 0x476fca
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x47e2b9
call fcn.00433635
xor ebx, ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea eax, [ebp - 0x2c]
push eax
push 0x401
push 0x4abf48
mov dword [ebp - 4], ebx
call fcn.0047671c
call fcn.00476741
mov esi, eax
cmp esi, ebx
je 0x477030
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x477012
lea eax, [ebp - 0x2c]
push esi
push 1
push dword [ebp - 0x1c]
push eax
call fcn.0042e8e1
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
push esi
inc bl
call fcn.0042e9c8
add esp, 0x14
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.004081ac
mov al, bl
call fcn.004336b8
ret

Function at 0x477044
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x47e2e6
call fcn.00433635
and dword [ebp - 0x1c], 0
mov bl, 1
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
push 0x3fc
push 0x4abf48
call fcn.0047671c
call fcn.004767cd
mov esi, eax
test esi, esi
je 0x4770cd
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x47708f
lea eax, [ebp - 0x2c]
mov eax, dword [eax]
cmp eax, dword [str.71w_b]
jne 0x4770c4
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4770a5
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
push esi
push 1
add ecx, 0xfffffffc
push ecx
add eax, 4
push eax
call fcn.0042e8e1
add esp, 0x10
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
push esi
call fcn.0042e9c8
pop ecx
jmp 0x4770cf
xor bl, bl
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.004081ac
mov al, bl
call fcn.004336b8
ret
Function at 0x477aeb
Capabilities:
Create thread

Disassembly:
push 0x64
mov eax, 0x47e67a
call fcn.0043366b
xor ebx, ebx
lea eax, [ebp - 0x50]
push eax
push ebx
push 0x4abf48
push 0x403829
push ebx
push ebx
mov dword [0x4ac1a0], ebx
mov dword [ebp - 0x50], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], ebx
call fcn.00413360
or dword [ebp - 4], 0xffffffff
mov dword [0x4ac1a0], eax
jmp 0x477b38
cmp dword [ebp - 0x50], ebx
je 0x477b55
push ebx
push ebx
push 0x502
push dword [ebp - 0x50]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x4ac1a0], ebx
jne 0x477c13
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov dword [ebp - 4], 2
cmp byte [0x4ac05b], bl
push str.KRglXTx2gH3c24R6o3JfvDqdFO9DgW9GgOnUdF
lea ebx, [ebp - 0x4c]
je 0x477bb6
mov ecx, str.FY_izZbA2i5Uge3Hw_PzSVtCqR01pMBk_FJsF6ZxyR3ZTkoZSgTNqAREIIqufCgs8Wbr468wrhj3h5LHfzZoEvizA5WBjWXvxrmfNQiwlmgQMTkwuhOLsRtGday_pkqXYHuV3
call fcn.0040fa9d
pop ecx
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00402b4f
push 0
push 1
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.004020f6
lea esi, [ebp - 0x30]
call fcn.00412b70
jmp 0x477bde
mov ecx, str.gbbqE3svfLcyUk3bNyrX4_MkGzsMd1MUZ5vNukEb9Mxb5HkegYFmsZRQtJI5gUSsrElb2D
call fcn.0040fa9d
pop ecx
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00402b4f
push 0
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.004020f6
lea eax, [ebp - 0x30]
lea esi, [ebp - 0x70]
call fcn.0040a7d0
mov eax, esi
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 5
call fcn.0042d10f
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
push 0x4993f4
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x60], 0x4907a4
call fcn.00432a9d
call fcn.004336c7
ret