joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416337
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b881
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x148
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x140], ecx
mov eax, dword [ebp - 0x140]
movsx ecx, byte [eax + 0xc8]
cmp ecx, 0xffffffff
je 0x4163a3
mov edx, 1
test edx, edx
je 0x416389
mov dword [ebp - 0x144], 0
jmp 0x41639c
push str.No_file_opened._n
call fcn.00404590
add esp, 4
mov dword [ebp - 0x144], eax
xor al, al
jmp 0x416531
mov eax, dword [ebp - 0x140]
cmp dword [eax + 0x48], 0
jne 0x4163d5
mov ecx, dword [ebp - 0x140]
call fcn.00415eac
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx + 0x50]
cmp edx, dword [eax + 0x14]
je 0x4163d5
push 0xffffffffffffff9a
mov ecx, dword [ebp - 0x140]
call fcn.0041575b
mov ecx, dword [ebp - 0x140]
call fcn.00415eac
xor ecx, ecx
mov cx, word [eax + 0xe]
cmp ecx, 8
jne 0x4163fd
mov edx, dword [ebp - 0x140]
add edx, 0x10
push edx
call sub.MBX_564_A61800._inflateEnd
add esp, 4
mov byte [ebp - 0x14], 1
cmp dword [ebp + 8], 0
je 0x416502
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.00418660
lea eax, [ebp - 0x134]
push eax
call sub.mfc42.dll_CTime::GetTickCount
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
push ecx
lea ecx, [ebp - 0x124]
call fcn.00418a00
mov dword [ebp - 0x14c], eax
mov edx, dword [ebp - 0x14c]
push edx
lea ecx, [ebp - 0x12c]
call fcn.00418a00
mov byte [ebp - 0x11c], 0
mov ecx, dword [ebp - 0x140]
call fcn.00415eac
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x150]
call fcn.00406888
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x154]
push ecx
lea ecx, [ebp - 0x128]
call fcn.00418a00
lea edx, [ebp - 0x12c]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.mfc42.dll_CFile::SetStatus
mov ecx, dword [ebp - 0x140]
call fcn.00415eac
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
mov edx, dword [ecx + 0x2c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x14], al
jmp 0x4164fb
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x140]
add ecx, 0xcc
call fcn.00401c6f
mov ecx, dword [ebp - 0x140]
mov byte [ecx + 0xc8], 0
mov ecx, dword [ebp - 0x140]
add ecx, 0x54
call fcn.004010ae
mov al, byte [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x416c77
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b95a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call sub.mfc42.dll_CString::CString_1
mov dword [ebp - 4], 0
push 0x422058
lea ecx, [ebp - 0x10]
call sub.mfc42.dll_CString::TrimRight_1
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00414ba0
push eax
lea edx, [ebp - 0x18]
push edx
call fcn.004168fe
add esp, 8
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.004125f0
and eax, 0xff
test eax, eax
jne 0x416d1b
lea ecx, [ebp - 0x10]
call fcn.00414ba0
push eax
call fcn.00416e1e
add esp, 4
xor edx, edx
cmp eax, 0xffffffff
sete dl
mov byte [ebp - 0x1c], dl
mov eax, dword [ebp - 0x1c]
and eax, 0xff
test eax, eax
jne 0x416d1b
mov dword [ebp - 0x40], 0
jmp 0x416d22
mov dword [ebp - 0x40], 1
mov cl, byte [ebp - 0x40]
mov byte [ebp - 0x14], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00419ff8
mov edx, dword [ebp - 0x14]
and edx, 0xff
test edx, edx
je 0x416d5c
mov byte [ebp - 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00419ff8
mov al, byte [ebp - 0x20]
jmp 0x416e10
lea ecx, [ebp - 0x10]
call fcn.00414ba0
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004168fe
add esp, 8
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
call fcn.00414ba0
push eax
call fcn.00416c77
add esp, 4
and eax, 0xff
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x24], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00419ff8
mov edx, dword [ebp - 0x24]
and edx, 0xff
test edx, edx
je 0x416dcd
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00419ff8
mov al, byte [ebp - 0x2c]
jmp 0x416e10
push 0
lea ecx, [ebp - 0x10]
call fcn.00414ba0
push eax
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x416dfa
mov byte [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00419ff8
mov al, byte [ebp - 0x30]
jmp 0x416e10
mov byte [ebp - 0x34], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00419ff8
mov al, byte [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x417b28
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b9e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00417b9d
add esp, 8
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
call fcn.00414ba0
push eax
call dword [sym.imp.kernel32.dll_GetDriveTypeA]
xor ecx, ecx
cmp eax, 2
sete cl
mov byte [ebp - 0x10], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00419ff8
mov al, byte [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x419ad1
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41bcfd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov dword [ebp - 0x34], ecx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x34]
add ecx, 0xc
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0xc]
call dword [eax + 0x20]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x3c]
call fcn.00414ba0
push eax
lea edx, [ebp - 0x30]
push edx
call fcn.00417b9d
add esp, 8
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
call fcn.00414ba0
push eax
call dword [sym.imp.kernel32.dll_GetDiskFreeSpaceA]
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x28], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00419ff8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00419ff8
mov ecx, dword [ebp - 0x28]
and ecx, 0xff
test ecx, ecx
je 0x419b87
xor eax, eax
jmp 0x419b9d
mov edx, dword [ebp - 0x24]
imul edx, dword [ebp - 0x18]
imul edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x427c80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp + 8], eax
mov eax, dword [0x4270b0]
push esi
push edi
test eax, eax
jne 0x427cfd
mov esi, 0x4273ac
mov edx, dword [esi]
lea eax, [ebp - 0x24]
mov cl, byte [edx]
test cl, cl
je 0x427cbb
lea edi, [ebp - 0x24]
sub edx, edi
xor cl, 0x55
mov byte [eax], cl
mov cl, byte [edx + eax + 1]
inc eax
test cl, cl
jne 0x427cad
lea ecx, [ebp - 0x24]
mov byte [eax], 0
push ecx
call dword [0x427000]
mov edx, dword [esi - 4]
add esi, 8
cmp esi, 0x4273c4
mov dword [edx], eax
jl 0x427c9d
mov ecx, dword [0x4270b0]
mov eax, dword [0x427000]
push 0
push 0x4273d4
push ecx
mov dword [0x4270a8], eax
call fcn.00427eb0
add esp, 0xc
mov dword [0x4270ac], eax
mov dword [ebp - 4], 0
mov esi, 0x4273ac
mov edx, dword [esi]
mov cl, byte [edx]
test cl, cl
je 0x427d46
mov eax, dword [ebp + 8]
mov al, byte [eax]
test al, al
je 0x427d46
cmp al, 0x5a
jg 0x427d32
cmp al, 0x41
jl 0x427d32
movsx edi, al
add edi, 0x20
movsx ebx, cl
xor edi, 0x55
cmp ebx, edi
je 0x427d38
xor al, 0x55
cmp cl, al
jne 0x427d46
mov ecx, dword [ebp + 8]
inc edx
inc ecx
mov dword [ebp + 8], ecx
mov cl, byte [edx]
test cl, cl
jne 0x427d11
cmp byte [edx], 0
je 0x427d66
mov edx, dword [ebp - 4]
add esi, 8
inc edx
cmp esi, 0x4273c4
mov dword [ebp - 4], edx
jl 0x427d09
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov edx, dword [ecx*8 + 0x4273a8]
mov eax, dword [edx]
mov esp, ebp
pop ebp
ret
Function at 0x429640
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428c58
push 0x42b764
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x24], 0xffffffff
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], esi
push esi
push esi
push 3
push esi
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
push esi
call fcn.0042a52c
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, 0xffffffff
je 0x42979e
push esi
push ebx
push 0x38
call fcn.0042a52c
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, 0xffffffff
je 0x42979e
push esi
push edi
push esi
push 2
push esi
push ebx
push 2
call fcn.0042a52c
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x42977d
push edi
push esi
push esi
push 4
push eax
push 0x19
call fcn.0042a52c
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x42977d
mov edi, dword [eax + 0x3c]
add edi, eax
mov dword [ebp - 0x30], edi
cmp dword [edi], 0x4550
je 0x4296fb
mov ecx, 0xef000002
jmp fcn.00434ae0
push 4
lea ecx, [edi + 0x28]
push ecx
push esi
call fcn.00427620
mov dword [ebp - 0x2c], eax
lea ecx, [edi + 6]
push 4
push ecx
push eax
call fcn.00427620
add esp, 0x18
mov ebx, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x34], esi
xor edx, edx
mov dx, word [edi + 6]
dec edx
cmp esi, edx
jge 0x42975c
xor eax, eax
mov ax, word [edi + 0x14]
lea ecx, [esi + esi*4]
mov edx, edi
add edx, eax
lea eax, [edx + ecx*8 + 0x18]
mov dword [ebp - 0x38], eax
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [eax + 0x14]
add edx, dword [ebp - 0x28]
push edx
push ebx
call fcn.00427620
add esp, 0xc
mov ebx, eax
mov dword [ebp - 0x2c], ebx
inc esi
jmp 0x42971e
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
call fcn.0042b6ae
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
push ecx
call fcn.0042b6ae
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0xef000001
jmp fcn.00434ae0
Function at 0x429d80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov cl, byte [eax + 4]
push edi
mov dword [ebp + 8], 8
mov dl, byte [eax]
xor ebx, ebx
mov bl, byte [esi]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov dl, byte [edx + 0x427278]
xor dl, cl
inc esi
mov byte [eax + 4], dl
mov dl, byte [eax + 1]
mov bl, byte [esi]
mov ecx, edx
and ecx, 0xff
xor ecx, ebx
mov bl, byte [eax + 5]
mov cl, byte [ecx + 0x427278]
xor cl, bl
inc esi
mov byte [eax + 5], cl
mov cl, byte [eax + 2]
xor ebx, ebx
and ecx, 0xff
mov bl, byte [esi]
xor ecx, ebx
mov bl, byte [eax + 6]
mov cl, byte [ecx + 0x427278]
xor cl, bl
inc esi
mov byte [eax + 6], cl
mov cl, byte [eax + 3]
xor ebx, ebx
and ecx, 0xff
mov bl, byte [esi]
xor ecx, ebx
mov bl, byte [eax + 7]
mov cl, byte [ecx + 0x427278]
xor cl, bl
inc esi
mov byte [eax + 7], cl
mov cl, byte [eax + 4]
mov edi, ecx
xor ebx, ebx
mov bl, byte [esi]
and edi, 0xff
xor ebx, edi
mov bl, byte [ebx + 0x427278]
xor bl, dl
mov dl, byte [eax + 5]
and edx, 0xff
mov byte [eax + 1], bl
mov bl, byte [eax + 2]
xor edx, edi
inc esi
mov dl, byte [edx + 0x427278]
xor dl, bl
xor ebx, ebx
mov byte [eax + 2], dl
mov dl, byte [eax + 6]
mov bl, byte [esi]
and edx, 0xff
xor edx, ebx
mov bl, byte [eax + 3]
mov dl, byte [edx + 0x427278]
xor dl, bl
inc esi
mov byte [eax + 3], dl
mov dl, byte [eax + 7]
xor ebx, ebx
and edx, 0xff
mov bl, byte [esi]
xor edx, ebx
mov bl, byte [eax]
mov dl, byte [edx + 0x427278]
xor dl, bl
inc esi
mov byte [eax], dl
mov edx, dword [ebp + 8]
dec edx
mov dword [ebp + 8], edx
jne 0x429d95
xor ecx, ecx
xor edx, edx
mov cl, byte [esi]
mov dl, byte [eax]
xor ecx, edx
mov dl, byte [eax + 4]
mov bl, byte [eax + 6]
pop edi
mov cl, byte [ecx + 0x427278]
xor dl, cl
inc esi
mov byte [eax + 4], dl
xor edx, edx
mov dl, byte [eax + 1]
xor ecx, ecx
mov cl, byte [esi]
xor edx, ecx
mov cl, byte [eax + 5]
mov dl, byte [edx + 0x427278]
xor cl, dl
inc esi
mov byte [eax + 5], cl
xor ecx, ecx
mov cl, byte [eax + 2]
xor edx, edx
mov dl, byte [esi]
xor ecx, edx
xor edx, edx
mov cl, byte [ecx + 0x427278]
xor bl, cl
xor ecx, ecx
mov cl, byte [eax + 3]
mov byte [eax + 6], bl
mov dl, byte [esi + 1]
pop esi
xor edx, ecx
mov cl, byte [eax + 7]
pop ebx
mov dl, byte [edx + 0x427278]
xor cl, dl
mov byte [eax + 7], cl
pop ebp
ret 4
Function at 0x42e450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x43d000]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [edx]
push ebx
push esi
push edi
mov edi, dword [eax + 0xc]
mov esi, dword [ebp + 0x10]
mov ebx, ecx
mov eax, dword [edi + 0xc]
mov edx, eax
and edx, 0x30
cmp dl, 0x30
jne 0x42e4c3
test al, 2
jne 0x42e4c3
mov edx, dword [edi + 4]
mov eax, ecx
sub eax, edx
and eax, 7
je 0x42e49f
sub ecx, eax
mov ebx, ecx
mov ecx, esi
lea esi, [eax + ecx]
mov ecx, dword [ebp + 0xc]
add ecx, eax
mov dword [ebp + 0xc], ecx
mov eax, esi
and eax, 7
je 0x42e4af
mov edx, 8
sub edx, eax
add esi, edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 8]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x42e4c3
sub eax, ecx
mov esi, eax
mov eax, dword [ebp + 8]
push 0
push 0
push ebx
mov ecx, dword [eax + 8]
push ecx
push 0x3f
call fcn.0042a52c
cmp eax, ebx
je 0x42e4f4
push 0x38
push 0x43ce04
call fcn.00435120
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov edx, dword [0x43d000]
push 0
mov ecx, dword [eax + 8]
push ebx
push esi
push edx
push ecx
push 0x41
call fcn.0042a52c
test eax, eax
jne 0x42e52e
push 0x3f
push 0x43ce04
call fcn.00435120
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebx]
cmp ecx, esi
je 0x42e53f
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [edi + 0xc]
test al, 1
je 0x42e56f
and eax, 0x30
cmp eax, 0x10
jne 0x42e583
xor eax, eax
test ecx, ecx
jbe 0x42e56f
mov esi, dword [0x43d000]
mov dl, byte [0x43cffc]
mov cl, byte [esi + eax]
xor cl, dl
mov byte [esi + eax], cl
mov ecx, dword [ebx]
inc eax
cmp eax, ecx
jb 0x42e554
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx]
cmp ecx, eax
jae 0x42e5bc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x30
jne 0x42e5b2
mov eax, dword [0x43c854]
mov ecx, dword [eax + 0x2c]
add ecx, 0x20
push ecx
lea ecx, [ebp - 0x44]
call fcn.00429d10
mov edx, dword [ebx]
mov eax, dword [0x43d000]
shr edx, 3
push edx
push eax
lea ecx, [ebp - 0x44]
call fcn.00429f00
jmp 0x42e56f
mov ecx, 0xef000014
jmp fcn.00434ae0
pop edi
mov dword [ebx], eax
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x431c10
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428e18
push 0x42b764
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
inc dword [0x43d538]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x28], ebx
mov eax, dword [0x43d534]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
mov esi, dword [ebx + 0x3c]
add esi, ebx
mov dword [ebp - 0x2c], esi
cmp dword [esi], 0x4550
jne 0x431e03
cmp dword [0x43c850], 1
jne 0x431c92
cmp ebx, 0x80000000
jbe 0x431c92
push 0x43d8b0
call fcn.00435040
add esp, 4
push 0
push 0
push 0
push 0
push 0x1e
call fcn.0042a52c
mov eax, dword [esi + 0x80]
add eax, ebx
mov dword [ebp - 0x20], eax
mov eax, 1
mov dword [ebp - 4], eax
cmp dword [0x43c850], eax
jne 0x431d0c
xor edx, edx
mov dword [ebp - 0x34], edx
xor ecx, ecx
mov cx, word [esi + 6]
cmp edx, ecx
jae 0x431d0c
xor eax, eax
mov ax, word [esi + 0x14]
lea ecx, [edx + edx*4]
mov edi, esi
add edi, eax
lea eax, [edi + ecx*8 + 0x18]
mov dword [ebp - 0x38], eax
mov ecx, dword [eax + 0xc]
lea edi, [ecx + ebx]
cmp edi, dword [ebp - 0x20]
ja 0x431d15
mov edi, dword [eax + 8]
add edi, ecx
add edi, ebx
cmp dword [ebp - 0x20], edi
ja 0x431d15
test dword [eax + 0x24], 0x10000000
je 0x431d0c
push 0x43d87c
call fcn.00435040
add esp, 4
push 0
push 0
push 0
push 0
push 0x1e
call fcn.0042a52c
mov dword [ebp - 4], 0
jmp 0x431d39
inc edx
jmp 0x431caf
mov eax, 0xcccccccd
mul dword [esi + 0x84]
shr edx, 4
mov dword [ebp - 0x1c], edx
xor eax, eax
mov dword [ebp - 0x30], eax
cmp eax, edx
jae 0x431e03
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0x20]
lea ecx, [eax + edx*4]
mov eax, dword [ecx + 0xc]
lea edi, [eax + ebx]
mov dword [ebp - 0x44], edi
test eax, eax
je 0x431e03
cmp byte [edi], 0
je 0x431e03
mov esi, dword [ecx + 0x10]
add esi, ebx
mov dword [ebp - 0x3c], esi
push edi
call fcn.00438a70
mov ebx, eax
mov dword [ebp - 0x40], ebx
mov dword [0x43d534], edi
test ebx, ebx
je 0x431daa
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push ebx
call fcn.00431bb0
add esp, 0xc
jmp 0x431db8
push edi
push 0x43d850
call fcn.00435040
add esp, 8
push 0
push 5
call fcn.0042a52c
cmp eax, dword [ebp + 8]
je 0x431df1
push ebx
mov ecx, dword [0x4432e8]
call fcn.00439480
test eax, eax
je 0x431df1
cmp dword [esi], 0
je 0x431df1
push edi
mov eax, dword [ebp - 0x24]
push eax
push esi
call fcn.00431e80
add esp, 0xc
add esi, 4
mov dword [ebp - 0x3c], esi
jmp 0x431dd6
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
jmp 0x431d4f
push 1
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00439570
jmp 0x431e53
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x24]
mov dword [0x43d534], edx
dec dword [0x43d538]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433fc0
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov byte [ecx + 0x68], al
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x435af0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
push esi
mov ecx, dword [eax + 4]
push edi
mov dword [ebp + 0xc], 0
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dx, word [eax + 0x14]
lea esi, [edx + eax + 0x18]
mov edx, dword [ebp + 8]
sub edx, ecx
xor ecx, ecx
mov cx, word [eax + 6]
test ecx, ecx
jbe 0x435b61
lea eax, [esi + 0x10]
mov esi, dword [eax]
mov edi, dword [eax - 8]
mov ebx, dword [eax - 4]
cmp esi, edi
ja 0x435b32
mov esi, edi
cmp edx, ebx
jb 0x435b3c
add esi, ebx
cmp edx, esi
jb 0x435b51
mov esi, dword [ebp + 0xc]
add eax, 0x28
inc esi
cmp esi, ecx
mov dword [ebp + 0xc], esi
jb 0x435b24
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
inc eax
sub edx, ebx
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret
Function at 0x477ca0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x47000]
mov dword [edi + 0x63d00], 0x53470e84
push edi
jmp 0x477cca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x477cd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x477cc0
mov eax, 1
add ebx, ebx
jne 0x477ce3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x477cf4
jne 0x477d13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x477d13
dec eax
add ebx, ebx
jne 0x477d00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x477cd8
add ebx, ebx
jne 0x477d0f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x477d65
xor ecx, ecx
sub eax, 3
jb 0x477d2b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x477d9a
sar eax, 1
mov ebp, eax
jmp 0x477d36
add ebx, ebx
jne 0x477d36
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x477d04
inc ecx
add ebx, ebx
jne 0x477d44
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x477d04
add ebx, ebx
jne 0x477d51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x477d46
jne 0x477d62
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x477d46
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x477d84
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x477d76
jmp 0x477cc6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x477d84
add edi, ecx
jmp 0x477cc6
pop esi
mov edi, esi
mov ecx, 0x2844
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x477da2
cmp byte [edi], 0x12
jne 0x477da2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x477da7
lea edi, [esi + 0x74000]
mov eax, dword [edi]
or eax, eax
je 0x477e1f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7b620]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7b728]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x477dd4
mov ecx, edi
jns 0x477e03
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7b730]
or eax, eax
je 0x477e19
mov dword [ebx], eax
add ebx, 4
jmp 0x477df1
call dword [esi + 0x7b72c]
mov ebp, dword [esi + 0x7b734]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x477e53
sub esp, 0xffffff80
jmp 0x42c30d
Function at 0x7ffe5463
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword fs:[0x30]
call 0x7ffe546e
pop edx
cld
xor dx, dx
cld
add edx, 0xd5e0
push edx
cdq
pop edx
stc
xor ecx, ecx
cld
clc
mov cl, 0x1e
add eax, 0
cld
xor byte [ecx + edx], 0x84
loop 0x7ffe5488
push edx
cdq
pop edx
cld
push dword fs:[0x24]
stc
cld
nop
pop dword [edx + 0xa]
mov cl, 0xff
nop
nop
cld
push edx
loop 0x7ffe54a4
lea esp, [esp]
clc
mov dword [edx + 0x11], 0xffffacbb
and bh, 0xff
stc
mov ecx, dword [eax + 0x2c]
nop
clc
mov dword [edx + 0x1b], ecx
stc
mov dword [edx + 0x100], ecx
inc esi
dec esi
cld
mov dword [eax + 0x2c], esp
cld
push 0
cld
nop
push 0
clc
push 0
push 0
push 0x30
nop
stc
clc
cld
push 0x20
push es
pop ds
stc
push 0
nop
cld
nop
cld
push 0
cld
stc
add edx, 0xffff7f34
push edx
cld
push edx
pushal
inc eax
popal
stc
push 0
cld
call dword [edx + 0x820f]
add esp, 0x3f8
cld
xor eax, eax
clc
cld
stc
inc eax
stc
nop
ret 0xc

Function at 0x408937
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
sub ecx, 0x102c6498
call fcn.0040895e
or ecx, ecx
xor dword [ebx], edx
inc ebx
dec ecx
cmp ebx, esi
jne fcn.00408937
ret