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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00401e0b
mov eax, dword [0x52cec0]
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.0040614a
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x49abc9
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x49ad25
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0040629e
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 + 0x530a00]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004033d7
mov ecx, dword [esi*4 + 0x530a00]
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 0x49ad1e
cmp eax, dword [edi + ecx + 0x24]
jne 0x49ad1e
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 0x49ad1e
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004033d7
add esp, 0x14
test edx, edx
jl 0x49ad1e
jg 0x49ac94
test eax, eax
jb 0x49ad1e
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x49ad1e
jl 0x49acae
cmp dword [ebp - 0x1008], eax
ja 0x49ad1e
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x49accc
test ebx, ebx
je 0x49ad05
cmp ecx, edi
jae 0x49ad05
mov al, byte [ecx]
cmp al, 0xd
jne 0x49ace6
lea eax, [edi - 1]
cmp ecx, eax
jae 0x49acf2
cmp byte [ecx + 1], 0xa
jne 0x49acf2
inc ecx
jmp 0x49acf2
movzx eax, al
movsx eax, byte [eax + 0x52d228]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x49accc
cmp edx, ebx
jne 0x49accc
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x49ad23
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040318e
leave
ret
Function at 0x49b464
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 + 0x530a00]
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 0x49b4a4
cmp byte [ebx], 0xa
jne 0x49b4a4
or byte [eax + edi + 0x28], 4
jmp 0x49b4a9
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x49b5a7
mov al, byte [edx]
cmp al, 0x1a
je 0x49b589
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x49b4d8
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x49b4fd
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x49b507
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 0x49b4ba
jmp 0x49b5a7
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 0x49b584
cmp dword [ebp - 0xc], 0
je 0x49b584
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x530a00]
test byte [eax + edi + 0x28], 0x48
je 0x49b55e
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x49b549
mov byte [esi], dl
jmp 0x49b55a
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x530a00]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x49b5a7
cmp byte [ebp - 1], 0xa
jne 0x49b56d
cmp esi, ebx
jne 0x49b56d
mov byte [esi], 0xa
jmp 0x49b5a6
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00401974
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x49b5a7
mov byte [esi], 0xd
jmp 0x49b5a6
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x530a00]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x49b5a3
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x49b5a7
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x49b603
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 + 0x530a00]
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 0x49b646
cmp word [esi], dx
jne 0x49b646
or byte [edi + eax + 0x28], 4
jmp 0x49b64b
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 0x49b79e
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 0x49b77e
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x49b68d
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x49b6c3
cmp eax, edx
jae 0x49b6cf
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 0x49b665
jmp 0x49b79e
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 0x49b77a
cmp dword [ebp - 0x14], 0
je 0x49b77a
mov eax, dword [ebx*4 + 0x530a00]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x49b752
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x49b71b
mov word [esi], cx
jmp 0x49b74e
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x530a00]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x530a00]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x530a00]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x49b79e
pop ebx
cmp word [ebp - 4], bx
jne 0x49b763
cmp esi, dword [ebp + 0xc]
jne 0x49b763
mov word [esi], bx
jmp 0x49b79b
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00401974
add esp, 0x10
cmp word [ebp - 4], bx
je 0x49b79e
push 0xd
jmp 0x49b797
mov ecx, dword [ebx*4 + 0x530a00]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x49b795
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x49b79e
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 0x49eaf8
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x52cec0]
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 0x49eb43
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0049efba
test al, al
jne 0x49eb3d
sub edx, 2
cmp edx, edi
jne 0x49eb23
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x49eb65
lea eax, [edi + 2]
cmp edx, eax
je 0x49eb65
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0049e6f1
add esp, 0x10
jmp 0x49ec5f
push esi
lea ecx, [ebp - 0x255]
call fcn.0049efba
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 0x49eba8
push dword [ebp - 0x25c]
jmp 0x49eb55
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 0x49ebe5
cmp word [ebp - 0x226], 0
je 0x49ec06
cmp word [ebp - 0x226], ax
jne 0x49ebe5
cmp word [ebp - 0x224], 0
je 0x49ec06
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0049e6f1
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x49ec52
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x49ebbf
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x49ec3a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x49ec5f
push 0x49e0d9
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004057fe
add esp, 0x10
jmp 0x49ec2f
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.0040318e
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1004c83
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 4
pop eax
call fcn.01002df0
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1004ce9
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x10062b8]
mov esi, dword [ebp - 0x40]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
lea edx, [esi - 1]
and ecx, 0x103
not edx
and edx, ebx
inc ecx
sub edx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffff1
add eax, 0x11
imul eax, esi
add eax, edi
cmp edx, eax
jae 0x1004ced
xor eax, eax
jmp 0x1004cfa
lea eax, [ebp - 4]
push eax
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x50]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401007
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax]
mov eax, dword [0x4aa718]
mov dword [ebp - 0x28], eax
mov eax, dword [0x4aa71c]
xor ecx, ecx
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ecx
call fcn.00401000
mov eax, dword [0x4aa720]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [0x4aa724]
add ebx, 0x23f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0x20
jmp 0x40105c
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, edi
shl eax, 4
cmp dword [0x4b9974], 0xc
mov dword [ebp - 4], eax
jne 0x401086
push ecx
lea eax, [ebp - 0x30]
push eax
push ecx
push ecx
push ecx
call dword [0x4a5070]
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [0x4b9974]
cmp eax, 0xfa9
jne 0x4010a2
mov dword [0x4b9970], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010c7
push 0x4a6fd8
call dword [0x4a508c]
push 0
lea eax, [ebp - 0x34]
push eax
call dword [0x4a5074]
and dword [0x4b98c8], 0
lea eax, [ebx + edi]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
and dword [ebp - 0x14], 0
mov dword [0x4b996c], 0xf4ea3dee
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
sub esi, eax
mov dword [ebp - 8], eax
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
lea eax, [ebx + esi]
mov dword [ebp - 0x18], eax
mov eax, esi
shr eax, cl
add eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 4], eax
cmp dword [0x4b9974], 0xb03
jne 0x401142
push 0
call dword [0x4a5020]
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 8]
add ebx, 0x61c88647
sub edi, eax
dec dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], edi
jne 0x5a401160
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [eax + 4], esi
pop esi
pop ebx
leave
ret 4
Function at 0x40117c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x18b4
call fcn.00410fb0
push ebx
push esi
xor esi, esi
cmp dword [0x4b9974], 0x93
push edi
jne 0x4011e4
push esi
push esi
call dword [0x4a5038]
push esi
push esi
push esi
push esi
call dword [0x4a5004]
push esi
call fcn.004017b4
push esi
push esi
push esi
push esi
call fcn.00401e4a
push esi
push esi
call fcn.00401e67
push esi
call fcn.00401b70
push esi
push esi
call fcn.00401b9f
add esp, 0x28
call fcn.0040116e
push esi
call fcn.00402339
pop ecx
push esi
call fcn.004025e9
add dword [0x4b9974], 0x1134b
push dword [0x4b9974]
mov eax, dword [0x4ad040]
push esi
mov dword [0x4ba3d8], eax
call dword [0x4a5034]
lea ecx, [ebp - 4]
push ecx
push 0x40
push dword [0x4b9974]
mov dword [0x4b98cc], eax
push eax
call dword [0x4a5084]
mov edi, dword [0x4a5190]
mov ebx, 0x29156e
push esi
lea eax, [ebp - 0xcb0]
push eax
call edi
dec ebx
jne 0x401228
cmp dword [0x4b9974], esi
jbe 0x401288
mov eax, dword [0x4ba3d8]
mov al, byte [eax + ebx + 0x1134b]
mov ecx, dword [0x4b98cc]
mov byte [ecx + ebx], al
cmp dword [0x4b9974], 0x490
jne 0x40127f
push 0x4a7044
call dword [0x4a5068]
push esi
push esi
push esi
call dword [0x4a5060]
call dword [0x4a5028]
push esi
call dword [0x4a506c]
inc ebx
cmp ebx, dword [0x4b9974]
jb 0x40123d
xor ebx, ebx
mov eax, dword [0x4b9974]
add eax, ebx
cmp eax, 0x8d
jne 0x4012fb
push 0x4a7048
call dword [0x4a5064]
push esi
lea eax, [ebp - 0x18b0]
push eax
call edi
push esi
push esi
push esi
call dword [0x4a5010]
push esi
lea eax, [ebp - 0x10b0]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x4b0]
push eax
push esi
call dword [0x4a503c]
push 0x4a7058
call dword [0x4a506c]
push esi
push esi
push esi
call dword [0x4a5014]
lea eax, [ebp - 0x8b0]
push eax
push esi
call dword [0x4a5050]
inc ebx
cmp ebx, 0x38681
jl 0x40128a
mov eax, dword [0x4b9974]
mov ecx, dword [0x4b98cc]
shr eax, 3
cmp eax, esi
jbe 0x401349
mov edi, ecx
mov ebx, eax
cmp dword [0x4b9974], 0x959
jne 0x40133d
push esi
lea eax, [ebp - 0x8b0]
push eax
call dword [0x4a5024]
push esi
push esi
push esi
call dword [0x4a5094]
push edi
call fcn.00401007
add edi, 8
dec ebx
jne 0x40131a
xor edi, edi
push esi
call dword [0x4a5054]
cmp edi, 0x62
jne 0x40136a
mov dword [ebp - 8], esi
add dword [ebp - 8], 0
mov eax, dword [ebp - 8]
add dword [0x4b98cc], eax
inc edi
cmp edi, 0x674db
jl 0x40134b
push 0x7b
pop edi
cmp dword [0x4b9974], 0x86
jne 0x4013df
push esi
lea eax, [ebp - 0x8b0]
push eax
push esi
call dword [0x4a500c]
push esi
push esi
push esi
lea eax, [ebp - 0xb0]
push eax
call dword [0x4a504c]
call dword [0x4a5080]
push esi
call dword [0x4a5078]
lea eax, [ebp - 0x4b0]
push eax
push esi
push esi
call dword [0x4a5088]
push esi
push 0x4a70b8
push 0x4a7114
call dword [0x4a5030]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18b0]
push eax
call dword [0x4a5018]
dec edi
jne 0x401376
push 0x4a713c
call dword [0x4a506c]
call dword [0x4b98cc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4253f5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041e36f
and dword [ebp - 4], 0
cmp dword [0x4506b0], 0
mov ebx, eax
jne 0x4254a6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x425557
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x425557
push eax
call fcn.0041e2fd
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4506b0], eax
call esi
push eax
call fcn.0041e2fd
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4506b4], eax
call esi
push eax
call fcn.0041e2fd
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4506b8], eax
call esi
push eax
call fcn.0041e2fd
pop ecx
mov dword [0x4506c0], eax
test eax, eax
je 0x4254a6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041e2fd
pop ecx
mov dword [0x4506bc], eax
mov eax, dword [0x4506bc]
cmp eax, ebx
je 0x4254fe
cmp dword [0x4506c0], ebx
je 0x4254fe
push eax
call fcn.0041e378
push dword [0x4506c0]
mov esi, eax
call fcn.0041e378
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4254fe
test edi, edi
je 0x4254fe
call esi
test eax, eax
je 0x4254f5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4254f5
test byte [ebp - 0xc], 1
jne 0x4254fe
or dword [ebp + 0x10], 0x200000
jmp 0x425537
mov eax, dword [0x4506b4]
cmp eax, ebx
je 0x425537
push eax
call fcn.0041e378
pop ecx
test eax, eax
je 0x425537
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x425537
mov eax, dword [0x4506b8]
cmp eax, ebx
je 0x425537
push eax
call fcn.0041e378
pop ecx
test eax, eax
je 0x425537
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4506b0]
call fcn.0041e378
pop ecx
test eax, eax
je 0x425557
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x425559
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1f39e6f
Capabilities:
Execute anti-debugging instructions

Disassembly:
push edi
ret
push eax
mov ax, bx
lahf
cmovno eax, edi
push esi
movzx esi, dx
push edi
lahf
pushfd
mov di, di
cbw
push edx
dec di
movsx esi, bp
push ecx
jmp 0x24ee52f
xor ecx, ebx
cmp esi, ecx
test esi, ebx
add ecx, 0x30074923
not ecx
clc
test esp, 0x176e32ca
jmp 0x250db68
push ebp
rdtsc
cbw
push ebx
rdtsc
mov edx, 0
movzx ebx, cx
mov edi, eax
lahf
push edx
movsx eax, dx
mov esi, dword [esp + 0x28]
lahf
cmovp edi, esp
not ah
inc esi
neg esi
ror eax, 8
movzx ebp, bx
cmc
rol esi, 3
neg esi
add esi, edx
cmp esp, ebp
lahf
mov ebp, esp
ror di, 0x7c
ror ax, cl
or edi, ecx
sub esp, 0xc0
mov ebx, esi
mov eax, 0
shld edi, ecx, 0xe5
or edi, 0x54c65393
sub ebx, eax
lea edi, [0x24ee588]
sbb cx, 0x1738
shr cl, cl
ror ch, cl
mov ecx, dword [esi]
lea esi, [esi + 4]
jmp 0x1f607bf
bswap ecx
cmc
test ebp, 0x297c50c4
stc
neg ecx
stc
clc
cmc
rol ecx, 1
neg ecx
xor ebx, ecx
test eax, 0x46fd7496
add edi, ecx
jmp 0x16ab2dd
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x629474
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov byte [esp], bl
lea esp, [esp + 4]
jae fcn.0061403d
seta bh
lea edi, [edx - 0x5478548a]
setge bl
mov ebx, eax
xadd ecx, edi
sar di, cl
pushfd
mov edi, eax
call fcn.0057de79
lea edi, [ecx + 0x6973b4b7]
mov edi, dword [edx + 0x1c]
clc
add edi, eax
pushfd
pushal
mov edi, dword [edi + ecx*4]
cmc
cmp si, si
test edi, edi
lea esp, [esp + 0x24]
jle 0x57f21f
pushal
pushfd
pushal
lea esp, [esp + 0x44]
je 0x614030
pushfd
add eax, edi
mov byte [esp], 0x4e
cmc
cmp eax, edx
push 0x2a2f2df
lea esp, [esp + 8]
jb fcn.0061403d
pushfd
cmp eax, dword [esp + 4]
jmp 0x57f2d0
movsx si, al
mov esi, dword [esp + 0x34]
pushfd
pushfd
mov byte [esp + 4], bh
lea esp, [esp + 0x40]
jne 0x57e639
clc
stc
stc
movzx ecx, word [edi + ecx*2]
btr di, 2
jmp 0x5ffea9