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

Disassembly:
mov edx, dword [esp + 8]
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x24]
push edi
mov dword [ebx], 0x4000400
test edx, edx
je 0x55e3f1
lea eax, [ebx + 0x104]
mov ecx, edx
nop
movaps xmm0, xmmword [0x5b5470]
lea eax, [eax + 0x10]
movups xmmword [eax - 0x110], xmm0
movaps xmm0, xmmword [0x5b5470]
movups xmmword [eax - 0x10], xmm0
sub ecx, 1
jne 0x55e3d0
cmp byte [esp + 0x30], 0
lea edi, [ebx + 0x204]
mov ecx, 0x80
mov eax, 0x4000400
rep stosd dword es:[edi], eax
jne 0x55e5f5
mov dword [esp + 8], 0
test edx, edx
je 0x55e5f5
push ebp
lea ebp, [ebx + 0x404]
lea ecx, [ebx + 0x4808]
mov dword [esp + 0x10], ebp
push esi
mov dword [esp + 0x1c], ecx
mov edi, dword [ebx + 0x4804]
xor esi, esi
mov dword [ecx], edi
movzx ecx, word [ebx]
mov eax, ecx
mov dword [esp + 0x30], edi
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
mov dword [esp + 0x38], esi
movzx eax, byte [eax + 0x5b7528]
movzx edx, byte [ecx + 0x5b7528]
movzx ecx, word [ebx + 2]
mov dword [esp + 0x20], eax
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
movzx eax, byte [eax + 0x5b7528]
add eax, edx
mov dword [esp + 0x24], eax
movzx eax, byte [ecx + 0x5b7528]
add eax, edx
mov dword [esp + 0x28], eax
test edi, edi
je 0x55e5cb
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
shl edi, 3
mov dword [esp + 0x18], edi
nop dword [eax]
cmp esi, 8
jae 0x55e515
lea edx, [esi + 8]
xor ebp, ebp
mov esi, dword [esp + 0x10]
nop
mov ecx, edx
lea edi, [esi*8]
shr edx, 1
and ecx, 1
neg ecx
shr ecx, 4
and ecx, 0x7f
lea eax, [edi + edx]
movzx eax, word [ebx + eax*2 + 4]
shr eax, 4
xor eax, ecx
movzx eax, byte [eax + 0x5b7528]
add ebp, eax
cmp edx, 1
jne 0x55e4c0
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x38]
add eax, ebp
mov ebp, dword [esp + 0x14]
mov dword [ebp + esi*4], eax
inc esi
mov eax, dword [esp + 0x30]
mov dword [esp + 0x38], esi
cmp esi, eax
jb 0x55e4b0
jmp 0x55e5cb
cmp esi, eax
jae 0x55e5cb
nop dword [eax]
cmp esi, 0x10
jae 0x55e582
mov edx, esi
xor ebp, ebp
mov esi, dword [esp + 0x18]
nop dword [eax]
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
shr ecx, 4
lea eax, [edi + edx]
and ecx, 0x7f
movzx eax, word [ebx + eax*2 + 0x104]
mov edi, esi
shr eax, 4
xor eax, ecx
movzx eax, byte [eax + 0x5b7528]
add ebp, eax
cmp edx, 1
jne 0x55e530
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
add eax, ebp
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov dword [ebp + esi*4], eax
inc esi
mov dword [esp + 0x38], esi
cmp esi, dword [esp + 0x30]
jb 0x55e520
jmp 0x55e5cb
xor edi, edi
lea eax, [esi + 0xf0]
nop word [eax + eax]
mov edx, eax
shr eax, 1
and edx, 1
neg edx
shr edx, 4
movzx ecx, word [ebx + eax*2 + 0x204]
and edx, 0x7f
shr ecx, 4
xor ecx, edx
movzx ecx, byte [ecx + 0x5b7528]
add edi, ecx
cmp eax, 1
jne 0x55e590
mov eax, dword [esp + 0x28]
add eax, edi
mov dword [ebp + esi*4], eax
inc esi
cmp esi, dword [esp + 0x30]
jb 0x55e582
mov eax, dword [esp + 0x10]
add ebp, 0x440
mov ecx, dword [esp + 0x1c]
inc eax
add ecx, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], ebp
cmp eax, dword [esp + 0x34]
jb 0x55e434
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x1c
ret
Function at 0x55e600
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x1c]
push ebx
mov ebx, dword [esp + 0x1c]
push esi
push edi
xor esi, esi
mov edi, dword [ebx + 0x4804]
mov dword [ebx + eax*4 + 0x4808], edi
movzx ecx, word [ebx]
mov eax, ecx
mov dword [esp + 0xc], edi
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
movzx eax, byte [eax + 0x5b7528]
movzx edx, byte [ecx + 0x5b7528]
movzx ecx, word [ebx + 2]
mov dword [esp + 0x10], eax
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
movzx eax, byte [eax + 0x5b7528]
add eax, edx
mov dword [esp + 0x14], eax
movzx eax, byte [ecx + 0x5b7528]
mov ecx, dword [esp + 0x28]
add eax, edx
mov dword [esp + 0x1c], eax
imul eax, ecx, 0x440
add eax, 0x404
add eax, ebx
mov dword [esp + 0x24], eax
test edi, edi
je 0x55e7ac
lea eax, [ecx*8]
push ebp
mov dword [esp + 0x1c], eax
mov ebp, eax
nop dword [eax + eax]
cmp esi, 8
jae 0x55e6fd
xor edi, edi
lea edx, [esi + 8]
lea ebp, [ecx*8]
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
shr ecx, 4
lea eax, [edx + ebp]
and ecx, 0x7f
movzx eax, word [ebx + eax*2 + 4]
shr eax, 4
xor eax, ecx
movzx eax, byte [eax + 0x5b7528]
add edi, eax
cmp edx, 1
jne 0x55e6b1
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
add eax, edi
mov edi, dword [esp + 0x10]
mov dword [ecx + esi*4], eax
inc esi
mov ecx, dword [esp + 0x2c]
cmp esi, edi
jb 0x55e6a0
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x14
ret
cmp esi, edi
jae 0x55e7ab
cmp esi, 0x10
jae 0x55e75d
xor edi, edi
mov edx, esi
nop
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
shr ecx, 4
lea eax, [edx + ebp]
and ecx, 0x7f
movzx eax, word [ebx + eax*2 + 0x104]
shr eax, 4
xor eax, ecx
movzx eax, byte [eax + 0x5b7528]
add edi, eax
cmp edx, 1
jne 0x55e710
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
add eax, edi
mov dword [ecx + esi*4], eax
inc esi
cmp esi, dword [esp + 0x10]
jb 0x55e705
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x14
ret
mov ebp, dword [esp + 0x28]
xor edi, edi
lea eax, [esi + 0xf0]
nop dword [eax]
mov edx, eax
shr eax, 1
and edx, 1
neg edx
shr edx, 4
movzx ecx, word [ebx + eax*2 + 0x204]
and edx, 0x7f
shr ecx, 4
xor ecx, edx
movzx ecx, byte [ecx + 0x5b7528]
add edi, ecx
cmp eax, 1
jne 0x55e770
mov eax, dword [esp + 0x20]
add eax, edi
mov dword [ebp + esi*4], eax
inc esi
cmp esi, dword [esp + 0x10]
jb 0x55e761
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x561610
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov edx, 0x3700
mov dword [esp + 0x24], edx
lea esi, [edi + 0x10598]
lea ebp, [edi + 0x10194]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebp
nop dword [eax + eax]
mov eax, dword [edi + 0x10d94]
xor ebx, ebx
test eax, eax
je 0x5616a4
nop dword [eax]
mov ebp, dword [esp + 0x24]
lea eax, [ebx + 0x40]
xor esi, esi
nop dword [eax]
mov edx, eax
shr eax, 1
and edx, 1
neg edx
shr edx, 4
lea ecx, [eax + ebp]
and edx, 0x7f
movzx ecx, word [edi + ecx*2]
shr ecx, 4
xor ecx, edx
movzx ecx, byte [ecx + 0x5b7528]
add esi, ecx
cmp eax, 1
jne 0x561660
mov ebp, dword [esp + 0x10]
mov dword [ebp + ebx*4], esi
inc ebx
mov eax, dword [edi + 0x10d94]
cmp ebx, eax
jb 0x561650
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
mov ecx, 0xe
cmp eax, ecx
jbe 0x5616c7
nop dword [eax]
mov eax, ecx
shr eax, 1
shl eax, 4
sub eax, 0x50
add dword [ebp + ecx*4], eax
inc ecx
cmp ecx, dword [edi + 0x10d94]
jb 0x5616b0
mov eax, dword [ebp]
add edx, 0x40
mov dword [esi - 4], eax
mov eax, dword [ebp + 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
add ebp, 0x100
mov dword [esi + 8], eax
add esi, 0x200
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
cmp edx, 0x3800
jb 0x561640
mov ebp, 4
lea eax, [edi + 0x107a4]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], eax
nop dword [eax + eax]
movzx ebx, byte [ebp + 0x5b75a8]
mov eax, ebx
mov edx, ebx
shr eax, 1
and edx, 1
dec eax
or edx, 2
mov ecx, eax
mov dword [esp + 0x10], eax
shl edx, cl
mov eax, 1
mov ecx, dword [esp + 0x24]
sub ebp, edx
mov dword [esp + 0x1c], edx
xor esi, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ecx
sub eax, ebx
mov edx, ebp
add eax, dword [esp + 0x1c]
and edx, 1
shr ebp, 1
movzx ecx, word [edi + eax*2 + 0x6ffe]
mov eax, edx
neg eax
shr ecx, 4
shr eax, 4
and eax, 0x7f
xor ecx, eax
movzx eax, byte [ecx + 0x5b7528]
add esi, eax
sub dword [esp + 0x10], 1
mov eax, dword [esp + 0x14]
lea eax, [edx + eax*2]
mov dword [esp + 0x14], eax
jne 0x561755
mov edx, dword [esp + 0x18]
mov eax, dword [edi + ebx*4 + 0x10194]
mov ebp, dword [esp + 0x24]
add eax, esi
inc ebp
mov dword [edx - 0x200], eax
mov eax, dword [edi + ebx*4 + 0x10294]
add eax, esi
mov dword [esp + 0x24], ebp
mov dword [edx], eax
mov eax, dword [edi + ebx*4 + 0x10394]
add eax, esi
mov dword [edx + 0x200], eax
mov eax, dword [edi + ebx*4 + 0x10494]
add eax, esi
mov dword [edx + 0x400], eax
add edx, 4
mov dword [esp + 0x18], edx
cmp ebp, 0x80
jb 0x561720
mov dword [edi + 0x10d98], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x561800
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov ecx, 8
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov edx, dword [edi + 0xa98]
lea ebp, [edi + 0xaa0]
mov eax, dword [edi + 0xa9c]
sub ecx, edx
and eax, dword [esp + 0x18]
shr esi, cl
mov ecx, edx
shl eax, cl
add esi, eax
imul eax, esi, 0x600
add ebp, eax
cmp byte [esp + 0x20], bl
jne 0x561855
push dword [esp + 0x28]
push 8
push ebp
call fcn.00562f70
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [esp + 0x28]
mov esi, 0x100
mov edi, dword [esp + 0x24]
add edx, esi
add edi, edi
mov ecx, esi
and ecx, edi
mov eax, edx
shr eax, 8
add ecx, esi
add eax, ecx
movzx ecx, word [ebp + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
shr eax, 4
and eax, 0x7f
xor ecx, eax
movzx eax, byte [ecx + 0x5b7528]
mov ecx, edi
xor ecx, edx
add ebx, eax
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x561864
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
Function at 0x562f70
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0xc]
push esi
push edi
xor edi, edi
add ecx, eax
mov eax, dword [esp + 0xc]
nop dword [eax]
mov esi, ecx
shr ecx, 1
and esi, 1
neg esi
shr esi, 4
movzx edx, word [eax + ecx*2]
and esi, 0x7f
shr edx, 4
xor edx, esi
movzx edx, byte [edx + 0x5b7528]
add edi, edx
cmp ecx, 1
jne 0x562f90
mov eax, edi
pop edi
pop esi
ret

Function at 0x401e20
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x28
mov ebx, dword [sym.imp.msvcrt.dll__iob]
lea eax, [esp + 0x34]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
add ebx, 0x40
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
mov dword [esp + 0x1c], eax
call sym._fwrite
mov eax, dword [esp + 0x1c]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]
lea edi, [edi]

Function at 0x401e80
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x5c
mov dword [esp + 0x4c], ebx
mov ebx, eax
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 0x50], esi
mov esi, edx
mov dword [esp + 0x54], edi
mov edi, ecx
mov dword [esp + 0x58], ebp
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401f76
mov eax, dword [esp + 0x38]
cmp eax, 4
jne 0x401ef0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
add esp, 0x5c
ret
cmp eax, 0x40
je 0x401ec5
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov eax, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
cmp eax, 0x40
setne byte [esp + 0x1e]
cmp eax, 4
setne byte [esp + 0x1f]
call sym._memcpy
cmp byte [esp + 0x1f], 0
je 0x401ed5
cmp byte [esp + 0x1e], 0
je 0x401ed5
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
jmp 0x401ed5
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call sym.___report_error
nop

Function at 0x402210
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x40603c
call sym._EnterCriticalSection_4
mov ebx, dword [0x406054]
sub esp, 4
test ebx, ebx
je 0x40225b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x402254
test esi, esi
je 0x402254
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402230
mov dword [esp], 0x40603c
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret
Function at 0x407525
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
cmp edx, esi
je 0x407562
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edx + 0xc]
jb 0x40755b
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
cmp ecx, eax
jb 0x407567
add edx, 0x28
cmp edx, esi
jne 0x40754c
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x407564

Function at 0x40e198
Capabilities:
Encode data using xor

Disassembly:
call 0x40e111
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x40e141
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x40e15d
xor edx, 0
jmp 0x40e168
xor edx, edx
jmp 0x40e17f
jmp 0x40e18b
xor eax, eax
push 0x8427d7c0
call 0x40e198
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x40e1d4
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x40e1ad
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x40e1eb
add eax, 0
jno 0x40e1f0
add esi, 0
ret 0x10
Function at 0x40ef59
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x40ef7b
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x40f11d
cmp edi, dword [ebp + 0x10]
jb 0x40f11d
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.0040ea45
inc edi
jmp 0x40f004
jmp 0x40f011
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.0040ea45
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.0040ea45
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x40f065
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x40f049
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.0040f093
add dword [eax], 0x39
jle 0x40f06f
sub al, 0xf5
mov ch, al
call fcn.0040f0a8
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x410d80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x410d96
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x410da7
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.00410de8
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x413154
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x41309d
add ebx, 0
push ecx
call 0x4130b2
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x72e5a2ef
sub ebx, dword [0x72e79b2e]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x72e79b1e
call fcn.0040eb7c
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.0040e08a
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x413210
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x413210
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x4131c7
mov eax, 1
lock xchg dword [0x72e79b2a], eax
push 0x3dd1fc71
call 0x413154
push esi
add esp, 8
cmp eax, 0
jne 0x41313d
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x413163
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x413178
cmp ecx, edx
cmp eax, 0
je 0x41319d
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x413187
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.004131b6
dec eax
loope 0x4131b9
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x72e79b2a], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x4131ed
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x413202
jmp 0x41320d
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x4130fb

Function at 0x41a275
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x41a54b
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x72e667a2
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x72e5d768
push 0xffffffffffffffff
call fcn.00411475
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x41a2df
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.0041a2f7
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x41a53f
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x41a513
Function at 0x429d45
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x429d67
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x429d67
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x429d67
ret
cmp word [ebx + 4], 0x14c
jne 0x429d67
test word [ebx + 0x16], 2
je 0x429d67
test word [ebx + 0x16], 0x100
je 0x429d67
cmp word [ebx + 0x18], 0x10b
jne 0x429d67
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x429d67
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x429df3
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x429d87
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.00410cd2
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x429d67
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x429df3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x429d67
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x429d67
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x429d67
ret
cmp word [ebx + 4], 0x14c
jne 0x429d67
test word [ebx + 0x16], 2
je 0x429d67
test word [ebx + 0x16], 0x100
je 0x429d67
cmp word [ebx + 0x18], 0x10b
jne 0x429d67
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x429d67
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x429df3
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x429d87
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.00410cd2
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x429d67
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x429eaa
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x429f03
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x429eaa
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x429eb9
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x82fb5c
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x429f0a
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.00410d80
cmp eax, dword [ebp + 0xc]
pop eax
je 0x429fa9
add edi, 4
add eax, 2
dec ecx
jne 0x429eef
call 0x429f56
loope 0x429f4c
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x429fa6
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x429fb7
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x429f6a
cmp eax, ecx
ja 0x429f6a
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x429ff4
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x429fea
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.0041125f
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]