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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, 0x311e3c8
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
mov edi, dword [ebp + 0x10]
add esp, 0x2c
lea eax, [edi + 1]
push eax
push 0
call dword [0x311e03c]
push eax
call dword [0x311e038]
mov ebx, eax
push esi
mov dword [ebp - 4], ebx
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
mov byte [ebx + edi], 0
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
add esp, 0x40
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
add esp, 0x18
xor ebx, ebx
test edi, edi
je 0x402eaf
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 4]
mov dword [ebp - 8], eax
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
mov eax, dword [ebp - 4]
add esp, 0x2c
push dword [ebp + 0xc]
lea edi, [ebx + eax]
call dword [0x311e070]
mov ecx, eax
xor edx, edx
mov eax, ebx
div ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
push esi
mov al, byte [edx + eax]
xor al, byte [ecx + edi]
mov byte [edi], al
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
add esp, 0x2c
inc ebx
cmp ebx, dword [ebp + 0x10]
jb 0x402df6
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
add esp, 0x40
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
push esi
call fcn.0041af9c
mov eax, dword [ebp - 4]
add esp, 0x18
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4050ed
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x598
push ebx
push esi
push edi
sub esp, 0xc
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0040f1b4
lea eax, [ebp - 0x98]
push eax
call fcn.00404af3
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x5c]
rep movsd dword es:[edi], dword [esi]
push 0x5f5e0ff
xor esi, esi
push esi
call dword [0x3339870]
push eax
call dword [0x3339800]
push esi
push esi
xor ebx, ebx
push esi
inc ebx
push esi
lea ecx, [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
call fcn.0040f366
push eax
call dword [0x3339764]
push dword [0x3328a14]
mov dword [ebp - 0xc], eax
push dword [ebp - 0x58]
xor edi, edi
call dword [0x3339840]
test eax, eax
jne 0x40516e
mov edi, ebx
cmp dword [ebp - 0xc], esi
je 0x405299
push esi
push esi
push 3
push esi
push esi
push dword [ebp - 0x44]
push dword [ebp - 0x4c]
push dword [ebp - 0xc]
call dword [0x3339864]
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x405290
mov eax, edi
neg eax
push esi
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push esi
push esi
push dword [0x3328860]
push dword [ebp - 0x30]
push 0x312134c
push dword [ebp - 0x18]
call dword [0x33398a4]
mov ebx, eax
cmp ebx, esi
je 0x405289
cmp edi, esi
je 0x4051e6
or dword [ebp - 0x14], 0x10300
push 4
lea eax, [ebp - 0x14]
push eax
push 0x1f
push ebx
call dword [0x333965c]
push esi
push esi
push esi
push esi
push ebx
call dword [0x333982c]
push esi
mov edi, eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x198]
push eax
push 0x13
push ebx
mov dword [ebp - 0x1c], 0x100
call dword [0x33398bc]
test eax, eax
jne 0x40522d
lea ecx, [ebp + 8]
call fcn.0040f1e8
lea ecx, [ebp + 0x14]
call fcn.0040f1e8
mov eax, dword [ebp - 0x20]
mov edx, esi
jmp 0x4052b8
lea eax, [ebp - 0x198]
push eax
call fcn.004101cc
pop ecx
cmp eax, 0xc8
jne 0x405213
cmp edi, esi
je 0x405289
jmp 0x405284
lea eax, [ebp - 4]
push eax
push 0x400
lea eax, [ebp - 0x598]
push eax
push ebx
call dword [0x333978c]
xor edi, edi
cmp dword [ebp - 4], esi
jbe 0x405289
push 1
lea eax, [ebp + edi - 0x598]
push eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
push eax
call fcn.0041021d
inc dword [ebp - 8]
inc edi
cmp edi, dword [ebp - 4]
jb 0x405265
cmp dword [ebp - 4], esi
ja 0x405247
push ebx
call dword [0x3339760]
push dword [ebp - 0x18]
call dword [0x3339760]
push dword [ebp - 0xc]
call dword [0x3339760]
lea ecx, [ebp + 8]
call fcn.0040f1e8
lea ecx, [ebp + 0x14]
call fcn.0040f1e8
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405c2a
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x974
push ebx
push esi
push edi
sub esp, 0xc
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.0040f1b4
lea eax, [ebp - 0xa4]
push eax
call fcn.00404af3
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x68]
rep movsd dword es:[edi], dword [esi]
push 0x311e266
lea ecx, [ebp - 0x1c]
call fcn.0040f17d
xor ebx, ebx
push ebx
push ebx
push ebx
push 1
lea ecx, [ebp + 0x18]
call fcn.0040f366
push eax
call dword [0x3339764]
push dword [0x3328a14]
mov dword [ebp - 4], eax
push dword [ebp - 0x64]
xor esi, esi
call dword [0x3339840]
test eax, eax
jne 0x405c99
inc esi
cmp dword [ebp - 4], ebx
je 0x405dd1
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x50]
push dword [ebp - 0x58]
push dword [ebp - 4]
call dword [0x3339864]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x405dc8
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x3328860]
push dword [ebp - 0x3c]
push 0x312134c
push dword [ebp - 0x10]
call dword [0x33398a4]
mov edi, eax
cmp edi, ebx
je 0x405dbf
cmp esi, ebx
je 0x405d11
or dword [ebp - 8], 0x10300
push 4
lea eax, [ebp - 8]
push eax
push 0x1f
push edi
call dword [0x333965c]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x333982c]
push ebx
mov esi, eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1a4]
push eax
push 0x13
push edi
mov dword [ebp - 0x20], 0x100
call dword [0x33398bc]
test eax, eax
jne 0x405d50
mov ecx, dword [ebp + 8]
push 0x3121358
call fcn.0040f17d
jmp 0x405ddd
lea eax, [ebp - 0x1a4]
push eax
call fcn.004101cc
pop ecx
cmp eax, 0xc8
jne 0x405d3e
cmp esi, ebx
je 0x405db8
mov esi, 0x7cf
jmp 0x405da1
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x405db8
mov byte [ebp + eax - 0x974], bl
lea eax, [ebp - 0x974]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040f2d4
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040f23b
lea ecx, [ebp - 0x2c]
call fcn.0040f1e8
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x974]
push eax
push edi
call dword [0x333978c]
test eax, eax
jne 0x405d6f
push edi
call dword [0x3339760]
push dword [ebp - 0x10]
call dword [0x3339760]
push dword [ebp - 4]
call dword [0x3339760]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call fcn.0040f1b4
lea ecx, [ebp - 0x1c]
call fcn.0040f1e8
lea ecx, [ebp + 0xc]
call fcn.0040f1e8
lea ecx, [ebp + 0x18]
call fcn.0040f1e8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406db7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 0xc]
push 0x40
push 0
push esi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
jne 0x406dd5
xor eax, eax
inc eax
jmp 0x406e67
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x406e64
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x406e64
push dword [ebp + 0xc]
lea edi, [esi + 0x40]
push 0xf8
push eax
push edi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
je 0x406dcd
cmp dword [edi], 0x4550
jne 0x406e64
mov eax, 0x10b
cmp word [esi + 0x58], ax
jne 0x406e64
movzx eax, word [esi + 0x46]
test ax, ax
je 0x406e64
imul eax, eax, 0x28
push eax
mov dword [esi + 0x140], eax
call fcn.00410250
pop ecx
mov dword [esi + 0x138], eax
test eax, eax
jne 0x406e3b
push 3
jmp 0x406e66
push dword [ebp + 0xc]
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
push dword [esi + 0x140]
lea ecx, [ecx + edx + 0x18]
push ecx
push eax
mov dword [esi + 0x13c], ecx
call dword [ebp + 8]
add esp, 0x10
neg eax
sbb eax, eax
inc eax
jmp 0x406e67
push 2
pop eax
pop edi
pop ebp
ret

Function at 0x40744d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407487
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x407487
mov edx, 0x10b
cmp word [eax + ecx + 0x18], dx
jne 0x407487
push dword [ebp + 0xc]
push ecx
push dword [eax + ecx + 0x78]
call fcn.004073b1
add esp, 0xc
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40e903
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [eax + 0x3c]
push edi
xor edi, edi
add esi, eax
mov dword [ebp - 0x10], edi
cmp dword [esi], 0x4550
jne 0x40e9c6
push 0x10
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.0041af78
push 0x44
lea eax, [ebp - 0x64]
push edi
push eax
call fcn.0041af78
add esp, 0x18
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
push edi
push edi
push 4
push 1
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [0x3339710]
test eax, eax
je 0x40e9c6
push 4
push 0x1000
push 4
push edi
call dword [0x33397cc]
mov ebx, eax
push ebx
mov dword [ebx], 0x10007
push dword [ebp - 0x1c]
call dword [0x311e088]
test eax, eax
je 0x40e9c6
push edi
push 4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x20]
call dword [0x311e084]
push 0x40
push 0x3000
push dword [esi + 0x50]
push dword [esi + 0x34]
push dword [ebp - 0x20]
call dword [0x311e080]
mov dword [ebp - 0xc], eax
cmp eax, edi
jne 0x40e9cd
push dword [ebp - 0x1c]
call dword [0x3339880]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
jbe 0x40e9c6
push edi
push dword [esi + 0x54]
mov edi, dword [0x311e07c]
push dword [ebp + 0xc]
push eax
push dword [ebp - 0x20]
call edi
and dword [ebp - 8], 0
xor eax, eax
cmp ax, word [esi + 6]
jae 0x40ea28
and dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x3c]
add eax, dword [ebp - 4]
push 0
lea eax, [eax + ecx + 0xf8]
push dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0xc]
add edx, ecx
push edx
push eax
push dword [ebp - 0x20]
call edi
movzx eax, word [esi + 6]
inc dword [ebp - 8]
add dword [ebp - 4], 0x28
cmp dword [ebp - 8], eax
jl 0x40e9f1
push 0
push 4
lea eax, [esi + 0x34]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x20]
call edi
mov eax, dword [esi + 0x28]
add eax, dword [ebp - 0xc]
push ebx
mov dword [ebx + 0xb0], eax
push dword [ebp - 0x1c]
call dword [0x311e078]
push dword [ebp - 0x1c]
call dword [0x3339880]
mov eax, dword [ebp - 0x18]
jmp 0x40e9c8

Function at 0x416a24
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret
Function at 0x418b72
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x418b80
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x418c3b
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x3122168]
movzx ebx, byte [edx + 1]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x3122168]
movzx ebx, byte [edx + 2]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x3122168]
movzx ebx, byte [edx + 3]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x3122168]
movzx ebx, byte [edx + 4]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x3122168]
movzx ebx, byte [edx + 5]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x3122168]
movzx ebx, byte [edx + 6]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x3122168]
movzx ebx, byte [edx + 7]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x3122168]
add edx, 8
sub edi, 8
dec esi
jne 0x418b9e
pop ebx
test edi, edi
je 0x418c54
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x3122168]
inc edx
dec edi
jne 0x418c3f
pop edi
not eax
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
movsx edx, byte [ebp + 0xc]
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x3122168]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x3122168]
pop esi
mov dword [ecx + 8], eax
pop ebp
ret
Function at 0x418e05
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x4c]
push eax
push edi
call dword [0x311e0c0]
test eax, eax
jne 0x418e28
mov eax, 0x200
jmp 0x418faf
mov ecx, dword [ebp - 0x4c]
xor eax, eax
push ebx
xor ebx, ebx
mov edx, ecx
inc eax
and edx, eax
push esi
mov dword [ebp - 8], ebx
je 0x418e3e
mov dword [ebp - 8], eax
test cl, 2
je 0x418e47
or dword [ebp - 8], 2
test cl, 4
je 0x418e50
or dword [ebp - 8], 4
mov eax, ecx
and eax, 0x10
je 0x418e5b
or dword [ebp - 8], 0x10
test cl, 0x20
je 0x418e64
or dword [ebp - 8], 0x20
cmp eax, ebx
je 0x418e71
or dword [ebp - 8], 0x40000000
jmp 0x418e78
or dword [ebp - 8], 0x80000000
or dword [ebp - 8], 0x1000000
cmp edx, ebx
jne 0x418e8a
or dword [ebp - 8], 0x800000
push ebx
push edi
call dword [0x311e0bc]
mov dword [ebp - 0x10], eax
cmp eax, 0x28
jbe 0x418f2b
mov esi, dword [0x311e0b8]
push ebx
push ebx
push ebx
push edi
call esi
push ebx
lea eax, [ebp - 0xc]
push eax
push 2
lea eax, [ebp - 4]
push eax
push edi
mov edi, dword [0x311e054]
call edi
push ebx
push ebx
push 0x24
push dword [ebp + 8]
call esi
push ebx
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call edi
mov eax, 0x54ad
cmp word [ebp - 4], ax
jne 0x418f2b
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0x34]
cmp dword [ebp - 0x10], ecx
jbe 0x418f2b
push ebx
push ebx
push eax
push dword [ebp + 8]
call esi
push ebx
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call edi
mov eax, dword [ebp - 0x18]
cmp eax, 0x5a4d
je 0x418f24
cmp eax, 0x454e
je 0x418f24
cmp eax, 0x454c
je 0x418f24
cmp eax, 0x4550
jne 0x418f2b
or dword [ebp - 8], 0x400000
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x418f37
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x418f43
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov esi, dword [ebp + 0x14]
cmp esi, ebx
je 0x418f7f
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.00418d88
push dword [ebp - 0x34]
mov dword [esi], eax
push dword [ebp - 0x38]
mov dword [esi + 4], edx
call fcn.00418d88
push dword [ebp - 0x44]
mov dword [esi + 8], eax
push dword [ebp - 0x48]
mov dword [esi + 0xc], edx
call fcn.00418d88
add esp, 0x18
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov esi, dword [ebp + 0x18]
cmp esi, ebx
je 0x418fab
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.00418dac
movzx eax, word [ebp - 4]
movzx ecx, word [ebp - 8]
shl eax, 0x10
add esp, 0x10
or eax, ecx
mov dword [esi], eax
pop esi
xor eax, eax
pop ebx
pop edi
leave
ret
Function at 0x419bf4
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esi + 0x6af78], edi
cmp dword [esi + 0x6af70], edi
jne 0x419c21
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push edi
push eax
mov dword [esi + 0x6af6c], edi
call fcn.0041af78
mov ecx, dword [ebp + 0xc]
mov eax, ecx
movzx edx, word [eax*8 + 0x312211a]
mov dword [esi + 0x6af98], edx
movzx edx, word [eax*8 + 0x3122118]
mov dword [esi + 0x6af9c], edx
movzx edx, word [eax*8 + 0x312211c]
mov dword [esi + 0x6afa0], edx
movzx eax, word [eax*8 + 0x312211e]
add esp, 0xc
mov dword [esi + 0x6af94], eax
cmp ecx, 2
jg 0x419c87
mov eax, dword [ebp + 0x10]
or word [eax], 4
jmp 0x419c93
cmp ecx, 8
jl 0x419c93
mov eax, dword [ebp + 0x10]
or word [eax], 2
push 0x10000
lea ebx, [esi + 0x1af70]
push ebx
push esi
mov dword [esi + 0x6af84], edi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x6af90], eax
cmp eax, edi
je 0x419cfa
cmp eax, 0xffffffff
je 0x419cfa
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x419cd5
push esi
call fcn.00418296
pop ecx
mov dword [esi + 0x6af7c], edi
xor eax, eax
movzx ecx, byte [ebx + eax]
shl edi, 5
xor edi, ecx
and edi, 0x7fff
inc eax
mov dword [esi + 0x6af7c], edi
cmp eax, 2
jb 0x419cdd
jmp 0x419d0a
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x41a2a6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x41a4ae
push edi
mov edi, 0x7fff
cmp dword [esi + 0x6af90], 3
jb 0x41a320
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, edi
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, edi
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
cmp dword [ebp - 4], 0
je 0x41a363
mov eax, dword [esi + 0x6af84]
sub eax, dword [ebp - 4]
cmp eax, 0x7efa
ja 0x41a363
mov ecx, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], ecx
jbe 0x41a34a
mov dword [esi + 0x6afa0], ecx
push dword [ebp - 4]
push esi
call fcn.00418152
mov ebx, eax
mov eax, dword [esi + 0x6af90]
pop ecx
pop ecx
cmp ebx, eax
jbe 0x41a363
mov ebx, eax
cmp ebx, 3
jb 0x41a428
lea eax, [ebx - 3]
push eax
mov eax, dword [esi + 0x6af84]
sub eax, dword [esi + 0x6af88]
push eax
push esi
call fcn.00417cd7
sub dword [esi + 0x6af90], ebx
add esp, 0xc
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x6af90]
cmp ebx, dword [esi + 0x6af98]
ja 0x41a3f5
cmp eax, 3
jb 0x41a3f5
dec ebx
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
xor ecx, eax
and ecx, edi
mov dword [esi + 0x6af7c], ecx
mov ecx, dword [esi + ecx*4 + 0x4af70]
and edx, edi
dec ebx
mov dword [esi + edx*4 + 0x2af70], ecx
mov eax, dword [esi + 0x6af7c]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x41a3a3
jmp 0x41a44b
add dword [esi + 0x6af84], ebx
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx edx, byte [edx + esi + 0x1af71]
shl ecx, 5
xor edx, ecx
xor ebx, ebx
and edx, edi
mov dword [esi + 0x6af7c], edx
jmp 0x41a451
mov eax, dword [esi + 0x6af84]
movzx eax, byte [eax + esi + 0x1af70]
push eax
push 0
push esi
call fcn.00417cd7
add esp, 0xc
dec dword [esi + 0x6af90]
mov dword [ebp + 8], eax
inc dword [esi + 0x6af84]
cmp dword [ebp + 8], 0
je 0x41a48d
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x41a46a
lea ecx, [eax + esi + 0x1af70]
jmp 0x41a46c
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.0041a123
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x41a4a0
push esi
call fcn.00418296
pop ecx
cmp dword [esi + 0x6af90], 0
jne 0x41a2d0
pop edi
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x41a4c1
lea ecx, [eax + esi + 0x1af70]
jmp 0x41a4c3
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 1
sub edx, eax
push edx
push ecx
push esi
call fcn.0041a123
add esp, 0x10
pop esi
pop ebx
leave
ret
Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
mov ecx, 0x17a93c68
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0xe197127
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219