joyce8/EMBER2024-capa huggingface dataset:
Function at 0x754840
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a5791
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x7cb8a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00751670
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x7548f6
mov byte [ebp - 0x21], 0
lea eax, [ebp - 0x21]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 2
push ecx
lea ecx, [ebp - 0x20]
call fcn.00757a20
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
push 0
lea ecx, [ebp - 0x20]
call fcn.00757ac0
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00751670
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push 0
lea ecx, [ebp - 0x20]
call fcn.00757ac0
push eax
mov ecx, dword [ebp + 8]
call fcn.0070ddd0
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00757a60
mov eax, dword [ebp + 8]
jmp 0x754915
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0070de20
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x754d10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a5881
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x7cb8a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x754db8
mov byte [ebp - 0x21], 0
lea ecx, [ebp - 0x21]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
lea ecx, [ebp - 0x20]
call fcn.00757a20
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
push 0
lea ecx, [ebp - 0x20]
call fcn.00757ac0
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0
lea ecx, [ebp - 0x20]
call fcn.00757ac0
push eax
mov ecx, dword [ebp + 8]
call fcn.0070ddd0
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00757a60
mov eax, dword [ebp + 8]
jmp 0x754dd3
mov ecx, dword [ebp + 8]
call fcn.00720db0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x755790
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a5af1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x7cb8a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
push 0
push 0
push 0xe
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x21], 0
lea ecx, [ebp - 0x21]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
lea ecx, [ebp - 0x20]
call fcn.00757a20
mov dword [ebp - 4], 1
push 0
lea ecx, [ebp - 0x20]
call fcn.00757ac0
push eax
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
push 0xd
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
lea ecx, [ebp - 0x20]
call fcn.00757ac0
push eax
mov ecx, dword [ebp + 8]
call fcn.0070ddd0
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00757a60
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x76f8f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], 0x10
jb 0x76f8ff
mov eax, dword [eax + 4]
jmp 0x76f902
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x76f98b
push esi
mov esi, dword [0x7e26b0]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], esi
mov dword [ecx], eax
pop esi
je 0x76f970
cmp eax, 3
je 0x76f970
cmp eax, 0x7b
je 0x76f970
cmp eax, 0x57
je 0x76f970
cmp eax, 0xa1
je 0x76f970
cmp eax, 0x35
je 0x76f970
cmp eax, 0x20
jne 0x76f965
mov eax, dword [0x7e26b4]
mov dword [ecx], eax
mov edx, dword [0x7e26b8]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 9
ret
mov eax, dword [esp + 4]
mov dword [eax], 0
ret
mov eax, dword [0x7e26b4]
mov dword [ecx], eax
mov edx, dword [0x7e26b8]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 1
ret
mov edx, dword [0x7e26b4]
mov ecx, dword [esp + 0xc]
mov dword [ecx], edx
mov edx, dword [0x7e26b8]
test al, 0x10
mov dword [ecx + 4], edx
lea eax, [esp + 8]
mov dword [esp + 8], 3
jne 0x76f9b8
mov dword [esp + 8], 2
mov ecx, dword [eax]
mov eax, dword [esp + 4]
mov dword [eax], ecx
ret

Function at 0x76f9d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], 8
jb 0x76f9df
mov eax, dword [eax + 4]
jmp 0x76f9e2
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x76fa6b
push esi
mov esi, dword [0x7e26b0]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], esi
mov dword [ecx], eax
pop esi
je 0x76fa50
cmp eax, 3
je 0x76fa50
cmp eax, 0x7b
je 0x76fa50
cmp eax, 0x57
je 0x76fa50
cmp eax, 0xa1
je 0x76fa50
cmp eax, 0x35
je 0x76fa50
cmp eax, 0x20
jne 0x76fa45
mov eax, dword [0x7e26b4]
mov dword [ecx], eax
mov edx, dword [0x7e26b8]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 9
ret
mov eax, dword [esp + 4]
mov dword [eax], 0
ret
mov eax, dword [0x7e26b4]
mov dword [ecx], eax
mov edx, dword [0x7e26b8]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 1
ret
mov edx, dword [0x7e26b4]
mov ecx, dword [esp + 0xc]
mov dword [ecx], edx
mov edx, dword [0x7e26b8]
test al, 0x10
mov dword [ecx + 4], edx
lea eax, [esp + 8]
mov dword [esp + 8], 3
jne 0x76fa98
mov dword [esp + 8], 2
mov ecx, dword [eax]
mov eax, dword [esp + 4]
mov dword [eax], ecx
ret

Function at 0x7764a2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x7cb8a0]
jne 0x7764ac
repz ret
jmp fcn.007816dc
Function at 0x781d3f
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x7cc220]
je 0x781d5a
inc edi
cmp edi, 0x17
jb 0x781d4b
cmp edi, 0x17
jae 0x781eda
push ebp
push 3
call fcn.0078f1fe
cmp eax, 1
pop ecx
je 0x781ea6
push 3
call fcn.0078f1fe
test eax, eax
pop ecx
jne 0x781d8e
cmp dword [0x7cb960], 1
je 0x781ea6
cmp ebx, 0xfc
je 0x781ed9
push 0x7d009c
mov ebx, 0x314
push ebx
mov ebp, 0x7e2b38
push ebp
call fcn.0077564a
add esp, 0xc
test eax, eax
je 0x781dc4
push esi
push esi
push esi
push esi
push esi
call fcn.00776d7c
add esp, 0x14
push 0x104
mov esi, 0x7e2b51
push esi
push 0
mov byte [0x7e2c55], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x781e08
push 0x7d0084
push 0x2fb
push esi
call fcn.0077564a
add esp, 0xc
test eax, eax
je 0x781e08
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00776d7c
add esp, 0x14
push esi
call fcn.00775e70
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x781e4d
push esi
call fcn.00775e70
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x7e2e4c
push 0x7d0080
sub ecx, eax
push ecx
push eax
call fcn.007764b1
add esp, 0x14
test eax, eax
je 0x781e4d
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00776d7c
add esp, 0x14
jmp 0x781e4f
xor esi, esi
push 0x7ce8f8
push ebx
push ebp
call fcn.007755d9
add esp, 0xc
test eax, eax
je 0x781e6f
push esi
push esi
push esi
push esi
push esi
call fcn.00776d7c
add esp, 0x14
push dword [edi*8 + 0x7cc224]
push ebx
push ebp
call fcn.007755d9
add esp, 0xc
test eax, eax
je 0x781e91
push esi
push esi
push esi
push esi
push esi
call fcn.00776d7c
add esp, 0x14
push 0x12010
push 0x7d0058
push ebp
call fcn.0078f041
add esp, 0xc
jmp 0x781ed9
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x781ed9
cmp ebp, 0xffffffff
je 0x781ed9
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x7cc224]
push dword [esi]
call fcn.00775e70
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x78f041
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00780f1a
xor ebx, ebx
cmp dword [0x7e31e0], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x78f117
push 0x7d1888
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x78f1f7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x7d187c
push edi
call esi
cmp eax, ebx
je 0x78f1f7
push eax
call fcn.00780eac
mov dword [esp], 0x7d186c
push edi
mov dword [0x7e31e0], eax
call esi
push eax
call fcn.00780eac
mov dword [esp], 0x7d1858
push edi
mov dword [0x7e31e4], eax
call esi
push eax
call fcn.00780eac
mov dword [0x7e31e8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0077abbf
test eax, eax
pop ecx
pop ecx
je 0x78f0e5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00776d7c
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x78f117
push 0x7d183c
push edi
call esi
push eax
call fcn.00780eac
cmp eax, ebx
pop ecx
mov dword [0x7e31f0], eax
je 0x78f117
push 0x7d1824
push edi
call esi
push eax
call fcn.00780eac
pop ecx
mov dword [0x7e31ec], eax
mov eax, dword [0x7e31ec]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x78f19c
cmp dword [0x7e31f0], ecx
je 0x78f19c
push eax
call fcn.00780f23
push dword [0x7e31f0]
mov esi, eax
call fcn.00780f23
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x78f19c
cmp edi, ebx
je 0x78f19c
call esi
cmp eax, ebx
je 0x78f169
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x78f169
test byte [ebp - 0x18], 1
jne 0x78f19c
lea eax, [ebp - 0x10]
push eax
call fcn.0077ac6e
test eax, eax
pop ecx
je 0x78f184
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00776d7c
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x78f193
or dword [ebp + 0x10], 0x200000
jmp 0x78f1d7
or dword [ebp + 0x10], 0x40000
jmp 0x78f1d7
mov eax, dword [0x7e31e4]
cmp eax, dword [ebp - 8]
je 0x78f1d7
push eax
call fcn.00780f23
cmp eax, ebx
pop ecx
je 0x78f1d7
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x78f1d7
mov eax, dword [0x7e31e8]
cmp eax, dword [ebp - 8]
je 0x78f1d7
push eax
call fcn.00780f23
cmp eax, ebx
pop ecx
je 0x78f1d7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x7e31e0]
call fcn.00780f23
cmp eax, ebx
pop ecx
je 0x78f1f7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x78f1f9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x79c2ea
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea ecx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, ecx
jb 0x79c36f
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.00777430
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x79c332
mov eax, dword [edi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x79c354
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x79c3ca
mov ecx, dword [edi + 0x74]
add ecx, dword [edi + 0x6c]
push esi
add ecx, dword [edi + 0x38]
mov esi, eax
push ecx
call fcn.0079c03a
add dword [edi + 0x74], eax
mov esi, dword [edi + 0x74]
cmp esi, 3
pop ecx
pop ecx
jb 0x79c3b6
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp esi, 0x106
jae 0x79c3ca
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x79c2f3
pop esi
pop ebx
leave
ret
Function at 0x409805
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x435014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0xffff
push edi
mov edi, ecx
cmp ax, bx
jne 0x40982a
xor eax, eax
jmp 0x409886
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x409857
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [ecx + esi*2]
cmp ecx, eax
jae 0x409857
lea ecx, [esi - 1]
mov dword [edx], ecx
mov edx, dword [edi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], bx
jmp 0x40990d
cmp dword [edi + 0x4c], 0
je 0x409880
mov ecx, edi
call fcn.00409483
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x409896
push dword [edi + 0x4c]
push ebx
call fcn.00408cf0
pop ecx
test al, al
movzx eax, bx
pop ecx
jne 0x409885
mov eax, 0xffff
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0040a587
leave
ret 4
mov word [ebp - 0x28], bx
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x40]
push eax
call dword [0x427148]
mov ecx, dword [ebp - 0x2c]
call esi
sub eax, 0
je 0x4098e0
sub eax, 1
je 0x4098e0
dec eax
sub eax, 1
jne 0x409880
push dword [edi + 0x4c]
push dword [ebp - 0x28]
jmp 0x409872
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x4098fd
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.00411bfa
add esp, 0x10
cmp esi, eax
jne 0x409880
lea eax, [ebp - 0x28]
mov byte [edi + 0x3e], 1
cmp dword [ebp - 0x34], eax
je 0x409880
mov ax, bx
jmp 0x409885

