joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4320a7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x46f710]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4320ea
cmp word [esi], dx
jne 0x4320ea
or byte [edi + eax + 0x28], 4
jmp 0x4320ef
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x432242
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x432222
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x432131
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x432167
cmp eax, edx
jae 0x432173
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x432109
jmp 0x432242
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43221e
cmp dword [ebp - 0x14], 0
je 0x43221e
mov eax, dword [ebx*4 + 0x46f710]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4321f6
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4321bf
mov word [esi], cx
jmp 0x4321f2
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x46f710]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x46f710]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x46f710]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x432242
pop ebx
cmp word [ebp - 4], bx
jne 0x432207
cmp esi, dword [ebp + 0xc]
jne 0x432207
mov word [esi], bx
jmp 0x43223f
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00433244
add esp, 0x10
cmp word [ebp - 4], bx
je 0x432242
push 0xd
jmp 0x43223b
mov ecx, dword [ebx*4 + 0x46f710]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x432239
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x432242
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x432a63
Capabilities:
Read file on windows

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

Function at 0x433691
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0041c280
mov eax, dword [0x46a030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00428b44
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4336d3
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x43382f
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0043f230
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x46f710]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00433226
mov ecx, dword [esi*4 + 0x46f710]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x433828
cmp eax, dword [edi + ecx + 0x24]
jne 0x433828
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x433828
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00433226
add esp, 0x14
test edx, edx
jl 0x433828
jg 0x43379e
test eax, eax
jb 0x433828
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x433828
jl 0x4337b8
cmp dword [ebp - 0x1008], eax
ja 0x433828
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4337d6
test ebx, ebx
je 0x43380f
cmp ecx, edi
jae 0x43380f
mov al, byte [ecx]
cmp al, 0xd
jne 0x4337f0
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4337fc
cmp byte [ecx + 1], 0xa
jne 0x4337fc
inc ecx
jmp 0x4337fc
movzx eax, al
movsx eax, byte [eax + 0x46a2a8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4337d6
cmp edx, ebx
jne 0x4337d6
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x43382d
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0041b1b6
leave
ret
Function at 0x437ef3
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x46a030]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x437f3e
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00438092
test al, al
jne 0x437f38
sub edx, 2
cmp edx, edi
jne 0x437f1e
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x437f60
lea eax, [edi + 2]
cmp edx, eax
je 0x437f60
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00437e3f
add esp, 0x10
jmp 0x43805a
push esi
lea ecx, [ebp - 0x255]
call fcn.00438092
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x437fa3
push dword [ebp - 0x25c]
jmp 0x437f50
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x437fe0
cmp word [ebp - 0x226], 0
je 0x438001
cmp word [ebp - 0x226], ax
jne 0x437fe0
cmp word [ebp - 0x224], 0
je 0x438001
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00437e3f
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x43804d
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x437fba
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x438035
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x43805a
push 0x437c6f
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0043e330
add esp, 0x10
jmp 0x43802a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b1b6
leave
ret

Function at 0x438965
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x438976
pop esi
ret
push ebx
push edi
push esi
call fcn.0043892e
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00430863
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x43899e
push ebx
push esi
push edi
call fcn.0041c980
add esp, 0xc
push 0
call fcn.0042fbfe
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x438d62
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004389b3
Function at 0x43e955
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0043e8d1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x43eacd
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x43eacd
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x43ea7c
jg 0x43e9ae
test eax, eax
je 0x43ea72
push 1
push 0x1000
call fcn.00431c8d
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x43e9d4
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x43ea69
push 0x8000
push ebx
call fcn.0042c46a
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x43ea00
jg 0x43e9fb
cmp ecx, 0x1000
jb 0x43ea00
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0042f3cd
add esp, 0x10
cmp eax, 0xffffffff
je 0x43ea45
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x43e9fb
jl 0x43ea2c
test ecx, ecx
jne 0x43e9ed
push dword [ebp - 0xc]
push ebx
call fcn.0042c46a
push esi
call fcn.0042fbfe
add esp, 0xc
xor edi, edi
jmp 0x43eade
cmp byte [edi + 0x24], 0
je 0x43ea5c
cmp dword [edi + 0x20], 5
jne 0x43ea5c
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x43ea67
mov edi, dword [edi + 0x18]
jmp 0x43ea69
xor edi, edi
push esi
call fcn.0042fbfe
pop ecx
jmp 0x43eade
test ecx, ecx
jg 0x43ea3e
jl 0x43ea7c
test eax, eax
jae 0x43ea3e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00433244
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x43ea9f
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x43ea3e
jmp 0x43ead6
push ebx
call fcn.00432fd3
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x43ea3e
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x43eade
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x43eadb
mov edi, dword [edi + 0x18]
jmp 0x43eade
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00433244
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43f1f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43f21d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43f21d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x43faa6
Capabilities:
Accept command line arguments

Disassembly:
push 0x9c
mov eax, 0x44e7b1
call fcn.0041baf1
xor ecx, ecx
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x88]
call fcn.00401a57
mov byte [ebp - 4], 1
call fcn.0044127b
push eax
lea ecx, [ebp - 0x70]
call fcn.004054e2
push 0x37
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 2
push eax
mov ecx, 0x46e0cc
call fcn.00407917
mov esi, eax
push 0x4615d8
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00401ae1
pop ecx
push esi
push eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
push dword [ebp - 0xa4]
call fcn.00407575
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401a20
lea ecx, [ebp - 0x58]
call fcn.004024cc
lea ecx, [ebp - 0x40]
call fcn.004024cc
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
call fcn.004024cc
push 8
pop edi
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
push 0x45aa84
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00421583
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x43fbfd
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x58]
call fcn.004099f4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
push esi
push dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
push 1
push ecx
call fcn.00421862
push esi
push 1
push 1
push 0x461630
call fcn.00421862
add esp, 0x20
lea ecx, [ebp - 0x40]
mov edx, 0x490cac
call fcn.004099f4
cmp dword [ebp - 0x30], 0
je 0x43fbe6
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push esi
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push 1
push eax
call fcn.00421862
add esp, 0x10
push esi
call fcn.004219c1
pop ecx
lea ecx, [ebp - 0x40]
call fcn.004021bf
lea ecx, [ebp - 0x58]
call fcn.004021bf
lea ecx, [ebp - 0x70]
call fcn.004024cc
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0
call fcn.004024cc
call fcn.0044108a
cmp dword [0x490d08], edi
mov esi, 0x490cf4
push ecx
mov eax, esi
mov ecx, esp
cmovae eax, dword [0x490cf4]
push eax
call fcn.00406827
mov ecx, dword [0x490f98]
call fcn.0044358e
pop ecx
test eax, eax
je 0x43fc4c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x490d08], edi
cmovae esi, dword [0x490cf4]
push esi
call fcn.00426cf1
cmp dword [ebp - 0x18], 0
pop ecx
je 0x43fc92
cmp dword [ebp - 0x14], edi
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.00407f4b
test al, al
je 0x43fc92
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00426cf1
pop ecx
mov eax, dword [ebp - 0x14]
cmp eax, edi
jb 0x43fce0
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], ecx
cmp eax, 0x1000
jb 0x43fcd7
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0040247c
mov eax, dword [ebp - 0xa8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xa4]
push eax
push ecx
call fcn.0041b1c4
pop ecx
pop ecx
call fcn.0041baa0
ret
Function at 0x440443
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push 0x464
mov eax, 0x44e965
call fcn.0041baf1
mov esi, ecx
mov ecx, dword [esi]
call fcn.00443491
mov edx, dword [esi]
lea ecx, [ebp - 0x448]
mov edi, eax
call fcn.004434af
lea eax, [ebp - 0x470]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x470], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0x46c], ebx
mov dword [ebp - 0x468], ebx
mov dword [ebp - 0x464], ebx
push 0x1c
lea eax, [ebp - 0x460]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x46e0cc
call fcn.00407917
mov ecx, eax
cmp dword [ecx + 0x14], 8
jb 0x4404b6
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x468]
cmp dword [ebp - 0x46c], eax
mov dword [ebp - 0x42c], ebx
cmovne eax, dword [ebp - 0x46c]
mov dword [ebp - 0x468], eax
mov eax, dword [ebp - 0x470]
mov dword [ebp - 0x430], eax
xor eax, eax
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x418], 7
mov word [ebp - 0x42c], ax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x46c]
mov dword [ebp - 0x414], eax
test ecx, ecx
je 0x44051a
push ecx
lea ecx, [ebp - 0x42c]
call fcn.004021f5
lea eax, [ebp - 0x430]
push eax
push 0x40fbf2
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [ebp - 0x468]
lea ecx, [ebp - 0x42c]
sub esi, dword [ebp - 0x46c]
sar esi, 2
call fcn.004024cc
lea ecx, [ebp - 0x460]
call fcn.004024cc
cmp esi, 1
jle 0x4405e5
push 0x400
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.0041cf00
mov esi, dword [ebp - 0x46c]
add esp, 0xc
jmp 0x4405d7
push 0x200
lea eax, [ebp - 0x410]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [ebp - 0x434], 8
lea eax, [ebp - 0x448]
lea ecx, [ebp - 0x410]
cmovae eax, dword [ebp - 0x448]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4405cb
test dx, dx
je 0x4405c7
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4405cb
add ecx, 4
add eax, 4
test dx, dx
jne 0x4405a5
mov eax, ebx
jmp 0x4405d0
sbb eax, eax
or eax, 1
test eax, eax
je 0x4405e1
add esi, 4
cmp esi, dword [ebp - 0x468]
jne 0x440577
jmp 0x4405fc
mov edi, dword [esi]
jmp 0x4405fc
mov eax, dword [ebp - 0x468]
mov ecx, dword [ebp - 0x46c]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x4405fc
mov edi, dword [ecx]
lea ecx, [ebp - 0x46c]
call fcn.004029e9
lea ecx, [ebp - 0x448]
call fcn.004024cc
mov eax, edi
call fcn.0041baa0
ret
Function at 0x440b41
Capabilities:
Create thread

Disassembly:
push 0x5c
mov eax, 0x44ea93
call fcn.0041bb5d
cmp byte [0x491055], 0
jne 0x440bbe
xor esi, esi
lea eax, [ebp - 0x48]
push eax
push esi
push 0x490c60
push 0x402f88
push esi
push esi
mov dword [0x490fc0], esi
mov dword [ebp - 0x48], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], esi
call fcn.00446f80
or dword [ebp - 4], 0xffffffff
mov dword [0x490fc0], eax
jmp 0x440b97
cmp dword [ebp - 0x48], 0
je 0x440bb5
push esi
push esi
push 0x502
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x490fc0], 0
je 0x440bc4
call fcn.0041baaf
ret
lea ecx, [ebp - 0x2c]
call fcn.00402063
mov dword [ebp - 4], 2
call fcn.00406dbd
test al, al
lea eax, [ebp - 0x44]
je 0x440c04
push 0x2b
push 0x13
push eax
call fcn.004401c4
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401a90
lea ecx, [ebp - 0x44]
call fcn.004021e5
lea ecx, [ebp - 0x2c]
call fcn.00445bda
jmp 0x440c1f
push 0x29
push 0x11
push eax
call fcn.004401c4
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401a90
lea ecx, [ebp - 0x44]
call fcn.004021e5
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00405407
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x68]
call fcn.004049ba
push 0x466fb4
lea eax, [ebp - 0x68]
push eax
call fcn.0041eb8e
int3

Function at 0x440c4a
Capabilities:
Create thread

Disassembly:
push esi
call fcn.00421bcf
cmp byte [0x491055], 0
mov esi, eax
jne 0x440ca7
cmp dword [0x490fbc], 0
jne 0x440ca7
cmp word [0x49105e], 3
push edi
mov edi, 0x491058
jne 0x440c8b
mov ecx, edi
call fcn.00402190
test al, 1
je 0x440c8b
mov eax, dword [0x490d70]
shr eax, 9
test al, 1
je 0x440ca6
push 0x490fc4
xor eax, eax
push eax
push edi
push 0x405769
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x490fc8], eax
pop edi
mov eax, esi
pop esi
ret
Function at 0x440d71
Capabilities:
Check mutex on windows

Disassembly:
push 0x64
mov eax, 0x44eb23
call fcn.0041baf1
mov eax, dword [0x490d70]
shr eax, 0xe
test al, 1
je 0x440e14
push 0x490c78
lea ecx, [ebp - 0x28]
call fcn.004054e2
and dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0x461608
call fcn.00401a57
push 0x4615d8
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00401a57
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.00409c5a
pop ecx
lea ecx, [ebp - 0x58]
call fcn.004024cc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.004024cc
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x490fcc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x440e1a
lea ecx, [ebp - 0x28]
call fcn.004024cc
call fcn.0041baa0
ret
push 0x2e
push 0x29
lea eax, [ebp - 0x70]
push eax
call fcn.004401c4
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.00445bda
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x38]
call fcn.00405407
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x50]
call fcn.004049ba
push 0x466fb4
lea eax, [ebp - 0x50]
push eax
call fcn.0041eb8e
int3

