joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43219a
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 + 0x470670]
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 0x4321dd
cmp word [esi], dx
jne 0x4321dd
or byte [edi + eax + 0x28], 4
jmp 0x4321e2
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 0x432335
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 0x432315
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x432224
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x43225a
cmp eax, edx
jae 0x432266
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 0x4321fc
jmp 0x432335
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 0x432311
cmp dword [ebp - 0x14], 0
je 0x432311
mov eax, dword [ebx*4 + 0x470670]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4322e9
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4322b2
mov word [esi], cx
jmp 0x4322e5
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x470670]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x470670]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x470670]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x432335
pop ebx
cmp word [ebp - 4], bx
jne 0x4322fa
cmp esi, dword [ebp + 0xc]
jne 0x4322fa
mov word [esi], bx
jmp 0x432332
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00433337
add esp, 0x10
cmp word [ebp - 4], bx
je 0x432335
push 0xd
jmp 0x43232e
mov ecx, dword [ebx*4 + 0x470670]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x43232c
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x432335
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 0x432b56
Capabilities:
Read file on windows

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

Function at 0x433784
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0041c360
mov eax, dword [0x46b030]
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.00428c34
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4337c6
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x433922
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0043f320
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 + 0x470670]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00433319
mov ecx, dword [esi*4 + 0x470670]
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 0x43391b
cmp eax, dword [edi + ecx + 0x24]
jne 0x43391b
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 0x43391b
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00433319
add esp, 0x14
test edx, edx
jl 0x43391b
jg 0x433891
test eax, eax
jb 0x43391b
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x43391b
jl 0x4338ab
cmp dword [ebp - 0x1008], eax
ja 0x43391b
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4338c9
test ebx, ebx
je 0x433902
cmp ecx, edi
jae 0x433902
mov al, byte [ecx]
cmp al, 0xd
jne 0x4338e3
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4338ef
cmp byte [ecx + 1], 0xa
jne 0x4338ef
inc ecx
jmp 0x4338ef
movzx eax, al
movsx eax, byte [eax + 0x46b2a8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4338c9
cmp edx, ebx
jne 0x4338c9
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x433920
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0041b29a
leave
ret
Function at 0x437fe3
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x46b030]
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 0x43802e
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00438182
test al, al
jne 0x438028
sub edx, 2
cmp edx, edi
jne 0x43800e
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x438050
lea eax, [edi + 2]
cmp edx, eax
je 0x438050
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00437f2f
add esp, 0x10
jmp 0x43814a
push esi
lea ecx, [ebp - 0x255]
call fcn.00438182
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 0x438093
push dword [ebp - 0x25c]
jmp 0x438040
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 0x4380d0
cmp word [ebp - 0x226], 0
je 0x4380f1
cmp word [ebp - 0x226], ax
jne 0x4380d0
cmp word [ebp - 0x224], 0
je 0x4380f1
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00437f2f
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x43813d
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4380aa
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x438125
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x43814a
push 0x437d5f
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0043e420
add esp, 0x10
jmp 0x43811a
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.0041b29a
leave
ret

Function at 0x438a55
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x438a66
pop esi
ret
push ebx
push edi
push esi
call fcn.00438a1e
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00430956
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x438a8e
push ebx
push esi
push edi
call fcn.0041ca60
add esp, 0xc
push 0
call fcn.0042fcf1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x438e52
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00438aa3
Function at 0x43ea45
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.0043e9c1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x43ebbd
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x43ebbd
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x43eb6c
jg 0x43ea9e
test eax, eax
je 0x43eb62
push 1
push 0x1000
call fcn.00431d80
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x43eac4
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x43eb59
push 0x8000
push ebx
call fcn.0042c55a
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 0x43eaf0
jg 0x43eaeb
cmp ecx, 0x1000
jb 0x43eaf0
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0042f4c0
add esp, 0x10
cmp eax, 0xffffffff
je 0x43eb35
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 0x43eaeb
jl 0x43eb1c
test ecx, ecx
jne 0x43eadd
push dword [ebp - 0xc]
push ebx
call fcn.0042c55a
push esi
call fcn.0042fcf1
add esp, 0xc
xor edi, edi
jmp 0x43ebce
cmp byte [edi + 0x24], 0
je 0x43eb4c
cmp dword [edi + 0x20], 5
jne 0x43eb4c
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x43eb57
mov edi, dword [edi + 0x18]
jmp 0x43eb59
xor edi, edi
push esi
call fcn.0042fcf1
pop ecx
jmp 0x43ebce
test ecx, ecx
jg 0x43eb2e
jl 0x43eb6c
test eax, eax
jae 0x43eb2e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00433337
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x43eb8f
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x43eb2e
jmp 0x43ebc6
push ebx
call fcn.004330c6
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x43eb2e
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 0x43ebce
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x43ebcb
mov edi, dword [edi + 0x18]
jmp 0x43ebce
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00433337
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43f2e0
Capabilities:
Parse pe header

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

Disassembly:
push 0x9c
mov eax, 0x44ea71
call fcn.0041bbd1
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
xor ecx, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 7
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.00401a79
mov byte [ebp - 4], 1
call fcn.004412d2
push eax
lea ecx, [ebp - 0x70]
call fcn.0040551a
push 0x37
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 2
push eax
mov ecx, 0x46f0cc
call fcn.00407aee
mov esi, eax
push 0x462338
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00401b09
pop ecx
push esi
push eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
push dword [ebp - 0xa4]
call fcn.00407746
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401a42
lea ecx, [ebp - 0x58]
call fcn.004024e2
lea ecx, [ebp - 0x40]
call fcn.004024e2
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
call fcn.004024e2
push 8
pop edi
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
push 0x45b7e0
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00421673
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x43fcf3
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x58]
call fcn.00409c03
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.00421952
push esi
push 1
push 1
push 0x462390
call fcn.00421952
add esp, 0x20
lea ecx, [ebp - 0x40]
mov edx, 0x491c0c
call fcn.00409c03
cmp dword [ebp - 0x30], 0
je 0x43fcdc
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.00421952
add esp, 0x10
push esi
call fcn.00421ab1
pop ecx
lea ecx, [ebp - 0x40]
call fcn.004021d5
lea ecx, [ebp - 0x58]
call fcn.004021d5
lea ecx, [ebp - 0x70]
call fcn.004024e2
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0
call fcn.004024e2
call fcn.004410db
cmp dword [0x491c68], edi
mov esi, 0x491c54
push ecx
mov eax, esi
mov ecx, esp
cmovae eax, dword [0x491c54]
push eax
call fcn.00406876
mov ecx, dword [0x491ef8]
call fcn.0044370d
pop ecx
test eax, eax
je 0x43fd42
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x491c68], edi
cmovae esi, dword [0x491c54]
push esi
call fcn.00426de1
cmp dword [ebp - 0x18], 0
pop ecx
je 0x43fd88
cmp dword [ebp - 0x14], edi
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.0040813c
test al, al
je 0x43fd88
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00426de1
pop ecx
mov eax, dword [ebp - 0x14]
cmp eax, edi
jb 0x43fdd6
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], ecx
cmp eax, 0x1000
jb 0x43fdcd
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00402492
mov eax, dword [ebp - 0xa8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xa4]
push eax
push ecx
call fcn.0041b2a8
pop ecx
pop ecx
call fcn.0041bb80
ret
Function at 0x4404b2
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push 0x464
mov eax, 0x44ec12
call fcn.0041bbd1
mov esi, ecx
mov ecx, dword [esi]
call fcn.00443600
mov edx, dword [esi]
lea ecx, [ebp - 0x448]
mov ebx, eax
call fcn.0044361e
lea eax, [ebp - 0x470]
xor esi, esi
push eax
mov dword [ebp - 4], esi
push ebx
mov dword [ebp - 0x470], esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0x46c], esi
mov dword [ebp - 0x468], esi
mov dword [ebp - 0x464], esi
push 0x1c
lea eax, [ebp - 0x460]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x46f0cc
call fcn.00407aee
mov ecx, eax
cmp dword [ecx + 0x14], 8
jb 0x440525
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x468]
lea edi, [ebp - 0x42c]
cmp dword [ebp - 0x46c], eax
cmovne eax, dword [ebp - 0x46c]
mov dword [ebp - 0x468], eax
mov eax, dword [ebp - 0x470]
mov dword [ebp - 0x430], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x41c], esi
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 0x44058f
push ecx
lea ecx, [ebp - 0x42c]
call fcn.0040220b
lea eax, [ebp - 0x430]
push eax
push 0x40ff1d
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.004024e2
lea ecx, [ebp - 0x460]
call fcn.004024e2
cmp esi, 1
jle 0x44065b
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.0041cfe0
mov esi, dword [ebp - 0x46c]
add esp, 0xc
jmp 0x44064d
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 0x440641
test dx, dx
je 0x44063d
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x440641
add ecx, 4
add eax, 4
test dx, dx
jne 0x44061b
xor eax, eax
jmp 0x440646
sbb eax, eax
or eax, 1
test eax, eax
je 0x440657
add esi, 4
cmp esi, dword [ebp - 0x468]
jne 0x4405ed
jmp 0x440672
mov ebx, dword [esi]
jmp 0x440672
mov eax, dword [ebp - 0x468]
mov ecx, dword [ebp - 0x46c]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x440672
mov ebx, dword [ecx]
lea ecx, [ebp - 0x46c]
call fcn.004029ff
lea ecx, [ebp - 0x448]
call fcn.004024e2
mov eax, ebx
call fcn.0041bb80
ret
Function at 0x440b86
Capabilities:
Create thread

Disassembly:
push 0x5c
mov eax, 0x44ed40
call fcn.0041bc3d
cmp byte [0x491fb5], 0
jne 0x440c03
xor esi, esi
lea eax, [ebp - 0x48]
push eax
push esi
push 0x491bc0
push 0x402f9e
push esi
push esi
mov dword [0x491f20], esi
mov dword [ebp - 0x48], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], esi
call fcn.004470d0
or dword [ebp - 4], 0xffffffff
mov dword [0x491f20], eax
jmp 0x440bdc
cmp dword [ebp - 0x48], 0
je 0x440bfa
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 [0x491f20], 0
je 0x440c09
call fcn.0041bb8f
ret
lea ecx, [ebp - 0x2c]
call fcn.0040206f
mov dword [ebp - 4], 2
call fcn.00406ebb
test al, al
lea eax, [ebp - 0x44]
je 0x440c49
push 0x2b
push 0x13
push eax
call fcn.00440227
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401ab8
lea ecx, [ebp - 0x44]
call fcn.004021fb
lea ecx, [ebp - 0x2c]
call fcn.00445d16
jmp 0x440c64
push 0x29
push 0x11
push eax
call fcn.00440227
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401ab8
lea ecx, [ebp - 0x44]
call fcn.004021fb
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x58]
call fcn.0040543f
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x68]
call fcn.004049e3
push 0x467d74
lea eax, [ebp - 0x68]
push eax
call fcn.0041ec6e
int3

Function at 0x440c8f
Capabilities:
Create thread

Disassembly:
push esi
call fcn.00421cbf
cmp byte [0x491fb5], 0
mov esi, eax
jne 0x440cec
cmp dword [0x491f1c], 0
jne 0x440cec
cmp word [0x491fbe], 3
push edi
mov edi, 0x491fb8
jne 0x440cd0
mov ecx, edi
call fcn.004021a6
test al, 1
je 0x440cd0
mov eax, dword [0x491cd0]
shr eax, 9
test al, 1
je 0x440ceb
push 0x491f24
xor eax, eax
push eax
push edi
push 0x4057a9
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x491f28], eax
pop edi
mov eax, esi
pop esi
ret
Function at 0x440db6
Capabilities:
Check mutex on windows

Disassembly:
push 0x64
mov eax, 0x44edd0
call fcn.0041bbd1
mov eax, dword [0x491cd0]
shr eax, 0xe
test al, 1
je 0x440e59
push 0x491bd8
lea ecx, [ebp - 0x28]
call fcn.0040551a
and dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0x462368
call fcn.00401a79
push 0x462338
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00401a79
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.00409e7b
pop ecx
lea ecx, [ebp - 0x58]
call fcn.004024e2
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.004024e2
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 [0x491f2c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x440e5f
lea ecx, [ebp - 0x28]
call fcn.004024e2
call fcn.0041bb80
ret
push 0x2e
push 0x29
lea eax, [ebp - 0x70]
push eax
call fcn.00440227
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.00445d16
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040543f
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x50]
call fcn.004049e3
push 0x467d74
lea eax, [ebp - 0x50]
push eax
call fcn.0041ec6e
int3

Function at 0x4412d2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x46b030]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x491c00], 0
push esi
mov esi, 0x491bf0
jne 0x4413ed
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.0040220b
cmp dword [0x491c04], 8
mov eax, esi
cmovae eax, dword [0x491bf0]
xor ebx, ebx
push ebx
push eax
call fcn.00426958
pop ecx
pop ecx
test eax, eax
je 0x44134b
push 0x45b850
mov ecx, esi
call fcn.0040220b
mov ecx, esi
call fcn.0040851b
cmp dword [0x491c00], ebx
je 0x441370
cmp dword [0x491c04], 8
mov eax, esi
push ebx
cmovae eax, dword [0x491bf0]
push eax
call fcn.00426958
pop ecx
pop ecx
test eax, eax
je 0x441383
push str.TEMP
call fcn.004272f3
pop ecx
push eax
mov ecx, esi
call fcn.0040220b
cmp dword [0x491c00], ebx
je 0x4413a8
cmp dword [0x491c04], 8
mov eax, esi
push ebx
cmovae eax, dword [0x491bf0]
push eax
call fcn.00426958
pop ecx
pop ecx
test eax, eax
je 0x4413bb
push 0x462360
call fcn.004272f3
pop ecx
push eax
mov ecx, esi
call fcn.0040220b
cmp dword [0x491c00], ebx
je 0x4413e0
cmp dword [0x491c04], 8
mov eax, esi
push ebx
cmovae eax, dword [0x491bf0]
push eax
call fcn.00426958
pop ecx
pop ecx
test eax, eax
je 0x4413ec
push 0x491bc0
mov ecx, esi
call fcn.00405550
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041b29a
leave
ret
Function at 0x445021
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x46b030]
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 0x445112
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0041cfe0
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 0x445115
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x445115
and dword [eax], 0
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b29a
leave
ret 0xc