joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4045a1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x43d650
cmp edx, dword [eax]
je 0x4045c3
add eax, 8
inc ecx
cmp eax, 0x43d6e0
jl 0x4045b4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x43d650]
jne 0x4046f1
mov eax, dword [0x43def0]
cmp eax, 1
je 0x4046cb
test eax, eax
jne 0x4045f4
cmp dword [0x43d55c], 1
je 0x4046cb
cmp edx, 0xfc
je 0x4046f1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40462b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00404e60
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402e30
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40466e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402e30
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40857c
push edi
call fcn.00406480
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00404e60
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00404e70
lea eax, [ebp - 0xa0]
push 0x40855c
push eax
call fcn.00404e70
push dword [esi + 0x43d654]
lea eax, [ebp - 0xa0]
push eax
call fcn.00404e70
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004063f5
add esp, 0x2c
pop edi
jmp 0x4046f1
lea eax, [ebp + 8]
lea esi, [esi + 0x43d654]
push 0
push eax
push dword [esi]
call fcn.00402e30
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 0x40ed55
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x40eae0
sub ebx, edi
or ebx, edi
call fcn.0040ed7f
sub ebx, 0x83448abe
xor dword [ecx], edx
and ebx, ebx
inc ecx
push ebx
pop edi
add edi, 1
cmp ecx, esi
jne fcn.0040ed55
ret
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x405da2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d7c
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

Function at 0x40f7e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40b015
lea edi, [esi - 0xa015]
push edi
or ebp, 0xffffffff
jmp 0x40f802
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f809
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f7f8
mov eax, 1
add ebx, ebx
jne 0x40f81b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f810
jne 0x40f82c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f810
xor ecx, ecx
sub eax, 3
jb 0x40f840
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f8b2
mov ebp, eax
add ebx, ebx
jne 0x40f84b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f858
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f87c
inc ecx
add ebx, ebx
jne 0x40f868
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f85d
jne 0x40f879
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f85d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f89c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f88d
jmp 0x40f7fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f89c
add edi, ecx
jmp 0x40f7fe
pop esi
mov edi, esi
mov ecx, 0x1fc
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f8ba
cmp byte [edi], 5
jne 0x40f8ba
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 0x40f8bf
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40f92e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10254]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x10308]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f8ec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1030c]
or eax, eax
je 0x40f928
mov dword [ebx], eax
add ebx, 4
jmp 0x40f909
call dword [esi + 0x1031c]
mov ebp, dword [esi + 0x10310]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x40f962
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x403508
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x403517
pop dword [ebp - 0x28]
mov eax, 0x3baac628
add eax, 0xc4956eef
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x174dda9a
add dword [ebp - 0x38], 0x37046ab1
mov dword [ebp - 0x34], 0x8d15c8c2
sub dword [ebp - 0x34], 0x5ae27c7d
mov dword [ebp - 0x30], 0x5cdf94f1
sub dword [ebp - 0x30], 0x109350c3
mov dword [ebp - 0x2c], 0x467f6286
add dword [ebp - 0x2c], 0xb9809d7a
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x5fbfb368
sub dword [ebp - 0x38], 0xeb4d4a12
mov dword [ebp - 0x34], 0x5b004959
add dword [ebp - 0x34], 0xe66c181c
mov dword [ebp - 0x30], 0x7da75897
sub dword [ebp - 0x30], 0x1a37ec2b
mov dword [ebp - 0x2c], 0x7f1cf868
add dword [ebp - 0x2c], 0x80e30798
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xeb5b2e0
add eax, 0xf18b1d68
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x37958
push 0
call eax
mov ecx, 0x54f95775
add ecx, 0xab06e8c5
xor esi, esi
add esi, eax
mov edi, 0x8cb54f72
sub edi, 0x8c739f72
add edi, dword [ebp - 0x28]
mov edx, 0x3a59bad
sub edx, 0x75198a6
sub dword [ebp - 0x20], 0x5ecb4de
mov ebx, dword [edi]
xor dword [ebp - 0x14], ecx
add ebx, edx
mov dword [esi], ebx
mov dword [ebp - 4], 0xadd62c73
add esi, 0xa307adb4
sub esi, 0xa307adb0
add edi, 0x64848fdb
sub edi, 0x64848fd7
loop 0x403636
add eax, 0xe25c669d
sub eax, 0xe25b72e2
mov ebx, eax
add eax, 0xc2795b76
sub eax, 0xc2795b71
mov ecx, 0x400000
add ecx, dword [ebp - 0x28]
call ebx
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 0x7c9797
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.007c9816
jae 0x7c97a3
xor ecx, ecx
call fcn.007c9816
jae 0x7c97cd
xor eax, eax
call fcn.007c9816
jae 0x7c97de
mov al, 0x10
call fcn.007c9816
adc al, al
jae 0x7c97bf
jne 0x7c980b
stosb byte es:[edi], al
jmp 0x7c97a4
call fcn.007c9822
dec ecx
loop 0x7c97ea
mov eax, ebp
call fcn.007c9820
jmp 0x7c980c
lodsb al, byte [esi]
shr eax, 1
je 0x7c9832
adc ecx, 2
mov ebp, eax
jmp 0x7c980c
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.007c9820
cmp eax, 0x7d00
jae 0x7c980a
cmp eax, 0x500
jae 0x7c980b
cmp eax, 0x7f
ja 0x7c980c
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7c97a4
pop ebp
ret 8
Function at 0x408fc0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x12c
mov eax, dword [0x447d10]
mov dword [esp + 0x128], eax
mov al, byte [0x449d54]
test al, al
jne 0x4090da
lea eax, [esp]
push eax
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea ecx, [esp + 4]
push ecx
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x409031
mov eax, dword [esp + 4]
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
jmp 0x409043
lea eax, [esp + 0x24]
push 0x4398b8
push eax
call fcn.00416f3f
add esp, 8
mov eax, dword [esp]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [esp + 0x24]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409053
sub eax, edx
push eax
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x10]
call fcn.00403ef0
push 8
push str.SP01OF_
lea ecx, [esp + 0x10]
call fcn.00408870
push 0x16
push 0x439894
lea ecx, [esp + 0x10]
call fcn.00408870
push 1
push 0x439890
lea ecx, [esp + 0x10]
call fcn.00408870
cmp dword [esp + 0x20], 0x10
mov eax, dword [esp + 0xc]
jae 0x4090aa
lea eax, [esp + 0xc]
push 0x410
push eax
push 0x449388
call fcn.004171a0
mov eax, dword [esp + 0x2c]
add esp, 0xc
cmp eax, 0x10
mov byte [0x449d54], 1
jb 0x4090da
mov eax, dword [esp + 0xc]
push eax
call fcn.0042cfc9
add esp, 4
mov ecx, dword [esp + 0x128]
mov eax, 0x449388
call fcn.004164ae
add esp, 0x12c
ret

Function at 0x40c553
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40c568
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40c57a
xor eax, eax
jmp 0x40c5ac
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x40c59e
cmp esi, eax
jae 0x40c576
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x40c590
cmp esi, eax
jae 0x40c576
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret
Function at 0x433e4e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x433e7c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x433e9a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00433db8
jmp 0x433e9a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x433e9a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00433db8
test edi, edi
mov eax, edi
jne 0x433e84
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x44ba64]
test ecx, ecx
je 0x433f4d
jmp 0x433e4d
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0xd160c08
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x54fb3db2
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401706
Capabilities:
Parse pe header

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

Function at 0x4081d0
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x426470
push 0x426468
push str.FlsAlloc
push 0x1e
call fcn.004080ee
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408204
push dword [ebp + 8]
mov ecx, esi
call dword [0x425114]
call esi
jmp 0x40820a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40824e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x426480
push 0x426478
push str.FlsGetValue
push 0x20
call fcn.004080ee
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408285
push dword [ebp + 8]
mov ecx, esi
call dword [0x425114]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40f430
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40f45d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40f45d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40fa5e
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, edx
mov dword [esp + 0x10], ecx
mov eax, 0x4ce3
xor edx, edx
add word [0x42c88c], ax
push 3
pop ecx
lea eax, [edi + 2]
div ecx
mov ecx, 0xe616
or cx, word [0x42c888]
mov ebx, eax
shl ebx, 2
mov word [0x42c884], cx
mov dword [esp + 0x20], ebx
lea ecx, [ebx + 0xa]
push ecx
call fcn.0040570b
mov ebp, eax
mov eax, 0x4354
pop ecx
mov cx, word [0x42c88c]
and cx, ax
mov dword [esp + 0x24], ebp
movzx esi, cx
movzx edx, cx
mov word [0x42c88c], cx
test ebp, ebp
jne 0x40faee
xor esi, 0x191e
or edx, 0x6ec7
mov word [0x42c884], si
xor eax, eax
mov word [0x42c888], dx
jmp 0x40fc6b
mov ecx, 0x9bfc
xor cx, word [0x42c884]
mov word [0x42c888], cx
test edi, edi
je 0x40fc17
imul eax, edx, 0x7e08
add ebp, 2
push 3
xor edx, edx
mov dword [esp + 0x18], 2
pop ecx
movzx esi, ax
mov eax, dword [esp + 0x10]
lea ebx, [eax + 2]
not eax
mov dword [esp + 0x10], eax
lea eax, [edi - 1]
div ecx
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor esi, 0x232
movzx edx, byte [ebx - 2]
add eax, ebx
shl edx, 0x10
or esi, 0x54cd
cmp eax, edi
jae 0x40fb5f
movzx eax, byte [ebx - 1]
shl eax, 8
add edx, eax
mov eax, esi
and eax, 0x4030
or eax, 0x3ec2
mov cx, ax
mov word [0x42c888], cx
cmp dword [esp + 0x14], edi
jae 0x40fb8f
and eax, 0xb9d5
mov cx, ax
movzx eax, byte [ebx]
mov word [0x42c888], cx
add edx, eax
mov eax, edx
shr eax, 0x12
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 2], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 1], al
lea eax, [esi + 0x4787]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
add eax, ebx
cmp eax, edi
jae 0x40fbd2
mov eax, edx
shr eax, 6
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x40fbd4
mov al, 0x3d
mov esi, dword [esp + 0x14]
mov byte [ebp], al
cmp esi, edi
jae 0x40fbea
and edx, 0x3f
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x40fbec
mov al, 0x3d
mov byte [ebp + 1], al
add ebp, 4
push 3
pop eax
add esi, eax
add ebx, eax
sub dword [esp + 0x18], 1
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], esi
movzx esi, ax
jne 0x40fb39
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov eax, 0xa312
mov byte [ebx + ebp], 0
or ax, cx
mov edx, 0x343e
sub ax, dx
mov edx, dword [esp + 0x2c]
mov word [0x42c88c], ax
test edx, edx
je 0x40fc5b
mov eax, 0xbd8c
mov dword [edx], ebx
and cx, ax
movzx eax, cx
add eax, 0xffffff81
mov word [0x42c888], cx
and eax, 0x33c9
mov word [0x42c88c], ax
mov eax, 0xcc86
or ax, cx
mov word [0x42c884], ax
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x414f99
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
push esi
mov ebx, ecx
mov eax, 0xd48
push edi
mov edi, dword fs:[0x30]
mov dl, 4
mov cx, word [0x42c938]
or cx, ax
movzx eax, cl
or ecx, 0x12f7
imul eax, eax, 0x27
mov word [0x42c938], cx
sub dl, al
mov eax, dword [edi + 0xc]
add eax, 0x14
mov esi, dword [eax]
cmp esi, eax
je 0x41502f
add dl, 0x2e
movzx ecx, dl
imul eax, ecx, 0x179
and ecx, 0x396b
push ebx
push dword [esi + 0x28]
or eax, 0xfa34
mov word [0x42c954], ax
imul eax, ecx, 0xc480
mov word [0x42c938], ax
xor al, 0x6b
mov byte [0x42c92c], al
call fcn.00407189
pop ecx
pop ecx
test eax, eax
je 0x41504d
mov eax, dword [edi + 0xc]
mov esi, dword [esi]
add eax, 0x14
mov dl, byte [0x42c92c]
cmp esi, eax
jne 0x414fd7
mov cx, word [0x42c938]
mov eax, 0x2106
xor dl, 0xa
sub cx, ax
mov byte [0x42c92c], dl
xor eax, eax
pop edi
pop esi
mov word [0x42c954], cx
pop ebx
ret
mov cl, byte [0x42c954]
mov eax, 0xcb38
and cl, 0x49
mov byte [0x42c92c], cl
mov cx, word [0x42c938]
and cx, ax
mov eax, dword [esi + 0x10]
jmp 0x415042

Function at 0x41522c
Capabilities:
Parse pe header

Disassembly:
mov al, byte [0x42c934]
mov dl, byte [0x42c944]
xor al, 0x8a
push ebx
sub al, 0xf
movzx ebx, al
mov al, dl
push esi
xor ebx, 0x97610fc3
mov esi, 0x5a4d
push edi
mov edi, ecx
mov dword [0x42c934], ebx
and al, 0xc
lea ecx, [ebx - 0x11]
mov byte [0x42c94f], cl
cmp word [edi], si
jne 0x4152a2
mov esi, dword [edi + 0x3c]
mov al, bl
movzx edx, dl
add esi, edi
or edx, 0xb7
and cl, 0x62
add edx, 0x615caec7
mov byte [0x42c94f], cl
xor al, 0x46
mov dword [0x42c944], edx
cmp dword [esi], 0x4550
jne 0x4152a2
shl dl, 3
mov eax, esi
mov byte [0x42c923], dl
jmp 0x4152b8
and al, 0x48
mov byte [0x42c923], al
movzx eax, cl
or eax, 0xe88a55df
mov dword [0x42c934], eax
xor eax, eax
pop edi
pop esi
pop ebx
ret

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

Disassembly:
mov dx, word [0x42c94c]
push ebx
push esi
push edi
lea eax, [edx + 0x59]
mov edi, ecx
xor al, 0x9a
xor esi, esi
mov byte [0x42c950], al
mov eax, 0x8687
or dx, ax
mov bl, byte [edi]
movzx eax, dx
test bl, bl
je 0x41531b
movzx ecx, dx
add cl, 0x62
imul esi, esi, 0x3c847bc
movzx eax, cl
imul eax, eax, 0x35
movzx ecx, cl
mov byte [0x42c950], al
mov eax, 0x214a
or cx, ax
movsx eax, bl
xor esi, eax
movzx edx, cx
inc edi
movzx ecx, cx
mov bl, byte [edi]
test bl, bl
jne 0x4152e8
mov eax, edx
xor eax, 0x360
mov word [0x42c94c], ax
xor al, 0xc1
pop edi
mov byte [0x42c91a], al
mov eax, esi
pop esi
pop ebx
ret
Function at 0x41749a
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push esi
xor esi, esi
mov dword [ebp - 0x24], 0xebf9fbab
push edi
mov dword [ebp - 0x20], 0xf5f8f6f8
mov ecx, esi
mov dword [ebp - 0x1c], 0xebf2efec
mov dword [ebp - 0x18], 0xebdae2ab
mov dword [ebp - 0x14], 0xf8edebf2
mov dword [ebp - 0x10], 0xcaa6f3e7
mov dword [ebp - 0xc], 0xfaf1f9eb
mov dword [ebp - 8], 0xfae2f6f5
mov dword [ebp - 4], 0xe7fae7ea
movzx eax, byte [ebp + ecx - 0x24]
mov edx, 0xff
add ax, 0x7a
and ax, dx
mov word [ebp + ecx*2 - 0xc8], ax
inc ecx
cmp ecx, 0x24
jl 0x4174e8
xor eax, eax
mov dword [ebp - 0x20], 0x44445511
mov word [ebp - 0x80], ax
mov dword [ebp - 0x1c], 0x55405550
mov dword [ebp - 0x18], 0x51606811
mov dword [ebp - 0x14], 0x46535158
mov dword [ebp - 0x10], 0x70145955
mov dword [ebp - 0xc], 0x405f4751
mov dword [ebp - 8], 0x4068445b
mov dword [ebp - 4], 0x55405550
movq xmm1, qword [ebp + eax - 0x20]
movq xmm0, qword [str.4444444444444444TTTTTTTTTTTTTTTTZZZZZZZZZZZZZZZZ________________]
pxor xmm1, xmm0
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
movups xmmword [ebp + eax*2 - 0x78], xmm1
add eax, 8
cmp eax, 0x20
jl 0x417545
add dword [0x42c978], 0x70332a27
lea ecx, [ebp - 0xc8]
xor eax, eax
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x38], ax
lea ecx, [ebp - 0x78]
movzx eax, word [0x42c9ac]
add eax, 0x336bc931
mov dword [ebp - 0x28], ecx
mov dword [0x42c994], eax
movzx eax, word [0x42c9b8]
add eax, 0x33132f36
mov dword [0x42c9a0], eax
add eax, 0xffffbc13
push 0x1000
mov word [0x42c9bc], ax
call fcn.0040570b
pop ecx
mov ecx, dword [0x42c9a0]
mov edi, eax
or ecx, 0x5537924d
mov dword [0x42c978], ecx
test edi, edi
je 0x41770f
movzx ecx, word [0x42c9b8]
xor ecx, 0x85819ea3
mov dword [0x42c994], ecx
and ecx, 0xe96231f4
mov eax, 0xec17
mov dword [0x42c978], ecx
mov edx, 0x5060ff33
movzx ecx, word [0x42c9bc]
imul ecx, eax
push 0x800
push edi
push dword [ebp + esi*4 - 0x2c]
mov word [0x42c9ac], cx
xor ecx, ecx
inc ecx
call fcn.00415333
call eax
test eax, eax
je 0x4176db
movzx ecx, word [0x42c9ac]
mov edx, 0xeeb55893
imul eax, ecx, 0xed46c63b
or ecx, 0x8e6da649
mov dword [0x42c994], ecx
mov ecx, dword [0x42c9a0]
push edi
mov dword [0x42c978], eax
lea eax, [ecx - 0x839]
add ecx, 0x266a0089
mov dword [0x42c9a0], ecx
xor ecx, ecx
inc ecx
mov word [0x42c9bc], ax
call fcn.00415333
call eax
mov edx, dword [0x42c978]
mov ecx, edx
xor ecx, 0xd131
mov word [0x42c9b8], cx
mov ecx, dword [0x42c9a0]
xor ecx, 0x6166b1d9
mov dword [0x42c994], ecx
cmp eax, 0xffffffff
je 0x4176e1
test al, 0x10
je 0x4176e1
mov eax, edx
mov ecx, edi
xor edx, 0x9ad83749
and eax, 0xf634e720
mov dword [0x42c9a0], eax
mov dword [0x42c994], edx
lea eax, [edx - 0x4ce0]
mov word [0x42c9ac], ax
call fcn.00417713
mov ecx, dword [0x42c994]
inc esi
cmp esi, 2
jb 0x4175f1
movzx eax, word [0x42c9bc]
add ecx, 0x154be388
and eax, 0x70b9bab6
mov dword [0x42c994], ecx
push edi
mov dword [0x42c9a0], eax
call fcn.004056f0
pop ecx
pop edi
pop esi
leave
ret