Function at 0x40b01c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40b05b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40b05b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40b05b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40b05b
cmp dword [ecx + 0x74], 0xe
jbe 0x40b05b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x419810
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004194c1

Function at 0x41981b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041964b

Function at 0x425d60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x425d8d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x425d8d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x426760
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x435014]
xor eax, ebp
mov dword [ebp - 4], eax
push str.Zawgbht
push 0x4607b0
call fcn.00406450
add esp, 8
mov dword [ebp - 0x34], eax
push 0x406770
mov ecx, dword [ebp - 0x34]
call fcn.004030c0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x3c], edx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + ecx + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x30], 0
xor edx, edx
mov word [ebp - 0x20], dx
mov dword [ebp - 0x24], 0
jmp 0x4267f4
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x40]
jae 0x426871
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004033c0
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.004067b0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x42685b
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x24]
mov ecx, dword [ebp - 0x24]
mov dx, word [eax + ecx*2]
mov word [ebp - 0x20], dx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x1c]
movzx edx, word [ebp - 0x20]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x1c]
call fcn.00403330
jmp 0x426871
mov ecx, dword [ebp - 0x2c]
add ecx, 4
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x1c]
call fcn.00403330
jmp 0x4267eb
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a587
mov esp, ebp
pop ebp
ret
Function at 0x426890
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x435014]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], 4
mov dword [ebp - 0x44], 8
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], 6
push str.dsfeehHel25lo__woar34ld_
lea ecx, [ebp - 0x1c]
call fcn.004033c0
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0xa
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x24], 0
jmp 0x4268f7
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp + 0xc]
jae 0x426967
mov byte [ebp - 0x1d], 0
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x24]
mov al, byte [edx]
mov byte [ebp - 0x25], al
movzx ecx, byte [ebp - 0x25]
mov eax, dword [ebp - 0x24]
xor edx, edx
div dword [ebp + 0x10]
movzx edx, byte [edx + 0x45fa60]
xor ecx, edx
mov byte [ebp - 0x1d], cl
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x24]
mov cl, byte [eax]
mov byte [ebp - 0x26], cl
mov dl, byte [ebp - 0x26]
mov byte [ebp - 0x27], dl
movzx eax, byte [ebp - 0x1d]
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x24]
movzx edx, byte [ecx]
add edx, eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x24]
mov byte [eax], dl
movzx ecx, byte [ebp - 0x27]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x24]
movzx eax, byte [edx]
sub eax, ecx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x24]
mov byte [ecx], al
jmp 0x4268ee
lea ecx, [ebp - 0x1c]
call fcn.00403330
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a587
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov al, byte [ecx]
and dword [esp + 0x18], 0
push ebx
push esi
mov byte [edx], al
lea eax, [edx + 1]
push edi
xor edi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x14]
xor ebx, ebx
lea eax, [ecx + 1]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
call fcn.004011b2
test eax, eax
je 0x401164
lea ecx, [esp + 0x18]
jmp loc.0044100a
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
mov dword [esp + 0x18], ecx
xor edi, edi
mov dword [esp + 0x1c], edx
test ebx, ebx
je 0x401033
sub edx, dword [esp + 0x14]
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x6cf736cd
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0xaa257c6
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4487e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0x10
cmp word [0x59ae90], 1
push ebx
push esi
push edi
jne 0x44881e
mov eax, dword [ecx + 8]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov esi, dword [ecx + 0x10]
mov edi, dword [ecx + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x10], eax
jmp 0x448921
movzx edx, byte [ecx + 3]
movzx eax, byte [ecx + 2]
movzx ebx, byte [ecx + 7]
movzx esi, byte [ecx + 0xb]
shl edx, 8
or edx, eax
shl esi, 8
movzx eax, byte [ecx + 1]
shl edx, 8
or edx, eax
shl ebx, 8
movzx eax, byte [ecx]
shl edx, 8
or edx, eax
movzx edi, byte [ecx + 0x17]
movzx eax, byte [ecx + 6]
or ebx, eax
shl edi, 8
movzx eax, byte [ecx + 5]
shl ebx, 8
or ebx, eax
movzx eax, byte [ecx + 4]
shl ebx, 8
or ebx, eax
movzx eax, byte [ecx + 0xa]
or esi, eax
movzx eax, byte [ecx + 9]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 8]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0xe]
mov dword [ebp - 4], esi
movzx esi, byte [ecx + 0xf]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0xd]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0xc]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0x12]
mov dword [ebp - 8], esi
movzx esi, byte [ecx + 0x13]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0x11]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0x10]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0x16]
or edi, eax
movzx eax, byte [ecx + 0x15]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 0x14]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 0x1a]
mov dword [ebp - 0xc], edi
movzx edi, byte [ecx + 0x1b]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 0x19]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 0x18]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 0x1e]
mov dword [ebp - 0x10], edi
movzx edi, byte [ecx + 0x1f]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 0x1d]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 0x1c]
shl edi, 8
or edi, eax
mov ecx, dword [ebp + 8]
mov eax, edx
and eax, 0x3ffffff
shr edx, 0x1a
mov dword [ecx], eax
mov eax, ebx
shl eax, 6
or edx, eax
shr ebx, 0x13
and edx, 0x1ffffff
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov eax, edx
shl eax, 0xd
or eax, ebx
shr edx, 0xd
mov ebx, dword [ebp - 8]
and eax, 0x3ffffff
mov dword [ecx + 8], eax
mov eax, ebx
shl eax, 0x13
or eax, edx
shr ebx, 6
mov edx, dword [ebp - 0xc]
and eax, 0x1ffffff
mov dword [ecx + 0xc], eax
mov eax, esi
and eax, 0x1ffffff
shr esi, 0x19
mov dword [ecx + 0x14], eax
mov eax, edx
shl eax, 7
or esi, eax
mov dword [ecx + 0x10], ebx
mov ebx, dword [ebp - 0x10]
and esi, 0x3ffffff
mov eax, ebx
shr edx, 0x13
shl eax, 0xd
or eax, edx
shr ebx, 0xc
and eax, 0x1ffffff
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x1c], eax
mov eax, edi
shl eax, 0x14
or eax, ebx
shr edi, 6
and eax, 0x3ffffff
and edi, 0x1ffffff
mov dword [ecx + 0x24], edi
pop edi
pop esi
mov dword [ecx + 0x20], eax
pop ebx
mov esp, ebp
pop ebp
ret