joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b07de
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
test esi, esi
jne 0x4b07f7
call fcn.004772b6
mov esi, dword [eax + 0xc]
push 0x5f9c94
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x4b084d
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4b084c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x4b082d
xor esi, esi
jmp 0x4b0843
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004b0855
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x549633
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x5e8b03
call fcn.005aa0d7
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.0041d7b0
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x5efff0
call fcn.00436cc0
cmp eax, 0xffffffff
jne 0x5496fe
push 0
push 0x5f9c50
lea ecx, [ebp - 0x4d0]
call fcn.00436cc0
cmp eax, 0xffffffff
jne 0x5496fe
push 0
push 0x5f13b4
lea ecx, [ebp - 0x4d0]
call fcn.00436cc0
cmp eax, 0xffffffff
jne 0x5496fe
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.0041d7b0
mov edi, eax
pop ecx
mov dword [ebp - 0x4d4], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x4d8], ecx
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea eax, [ebp - 0x218]
push eax
push 0x104
push edx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x5496db
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.005aa066
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.00404240
jmp 0x549736
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00404900
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00404240
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x549724
mov edi, dword [ebp - 0x4cc]
jmp 0x549736
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.005aa066
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00404240
mov eax, edi
call fcn.005aa081
ret
Function at 0x5ceb0b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005ce98a

Function at 0x5d24b2
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005d2172
Function at 0x4010d3
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x40110e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4010f5
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x401106
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x401110
inc edi
add eax, 0x28
cmp edi, esi
jb 0x4010eb
xor eax, eax
pop edi
pop esi
ret

Function at 0x401398
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
invalid
inc ebp
retf

Function at 0x40145e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004010a3
push eax
push esi
invalid
invalid

Function at 0x401d87
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp dword [ebp + 0xc], 8
jne 0x401f19
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
invalid
test dword [edi - 7], ecx
invalid
invalid

Function at 0x405b29
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [0x409e10]
mov edx, 0xff
mov eax, ecx
xor eax, dword [esp + 4]
shr ecx, 8
and eax, edx
mov eax, dword [eax*4 + 0x409ea0]
xor eax, ecx
mov dword [0x409e10], eax
and eax, edx
add eax, dword [0x409e14]
imul eax, eax, 0x8088405
inc eax
mov dword [0x409e14], eax
mov cl, byte [0x409e17]
mov eax, dword [0x409e18]
xor ecx, eax
and ecx, edx
shr eax, 8
mov ecx, dword [ecx*4 + 0x409ea0]
xor ecx, eax
mov dword [0x409e18], ecx
ret

Function at 0x405bbb
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push dword [0x409d5c]
call fcn.00405b83
push 0xc
lea eax, [ebp - 0xc]
push dword [ebp + 8]
push eax
call fcn.00401165
add esp, 0x10
xor esi, esi
lea edx, [ebp + esi - 0xc]
call fcn.00405b13
xor byte [edx], al
movzx eax, byte [edx]
push eax
call fcn.00405b29
inc esi
pop ecx
cmp esi, 0xc
jl 0x405be0
cmp dword [0x409d58], 0
pop esi
movzx ax, byte [ebp - 1]
movzx cx, byte [0x409e87]
jne 0x405c1a
movzx cx, byte [0x409e8d]
cmp ax, cx
je 0x405c24
or eax, 0xffffffff
leave
ret
xor eax, eax
leave
ret
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

Function at 0x419400
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x41941a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419421
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419410
mov eax, 1
add ebx, ebx
jne 0x419433
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419428
jne 0x419444
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419428
xor ecx, ecx
sub eax, 3
jb 0x419458
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4194ca
mov ebp, eax
add ebx, ebx
jne 0x419463
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419470
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419494
inc ecx
add ebx, ebx
jne 0x419480
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419475
jne 0x419491
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419475
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4194b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4194a5
jmp 0x419416
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4194b4
add edi, ecx
jmp 0x419416
pop esi
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419513
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19704]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19784]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4194d1
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1978c]
or eax, eax
je 0x41950d
mov dword [ebx], eax
add ebx, 4
jmp 0x4194ee
call dword [esi + 0x19788]
mov ebp, dword [esi + 0x19790]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x419547
sub esp, 0xffffff80
jmp 0x40d86c
Function at 0x403af5
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 8], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0
je 0x403b32
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xc], 0
je 0x403b48
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov esp, ebp
pop ebp
ret
Function at 0x6fc850
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1f9000]
lea eax, [edi + 0x2e524c]
push dword [eax]
mov dword [eax], 0xf94211de
push eax
push edi
jmp 0x6fc87a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6fc881
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6fc870
mov eax, 1
add ebx, ebx
jne 0x6fc893
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6fc8a4
jne 0x6fc8c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6fc8c3
dec eax
add ebx, ebx
jne 0x6fc8b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6fc888
add ebx, ebx
jne 0x6fc8bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6fc915
xor ecx, ecx
sub eax, 3
jb 0x6fc8db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6fc94a
sar eax, 1
mov ebp, eax
jmp 0x6fc8e6
add ebx, ebx
jne 0x6fc8e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6fc8b4
inc ecx
add ebx, ebx
jne 0x6fc8f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6fc8b4
add ebx, ebx
jne 0x6fc901
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6fc8f6
jne 0x6fc912
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6fc8f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6fc934
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6fc926
jmp 0x6fc876
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6fc934
add edi, ecx
jmp 0x6fc876
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0xc103
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6fc956
cmp byte [edi], 0x63
jne 0x6fc956
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 0x6fc95b
lea edi, [esi + 0x2f8000]
mov eax, dword [edi]
or eax, eax
je 0x6fc9d3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2ff158]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2ff344]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6fc988
mov ecx, edi
jns 0x6fc9b7
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 + 0x2ff34c]
or eax, eax
je 0x6fc9cd
mov dword [ebx], eax
add ebx, 4
jmp 0x6fc9a5
call dword [esi + 0x2ff348]
mov ebp, dword [esi + 0x2ff350]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x2af]
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 0x6fca07
sub esp, 0xffffff80
jmp 0x56ad6f
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..3ean
nop
mov ebx, 0x40915c
mov ecx, 0x53764133
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
mov eax, section..7LWLf
nop
nop
mov ebx, 0x42f3f8
mov ecx, 0x709a72a7
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x405e7c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x4229f4], esi
push edi
jne 0x405eb6
mov ecx, 0x4229f0
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x405e92
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x422df0
jl 0x405e8d
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x405eeb
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4229f0]
xor eax, esi
inc ecx
dec edx
jne 0x405ece
pop edi
pop esi
not eax
ret 0xc

Function at 0xdb9de4
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdb9dee
pushal
call 0xdb9df4
pop ebp
sub ebp, 0x10
sub ebp, 0x9b9de4
jmp 0xdb9e0a
mov eax, 0x9b9de4
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b4
mov edx, 0x7152424
xor byte [eax], dl
inc eax
dec ecx
jne 0xdb9e21
jmp 0xdb9e34
scasd eax, dword es:[edi]
jmp 0x24f44be9
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x7903297e
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x2cf26d14
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x52e0a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd7000]
push edi
jmp 0x52e0ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x52e0c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52e0b0
mov eax, 1
add ebx, ebx
jne 0x52e0d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x52e0e4
jne 0x52e103
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52e103
dec eax
add ebx, ebx
jne 0x52e0f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x52e0c8
add ebx, ebx
jne 0x52e0ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x52e155
xor ecx, ecx
sub eax, 3
jb 0x52e11b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x52e18a
sar eax, 1
mov ebp, eax
jmp 0x52e126
add ebx, ebx
jne 0x52e126
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52e0f4
inc ecx
add ebx, ebx
jne 0x52e134
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52e0f4
add ebx, ebx
jne 0x52e141
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x52e136
jne 0x52e152
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x52e136
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x52e174
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x52e166
jmp 0x52e0b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x52e174
add edi, ecx
jmp 0x52e0b6
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x52e192
cmp byte [edi], 0x11
jne 0x52e192
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 0x52e197
lea edi, [esi + 0x127000]
mov eax, dword [edi]
or eax, eax
je 0x52e20f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x183944]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x183ac0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x52e1c4
mov ecx, edi
jns 0x52e1f3
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 + 0x183ac4]
or eax, eax
je 0x52e209
mov dword [ebx], eax
add ebx, 4
jmp 0x52e1e1
call dword [esi + 0x183ad4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x52e240
cmp al, 0xef
ja 0x52e233
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x52e215
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x52e222
mov ebp, dword [esi + 0x183ac8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x52e274
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rsrc
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x7cde1cfb
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x59b20c3
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401dbc
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x14
push 0x410c50
call fcn.00403cd0
call fcn.00403913
movzx esi, ax
push 2
call fcn.0040370f
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x401c73
xor ebx, ebx
jmp 0x401ca6
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x401c6f
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x401c6f
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x401ca6
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.00402f0d
test eax, eax
jne 0x401cba
push 0x1c
call fcn.00401d95
pop ecx
call fcn.00402b79
test eax, eax
jne 0x401ccb
push 0x10
call fcn.00401d95
pop ecx
call fcn.004037f8
and dword [ebp - 4], 0
call fcn.00402f22
test eax, eax
jns 0x401ce5
push 0x1b
call fcn.00401d95
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [0x41525c], eax
call fcn.00403838
mov dword [0x413294], eax
call fcn.004031d6
test eax, eax
jns 0x401d0b
push 8
call fcn.00402c56
pop ecx
call fcn.00403413
test eax, eax
jns 0x401d1c
push 9
call fcn.00402c56
pop ecx
push 1
call fcn.00402c90
pop ecx
test eax, eax
je 0x401d2f
push eax
call fcn.00402c56
pop ecx
call fcn.00403c76
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x401d51
push esi
call fcn.00402ef9
call fcn.00402c81
jmp 0x401d86
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00403d15
ret
call fcn.0040375c
jmp 0x401c45

Function at 0x40375c
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xaa
call 0x403766
pop esi
sub esi, 0xb
xor byte [esi], al
dec esi
cmp byte [esi], 0
jne 0x40376a
add esi, 1
jmp esi
Function at 0x10007df0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x10007e1c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x10007e44
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x10007e4a
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x10007eb2
jg 0x10007e61
test esi, esi
je 0x10007eb2
test ecx, ecx
jl 0x10007ead
jg 0x10007e6b
test eax, eax
je 0x10007ead
cmp edi, ecx
jg 0x10007e7f
jl 0x10007e75
cmp esi, eax
jae 0x10007e7f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x10007eb5
mov ecx, dword [ebp + 8]
jmp 0x10007ebf
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x10007ed9
jg 0x10007ebf
test esi, esi
je 0x10007ed9
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x10007ed9
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc