joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a4a2
Capabilities:
Receive http response

Disassembly:
push 0x44
mov eax, 0x43e0bc
call fcn.0040e424
mov esi, ecx
mov dword [ebp - 0x4c], esi
xor ebx, ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
mov byte [ebp - 0x11], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], ebx
call fcn.0040ab17
test al, al
je 0x40a66d
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.0040aa36
test al, al
jne 0x40a503
mov dword [ebp - 0x34], 4
lea eax, [ebp - 0x34]
push 0x453660
jmp 0x40a67c
mov ecx, esi
call fcn.0040aaab
mov dword [esi + 4], eax
cmp eax, 0x194
jne 0x40a528
mov dword [ebp - 0x38], 5
lea eax, [ebp - 0x38]
push 0x453660
jmp 0x40a67c
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x40a54d
mov dword [ebp - 0x3c], 4
lea eax, [ebp - 0x3c]
push 0x453660
jmp 0x40a67c
cmp dword [ebp - 0x20], 0x800000
jbe 0x40a56a
mov dword [ebp - 0x40], 0xc
lea eax, [ebp - 0x40]
push 0x453660
jmp 0x40a67c
push dword [ebp - 0x20]
call fcn.004286e9
mov dword [ebp - 0x1c], eax
mov dword [esp], 0x1000
call fcn.004286e9
mov edi, eax
mov eax, dword [ebp - 0x18]
pop ecx
mov dword [ebp - 0x28], edi
cmp eax, 0x1000
jbe 0x40a5a9
push edi
call fcn.004286ce
push dword [ebp - 0x18]
call fcn.004286e9
mov edi, eax
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
mov dword [ebp - 0x28], edi
lea ecx, [ebp - 0x24]
push ecx
push eax
push edi
push dword [esi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x40a5d0
mov dword [ebp - 0x44], 8
lea eax, [ebp - 0x44]
push 0x453660
jmp 0x40a67c
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, ebx
push edi
push eax
call fcn.00424dd0
add ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 0x2c], ebx
push eax
push dword [esi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x40a60a
mov dword [ebp - 0x48], 8
lea eax, [ebp - 0x48]
push 0x453660
jmp 0x40a67c
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40a58a
mov byte [ebp + 0xb], 1
jmp 0x40a639
test edi, edi
je 0x40a644
push edi
call fcn.004286ce
pop ecx
cmp byte [ebp + 0xb], 0
je 0x40a659
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
jmp 0x40a662
push dword [ebp - 0x1c]
call fcn.004286ce
pop ecx
mov al, byte [ebp + 0xb]
call fcn.0040e393
ret 0xc
mov dword [ebp - 0x30], 1
lea eax, [ebp - 0x30]
push 0x453660
push eax
call fcn.00424d57
int3
Function at 0x40a701
Capabilities:
Receive http response

Disassembly:
push 0x98
mov eax, 0x43e165
call fcn.0040e3ed
mov edi, ecx
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x94], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0xa0], ecx
xor ecx, ecx
mov ebx, ecx
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], cl
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x58]
push eax
call fcn.00405870
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0040a0df
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00401e00
mov eax, dword [ebp - 0xa0]
test eax, eax
jne 0x40a781
xor ecx, ecx
jmp 0x40a7bf
push eax
lea ecx, [ebp - 0x88]
call fcn.00405870
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
mov edx, eax
mov dword [ebp - 0x98], 1
call fcn.0040a0df
mov ecx, eax
push 3
mov dword [ebp - 4], 5
cmp dword [ecx + 0x14], 8
pop ebx
mov dword [ebp - 0x98], ebx
jb 0x40a7bf
mov ecx, dword [ecx]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
push dword [ebp - 0x94]
cmovae eax, dword [ebp - 0x40]
mov ecx, edi
push dword [ebp + 0x10]
push eax
call fcn.0040ab17
neg al
sbb al, al
inc al
mov byte [ebp - 0x89], al
test bl, 2
je 0x40a7f8
lea ecx, [ebp - 0x70]
and ebx, 0xfffffffd
call fcn.004056b0
mov dword [ebp - 4], 3
test bl, 1
je 0x40a80f
lea ecx, [ebp - 0x88]
call fcn.00401e00
cmp byte [ebp - 0x89], 0
je 0x40a83a
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00401e50
lea ecx, [ebp - 0x40]
call fcn.004056b0
lea ecx, [ebp - 0x28]
call fcn.00401e00
mov eax, esi
jmp 0x40a903
mov ecx, edi
call fcn.0040aaab
mov dword [edi + 4], eax
cmp eax, 0x194
je 0x40a90b
push 0x1000
call fcn.004286e9
pop ecx
mov esi, eax
xor bl, bl
jmp 0x40a8b1
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x40a8c7
cmp eax, 0x1000
jbe 0x40a88c
push esi
call fcn.004286ce
push dword [ebp - 0x90]
call fcn.004286e9
pop ecx
mov esi, eax
mov eax, dword [ebp - 0x90]
pop ecx
lea ecx, [ebp - 0x9c]
push ecx
push eax
push esi
push dword [edi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x40a8c9
push dword [ebp - 0x9c]
lea ecx, [ebp - 0x28]
push esi
call fcn.00406920
lea eax, [ebp - 0x90]
push eax
push dword [edi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x40a860
jmp 0x40a8c9
mov bl, 1
push esi
call fcn.004286ce
pop ecx
test bl, bl
jne 0x40a8de
push 0
lea ecx, [ebp - 0x28]
call fcn.00409da0
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0x28]
push eax
call fcn.00401e50
lea ecx, [ebp - 0x40]
call fcn.004056b0
lea ecx, [ebp - 0x28]
call fcn.00401e00
mov eax, dword [ebp - 0xa4]
call fcn.0040e3a8
ret 0x14
push 0x453660
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 5
push eax
call fcn.00424d57
int3
Function at 0x40aa36
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x45506c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x34]
push 0x30
xor ebx, ebx
mov esi, ecx
push ebx
push eax
call fcn.004258d0
add esp, 0xc
mov dword [ebp - 0x38], 0x30
lea eax, [ebp - 0x38]
push ebx
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
push 5
push dword [esi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x40aa98
push 0xa
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], ebx
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0042ea67
add esp, 0xc
mov dword [edi], eax
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d893
leave
ret 4

Function at 0x40aaab
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x45506c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x30
xor edi, edi
lea eax, [ebp - 0x34]
push edi
push eax
mov esi, ecx
call fcn.004258d0
add esp, 0xc
mov dword [ebp - 0x38], 0x30
lea eax, [ebp - 0x38]
push edi
push eax
lea eax, [ebp - 0x34]
push eax
push edi
push 0x13
push dword [esi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x40ab07
push 0xa
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], edi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0042ea67
add esp, 0xc
mov edi, eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0040d893
leave
ret
Function at 0x40ab17
Capabilities:
Prepare http request
Receive http response

Disassembly:
push 0x44
mov eax, 0x43e1ca
call fcn.0040e3ed
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
call fcn.0040a22c
mov ecx, esi
call fcn.0040a1ec
test al, al
je 0x40ac62
push 7
xor ebx, ebx
xor eax, eax
pop ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x44], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
lea edx, [ebp - 0x44]
call fcn.00409f4c
mov eax, 0x1bb
pop ecx
pop ecx
cmp word [ebp - 0x48], ax
jne 0x40ab8d
mov byte [esi + 8], 1
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push ebx
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x44]
push eax
push dword [esi + 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edx, eax
mov dword [esi + 0x10], edx
test edx, edx
jne 0x40abbe
mov dword [esi + 0x84], 2
jmp 0x40ac50
xor ecx, ecx
mov eax, 0x800000
cmp byte [esi + 8], cl
cmovne ecx, eax
cmp dword [ebp - 0x18], 8
push ecx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x2c]
mov ecx, str.POST
cmovae eax, dword [ebp - 0x2c]
cmp dword [ebp + 0xc], 0
push eax
mov eax, 0x44df34
cmovne eax, ecx
push eax
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [esi + 0x14], eax
test eax, eax
je 0x40ac42
cmp byte [esi + 8], 0
je 0x40ac17
push 4
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], 0x3301
push ecx
push 0x1f
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
push dword [ebp - 0x4c]
mov ecx, esi
push dword [ebp - 0x50]
call fcn.0040ac6a
test al, al
jne 0x40ac34
mov dword [esi + 0x84], 3
jmp 0x40ac50
push ebx
push dword [esi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x40ac4e
mov dword [esi + 0x84], 1
jmp 0x40ac50
mov bl, 1
lea ecx, [ebp - 0x2c]
call fcn.004056b0
lea ecx, [ebp - 0x44]
call fcn.004056b0
mov al, bl
call fcn.0040e3a8
ret 0x10
Function at 0x41061a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x230b6f0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x230b8d6
pushal
mov esi, section.UPX1
lea edi, [esi - 0x175f000]
push edi
or ebp, 0xffffffff
jmp 0x230b71a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x230b721
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x230b710
mov eax, 1
add ebx, ebx
jne 0x230b733
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x230b744
jne 0x230b763
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x230b763
dec eax
add ebx, ebx
jne 0x230b750
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x230b728
add ebx, ebx
jne 0x230b75f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x230b7b5
xor ecx, ecx
sub eax, 3
jb 0x230b77b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x230b7ea
sar eax, 1
mov ebp, eax
jmp 0x230b786
add ebx, ebx
jne 0x230b786
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x230b754
inc ecx
add ebx, ebx
jne 0x230b794
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x230b754
add ebx, ebx
jne 0x230b7a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x230b796
jne 0x230b7b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x230b796
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x230b7d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x230b7c6
jmp 0x230b716
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x230b7d4
add edi, ecx
jmp 0x230b716
pop esi
mov edi, esi
mov ecx, 0x96045
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x230b7f2
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x230b7f7
lea edi, [esi + 0x1e4a000]
mov eax, dword [edi]
or eax, eax
je 0x230b85f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x22ddf68]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x22de134]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x230b81d
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x22de138]
or eax, eax
je 0x230b859
mov dword [ebx], eax
add ebx, 4
jmp 0x230b83a
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x230b899
cmp al, 0xef
ja 0x230b883
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x230b865
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
or eax, eax
jne 0x230b872
mov eax, dword [edi]
add edi, 4
jmp 0x230b872
mov ebp, dword [esi + 0x22de13c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x230b8cd
sub esp, 0xffffff80
jmp 0x1a92198
Function at 0x4019bf
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
mov ecx, 0x570780
jmp 0x4019b3
mov eax, 0x4c8fda
call fcn.0049cce0
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004185aa
xor edi, edi
lea ecx, [esi + 0x14]
mov dword [ebp - 4], edi
call fcn.00401a94
push 1
lea ecx, [esi + 0x30]
pop ebx
mov byte [ebp - 4], bl
call fcn.0042b5b6
mov eax, dword [0x56c010]
lea ecx, [esi + 0x58]
mov dword [ecx], eax
mov eax, dword [0x56c010]
mov dword [esi + 0x5c], eax
mov eax, dword [0x56c010]
mov dword [esi + 0x70], eax
mov eax, dword [0x56c010]
mov dword [esi + 0x78], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x54], edi
mov edi, 0x570804
mov byte [ebp - 4], 6
push edi
mov dword [esi], 0x4d2940
mov dword [esi + 0x14], 0x4d293c
mov dword [esi + 0x30], 0x4d2930
mov dword [esi + 0x50], ebx
call fcn.004b97a5
push edi
lea ecx, [esi + 0x5c]
call fcn.004b97a5
and dword [esi + 0x6c], 0
push edi
lea ecx, [esi + 0x70]
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], 0x80
mov dword [esi + 0x68], 0x48
call fcn.004b97a5
and dword [esi + 0x74], 0
push edi
lea ecx, [esi + 0x78]
call fcn.004b97a5
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x405407
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x4c95cc
call fcn.0049cce0
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
push 0x570804
lea ecx, [ebp - 0x10]
call fcn.004b9682
add esi, 0x200
xor edi, edi
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.004069fb
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, edi
mov dword [ebp - 0x18], eax
je 0x4054ab
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00406a0f
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0xc8]
cmp dword [eax + 0x74], 0x64
jne 0x4054a6
cmp dword [eax + 0x7c], 0x64
jne 0x4054a6
push dword [eax + 0x5c8]
lea edi, [eax + 0x5c8]
call ebx
test eax, eax
je 0x4054a4
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
je 0x405481
push 0x4f4988
lea ecx, [ebp - 0x10]
call fcn.004b99ff
push 0x4f4984
lea ecx, [ebp - 0x10]
call fcn.004b99ff
push edi
lea ecx, [ebp - 0x10]
call fcn.004b9a3b
push 0x4f4984
lea ecx, [ebp - 0x10]
call fcn.004b99ff
xor edi, edi
cmp dword [ebp - 0x18], edi
jne 0x405437
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
je 0x4054ed
lea eax, [ebp - 0x14]
push eax
call fcn.00402052
pop ecx
push dword [ebp - 0x14]
call ebx
test eax, eax
je 0x4054d2
push 5
push edi
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
jmp 0x4054de
push 1
push edi
push edi
push dword [ebp - 0x10]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
call fcn.004b960e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b960e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4083ce
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4c989c
call fcn.0049cce0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
sub esp, 0x10
mov esi, ebx
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
push esi
call fcn.0040834a
mov eax, dword [esi]
push 0x404040
mov ecx, esi
call dword [eax + 0x30]
push dword [ebp + 0x10]
dec dword [ebx + 0xc]
lea ecx, [ebp + 0xc]
mov edi, eax
call fcn.004b9682
mov eax, dword [eax]
mov edx, dword [esi]
and dword [ebp - 4], 0
push 0x8825
mov ecx, dword [eax - 8]
push ebx
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004b960e
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x30]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
mov edi, 0x4d39b0
push ebx
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, 0x2b4
lea eax, [ebp - 0x2bc]
push esi
push ebx
push eax
call fcn.0049d0c0
lea eax, [ebp - 8]
add esp, 0xc
neg eax
sbb eax, eax
lea ecx, [ebp - 4]
and eax, ecx
xor ecx, ecx
cmp dword [ebp + 8], ebx
mov eax, dword [eax]
sete cl
or cx, 0x4008
push ecx
lea ecx, [ebp - 0x2bc]
push esi
push ecx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [ebp - 8]
mov esi, eax
neg ecx
sbb ecx, ecx
lea eax, [ebp - 4]
and ecx, eax
mov dword [ebp - 8], edi
call fcn.0040a67f
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40af02
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
push esi
mov esi, 0x2b4
push edi
push esi
lea eax, [ebp - 0x2b4]
push 0
mov edi, ecx
push eax
call fcn.0049d0c0
mov eax, dword [ebp + 8]
add esp, 0xc
or ax, 0x4008
push eax
lea eax, [ebp - 0x2b4]
push esi
push eax
push 0
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2b0]
pop edi
pop esi
leave
ret 4
Function at 0x410b70
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ca300
call fcn.0049cce0
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.004b9682
mov eax, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [eax - 8], edi
jne 0x410baa
push eax
mov ecx, esi
call fcn.004bcc61
or ebx, 0xffffffff
jmp 0x410c3c
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0xe0]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x410c1c
mov eax, dword [esi]
or dword [ebp - 0x10], 0xffffffff
or dword [ebp - 0x14], 0xffffffff
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push ebx
mov ecx, esi
call dword [eax + 0xd4]
push ebx
mov ecx, esi
call fcn.004b6c40
cmp dword [ebp - 0x10], edi
jge 0x410c06
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410c06
push edi
push 1
push dword [ebp + 8]
call fcn.004162a8
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x10]
push dword [ebp + 8]
push edi
call dword [eax + 0xd8]
jmp 0x410c2a
push dword [ebp - 0x18]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0xf0]
mov ebx, eax
push edi
push ebx
push 0x14e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004b960e
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x411911
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4ca3d0
call fcn.0049cce0
sub esp, 0x80
push ebx
push esi
mov esi, dword [ebp + 8]
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004c015b
cmp dword [esi], 0
mov ebx, eax
je 0x41195e
lea eax, [ebp - 0x8c]
push 0x40
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x8c]
push eax
call fcn.004178b4
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x411991
mov eax, dword [ebp + 0x10]
push 1
push 1
push 0
push dword [eax + 4]
push dword [eax]
lea eax, [ebp + 0x10]
push eax
call fcn.004176bb
add esp, 0x18
push dword [ebp + 0x10]
and dword [ebp - 4], 0
push ebx
call fcn.004bfa77
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004b960e
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x412394
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4ca5b0
call fcn.0049cce0
push ecx
mov eax, dword [0x56c010]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x18], eax
mov eax, dword [0x56c010]
and dword [ebp - 4], 0
mov dword [esi + 0x20], eax
mov eax, dword [0x56c010]
mov dword [esi + 0x24], eax
mov eax, dword [0x56c010]
mov dword [esi + 0x28], eax
mov eax, dword [0x56c010]
mov dword [esi + 0x2c], eax
mov eax, dword [0x56c010]
mov dword [esi + 0x30], eax
mov eax, dword [0x56c010]
mov dword [esi + 0x34], eax
mov eax, dword [0x56c010]
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 7
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi], 0x4d59c4
mov dword [esi + 0xc], eax
call fcn.00417062
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x413dbc
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x415659
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [esi + 0x60]
lea ebx, [esi + 4]
mov dword [ebp - 4], eax
push ebx
mov dword [eax], edi
lea eax, [esi + 0x14]
push eax
push edi
push edi
push 0x20
push edi
push edi
push edi
mov dword [esi + 0x5c], edi
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x415691
or eax, 0xffffffff
jmp 0x415706
cmp dword [ebp + 0xc], edi
mov dword [esi + 0x5c], 0xa
je 0x4156cd
mov dword [ebp + 8], edi
push 0x64
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4156d7
mov eax, dword [ebp + 0xc]
cmp dword [eax], edi
je 0x4156a0
add dword [ebp + 8], 0x64
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x58]
jl 0x4156a0
push 1
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4156d7
push 0xffffffffffffffff
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x5c], 0x64
cmp eax, edi
je 0x4156ee
cmp dword [eax], edi
je 0x4156ee
push 1
pop eax
jmp 0x415706
mov esi, dword [ebp - 4]
push esi
push dword [ebx]
mov dword [esi], 1
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esi]
neg eax
sbb eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x41570d
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea eax, [esi + 0x60]
lea edi, [esi + 4]
mov dword [ebp - 4], eax
push edi
mov dword [eax], ebx
lea eax, [esi + 0x14]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
mov dword [esi + 0x5c], ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x415745
or eax, 0xffffffff
jmp 0x4157bd
cmp dword [ebp + 0xc], ebx
mov dword [esi + 0x5c], 0xa
je 0x415784
mov dword [ebp + 8], ebx
push 0x64
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41578e
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp eax, dword [ebp + 0x10]
jne 0x415754
add dword [ebp + 8], 0x64
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x58]
jl 0x415754
push 1
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x41578e
push 0xffffffffffffffff
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x5c], 0x64
cmp eax, ebx
je 0x4157a5
cmp dword [eax], ebx
je 0x4157a5
push 1
pop eax
jmp 0x4157bd
mov esi, dword [ebp - 4]
push esi
push dword [edi]
mov dword [esi], 1
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esi]
neg eax
sbb eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc