joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429410
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push edi
movdqu xmmword [ebp - 0x20], xmm0
mov dword [0x4681ec], 0xffffffff
movdqu xmmword [ebp - 0x10], xmm0
mov dword [0x4681f0], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
movzx eax, al
shr ecx, 8
shl ax, 8
movzx ecx, cl
or cx, ax
mov eax, 0x601
cmp cx, ax
sbb eax, eax
inc eax
mov dword [0x4681e0], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ecx, dword [ebp - 0x24]
mov edi, 1
cmp cx, 9
jne 0x42948b
mov dword [0x4681e8], 2
jmp 0x42949b
mov eax, dword [0x4681e8]
test cx, cx
cmove eax, edi
mov dword [0x4681e8], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
js 0x4294d0
cmp dword [0x4681e0], 0
je 0x4294c7
call fcn.004295d0
test eax, eax
jne 0x4294c0
call fcn.004294f0
test eax, eax
je 0x4294e0
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
call fcn.004294f0
test eax, eax
jne 0x4294c0
call fcn.004295d0
test eax, eax
je 0x4294e0
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x429730
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4630b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
movq xmm0, qword [str.systemroot]
mov dword [ebp - 0x118], eax
movzx eax, word [0x450aa8]
mov word [ebp - 8], ax
movzx eax, byte [0x450aaa]
push ebx
push esi
mov esi, dword [ebp + 8]
mov byte [ebp - 6], al
movzx eax, word [0x450aac]
push edi
mov word [ebp - 0x11c], ax
xor edi, edi
movzx eax, byte [0x450aae]
push 0x103
mov byte [ebp - 0x11a], al
lea eax, [ebp - 0x113]
push edi
push eax
movq qword [ebp - 0x10], xmm0
mov byte [ebp - 0x114], 0
call fcn.00434f70
add esp, 0xc
lea eax, [ebp - 0x114]
push 0x104
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
call ebx
test eax, eax
je 0x42982b
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x42982b
push eax
push edi
push dword [ebp - 0x118]
call fcn.00434f70
add esp, 0xc
push esi
call ebx
push eax
push esi
call dword [sym.imp.USER32.dll_CharLowerBuffA]
test eax, eax
je 0x42982b
cmp byte [esi], 0x5c
jne 0x42982b
mov al, byte [esi + 1]
inc esi
cmp al, byte [ebp - 0x10]
jne 0x42987f
cmp al, 0x5c
je 0x42982b
lea ebx, [ebp - 0x10]
sub ebx, esi
lea ecx, [ecx]
cmp al, byte [ebx + esi]
jne 0x429817
inc edi
inc esi
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp edi, eax
je 0x42983e
mov al, byte [esi]
cmp al, 0x5c
jne 0x429810
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004344b4
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x118]
lea eax, [ebp - 0x114]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
call dword [sym.imp.USER32.dll_CharLowerBuffA]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004344b4
mov esp, ebp
pop ebp
ret
cmp al, byte [ebp - 0x11c]
jne 0x42982b
cmp byte [esi], 0x5c
je 0x429896
lea esp, [esp]
inc esi
cmp byte [esi], 0x5c
jne 0x429890
inc esi
push esi
push dword [ebp - 0x118]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004344b4
mov esp, ebp
pop ebp
ret
Function at 0x42b110
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4630b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x107]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push 0x103
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.00434f70
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x108]
push eax
call fcn.00403710
add esp, 4
lea eax, [ebp - 0x108]
push str.PETools.ini
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x14]
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004344b4
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42cbc0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4630b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x465a1c]
mov eax, 0x400
push esi
xorps xmm0, xmm0
mov ecx, dword [edx + 0x3c]
cmp ecx, eax
movq qword [ebp - 0x12], xmm0
cmovg ecx, eax
xor eax, eax
mov word [ebp - 0x14], ax
xor esi, esi
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
mov eax, 0x80
cmp ecx, eax
jbe 0x42cc9f
jmp 0x42cc10
inc esi
cmp dword [edx + eax], 0x68636952
je 0x42cc30
add eax, 4
cmp eax, ecx
jb 0x42cc10
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004344b4
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x42cc9f
lea eax, [edx + esi*4]
mov edx, dword [eax + 0x80]
cmp edx, 0xffffffff
jne 0x42cc76
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, byte [ebp - 0xa]
shl ax, 8
movzx edx, ax
movzx eax, byte [ebp - 8]
or edx, eax
movzx eax, word [ebp - 6]
shl edx, 0x10
or edx, eax
mov eax, dword [0x465a1c]
not edx
mov dword [eax + esi*4 + 0x80], edx
jmp 0x42cc80
mov dword [eax + 0x80], 0xffffffff
dec esi
je 0x42cc9f
mov ecx, 0x80
jmp 0x42cc90
mov eax, dword [0x465a1c]
lea ecx, [ecx + 4]
xor dword [ecx + eax - 4], edx
dec esi
jne 0x42cc90
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004344b4
mov esp, ebp
pop ebp
ret
Function at 0x42ccb0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4630b0]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push esi
mov esi, dword [ebp + 8]
mov ecx, 0x465a18
movdqu xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x2c], 0x148
movdqu xmmword [ebp - 0x18], xmm0
call fcn.00423850
push 0
push dword [0x465a38]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
mov eax, dword [0x465a30]
mov dword [ebp - 0x10], eax
mov eax, dword [0x468704]
mov dword [ebp - 0x14], esi
cmp eax, 6
ja case.default.0x42cd16
jmp dword [eax*4 + 0x42cdf4]
mov eax, dword [0x465a1c]
mov ecx, 0x80
mov eax, dword [eax + 0x3c]
cmp eax, ecx
cmovg eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x42cdd2
mov eax, dword [0x465a1c]
mov dword [ebp - 0x1c], 0x80
mov eax, dword [eax + 0x3c]
dec eax
jmp 0x42cdd2
mov eax, dword [0x465a1c]
mov ecx, 0xcf
mov dword [ebp - 0x1c], 0x40
mov eax, dword [eax + 0x3c]
dec eax
cmp eax, ecx
cmova eax, ecx
jmp 0x42cdd2
mov eax, dword [0x465a1c]
mov eax, dword [eax + 0x3c]
cmp eax, 0x80
jg 0x42cd7b
xor ecx, ecx
jmp 0x42cd81
lea ecx, [eax - 0x81]
mov edx, 0x80
cmp eax, edx
cmovg eax, edx
mov dword [ebp - 0x1c], eax
add eax, ecx
jmp 0x42cdd2
mov esi, dword [0x465a1c]
xor ecx, ecx
mov edx, dword [esi + 0x3c]
cmp edx, 0x80
jl 0x42cdc4
mov eax, 0x80
cmp edx, eax
jbe 0x42cdc4
mov edi, edi
inc ecx
cmp dword [esi + eax], 0x68636952
je 0x42cdc3
add eax, 4
cmp eax, edx
jb 0x42cdb0
jmp 0x42cdc4
inc ecx
mov dword [ebp - 0x1c], 0x80
lea eax, [ecx*4 + 0x7f]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.HEdit.dll_HESetInternalOptions]
call dword [sym.imp.HEdit.dll_HEShowWindow]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004344b4
mov esp, ebp
pop ebp
ret

Function at 0x42de10
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x462f50]
test eax, eax
je 0x42de46
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x462f50]
test eax, eax
je 0x42de32
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x462f50], 0xffffffff
mov dword [0x468844], 0
ret
Function at 0x42de50
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
mov eax, dword [0x4630b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x217]
push 0x103
push 0
push eax
mov dword [ebp - 0x35c], esi
mov byte [ebp - 0x218], 0
call fcn.00434f70
push 0x103
lea eax, [ebp - 0x107]
mov dword [ebp - 0x10c], 0
xorps xmm0, xmm0
mov byte [ebp - 0x108], 0
push 0
push eax
movq qword [ebp - 0x114], xmm0
call fcn.00434f70
push 0x140
lea eax, [ebp - 0x358]
push 0
push eax
call fcn.00434f70
push esi
lea eax, [ebp - 0x108]
push str._s.
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x30
cmp dword [0x468830], 0
je 0x42e072
push edi
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x42e071
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpA]
cmp dword [0x468830], 0
je 0x42e069
test byte [ebp - 0x358], 0x10
lea eax, [ebp - 0x32c]
je 0x42df90
push 0x449a98
push eax
call ebx
test eax, eax
je 0x42e053
push 0x45136c
lea eax, [ebp - 0x32c]
push eax
call ebx
test eax, eax
je 0x42e053
cmp dword [0x468724], 0
je 0x42e053
lea eax, [ebp - 0x32c]
push eax
push esi
lea eax, [ebp - 0x108]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x108]
push eax
call fcn.0042de50
add esp, 0x14
jmp 0x42e053
push eax
push esi
lea eax, [ebp - 0x108]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x108]
push eax
call fcn.004030a0
add esp, 0x14
mov esi, eax
push dword [0x468720]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42dfd9
push esi
push 0
push 0x401
push dword [0x46883c]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x218]
push eax
push dword [0x466a94]
lea eax, [ebp - 0x108]
push dword [0x466a90]
push eax
call fcn.00424f50
add esp, 0x10
test eax, eax
jne 0x42e02b
push str.Unknown
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x108]
push eax
je 0x42e045
inc dword [0x468838]
jmp 0x42e045
cmp eax, 1
jne 0x42e04d
cmp dword [0x46882c], 0
jne 0x42e04d
push str.This_is_not_a_valid_Win32_64_PE_file_
lea eax, [ebp - 0x108]
push eax
call fcn.0042dc30
add esp, 8
mov esi, dword [ebp - 0x35c]
lea eax, [ebp - 0x358]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42df13
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004344b4
mov esp, ebp
pop ebp
ret
Function at 0x430340
Capabilities:
Encrypt data using rc4 prga
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4597c0
push 0x4356d0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4630b0]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
mov eax, 0x5a4d
mov edx, dword [ebp + 8]
cmp word [edx], ax
jne 0x430477
mov ecx, dword [edx + 0x3c]
add ecx, edx
mov dword [ebp - 0x2c], ecx
cmp dword [ecx], 0x4550
jne 0x430477
movzx eax, word [ecx + 0x14]
lea esi, [ecx + 0x18]
add esi, eax
xor ebx, ebx
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], ebx
movzx eax, word [ecx + 6]
cmp ebx, eax
jae 0x4303c6
cmp dword [esi + 0xc], edi
je 0x4303ce
add esi, 0x28
inc ebx
jmp 0x4303ad
xor eax, eax
je 0x430477
inc ebx
movzx eax, word [ecx + 6]
cmp ebx, eax
jne 0x4303df
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x28], eax
jmp 0x43044c
mov ecx, dword [ebp + 0xc]
mov eax, ecx
sub eax, dword [esi + 0x10]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], esi
lea edi, [esi + 0x28]
mov dword [ebp - 0x24], edi
mov eax, dword [edi + 0x14]
sub ecx, eax
push ecx
add eax, edx
push eax
mov eax, dword [esi + 0x14]
add eax, edx
push eax
call fcn.00434920
add esp, 0xc
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp - 0x2c]
movzx eax, word [ecx + 6]
cmp ebx, eax
jae 0x430449
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
add esi, 0x28
mov dword [ebp - 0x20], esi
add edi, 0x28
mov dword [ebp - 0x24], edi
inc ebx
mov dword [ebp - 0x1c], ebx
jmp 0x430413
mov eax, dword [ebp - 0x30]
mov edx, 0xffff
add word [ecx + 6], dx
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xfffffffe
or eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432cb0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x465a18
call fcn.00423850
test eax, eax
je 0x432cda
push 0x10
push str.PE_Tools_v1.9.762.2018_build
push str.Not_available_in_read_only_mode_
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop ebp
ret
cmp dword [0x465a24], 0
mov eax, dword [0x465a20]
je 0x432cf0
mov ecx, dword [eax + 0x84]
jmp 0x432cf3
mov ecx, dword [eax + 0x74]
cmp ecx, 4
jbe 0x432cd6
push esi
push 4
push eax
mov ecx, 0x465a18
call fcn.004236f0
mov esi, eax
cmp dword [esi], 0
jne 0x432d34
cmp dword [esi + 4], 0
je 0x432d1a
mov dword [esi + 4], 0
push 0x10
push str.PE_Tools_v1.9.762.2018_build
push str.There_is_no_digital_signature_
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop esi
pop ebp
ret
push edi
mov ecx, 0x465a18
call fcn.00423730
mov edi, dword [esi]
cmp edi, eax
jb 0x432d60
push 0x10
push str.PE_Tools_v1.9.762.2018_build
push str.Invalid_pointer_
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
xor eax, eax
pop esi
pop ebp
ret
mov ecx, dword [0x465a20]
movzx esi, word [ecx + 6]
lea edx, [ecx + 0x18]
movzx eax, word [ecx + 0x14]
dec esi
add edx, eax
xor ecx, ecx
test esi, esi
jle 0x432d8b
lea ebx, [ebx]
inc ecx
add edx, 0x28
movzx eax, cx
cmp eax, esi
jl 0x432d80
mov esi, dword [edx + 0x14]
add esi, dword [edx + 0x10]
cmp edi, esi
jae 0x432dae
mov eax, esi
sub eax, edi
push eax
mov eax, dword [0x465a1c]
add eax, edi
push 0
push eax
call fcn.00434f70
add esp, 0xc
mov edi, esi
push edi
mov ecx, 0x465a18
call fcn.00423c30
test eax, eax
je 0x432d5a
push 4
push dword [0x465a20]
mov ecx, 0x465a18
call fcn.004236f0
mov ecx, 0x465a18
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.00423740
mov ecx, dword [0x465a20]
push 0x40
push str.PE_Tools_v1.9.762.2018_build
push str.Done_
push dword [ebp + 8]
mov dword [ecx + 0x58], eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
mov eax, 1
pop esi
pop ebp
ret
Function at 0x4452a7
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4630b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0043f44e
mov dword [ebp - 0x14], eax
cmp dword [0x4698a0], esi
jne 0x44539a
push 0x800
push esi
push 0x45825c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x445327
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x44547a
push esi
push esi
push 0x45825c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x44547a
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44547a
push eax
call ebx
push 0x458280
push edi
mov dword [0x4698a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4698a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4698a8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4698b0], eax
test eax, eax
je 0x445397
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4698ac], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4453bf
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4453b2
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4453d4
push 4
pop eax
jmp 0x44547c
cmp dword [ebp - 0x14], esi
je 0x4453d4
push dword [0x4698a0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4453b9
mov eax, dword [0x4698ac]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x445432
cmp dword [0x4698b0], edi
je 0x445432
push eax
call ebx
push dword [0x4698b0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x445432
test eax, eax
je 0x445432
call ecx
test eax, eax
je 0x445427
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x445427
test byte [ebp - 8], 1
jne 0x445432
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x445462
mov eax, dword [0x4698a4]
cmp eax, edi
je 0x44545f
push eax
call ebx
test eax, eax
je 0x44545f
call eax
mov esi, eax
test esi, esi
je 0x44545f
mov eax, dword [0x4698a8]
cmp eax, edi
je 0x44545f
push eax
call ebx
test eax, eax
je 0x44545f
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4698a0]
call ebx
test eax, eax
je 0x44547a
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x44547c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004344b4
mov esp, ebp
pop ebp
ret
Function at 0x40644e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x40645d
pop dword [ebp - 0x18]
mov eax, 0x40645d
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xa3732b7d
sub dword [ebp - 0x28], 0x5520e632
mov dword [ebp - 0x24], 0xc7594550
sub dword [ebp - 0x24], 0x9525f90b
mov dword [ebp - 0x20], 0x86adca20
add dword [ebp - 0x20], 0xc59e7a0e
mov dword [ebp - 0x1c], 0x1b250948
sub dword [ebp - 0x1c], 0x1b250948
lea eax, [ebp - 0x28]
push eax
mov eax, 0xd25e2f0f
add eax, 0x2de25169
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x1e9e92da
add dword [ebp - 0x28], 0x55d3d67c
mov dword [ebp - 0x24], 0x84c16d50
add dword [ebp - 0x24], 0xbcaaf425
mov dword [ebp - 0x20], 0x5bcab5ce
sub dword [ebp - 0x20], 0xf85b4962
mov dword [ebp - 0x1c], 0x8284df62
sub dword [ebp - 0x1c], 0x8284df62
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x60340f3d
sub eax, 0x5ff38ec1
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x35793
push 0
call eax
mov ecx, 0xe609b2a4
sub ecx, 0xe60970f5
xor esi, esi
add esi, eax
mov edi, 0x451400
add edi, dword [ebp - 0x18]
mov ebx, 0xeaf06706
sub ebx, 0x9d4d3e97
sub dword [ebp - 4], 0x833d542
mov edx, dword [edi]
add edx, ebx
xor dword [ebp - 8], edx
mov dword [esi], edx
xor dword [ebp - 0x14], ebx
add esi, 0xdc3cdb95
add esi, 0x23c3246f
add edi, 0xce230290
add edi, 0x31dcfd74
loop 0x406576
add eax, 0xf98f
xor ebx, ebx
add ebx, eax
add eax, 0x382e84fb
add eax, 0xc7d17b0a
mov ecx, 0xb5138389
sub ecx, 0xb4d38389
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x4068f3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x40692a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406904
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x4068ff
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40695b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x40693d
pop edi
not eax
pop esi
ret 0xc

Function at 0x40d24c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x40d25b
pop dword [ebp - 0x20]
mov eax, 0x40d25b
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x3add0
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0xaca85e0
sub ecx, 0xaca443a
xor esi, esi
add esi, eax
mov edi, 0xbc3af159
add edi, 0x44083ca7
add edi, dword [ebp - 0x20]
mov edx, 0x6513fc4f
sub dword [ebp - 0xc], eax
mov ebx, dword [edi]
xor dword [ebp - 0xc], 0xb9478570
sub ebx, edx
mov dword [esi], ebx
add dword [ebp - 0xc], eax
add esi, 0x75ac4787
sub esi, 0x75ac4783
add edi, 0x300e890f
sub edi, 0x300e890b
loop 0x40d2ac
add eax, 0xf96b
mov ebx, eax
add eax, 0x1ab1bf8
sub eax, 0x1ab1bf3
mov ecx, 0x400000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x1002aaee
pop dword [ebp - 0x30]
mov eax, 0x1002aaee
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x12cb2687
add dword [ebp - 0x40], 0x3b871ec4
mov dword [ebp - 0x3c], 0x2b2bab4
add dword [ebp - 0x3c], 0x2f809191
mov dword [ebp - 0x38], 0x1322e8f9
add dword [ebp - 0x38], 0x39295b35
mov dword [ebp - 0x34], 0xbe61e52
add dword [ebp - 0x34], 0xf419e1ae
lea eax, [ebp - 0x40]
push eax
mov eax, 0x90a232a2
add eax, 0x7f608d96
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xb9d3df0b
add dword [ebp - 0x40], 0xba9e8a4b
mov dword [ebp - 0x3c], 0xeaabfe20
sub dword [ebp - 0x3c], 0xa93f9cab
mov dword [ebp - 0x38], 0x8da2f77c
sub dword [ebp - 0x38], 0x2a338b10
mov dword [ebp - 0x34], 0xe7839843
sub dword [ebp - 0x34], 0xe7839843
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x34144
push 0
call eax
mov ecx, 0x17b7c95a
add ecx, 0xe8487518
xor edx, edx
add edx, eax
mov edi, 0xb9bd633a
add edi, 0x564632c6
add edi, dword [ebp - 0x30]
mov esi, 0x3adc116c
mov dword [ebp - 0xc], 0x3de029cd
mov ebx, dword [edi]
add ebx, esi
xor dword [ebp - 0xc], eax
mov dword [edx], ebx
xor dword [ebp - 0x10], 0x8f8a9529
add edx, 0x90141323
sub edx, 0x9014131f
add edi, 0x411e247f
add edi, 0xbee1db85
loop 0x1002ac02
add eax, 0xebb62507
add eax, 0x144ac794
mov ebx, eax
add eax, 0x25da94c0
add eax, 0xda256b45
mov ecx, 0x5ce4cf1d
sub ecx, 0x4ce4cf1d
add ecx, dword [ebp - 0x30]
call ebx
leave
ret