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

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

Function at 0x10041a5c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.1001f980
mov eax, dword [0x1006c048]
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.1003be83
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x10041a9e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10041bfa
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.1004ec00
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 + 0x10071020]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.10043780
mov ecx, dword [esi*4 + 0x10071020]
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 0x10041bf3
cmp eax, dword [edi + ecx + 0x24]
jne 0x10041bf3
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 0x10041bf3
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10043780
add esp, 0x14
test edx, edx
jl 0x10041bf3
jg 0x10041b69
test eax, eax
jb 0x10041bf3
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x10041bf3
jl 0x10041b83
cmp dword [ebp - 0x1008], eax
ja 0x10041bf3
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x10041ba1
test ebx, ebx
je 0x10041bda
cmp ecx, edi
jae 0x10041bda
mov al, byte [ecx]
cmp al, 0xd
jne 0x10041bbb
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10041bc7
cmp byte [ecx + 1], 0xa
jne 0x10041bc7
inc ecx
jmp 0x10041bc7
movzx eax, al
movsx eax, byte [eax + 0x1006c480]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x10041ba1
cmp edx, ebx
jne 0x10041ba1
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10041bf8
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1001f1ae
leave
ret
Function at 0x10042b8c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x10071020]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10042bcc
cmp byte [ebx], 0xa
jne 0x10042bcc
or byte [eax + edi + 0x28], 4
jmp 0x10042bd1
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x10042ccf
mov al, byte [edx]
cmp al, 0x1a
je 0x10042cb1
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x10042c00
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x10042c25
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x10042c2f
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x10042be2
jmp 0x10042ccf
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10042cac
cmp dword [ebp - 0xc], 0
je 0x10042cac
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x10071020]
test byte [eax + edi + 0x28], 0x48
je 0x10042c86
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x10042c71
mov byte [esi], dl
jmp 0x10042c82
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10071020]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x10042ccf
cmp byte [ebp - 1], 0xa
jne 0x10042c95
cmp esi, ebx
jne 0x10042c95
mov byte [esi], 0xa
jmp 0x10042cce
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1004379e
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x10042ccf
mov byte [esi], 0xd
jmp 0x10042cce
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x10071020]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10042ccb
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10042ccf
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10042cd8
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 + 0x10071020]
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 0x10042d1b
cmp word [esi], dx
jne 0x10042d1b
or byte [edi + eax + 0x28], 4
jmp 0x10042d20
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 0x10042e73
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 0x10042e53
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x10042d62
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10042d98
cmp eax, edx
jae 0x10042da4
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 0x10042d3a
jmp 0x10042e73
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 0x10042e4f
cmp dword [ebp - 0x14], 0
je 0x10042e4f
mov eax, dword [ebx*4 + 0x10071020]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x10042e27
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x10042df0
mov word [esi], cx
jmp 0x10042e23
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x10071020]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x10071020]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x10071020]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x10042e73
pop ebx
cmp word [ebp - 4], bx
jne 0x10042e38
cmp esi, dword [ebp + 0xc]
jne 0x10042e38
mov word [esi], bx
jmp 0x10042e70
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1004379e
add esp, 0x10
cmp word [ebp - 4], bx
je 0x10042e73
push 0xd
jmp 0x10042e6c
mov ecx, dword [ebx*4 + 0x10071020]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10042e6a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10042e73
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 0x10046ce3
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10046d80
push ebx
push esi
call fcn.10046cac
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100415b6
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10046d2d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10046d7f
push edi
push eax
call fcn.1003af5a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10046d4d
call fcn.1003af20
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10046d7e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100415b6
add esp, 0x20
test eax, eax
jne 0x10046d6c
push edi
call fcn.1003af20
jmp 0x10046d74
push ebx
call fcn.1003af20
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10046d83
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x10046d94
pop esi
ret
push ebx
push edi
push esi
call fcn.10046cac
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1003af5a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x10046dbc
push ebx
push esi
push edi
call fcn.10020160
add esp, 0xc
push 0
call fcn.1003af20
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x10047180
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10046dd1
Function at 0x1004dd21
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.1004dc9d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1004de99
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1004de99
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1004de48
jg 0x1004dd7a
test eax, eax
je 0x1004de3e
push 1
push 0x1000
call fcn.1003aec3
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1004dda0
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x1004de35
push 0x8000
push ebx
call fcn.1004dbce
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 0x1004ddcc
jg 0x1004ddc7
cmp ecx, 0x1000
jb 0x1004ddcc
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10040e36
add esp, 0x10
cmp eax, 0xffffffff
je 0x1004de11
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 0x1004ddc7
jl 0x1004ddf8
test ecx, ecx
jne 0x1004ddb9
push dword [ebp - 0xc]
push ebx
call fcn.1004dbce
push esi
call fcn.1003af20
add esp, 0xc
xor edi, edi
jmp 0x1004deaa
cmp byte [edi + 0x24], 0
je 0x1004de28
cmp dword [edi + 0x20], 5
jne 0x1004de28
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1004de33
mov edi, dword [edi + 0x18]
jmp 0x1004de35
xor edi, edi
push esi
call fcn.1003af20
pop ecx
jmp 0x1004deaa
test ecx, ecx
jg 0x1004de0a
jl 0x1004de48
test eax, eax
jae 0x1004de0a
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1004379e
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1004de6b
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x1004de0a
jmp 0x1004dea2
push ebx
call fcn.1004b2a1
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1004de0a
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 0x1004deaa
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x1004dea7
mov edi, dword [edi + 0x18]
jmp 0x1004deaa
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1004379e
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1004eae0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1004eb0d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1004eb0d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x453004]
jne 0x40100a
repz ret
jmp fcn.00401368

Function at 0x40425b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x453004]
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.00403568
and dword [ebp - 0x14], 0
cmp dword [0x455940], 0
mov dword [ebp - 0x18], eax
jne 0x40430e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4043b6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4043b6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x455940], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x455944], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x455948], eax
call edi
push eax
call esi
mov dword [0x455950], eax
test eax, eax
je 0x40430e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x45594c], eax
mov eax, dword [0x45594c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404367
cmp dword [0x455950], ecx
je 0x404367
push eax
call esi
push dword [0x455950]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404367
test ebx, ebx
je 0x404367
call edi
test eax, eax
je 0x40435e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40435e
test byte [ebp - 8], 1
jne 0x404367
or dword [ebp + 0x10], 0x200000
jmp 0x40439a
mov eax, dword [0x455944]
cmp eax, dword [ebp - 0x18]
je 0x40439a
push eax
call esi
test eax, eax
je 0x40439a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40439a
mov eax, dword [0x455948]
cmp eax, dword [ebp - 0x18]
je 0x40439a
push eax
call esi
test eax, eax
je 0x40439a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x455940]
call esi
test eax, eax
je 0x4043b6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4043b8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret

Function at 0x44f960
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0x20
add dword [ebp - 4], 0x20
mov edx, dword [0x1f27de4]
mov eax, dword [0x1f27b08]
xor ecx, ecx
mov word [0x1f27e00], cx
lea ecx, [ebp - 8]
push ecx
push 0x40
push edx
push eax
mov dword [0x1f27dec], 0x6e0072
mov dword [0x1f27df0], 0x6c0065
mov dword [0x1f27df4], 0x320033
mov dword [0x1f27df8], 0x64002e
mov dword [0x1f27dfc], 0x6c006c
mov dword [0x1f27de8], 0x65006b
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x44fae0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x453004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp edi, 0x182
jne 0x44fb0d
lea eax, [ebp - 0x820]
push eax
push str.wosevir
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push esi
xor esi, esi
test edi, edi
jle 0x44fb54
cmp edi, 0x2d
jne 0x44fb21
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
call fcn.0044fa20
xor byte [ebx + esi], al
cmp edi, 0xf
jne 0x44fb4f
push 0
lea ecx, [ebp - 0x804]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
inc esi
cmp esi, edi
jl 0x44fb14
pop esi
cmp edi, 0x2d
jne 0x44fb6e
mov dword [0x1f28170], 0xa62e7790
mov dword [0x1f28174], 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret

Function at 0x44fb80
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x453dc0]
sub esp, 0x10
push ebx
mov ebx, dword [0x1f27b08]
push edi
mov edi, dword [0x1f27de4]
push eax
call fcn.0044fa90
add esp, 4
cmp dword [0x1f27de4], 0x2f
jne 0x44fbdd
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.0044fae0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x447004]
jne 0x40100a
repz ret
jmp fcn.00401368

Function at 0x40425b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x447004]
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.00403568
and dword [ebp - 0x14], 0
cmp dword [0x449940], 0
mov dword [ebp - 0x18], eax
jne 0x40430e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4043b6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4043b6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x449940], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x449944], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x449948], eax
call edi
push eax
call esi
mov dword [0x449950], eax
test eax, eax
je 0x40430e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44994c], eax
mov eax, dword [0x44994c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404367
cmp dword [0x449950], ecx
je 0x404367
push eax
call esi
push dword [0x449950]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404367
test ebx, ebx
je 0x404367
call edi
test eax, eax
je 0x40435e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40435e
test byte [ebp - 8], 1
jne 0x404367
or dword [ebp + 0x10], 0x200000
jmp 0x40439a
mov eax, dword [0x449944]
cmp eax, dword [ebp - 0x18]
je 0x40439a
push eax
call esi
test eax, eax
je 0x40439a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40439a
mov eax, dword [0x449948]
cmp eax, dword [ebp - 0x18]
je 0x40439a
push eax
call esi
test eax, eax
je 0x40439a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x449940]
call esi
test eax, eax
je 0x4043b6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4043b8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret

Function at 0x443740
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0x20
add dword [ebp - 4], 0x20
mov edx, dword [0x1f1bde4]
mov eax, dword [0x1f1bb08]
xor ecx, ecx
mov word [0x1f1be00], cx
lea ecx, [ebp - 8]
push ecx
push 0x40
push edx
push eax
mov dword [0x1f1bdec], 0x6e0072
mov dword [0x1f1bdf0], 0x6c0065
mov dword [0x1f1bdf4], 0x320033
mov dword [0x1f1bdf8], 0x64002e
mov dword [0x1f1bdfc], 0x6c006c
mov dword [0x1f1bde8], 0x65006b
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x4438c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x447004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp edi, 0x182
jne 0x4438ed
lea eax, [ebp - 0x820]
push eax
push str.wosevir
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push esi
xor esi, esi
test edi, edi
jle 0x443934
cmp edi, 0x2d
jne 0x443901
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
call fcn.00443800
xor byte [ebx + esi], al
cmp edi, 0xf
jne 0x44392f
push 0
lea ecx, [ebp - 0x804]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
inc esi
cmp esi, edi
jl 0x4438f4
pop esi
cmp edi, 0x2d
jne 0x44394e
mov dword [0x1f1c170], 0xa62e7790
mov dword [0x1f1c174], 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret

Function at 0x443960
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x447dc0]
sub esp, 0x10
push ebx
mov ebx, dword [0x1f1bb08]
push edi
mov edi, dword [0x1f1bde4]
push eax
call fcn.00443870
add esp, 4
cmp dword [0x1f1bde4], 0x2f
jne 0x4439bd
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.004438c0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002ef0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov esi, eax
movzx ecx, di
shr edi, 0x10
test esi, esi
jne 0x10002f0f
pop edi
lea eax, [esi + 1]
pop esi
pop ebx
pop ebp
ret
test ebx, ebx
je 0x10003017
jmp 0x10002f20
mov eax, ebx
cmp ebx, 0x15b0
jb 0x10002f2f
mov eax, 0x15b0
sub ebx, eax
mov dword [ebp + 8], ebx
cmp eax, 0x10
jl 0x10002fdc
mov edx, eax
shr edx, 4
mov ebx, edx
neg ebx
shl ebx, 4
add eax, ebx
jmp 0x10002f50
movzx ebx, byte [esi]
add ecx, ebx
movzx ebx, byte [esi + 1]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 2]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 3]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 4]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 5]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 6]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 7]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 8]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 9]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xa]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xb]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xc]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xd]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xe]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xf]
add edi, ecx
add ecx, ebx
add edi, ecx
add esi, 0x10
dec edx
jne 0x10002f50
mov ebx, dword [ebp + 8]
test eax, eax
je 0x10002feb
movzx edx, byte [esi]
add ecx, edx
inc esi
add edi, ecx
dec eax
jne 0x10002fe0
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
test ebx, ebx
jne 0x10002f20
mov eax, edi
pop edi
shl eax, 0x10
pop esi
or eax, ecx
pop ebx
pop ebp
ret

Function at 0x10003030
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test ecx, ecx
jne 0x1000303b
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
pop ebp
jmp fcn.10003050