Function at 0x44127b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x46a030]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x490ca0], 0
push esi
mov esi, 0x490c90
jne 0x441396
push ebx
lea eax, [ebp - 0x804]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x804]
mov ecx, esi
push eax
call fcn.004021f5
cmp dword [0x490ca4], 8
mov eax, esi
cmovae eax, dword [0x490c90]
xor ebx, ebx
push ebx
push eax
call fcn.00426868
pop ecx
pop ecx
test eax, eax
je 0x4412f4
push 0x45aaf4
mov ecx, esi
call fcn.004021f5
mov ecx, esi
call fcn.00408322
cmp dword [0x490ca0], ebx
je 0x441319
cmp dword [0x490ca4], 8
mov eax, esi
push ebx
cmovae eax, dword [0x490c90]
push eax
call fcn.00426868
pop ecx
pop ecx
test eax, eax
je 0x44132c
push str.TEMP
call fcn.00427203
pop ecx
push eax
mov ecx, esi
call fcn.004021f5
cmp dword [0x490ca0], ebx
je 0x441351
cmp dword [0x490ca4], 8
mov eax, esi
push ebx
cmovae eax, dword [0x490c90]
push eax
call fcn.00426868
pop ecx
pop ecx
test eax, eax
je 0x441364
push 0x461600
call fcn.00427203
pop ecx
push eax
mov ecx, esi
call fcn.004021f5
cmp dword [0x490ca0], ebx
je 0x441389
cmp dword [0x490ca4], 8
mov eax, esi
push ebx
cmovae eax, dword [0x490c90]
push eax
call fcn.00426868
pop ecx
pop ecx
test eax, eax
je 0x441395
push 0x490c60
mov ecx, esi
call fcn.00405510
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041b1b6
leave
ret
Function at 0x444efa
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x46a030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
cmp dword [esi + 0xc], 0x201
jne 0x444feb
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0041cf00
mov eax, dword [esi + 0x18]
add esp, 0xc
mov dword [ebp - 0x218], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x218]
push eax
push edi
push 0x44b
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x244], eax
xor eax, eax
push 7
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x23c], edi
lea edi, [ebp - 0x234]
pop ecx
mov dword [ebp - 0x254], 0x3c
mov dword [ebp - 0x238], 5
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_HideCaret]
mov eax, dword [ebx + 0xb8]
pop edi
cmp eax, dword [ebx + 0xbc]
je 0x444fee
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x444fee
and dword [eax], 0
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b1b6
leave
ret 0xc
Function at 0x44a860
Capabilities:
Check if file exists
Get file attributes
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
xor bl, bl
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x44a87d
mov eax, dword [esi]
test eax, eax
je 0x44a9a1
cmp word [eax], 0
je 0x44a9a1
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44a9a1
test al, 0x10
jne 0x44a9a1
cmp dword [esi + 0x14], 8
jb 0x44a8af
mov esi, dword [esi]
push 0x461628
push esi
call fcn.00421583
mov esi, eax
add esp, 8
test esi, esi
je 0x44a9a1
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
push esi
movlpd qword [esp + 0x18], xmm0
call fcn.00428bfb
push 2
push 0
push esi
call fcn.0042827c
lea eax, [esp + 0x24]
push eax
push esi
call fcn.00428bfb
lea eax, [esp + 0x34]
push eax
push esi
call fcn.00429132
add esp, 0x24
cmp dword [esp + 0x10], 0x28
jbe 0x44a998
xor eax, eax
mov dword [esp + 0x20], 0x48535844
push esi
push 1
mov word [esp + 0x40], ax
xorps xmm0, xmm0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x28]
push 0x28
push eax
mov dword [esp + 0x34], 0x28
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
movsd qword [esp + 0x40], xmm0
call fcn.00427865
add esp, 0x10
test eax, eax
je 0x44a998
mov eax, dword [esp + 0x2c]
not eax
ror eax, 3
cmp eax, dword [esp + 0xc]
jne 0x44a998
cmp dword [esp + 0x20], 0x48535844
jne 0x44a998
cmp dword [esp + 0x24], 0x28
jne 0x44a998
movzx ecx, word [esp + 0x38]
add ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
add ecx, dword [esp + 0x40]
add eax, 0x28
add eax, ecx
cmp eax, dword [esp + 0x10]
sete bl
push esi
call fcn.004219c1
add esp, 4
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret