joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46bfc0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x408
test ah, 2
push esi
jne 0x46bfe6
test ah, 4
je 0x46c0d6
call fcn.0046c360
test eax, eax
je 0x46c0d6
push str.TMPDIR
call fcn.004a7b59
add esp, 4
test eax, eax
je 0x46c00a
cmp byte [eax], 0
jne 0x46c0b6
push str.illegal_TMPDIR_environment_variable
jmp 0x46c099
push str.TEMP
call fcn.004a7b59
add esp, 4
test eax, eax
je 0x46c046
cmp byte [eax], 0
jne 0x46c0b6
mov ecx, dword [esp + 0x410]
push str.illegal_TEMP_environment_variable
push ecx
call fcn.0043eea0
add esp, 8
mov eax, 0x16
pop esi
add esp, 0x408
ret
push 0x4c9770
call fcn.004a7b59
add esp, 4
test eax, eax
je 0x46c07e
cmp byte [eax], 0
jne 0x46c0b6
mov edx, dword [esp + 0x410]
push str.illegal_TMP_environment_variable
push edx
call fcn.0043eea0
add esp, 8
mov eax, 0x16
pop esi
add esp, 0x408
ret
push str.TempFolder
call fcn.004a7b59
add esp, 4
test eax, eax
je 0x46c0d6
cmp byte [eax], 0
jne 0x46c0b6
push str.illegal_TempFolder_environment_variable
mov eax, dword [esp + 0x414]
push eax
call fcn.0043eea0
add esp, 8
mov eax, 0x16
pop esi
add esp, 0x408
ret
mov ecx, dword [esp + 0x410]
lea edx, [ecx + 0x84]
push edx
push eax
push ecx
call fcn.0043a970
add esp, 0xc
pop esi
add esp, 0x408
ret
lea eax, [esp + 8]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, 2
jle 0x46c145
lea eax, [esp + eax + 8]
mov byte [eax], 0
mov cl, byte [eax - 1]
dec eax
cmp cl, 0x5c
je 0x46c100
cmp cl, 0x2f
jne 0x46c103
mov byte [eax], 0
lea ecx, [esp + 4]
lea edx, [esp + 8]
push ecx
push edx
call fcn.0046c1b0
add esp, 8
test eax, eax
jne 0x46c145
mov eax, dword [esp + 4]
test eax, eax
je 0x46c145
mov eax, dword [esp + 0x410]
lea edx, [esp + 8]
lea ecx, [eax + 0x84]
push ecx
push edx
push eax
call fcn.0043a970
add esp, 0xc
pop esi
add esp, 0x408
ret
mov eax, dword [str._var_tmp]
mov esi, 0x4c96c4
test eax, eax
je 0x46c179
mov ecx, dword [esi]
lea eax, [esp + 4]
push eax
push ecx
call fcn.0046c1b0
add esp, 8
test eax, eax
jne 0x46c16f
mov eax, dword [esp + 4]
test eax, eax
jne 0x46c183
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
jne 0x46c153
xor eax, eax
pop esi
add esp, 0x408
ret
mov eax, dword [esp + 0x410]
mov ecx, dword [esi]
lea edx, [eax + 0x84]
push edx
push ecx
push eax
call fcn.0043a970
add esp, 0xc
pop esi
add esp, 0x408
ret

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

Disassembly:
mov eax, dword [0x4c4778]
push esi
test eax, eax
push edi
je 0x46c1cd
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
call eax
add esp, 8
pop edi
pop esi
ret
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor edi, edi
push ebx
call ebp
mov esi, eax
cmp esi, 0xffffffff
jne 0x46c1ec
call fcn.00447830
mov edi, eax
cmp edi, 4
je 0x46c1db
pop ebp
pop ebx
test edi, edi
je 0x46c1fc
mov eax, edi
pop edi
pop esi
ret
mov eax, dword [esp + 0x10]
test eax, eax
je 0x46c209
and esi, 0x10
mov dword [eax], esi
pop edi
xor eax, eax
pop esi
ret
Function at 0x472e40
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x14
push ebx
push esi
call fcn.004958e0
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
test eax, eax
je 0x472ef0
mov eax, dword [esi + 0xc]
mov dword [esp + 0x18], 0
mul dword [esi + 8]
mov dword [esp + 0x10], eax
mov eax, ebx
dec eax
mov dword [esp + 0x14], edx
je 0x472ead
dec eax
jne 0x472ed7
mov eax, dword [0x4c47b0]
test eax, eax
jne 0x472ef0
call fcn.00497910
test eax, eax
jne 0x472ef0
mov edx, dword [esi + 0x14]
lea eax, [esp + 8]
lea ecx, [esp + 0x28]
push eax
mov eax, dword [esi + 0x10]
push ecx
mov ecx, dword [esi]
push edx
push eax
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x472ef0
jmp 0x472ed7
mov eax, dword [0x4c4794]
test eax, eax
jne 0x472ef0
mov edx, dword [esi + 0x14]
lea eax, [esp + 8]
lea ecx, [esp + 0x28]
push eax
mov eax, dword [esi + 0x10]
push ecx
mov ecx, dword [esi]
push edx
push eax
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x472ef0
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
jne 0x472ef0
mov ecx, dword [esp + 0x2c]
pop esi
pop ebx
mov dword [ecx], eax
xor eax, eax
add esp, 0x14
ret
mov eax, dword [esi + 4]
push ebp
mov ebp, dword [esp + 0x24]
push edi
test eax, eax
je 0x472f0d
test byte [eax + 0x24], 1
jne 0x472f0d
push eax
push ebp
call fcn.0044c830
add esp, 8
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov ecx, dword [esi]
push 2
push 0
push 0
push edx
push eax
push ecx
push ebp
call fcn.00473390
mov edi, eax
add esp, 0x1c
test edi, edi
jne 0x472f68
mov eax, ebx
dec eax
je 0x472f4d
dec eax
jne 0x472f68
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
push ebp
call fcn.00473050
jmp 0x472f63
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
push ebp
call fcn.00472f90
add esp, 0x14
mov edi, eax
mov esi, dword [esi + 4]
test esi, esi
je 0x472f7f
test byte [esi + 0x24], 1
jne 0x472f7f
push esi
push ebp
call fcn.0044c910
add esp, 8
mov eax, edi
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x472f90
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
xor esi, esi
test edi, edi
jbe 0x47300e
mov eax, dword [0x4c4794]
test eax, eax
je 0x472fc4
mov edx, dword [esp + 0x18]
mov ecx, edi
sub ecx, esi
push ecx
mov ecx, dword [edx + 4]
push ebx
push ecx
call eax
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x473002
mov ecx, dword [esp + 0x18]
mov eax, edi
lea edx, [esp + 0x20]
push 0
sub eax, esi
push edx
mov edx, dword [ecx]
push eax
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x472ffe
call fcn.00447830
push eax
call fcn.00447820
add esp, 4
call fcn.00447810
mov ebp, eax
cmp ebp, 4
jne 0x473021
jmp 0x472fa2
mov eax, dword [esp + 0x20]
test eax, eax
je 0x47300e
add esi, eax
add ebx, eax
cmp esi, edi
jb 0x472fa2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
sub ebx, eax
pop edi
pop esi
mov dword [ecx], ebx
pop ebp
xor eax, eax
pop ebx
ret
push ebp
call fcn.004a780a
sub edi, esi
push eax
mov eax, dword [esp + 0x1c]
push edi
push ebx
push str.read:_0x_lx___lu:__s
push eax
call fcn.0043eea0
add esp, 0x18
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x473090
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
test esi, esi
jbe 0x473109
mov ebp, dword [esp + 0x18]
mov eax, dword [0x4c47b0]
test eax, eax
je 0x4730c4
mov edx, dword [ebp + 4]
mov ecx, esi
sub ecx, edi
push ecx
push ebx
push edx
call eax
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x473101
mov edx, dword [ebp]
mov ecx, esi
lea eax, [esp + 0x1c]
push 0
sub ecx, edi
push eax
push ecx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4730fd
call fcn.00447830
push eax
call fcn.00447820
add esp, 4
call fcn.00447810
cmp eax, 4
mov dword [esp + 0x20], eax
jne 0x473116
jmp 0x4730a6
mov eax, dword [esp + 0x1c]
add edi, eax
add ebx, eax
cmp edi, esi
jb 0x4730a6
mov ecx, dword [esp + 0x24]
pop edi
xor eax, eax
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
ret
push eax
call fcn.004a780a
sub esi, edi
push eax
mov eax, dword [esp + 0x1c]
push esi
push ebx
push str.write:_0x_x___lu:__s
push eax
call fcn.0043eea0
mov eax, dword [esp + 0x38]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x47b400
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
lea edx, [ecx + eax]
xor eax, eax
cmp ecx, edx
jae 0x47b424
push ebx
imul eax, eax, 0x1000193
xor ebx, ebx
mov bl, byte [ecx]
xor eax, ebx
inc ecx
cmp ecx, edx
jb 0x47b412
pop ebx
ret

Function at 0x489fa0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xf0
mov ecx, 0x10
xor eax, eax
push esi
push edi
lea edi, [esp + 8]
mov esi, dword [esp + 0xfc]
rep stosd dword es:[edi], eax
mov ecx, 0x10
mov eax, 0x36363636
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
mov ecx, 0x10
mov eax, 0x5c5c5c5c
lea edi, [esp + 0xb8]
rep stosd dword es:[edi], eax
mov ecx, 5
lea edi, [esp + 8]
rep movsd dword es:[edi], dword [esi]
pop edi
xor eax, eax
pop esi
mov cl, byte [esp + eax]
mov dl, byte [esp + eax + 0x70]
xor dl, cl
mov byte [esp + eax + 0x70], dl
mov dl, byte [esp + eax + 0xb0]
xor dl, cl
mov byte [esp + eax + 0xb0], dl
inc eax
cmp eax, 0x40
jl 0x489fee
lea eax, [esp]
push eax
call fcn.004a59b0
lea ecx, [esp + 0x74]
push 0x40
lea edx, [esp + 8]
push ecx
push edx
call fcn.004a59e0
mov eax, dword [esp + 0x10c]
mov ecx, dword [esp + 0x108]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.004a59e0
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x78]
push eax
push ecx
call fcn.004a5aa0
lea edx, [esp + 0x24]
push edx
call fcn.004a59b0
lea eax, [esp + 0xd8]
push 0x40
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.004a59e0
lea edx, [esp + 0x90]
push 0x14
lea eax, [esp + 0x38]
push edx
push eax
call fcn.004a59e0
mov edx, dword [esp + 0x140]
add esp, 0x40
lea ecx, [esp]
push ecx
push edx
call fcn.004a5aa0
add esp, 0xf8
ret

Function at 0x48a970
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
push esi
mov esi, dword [esp + 0x2c]
mov eax, dword [esi + 0xb8]
test eax, eax
jne 0x48a9bb
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x18]
cmp eax, 1
jbe 0x48a9ab
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
shl ecx, 1
mov dword [esi + 0xb8], ecx
mov eax, ecx
pop esi
add esp, 0x24
ret
mov dword [esi + 0xb8], 1
mov eax, dword [esi + 0xb8]
pop esi
add esp, 0x24
ret
Function at 0x48afb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x20]
push ebx
push ebp
push esi
mov ebx, dword [eax + 0x2c]
mov esi, dword [eax + 0x30]
push edi
mov eax, dword [ebx]
mov edi, dword [ebx + 0x10]
test eax, eax
mov dword [esp + 0x10], edi
je 0x48afde
test byte [eax + 0x24], 1
jne 0x48afde
push eax
push edi
call fcn.0044c830
add esp, 8
mov ebp, dword [ebx + 4]
mov eax, dword [esi + 0x44]
test ebp, ebp
je 0x48b06c
cmp eax, dword [ebp + 8]
je 0x48affa
mov ebp, dword [ebp]
test ebp, ebp
jne 0x48afec
jmp 0x48b06c
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x48b005
xor edi, edi
jmp 0x48b01c
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x18]
lea edi, [esp + 0x14]
mov ecx, dword [eax + 0x14]
mov eax, dword [esi + 0x7c]
add ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx]
test eax, eax
je 0x48b036
test byte [eax + 0x24], 1
jne 0x48b036
mov edx, dword [esp + 0x10]
push eax
push edx
call fcn.0044c910
add esp, 8
mov eax, dword [esp + 0x38]
test eax, eax
je 0x48b08c
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x48b064
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
push edi
lea esi, [eax + 0x3c]
add eax, 0x44
push eax
mov eax, dword [esi]
push eax
push edx
call ecx
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x48b0b2
test ebp, ebp
jne 0x48b082
mov edi, dword [esp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x48b082
test byte [ebx + 0x24], 1
jne 0x48b082
push ebx
push edi
call fcn.0044c910
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x48b064
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
push edi
lea esi, [eax + 0x3c]
add eax, 0x44
push eax
mov eax, dword [esi]
push eax
push edx
call ecx
mov edi, eax
add esp, 0x10
test edi, edi
je 0x48b064
mov ebx, dword [ebx]
test ebx, ebx
je 0x48b0cc
test byte [ebx + 0x24], 1
jne 0x48b0cc
mov eax, dword [esp + 0x10]
push ebx
push eax
call fcn.0044c910
add esp, 8
mov eax, dword [esp + 0x38]
test eax, eax
mov eax, str.pgin
jne 0x48b0de
mov eax, str.pgout
mov ecx, dword [esi]
mov edx, dword [esp + 0x30]
push ecx
push eax
push edx
call fcn.00453970
add esp, 4
push eax
mov eax, dword [esp + 0x1c]
push str._s:__s_failed_for_page__lu
push eax
call fcn.0043eea0
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x48b3a0
Capabilities:
Delete file
Move file

Disassembly:
mov eax, dword [0x4c479c]
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
xor esi, esi
test eax, eax
push edi
push ebx
je 0x48b3ca
call eax
add esp, 8
cmp eax, 0xffffffff
jne 0x48b43a
call fcn.00447810
jmp 0x48b411
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileA]
call ebp
test eax, eax
jne 0x48b43a
call fcn.00447830
mov esi, eax
cmp esi, 0x11
jne 0x48b413
xor esi, esi
call fcn.004958e0
test eax, eax
je 0x48b3fd
push 1
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x48b43a
jmp 0x48b40c
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
push ebx
call ebp
test eax, eax
jne 0x48b43a
call fcn.00447830
mov esi, eax
test esi, esi
je 0x48b43a
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x48b43a
push esi
call fcn.004a780a
push eax
mov eax, dword [esp + 0x1c]
push edi
push ebx
push str.Rename__s__s:__s
push eax
call fcn.0043eea0
add esp, 0x18
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4a59b0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
ret

Function at 0x4adff9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4cd108
cmp edx, dword [eax]
je 0x4ae01b
add eax, 8
inc ecx
cmp eax, 0x4cd198
jl 0x4ae00c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4cd108]
jne 0x4ae149
mov eax, dword [0x726e18]
cmp eax, 1
je 0x4ae123
test eax, eax
jne 0x4ae04c
cmp dword [0x4cc6e4], 1
je 0x4ae123
cmp edx, 0xfc
je 0x4ae149
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ae083
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004ae180
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004a9670
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ae0c6
lea eax, [ebp - 0x1a4]
push eax
call fcn.004a9670
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4ca68c
push edi
call fcn.004a6c80
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004ae180
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004ae190
lea eax, [ebp - 0xa0]
push 0x4bc4ec
push eax
call fcn.004ae190
push dword [esi + 0x4cd10c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004ae190
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004b0f2f
add esp, 0x2c
pop edi
jmp 0x4ae149
lea eax, [ebp + 8]
lea esi, [esi + 0x4cd10c]
push 0
push eax
push dword [esi]
call fcn.004a9670
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219

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
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x74c67cd7
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x40aa52e7
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x402be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
push ecx
mov eax, dword [esp + 0x34]
push eax
push ebx
cmp ecx, 0
je 0x402cb0
and ebp, 0xfffffff8
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
je 0x402c4e
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.00402840
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x402c20
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x402d57
call fcn.00402c60
and ebp, 0xfffffff8
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
je 0x402d00
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.00402840
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x402cbd
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x402d57
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.00402840
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x402d55
jmp 0x402d57
mov ecx, dword [esp + 0x40]
add esp, 0x1c
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x402dc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
push ebx
cmp ecx, 0
je 0x402e99
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x402e37
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.00402980
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x402e09
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x402f40
call fcn.00402e49
and ebp, 0xfffffff8
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
je 0x402ee9
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.00402ab0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x402ea6
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x402f40
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.00402ab0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x402f3e
jmp 0x402f40
mov ecx, dword [esp + 0x4c]
add esp, 0x20
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret