joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459548
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
lea ecx, [eax + 0xc]
mov ecx, dword [ecx]
mov dword [edx + 0xc], ecx
lea ecx, [eax + 0x10]
mov ecx, dword [ecx]
mov dword [edx + 0x10], ecx
lea ecx, [eax + 0x14]
mov ecx, dword [ecx]
mov dword [edx + 0x14], ecx
lea ecx, [eax + 0x18]
mov ecx, dword [ecx]
mov dword [edx + 0x18], ecx
add eax, 0x1c
mov eax, dword [eax]
mov dword [edx + 0x1c], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0x1c]
mov edi, ecx
shl edi, 0x18
shr ecx, 8
or edi, ecx
mov ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x487e88]
mov dword [esp + 4], ecx
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x487e88]
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov esi, dword [ebx*4 + 0x487e88]
mov ebx, edi
shr ebx, 0x18
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x487e88]
mov dword [esp + 8], ebx
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
or ebx, ecx
xor ebx, dword [esp + 4]
mov ecx, esi
shl ecx, 0x10
shr esi, 0x10
or ecx, esi
xor ebx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x18
mov esi, dword [esp + 8]
shr esi, 8
or ecx, esi
xor ebx, ecx
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x487e0c]
mov dword [edx + eax*4 + 0x20], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x20]
mov dword [edx + eax*4 + 0x24], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x28], ebx
mov edi, dword [edx + eax*4 + 0xc]
xor edi, ebx
mov dword [edx + eax*4 + 0x2c], edi
xor ecx, ecx
mov cl, byte [edx + eax*4 + 0x2c]
mov ecx, dword [ecx*4 + 0x487e88]
mov dword [esp + 4], ecx
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x487e88]
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov esi, dword [ebx*4 + 0x487e88]
mov ebx, edi
shr ebx, 0x18
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x487e88]
mov dword [esp + 8], ebx
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
or ebx, ecx
xor ebx, dword [esp + 4]
mov ecx, esi
shl ecx, 0x10
shr esi, 0x10
or ecx, esi
xor ebx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x18
mov esi, dword [esp + 8]
shr esi, 8
or ecx, esi
xor ebx, ecx
xor ebx, dword [edx + eax*4 + 0x10]
mov dword [edx + eax*4 + 0x30], ebx
mov ecx, dword [edx + eax*4 + 0x14]
xor ecx, dword [edx + eax*4 + 0x30]
mov dword [edx + eax*4 + 0x34], ecx
mov ebx, dword [edx + eax*4 + 0x18]
xor ebx, ecx
mov dword [edx + eax*4 + 0x38], ebx
mov ecx, dword [edx + eax*4 + 0x1c]
xor ecx, ebx
mov dword [edx + eax*4 + 0x3c], ecx
add eax, 8
cmp eax, 0x34
jl 0x459593
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x45be94
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x158
call fcn.0040305c
cmp dword [ebp - 4], 0
je 0x45bf48
mov eax, dword [ebp - 4]
mov dword [ebx + 0x154], eax
mov ax, word [ebp + 8]
mov edx, dword [ebp - 4]
mov dx, word [edx + 8]
mov word [ebp - 6], dx
cmp ax, word [ebp - 6]
jbe 0x45bf04
movzx eax, ax
push eax
lea edx, [ebp - 0x46]
mov ecx, esi
mov eax, dword [ebp - 4]
call fcn.0045be00
mov eax, dword [ebp - 4]
mov ax, word [eax + 0xa]
movzx ecx, ax
lea edx, [ebx + 0xd4]
lea eax, [ebp - 0x46]
call fcn.0040294c
jmp 0x45bf14
movzx ecx, ax
lea edx, [ebx + 0xd4]
mov eax, esi
call fcn.0040294c
mov dx, word [ebp - 6]
dec edx
test dx, dx
jb 0x45bf2e
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x36
inc eax
dec dx
jne 0x45bf25
mov eax, ebx
mov esi, dword [ebp - 4]
call dword [esi + 0xc]
movzx ecx, word [ebp - 6]
lea edx, [ebx + 0xd4]
mov eax, ebx
mov ebx, dword [ebp - 4]
call dword [ebx + 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45bf60
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov dword [esp], edx
mov ebx, eax
mov eax, dword [ebx + 0x154]
test eax, eax
je 0x45bfe2
mov dx, word [eax + 8]
mov word [esp + 4], dx
mov esi, eax
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x10]
movzx edx, word [esp + 4]
dec edx
test edx, edx
jl 0x45bf9f
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x6a
inc eax
dec edx
jne 0x45bf98
mov esi, dword [ebx + 0x154]
mov eax, ebx
call dword [esi + 0xc]
mov esi, dword [ebx + 0x154]
movzx ecx, word [esp + 4]
lea edx, [ebx + 0xd4]
mov eax, ebx
call dword [esi + 0x14]
mov eax, dword [ebx + 0x154]
mov esi, eax
movzx ecx, word [eax + 0xa]
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x14]
mov esi, dword [ebx + 0x154]
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x10]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x45c034
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x45c05a
mov dword [ebp - 0x10], 1
jmp 0x45c1a8
mov eax, dword [ebp - 4]
mov ax, word [eax + 0xa]
test ax, ax
jne 0x45c072
mov dword [ebp - 0x10], 2
jmp 0x45c1a8
xor edx, edx
mov dword [ebp - 0x10], edx
mov word [ebp - 0x14], ax
mov word [ebp - 0x12], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 4
call fcn.0040305c
movzx eax, word [ebp + 8]
dec eax
movzx edx, word [ebp - 0x14]
mov ecx, edx
cdq
idiv ecx
inc eax
test ax, ax
jbe 0x45c1a8
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x20]
call fcn.0045c020
lea eax, [ebp - 0xa8]
xor ecx, ecx
mov edx, 0x40
call fcn.0040305c
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x45c16f
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 1
mov ax, word [ebp - 0xa]
push eax
lea eax, [ebp - 0x200]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0045be94
cmp dword [ebp - 0x18], 1
jne 0x45c124
movzx ecx, word [ebp + 0x14]
lea eax, [ebp - 0x200]
mov edx, dword [ebp + 0x18]
call fcn.0045bf50
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x200]
mov ecx, 4
call fcn.0045bf50
jmp 0x45c136
movzx ecx, word [ebp - 0x14]
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x200]
call fcn.0045bf50
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x200]
call fcn.0045bf60
mov cx, word [ebp - 0x14]
dec ecx
test cx, cx
jb 0x45c163
inc ecx
lea eax, [ebp - 0x68]
lea edx, [ebp - 0xa8]
mov bl, byte [eax]
xor byte [edx], bl
inc edx
inc eax
dec cx
jne 0x45c158
inc dword [ebp - 0x18]
dec dword [ebp - 0x28]
jne 0x45c0e1
mov cx, word [ebp - 0x14]
dec ecx
test cx, cx
jb 0x45c19e
inc ecx
lea eax, [ebp - 0xa8]
mov dx, word [ebp - 0x12]
cmp dx, word [ebp + 8]
jae 0x45c198
mov dl, byte [eax]
mov ebx, dword [ebp - 0x1c]
mov byte [ebx], dl
inc word [ebp - 0x12]
inc dword [ebp - 0x1c]
inc eax
dec cx
jne 0x45c180
dec word [ebp - 0x22]
jne 0x45c0b2
mov eax, dword [ebp - 0x10]
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x46595c
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
and edx, edx
je 0x46597a
and ecx, ecx
jle 0x46597a
push ebx
xor al, byte [edx]
imul eax, eax, 0x8088405
inc eax
mov ebx, eax
shr ebx, 0x18
mov byte [edx], bl
inc edx
dec ecx
jne 0x465965
pop ebx
ret
Function at 0x467d5c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x28]
shr edx, 1
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [eax + 0x28]
shr ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
call fcn.0040294c
add dword [ebp - 8], 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x4c]
shl eax, 2
sub eax, 5
test eax, eax
jl 0x467e3b
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x48e448]
mov edx, 8
call fcn.00465474
mov ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0xff
xor ebx, dword [eax*4 + 0x48e448]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x48e448]
mov edx, 0x10
call fcn.00465474
xor ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 0x18
mov eax, dword [eax*4 + 0x48e448]
mov edx, 0x18
call fcn.00465474
xor ebx, eax
mov eax, dword [ebp - 8]
mov dword [eax], ebx
add dword [ebp - 8], 4
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x467dbe
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46beb4
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x46bf0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x48f32c]
cmp byte [eax], 0
je 0x46bede
push ebx
call sub.KERNEL32.DLL_GetFileAttributesW
mov ebx, eax
jmp 0x46bef8
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404750
mov eax, dword [ebp - 4]
call fcn.004049e8
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bf15
lea eax, [ebp - 4]
call fcn.00404518
ret

Function at 0x46bf1c
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46bf7b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x48f32c]
cmp byte [eax], 0
je 0x46bf4a
push esi
push ebx
call sub.KERNEL32.DLL_SetFileAttributesW
mov ebx, eax
jmp 0x46bf65
push esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404750
mov eax, dword [ebp - 4]
call fcn.004049e8
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bf82
lea eax, [ebp - 4]
call fcn.00404518
ret
Function at 0x46bffc
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46c074
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x48f32c]
cmp byte [eax], 0
je 0x46c02c
push esi
push ebx
call sub.KERNEL32.DLL_MoveFileW
mov ebx, eax
jmp 0x46c059
lea eax, [ebp - 4]
mov edx, esi
call fcn.00404750
mov eax, dword [ebp - 4]
call fcn.004049e8
push eax
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404750
mov eax, dword [ebp - 8]
call fcn.004049e8
push eax
call sub.KERNEL32.DLL_MoveFileA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c07b
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040453c
ret

Function at 0x46c324
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
xor esi, esi
mov eax, ebx
call fcn.00407810
cmp ax, 0xffff
jne 0x46c345
neg ebx
mov eax, ebx
shr eax, 4
and eax, 0xffff
inc eax
and ebx, 0xf
mov dword [ebp - 8], ebx
push 6
push eax
push edi
call sub.KERNEL32.DLL_FindResourceA
test eax, eax
je 0x46c3c6
push eax
push edi
call sub.KERNEL32.DLL_LoadResource
test eax, eax
je 0x46c3c6
push eax
call sub.KERNEL32.DLL_LockResource
mov ebx, eax
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x46c38c
inc eax
movzx edx, word [ebx]
add edx, edx
add ebx, edx
add ebx, 2
dec eax
jne 0x46c37f
movzx esi, word [ebx]
add ebx, 2
cmp dword [ebp - 4], 0
je 0x46c3c6
cmp dword [ebp + 8], 0
jle 0x46c3c6
mov eax, dword [ebp + 8]
dec eax
mov edx, esi
call fcn.00428d20
mov esi, eax
test esi, esi
jle 0x46c3bd
mov ecx, esi
add ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00407824
mov eax, dword [ebp - 4]
mov word [eax + esi*2], 0
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x46cec8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x46cf2c
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404798
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.004093c4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cf33
lea eax, [ebp - 0xc]
call fcn.00404518
ret
Function at 0x46cf88
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x46cfe4
push esp
push 0x40
push 6
push ebx
call sub.KERNEL32.DLL_VirtualProtect
test eax, eax
jne 0x46cfb3
call fcn.0040ea80
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.0040294c
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.KERNEL32.DLL_VirtualProtect
test eax, eax
jne 0x46cfe4
call fcn.0040ea80
add esp, 0x14
pop edi
pop esi
pop ebx
ret

Function at 0x472510
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x472587
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.004047b0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00409888
mov eax, dword [ebp - 4]
call fcn.00472450
test al, al
je 0x472557
mov byte [ebp - 5], 1
jmp 0x47256c
mov eax, dword [ebp - 0xc]
call fcn.004049e8
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47258e
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0040453c
ret

Function at 0x472884
Capabilities:
Encode data using xor

Disassembly:
and edx, edx
je 0x4728a7
and ecx, ecx
jle 0x4728a7
push ebx
push edi
xor ebx, ebx
lea edi, cs:[0x4728ad]
mov bl, al
shr eax, 8
xor bl, byte [edx]
xor eax, dword [edi + ebx*4]
inc edx
dec ecx
jne 0x472897
pop edi
pop ebx
ret

Function at 0x472e88
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x472ee5
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 0xc]
call fcn.00472dd8
xor al, byte [ebp - 0xe]
mov byte [ebp - 0xd], al
mov edx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
call fcn.00472d40
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x14]
mov dl, byte [ebp - 0xd]
mov byte [eax], dl
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x472eaa
mov esp, ebp
pop ebp
ret
Function at 0x472f40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0x12345678
mov dword [eax + 4], 0
mov eax, dword [ebp - 8]
mov dword [eax + 8], 0x23456789
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], 0x34567890
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 4]
call fcn.004047e8
dec eax
test eax, eax
jl 0x472fb6
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
call fcn.004049e8
add eax, dword [ebp - 0x10]
mov al, byte [eax]
mov edx, dword [ebp - 8]
call fcn.00472d40
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x472f99
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
call fcn.00472dd8
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
xor al, byte [edx + ecx]
mov byte [ebp - 0x11], al
mov edx, dword [ebp - 8]
mov al, byte [ebp - 0x11]
call fcn.00472d40
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov cl, byte [ebp - 0x11]
mov byte [eax + edx], cl
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xc
jne 0x472fbb
mov esp, ebp
pop ebp
ret
Function at 0x47f0d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47f191
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x113]
mov edx, 0x47f1a4
call fcn.00409b8c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
xor edx, edx
call fcn.00404fcc
je 0x47f138
lea eax, [ebp - 0x21c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
call fcn.004047b0
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 0x108]
call fcn.00409b8c
jmp 0x47f149
lea eax, [ebp - 0x108]
push eax
push 0xff
call sub.KERNEL32.DLL_GetTempPathA
lea eax, [ebp - 0x218]
push eax
push 0
lea eax, [ebp - 0x113]
push eax
lea eax, [ebp - 0x108]
push eax
call sub.KERNEL32.DLL_GetTempFileNameA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x218]
mov ecx, 0x105
call fcn.00404df4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f198
lea eax, [ebp - 0x21c]
call fcn.00404518
ret

Function at 0x484a6c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049d8
xor eax, eax
push ebp
push 0x484afb
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x105]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
mov ecx, 0x101
call fcn.00404798
push dword [ebp - 0x10c]
push 0x484b10
push dword [ebp - 4]
mov eax, ebx
mov edx, 3
call fcn.004048a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484b02
lea eax, [ebp - 0x10c]
call fcn.00404518
lea eax, [ebp - 4]
call fcn.00404518
ret
Function at 0x484b14
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe10
push ebx
xor edx, edx
mov dword [ebp - 0x1dc], edx
mov dword [ebp - 0x1e0], edx
mov dword [ebp - 0x1e8], edx
mov dword [ebp - 0x1f0], edx
mov dword [ebp - 0x1ec], edx
mov dword [ebp - 0x1e4], edx
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x484cc9
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1d8]
xor eax, eax
call fcn.00402a78
mov eax, dword [ebp - 0x1d8]
lea edx, [ebp - 0x1d4]
call fcn.0040991c
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 4]
mov ecx, 0x484ce0
call fcn.00404834
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00402e2c
lea eax, [ebp - 0x1d0]
call fcn.00402bc8
call fcn.004028b8
push 0x484cf0
lea edx, [ebp - 0x1e4]
xor eax, eax
call fcn.00402a78
mov eax, dword [ebp - 0x1e4]
lea edx, [ebp - 0x1e0]
call fcn.0040991c
push dword [ebp - 0x1e0]
push 0x484d04
push 0x484d10
push 0x484d1c
push 0x484d28
lea edx, [ebp - 0x1ec]
xor eax, eax
call fcn.00402a78
mov eax, dword [ebp - 0x1ec]
lea edx, [ebp - 0x1e8]
call fcn.0040991c
push dword [ebp - 0x1e8]
push 0x484d3c
push 0x484d10
push 0x484d1c
push 0x484d50
lea edx, [ebp - 0x1f0]
mov eax, dword [ebp - 4]
call fcn.0040991c
push dword [ebp - 0x1f0]
push 0x484d04
lea eax, [ebp - 0x1dc]
mov edx, 0xd
call fcn.004048a8
mov edx, dword [ebp - 0x1dc]
lea eax, [ebp - 0x1d0]
call fcn.00404c08
call fcn.00403280
call fcn.004028b8
lea eax, [ebp - 0x1d0]
call fcn.00402ef4
call fcn.004028b8
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004049e8
push eax
push 0x484d58
mov eax, ebx
call fcn.0043ec00
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, ebx
call fcn.00454454
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484cd0
lea eax, [ebp - 0x1f0]
mov edx, 8
call fcn.0040453c
lea eax, [ebp - 4]
call fcn.00404518
ret

Function at 0x484d60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
xor edx, edx
mov dword [ebp - 0x44], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x484e04
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00459440
test eax, eax
jne 0x484dee
lea eax, [ebp - 0x40]
mov edx, 0x3c
call fcn.0040782c
mov dword [ebp - 0x40], 0x3c
mov eax, ebx
call fcn.0043ec00
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], 0x500
mov eax, 0x484e10
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x44]
mov eax, dword [0x48f588]
mov eax, dword [eax]
call fcn.0045818c
mov eax, dword [ebp - 0x44]
call fcn.004049e8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], 1
lea eax, [ebp - 0x40]
push eax
call sub.shell32.dll_ShellExecuteExA
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
call fcn.00404420
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484e0b
lea eax, [ebp - 0x44]
call fcn.00404518
ret
Function at 0x1fc3700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.01fc378f
jae 0x1fc370e
xor ecx, ecx
call fcn.01fc378f
jae 0x1fc373d
xor eax, eax
call fcn.01fc378f
jae 0x1fc374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.01fc378f
adc al, al
jae 0x1fc372f
jne 0x1fc3779
stosb byte es:[edi], al
jmp 0x1fc3711
call fcn.01fc379b
sub ecx, ebx
jne 0x1fc3756
call fcn.01fc3799
jmp 0x1fc3775
lodsb al, byte [esi]
shr eax, 1
je 0x1fc3783
adc ecx, ecx
jmp 0x1fc3772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.01fc3799
cmp eax, 0x7d00
jae 0x1fc3772
cmp ah, 5
jae 0x1fc3773
cmp eax, 0x7f
ja 0x1fc3774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1fc3711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

Function at 0x1fe3700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.01fe378f
jae 0x1fe370e
xor ecx, ecx
call fcn.01fe378f
jae 0x1fe373d
xor eax, eax
call fcn.01fe378f
jae 0x1fe374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.01fe378f
adc al, al
jae 0x1fe372f
jne 0x1fe3779
stosb byte es:[edi], al
jmp 0x1fe3711
call fcn.01fe379b
sub ecx, ebx
jne 0x1fe3756
call fcn.01fe3799
jmp 0x1fe3775
lodsb al, byte [esi]
shr eax, 1
je 0x1fe3783
adc ecx, ecx
jmp 0x1fe3772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.01fe3799
cmp eax, 0x7d00
jae 0x1fe3772
cmp ah, 5
jae 0x1fe3773
cmp eax, 0x7f
ja 0x1fe3774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1fe3711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x52d370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x52d38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x556074
push ecx
mov edi, eax
call fcn.00541198
mov esi, eax
add esp, 8
test esi, esi
jne 0x52d3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0054102e
push esi
call fcn.00540fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret