joyce8/EMBER2024-capa huggingface dataset:
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 0x4126f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.text
lea edi, [esi - 0xd000]
push edi
or ebp, 0xffffffff
jmp 0x412712
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x412719
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x412708
mov eax, 1
add ebx, ebx
jne 0x41272b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x412720
jne 0x41273c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412720
xor ecx, ecx
sub eax, 3
jb 0x412750
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4127c2
mov ebp, eax
add ebx, ebx
jne 0x41275b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x412768
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41278c
inc ecx
add ebx, ebx
jne 0x412778
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41276d
jne 0x412789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41276d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4127ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41279d
jmp 0x41270e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4127ac
add edi, ecx
jmp 0x41270e
pop esi
mov edi, esi
mov ecx, 0x2d1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4127ca
cmp byte [edi], 0
jne 0x4127ca
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 eax, ebx
loop 0x4127cf
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x41283e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12b1c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12b80]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4127fc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12b84]
or eax, eax
je 0x412838
mov dword [ebx], eax
add ebx, 4
jmp 0x412819
call dword [esi + 0x12b88]
popal
jmp 0x407d20
Function at 0x100d1e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8000]
push edi
jmp 0x100d1fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100d201
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100d1f0
mov eax, 1
add ebx, ebx
jne 0x100d213
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x100d208
jne 0x100d224
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100d208
xor ecx, ecx
sub eax, 3
jb 0x100d238
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x100d2aa
mov ebp, eax
add ebx, ebx
jne 0x100d243
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x100d250
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x100d274
inc ecx
add ebx, ebx
jne 0x100d260
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x100d255
jne 0x100d271
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100d255
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x100d294
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x100d285
jmp 0x100d1f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x100d294
add edi, ecx
jmp 0x100d1f6
pop esi
mov edi, esi
mov ecx, 0x7200
jmp 0x100d2e5
mov al, byte [edi]
inc edi
cmp al, 0x80
jb 0x100d2c5
cmp al, 0x8f
ja 0x100d2c5
cmp byte [edi - 2], 0xf
je 0x100d2cb
sub al, 0xe8
cmp al, 1
ja 0x100d2ef
cmp ecx, 4
jb 0x100d2f4
mov eax, dword [edi]
sub al, 0xa
jne 0x100d2ef
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
sub ecx, 4
stosd dword es:[edi], eax
sub ecx, 1
jb 0x100d2f4
mov al, byte [edi]
inc edi
jmp 0x100d2c5
sub ecx, 1
jae 0x100d2b4
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x100d33c
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd06c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100d2fa
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd074]
or eax, eax
je 0x100d336
mov dword [ebx], eax
add ebx, 4
jmp 0x100d317
call dword [esi + 0xd070]
mov ebp, dword [esi + 0xd078]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
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 0x100d370
sub esp, 0xffffff80
jmp 0x1002d03
Function at 0x40add3
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
xor ecx, ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov edx, dword [edi + 0x3c]
mov esi, dword [edx + edi + 0x78]
add esi, edi
mov eax, dword [esi + 0x24]
add eax, edi
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x20]
add eax, edi
mov dword [ebp - 0x10], eax
test ebx, 0xffff0000
jne 0x40ae33
movzx ecx, bx
cmp ecx, dword [esi + 0x10]
jb 0x40af2f
mov eax, dword [esi + 0x14]
add eax, dword [esi + 0x10]
cmp ecx, eax
jae 0x40af2f
sub ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + edi]
add ecx, edi
jmp 0x40ae99
xor edx, edx
cmp dword [esi + 0x18], ecx
jbe 0x40ae96
mov eax, dword [eax + edx*4]
add eax, edi
mov cl, byte [ebx]
cmp cl, byte [eax]
mov byte [ebp - 1], cl
mov ecx, dword [ebp - 8]
jne 0x40ae6d
cmp byte [ebp - 1], cl
je 0x40ae69
mov cl, byte [ebx + 1]
cmp cl, byte [eax + 1]
mov byte [ebp - 1], cl
mov ecx, dword [ebp - 8]
jne 0x40ae6d
add ebx, 2
add eax, 2
cmp byte [ebp - 1], cl
jne 0x40ae3f
xor eax, eax
jmp 0x40ae72
sbb eax, eax
or eax, 1
test eax, eax
je 0x40ae84
mov ebx, dword [ebp - 0xc]
inc edx
mov eax, dword [ebp - 0x10]
cmp edx, dword [esi + 0x18]
jb 0x40ae3a
jmp 0x40ae96
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + edx*2]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + edi]
add ecx, edi
mov edx, dword [edi + 0x3c]
cmp ecx, esi
jb 0x40af28
mov eax, dword [edx + edi + 0x7c]
add eax, esi
cmp ecx, eax
jae 0x40af28
push ecx
call fcn.00430960
mov esi, eax
pop ecx
test esi, esi
je 0x40af2f
push 0x2e
push esi
call fcn.0042e570
mov edi, eax
mov dword [ebp - 0x22], 0x545a7935
pop ecx
xor edx, edx
mov dword [ebp - 0x1e], 0x575c7951
pop ecx
mov byte [edi], dl
mov cl, 0x35
mov dword [ebp - 0x1a], 0x4c475447
mov eax, edx
mov word [ebp - 0x16], 0x74
xor byte [ebp + eax - 0x21], cl
inc eax
cmp eax, 0xc
jae 0x40aef6
mov cl, byte [ebp - 0x22]
jmp 0x40aee7
mov byte [ebp - 0x15], dl
call fcn.0040ad90
lea edx, [ebp - 0x21]
mov ecx, eax
call fcn.0040add3
test eax, eax
je 0x40af2f
push esi
call eax
push esi
mov ebx, eax
call fcn.004309b4
pop ecx
test ebx, ebx
je 0x40af2f
lea edx, [edi + 1]
mov ecx, ebx
call fcn.0040add3
mov ecx, eax
mov eax, ecx
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
jmp 0x40af2a

Function at 0x40af33
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.0040ad90
mov ecx, eax
mov dword [ebp - 0xe], 0x66684b07
mov bl, 7
mov dword [ebp - 0xa], 0x656e4b63
mov dword [ebp - 6], 0x7e756675
xor eax, eax
mov word [ebp - 2], 0x46
xor byte [ebp + eax - 0xd], bl
inc eax
cmp eax, 0xc
jae 0x40af75
mov bl, byte [ebp - 0xe]
jmp 0x40af66
lea edx, [ebp - 0xd]
mov byte [ebp - 1], 0
call fcn.0040add3
push edi
call eax
test eax, eax
je 0x40af91
mov edx, esi
mov ecx, eax
call fcn.0040add3
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40af96
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.0040ad90
xor ebx, ebx
mov dword [ebp - 4], eax
mov cl, 7
mov dword [ebp - 0x12], 0x66684b07
mov dword [ebp - 0xe], 0x656e4b63
mov eax, ebx
mov dword [ebp - 0xa], 0x7e756675
mov word [ebp - 6], 0x46
xor byte [ebp + eax - 0x11], cl
inc eax
cmp eax, 0xc
jae 0x40afdb
mov cl, byte [ebp - 0x12]
jmp 0x40afcc
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x11]
mov byte [ebp - 5], bl
call fcn.0040add3
push edi
call eax
test eax, eax
je 0x40affb
mov edx, esi
mov ecx, eax
call fcn.0040add3
mov ebx, eax
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x40b1f6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x24
cmp dword [edx + 0x14], 0xf
jbe 0x40b207
mov edx, dword [edx]
movaps xmm0, xmmword [0x408e60]
push ebx
xor ebx, ebx
mov dword [ebp - 0x12], 0x675543
movups xmmword [ebp - 0x22], xmm0
mov ecx, ebx
mov al, byte [ebp - 0x22]
xor byte [ebp + ecx - 0x21], al
inc ecx
cmp ecx, 0x12
jb 0x40b21e
mov byte [ebp - 0xf], bl
mov cl, 0x35
mov dword [ebp - 0xe], 0x47507e35
mov eax, ebx
mov dword [ebp - 0xa], 0x659505b
mov dword [ebp - 6], 0x59511b07
mov word [ebp - 2], 0x59
xor byte [ebp + eax - 0xd], cl
inc eax
cmp eax, 0xc
jae 0x40b25c
mov cl, byte [ebp - 0xe]
jmp 0x40b24d
push edx
lea edx, [ebp - 0x21]
mov byte [ebp - 1], bl
lea ecx, [ebp - 0xd]
call fcn.0040af96
call eax
mov ecx, eax
xor edx, edx
and ecx, 0x10
cmp eax, 0xffffffff
pop ebx
cmove ecx, edx
mov eax, ecx
leave
ret 4

Function at 0x40b281
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x20
cmp dword [ecx + 0x14], 0xf
jbe 0x40b292
mov ecx, dword [ecx]
movaps xmm0, xmmword [0x408d00]
push ebx
xor ebx, ebx
mov word [ebp - 0x10], 6
movups xmmword [ebp - 0x20], xmm0
mov edx, ebx
mov al, byte [ebp - 0x20]
xor byte [ebp + edx - 0x1f], al
inc edx
cmp edx, 0x10
jb 0x40b2a8
mov byte [ebp - 0xf], bl
mov dl, 1
mov dword [ebp - 0xe], 0x73644a01
mov eax, ebx
mov dword [ebp - 0xa], 0x326d646f
mov dword [ebp - 6], 0x6d652f33
mov word [ebp - 2], 0x6d
xor byte [ebp + eax - 0xd], dl
inc eax
cmp eax, 0xc
jae 0x40b2e6
mov dl, byte [ebp - 0xe]
jmp 0x40b2d7
push ebx
push ecx
lea edx, [ebp - 0x1f]
mov byte [ebp - 1], bl
lea ecx, [ebp - 0xd]
call fcn.0040af96
call eax
pop ebx
leave
ret 4
Function at 0x40b8bb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x1c
cmp dword [eax + 0x14], 0xf
jbe 0x40b8cc
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0xf
jbe 0x40b8d7
mov ecx, dword [ecx]
push ebx
mov bl, 0x59
mov dword [ebp - 0xb], 0x29361a59
mov dword [ebp - 7], 0x35301f20
xor edx, edx
mov word [ebp - 3], 0x183c
mov byte [ebp - 1], 0
xor byte [ebp + edx - 0xa], bl
inc edx
cmp edx, 9
jae 0x40b903
mov bl, byte [ebp - 0xb]
jmp 0x40b8f4
mov byte [ebp - 1], 0
mov bl, 0x4f
mov dword [ebp - 0x19], 0x3d2a044f
xor edx, edx
mov dword [ebp - 0x15], 0x7c232a21
mov dword [ebp - 0x11], 0x232b617d
mov word [ebp - 0xd], 0x23
xor byte [ebp + edx - 0x18], bl
inc edx
cmp edx, 0xc
jae 0x40b935
mov bl, byte [ebp - 0x19]
jmp 0x40b926
push 0
push eax
push ecx
lea edx, [ebp - 0xa]
mov byte [ebp - 0xc], 0
lea ecx, [ebp - 0x18]
call fcn.0040af96
call eax
pop ebx
leave
ret 8
Function at 0x410b5a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
movaps xmm0, xmmword [0x408d20]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x12], 0x61454d
push edi
movups xmmword [ebp - 0x22], xmm0
mov ecx, ebx
mov al, byte [ebp - 0x22]
xor byte [ebp + ecx - 0x21], al
inc ecx
cmp ecx, 0x12
jb 0x410b7c
mov byte [ebp - 0xf], bl
mov cl, 0x21
mov dword [ebp - 0xe], 0x53446a21
mov eax, ebx
mov dword [ebp - 0xa], 0x124d444f
mov dword [ebp - 6], 0x4d450f13
mov word [ebp - 2], 0x4d
xor byte [ebp + eax - 0xd], cl
inc eax
cmp eax, 0xc
jae 0x410bba
mov cl, byte [ebp - 0xe]
jmp 0x410bab
push 0x104
lea eax, [ebp - 0x128]
mov byte [ebp - 1], bl
push eax
push ebx
lea edx, [ebp - 0x21]
lea ecx, [ebp - 0xd]
call fcn.0040af96
call eax
mov esi, dword [ebp + 8]
mov edi, esi
push eax
xor eax, eax
mov ecx, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x128]
push eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.0041004d
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4

Function at 0x410c00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
mov dword [ebp - 0xa], 0x17010772
mov cl, 0x72
mov dword [ebp - 6], 0x1f131c00
mov word [ebp - 2], 0x17
mov eax, ebx
xor byte [ebp + eax - 9], cl
inc eax
cmp eax, 8
jae 0x410c30
mov cl, byte [ebp - 0xa]
jmp 0x410c21
lea eax, [ebp - 9]
mov byte [ebp - 1], bl
push eax
call fcn.00431c1b
test eax, eax
mov eax, ebx
pop ecx
je 0x410c77
mov cl, 0x68
mov dword [ebp - 0xa], 0xd1b1d68
mov dword [ebp - 6], 0x509061a
mov word [ebp - 2], 0xd
xor byte [ebp + eax - 9], cl
inc eax
cmp eax, 8
jae 0x410c68
mov cl, byte [ebp - 0xa]
jmp 0x410c59
lea eax, [ebp - 9]
mov byte [ebp - 1], bl
push eax
call fcn.00431c1b
pop ecx
jmp 0x410cac
mov cl, 0x5a
mov dword [ebp - 0xf], 0x3b340f5a
mov dword [ebp - 0xb], 0x7a3f3638
mov dword [ebp - 7], 0x3d7a352e
mov word [ebp - 3], 0x2e3f
mov byte [ebp - 1], bl
xor byte [ebp + eax - 0xe], cl
inc eax
cmp eax, 0xd
jae 0x410ca6
mov cl, byte [ebp - 0xf]
jmp 0x410c97
mov byte [ebp - 1], bl
lea eax, [ebp - 0xe]
mov ecx, dword [ebp + 8]
push eax
call fcn.0040fb41
mov eax, dword [ebp + 8]
pop ebx
leave
ret 4
Function at 0x410cbd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 0xf
jbe 0x410ccc
mov eax, dword [eax]
push esi
push 0x408480
push eax
call fcn.0043233d
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x410ce4
xor al, al
jmp 0x410d5f
push ebx
push edi
push 2
xor edi, edi
push edi
push esi
call fcn.00432b02
push esi
call fcn.00432256
mov ebx, eax
push ebx
call fcn.0042d915
push edi
push edi
push esi
mov dword [ebp - 4], eax
call fcn.00432b02
push esi
push ebx
push 1
push dword [ebp - 4]
call fcn.00435456
push esi
call fcn.004327e9
add esp, 0x34
test ebx, ebx
jle 0x410d52
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dl, byte [eax + edi]
mov ecx, dword [esi + 4]
mov byte [ebp + 0xf], dl
cmp ecx, dword [esi + 8]
je 0x410d3e
mov byte [ecx], dl
inc dword [esi + 4]
jmp 0x410d4d
lea eax, [ebp + 0xf]
push eax
push ecx
mov ecx, esi
call fcn.00428f56
mov eax, dword [ebp - 4]
inc edi
cmp edi, ebx
jl 0x410d29
push dword [ebp - 4]
call fcn.0042d910
pop ecx
pop edi
mov al, 1
pop ebx
pop esi
leave
ret 8
Function at 0x42a6c5
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
xor edi, edi
mov dword [esi + 0x6af78], edi
cmp dword [esi + 0x6af70], edi
jne 0x42a6f3
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
mov dword [esi + 0x6af6c], edi
push edi
push eax
call fcn.0042ef00
movzx eax, word [ebx*8 + 0x4082ba]
add esp, 0xc
mov dword [esi + 0x6af98], eax
movzx eax, word [ebx*8 + 0x4082b8]
mov dword [esi + 0x6af9c], eax
movzx eax, word [ebx*8 + 0x4082bc]
push 2
mov dword [esi + 0x6afa0], eax
movzx eax, word [ebx*8 + 0x4082be]
pop ecx
mov dword [esi + 0x6af94], eax
cmp ebx, ecx
jg 0x42a756
mov eax, dword [ebp + 8]
or word [eax], 4
jmp 0x42a761
cmp ebx, 8
jl 0x42a761
mov eax, dword [ebp + 8]
or word [eax], cx
push 0x10000
lea edx, [esi + 0x1af70]
mov dword [esi + 0x6af84], edi
mov ecx, esi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
mov dword [esi + 0x6af90], eax
test eax, eax
je 0x42a7c9
cmp eax, 0xffffffff
je 0x42a7c9
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x42a7a0
mov ecx, esi
call fcn.0042a94a
mov dword [esi + 0x6af7c], edi
mov ecx, edi
movzx eax, byte [esi + edi + 0x1af70]
shl ecx, 5
xor ecx, eax
and ecx, 0x7fff
inc edi
mov dword [esi + 0x6af7c], ecx
cmp edi, 2
jb 0x42a7a8
jmp 0x42a7d9
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x42aa7e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov ecx, ebx
push edi
mov dword [ebp - 4], ecx
mov edi, ebx
mov dword [esi + 0x6af80], 2
jmp 0x42ac73
cmp eax, 3
jb 0x42aaf7
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [edx + esi + 0x1af72]
xor ecx, eax
and ecx, 0x7fff
and edx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov eax, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af7c]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x42ab34
mov eax, dword [esi + 0x6af84]
sub eax, ecx
cmp eax, 0x7efa
ja 0x42ab34
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x42ab1e
mov dword [esi + 0x6afa0], eax
mov edx, ecx
mov ecx, esi
call fcn.0042a7e0
mov ecx, dword [esi + 0x6af90]
mov edi, eax
cmp edi, ecx
cmova edi, ecx
mov ecx, dword [esi + 0x6af84]
cmp edi, 3
jb 0x42ac02
sub ecx, dword [esi + 0x6af88]
lea eax, [edi - 3]
mov edx, ecx
mov ecx, esi
push eax
call fcn.0042a15a
mov ecx, dword [esi + 0x6af90]
sub ecx, edi
mov dword [ebp - 8], eax
mov dword [esi + 0x6af90], ecx
cmp edi, dword [esi + 0x6af98]
ja 0x42abd1
cmp ecx, 3
jb 0x42abd1
dec edi
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [edx + esi + 0x1af72]
and edx, 0x7fff
xor ecx, eax
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov eax, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af7c]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
sub edi, 1
jne 0x42ab75
jmp 0x42ac1d
add dword [esi + 0x6af84], edi
mov edi, ebx
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx eax, byte [edx + esi + 0x1af71]
shl ecx, 5
xor eax, ecx
mov dword [esi + 0x6af7c], eax
jmp 0x42ac29
movzx eax, byte [ecx + esi + 0x1af70]
xor edx, edx
push eax
mov ecx, esi
call fcn.0042a15a
dec dword [esi + 0x6af90]
mov dword [ebp - 8], eax
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
cmp dword [ebp - 8], ebx
je 0x42ac5d
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x42ac42
lea ecx, [esi + 0x1af70]
add ecx, eax
jmp 0x42ac44
mov ecx, ebx
sub edx, eax
push ebx
push edx
mov edx, ecx
mov ecx, esi
call fcn.00429f86
mov eax, dword [esi + 0x6af84]
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x42ac70
mov ecx, esi
call fcn.0042a94a
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x6af90]
test eax, eax
jne 0x42aaa0
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x42ac93
lea ebx, [esi + 0x1af70]
add ebx, ecx
mov eax, dword [esi + 0x6af84]
mov edx, ebx
sub eax, ecx
mov ecx, esi
push 1
push eax
call fcn.00429f86
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42b8da
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x42b8e8
xor eax, eax
jmp 0x42b9c5
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x42b9a4
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x407d78]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x407d78]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x407d78]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x407d78]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x407d78]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x407d78]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x407d78]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x407d78]
sub edi, 1
jne 0x42b8fd
pop edi
test esi, esi
je 0x42b9c0
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x407d78]
inc edx
sub esi, 1
jne 0x42b9a8
not ecx
mov eax, ecx
pop esi
pop ebp
ret 4

Function at 0x42b9c9
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
mov esi, ecx
movsx eax, dl
mov ecx, dword [esi]
xor eax, ecx
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x407d78]
movzx eax, cl
add eax, dword [esi + 4]
imul eax, eax, 0x8088405
mov dword [esi], ecx
mov ecx, dword [esi + 8]
inc eax
mov dword [esi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x407d78]
mov dword [esi + 8], ecx
pop esi
ret
Function at 0x42c295
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 4], ebx
jne 0x42c376
cmp dword [esi + 0xc], ebx
jne 0x42c376
cmp dword [esi + 0x20], ebx
jne 0x42c376
cmp dword [esi + 0x18], ebx
jne 0x42c376
cmp dword [esi + 0x14], ebx
jne 0x42c376
cmp byte [esi + 0x2c], bl
jne 0x42c376
mov cl, 0x1e
mov dword [ebp - 0xd], 0x7b6c5d1e
mov dword [ebp - 9], 0x587b6a7f
mov eax, ebx
mov dword [ebp - 5], 0x5f7b7277
mov byte [ebp - 1], bl
xor byte [ebp + eax - 0xc], cl
inc eax
cmp eax, 0xb
jae 0x42c302
mov cl, byte [ebp - 0xd]
jmp 0x42c2f3
mov byte [ebp - 1], bl
mov cl, 0x40
mov dword [ebp - 0x1b], 0x32250b40
mov eax, ebx
mov dword [ebp - 0x17], 0x732c252e
mov dword [ebp - 0x13], 0x2c246e72
mov word [ebp - 0xf], 0x2c
xor byte [ebp + eax - 0x1a], cl
inc eax
cmp eax, 0xc
jae 0x42c333
mov cl, byte [ebp - 0x1b]
jmp 0x42c324
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 8]
lea edx, [ebp - 0xc]
mov byte [ebp - 0xe], bl
lea ecx, [ebp - 0x1a]
call fcn.0040af96
call eax
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x42c367
mov dword [esi + 4], ebx
mov eax, 0x200
jmp 0x42c37b
mov byte [esi + 0x1c], 1
xor eax, eax
mov dword [esi + 0x10], ebx
mov byte [esi + 8], 1
jmp 0x42c37b
mov eax, 0x1000000
pop esi
pop ebx
leave
ret 0xc

Function at 0x42c4e5
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp byte [ecx + 0x1c], 0
jne 0x42c4ff
mov dword [ecx + 0x14], 0x2000000
xor al, al
jmp 0x42c597
push ebx
xor ebx, ebx
cmp dword [ecx + 0x20], ebx
je 0x42c51d
mov eax, dword [ebp + 8]
cmp eax, dword [ecx + 0x28]
jb 0x42c518
mov dword [ecx + 0x14], 0x30000
jmp 0x42c594
mov dword [ecx + 0x24], eax
jmp 0x42c589
cmp dword [ecx + 4], ebx
je 0x42c58d
movaps xmm0, xmmword [0x408740]
mov edx, ebx
movups xmmword [ebp - 0x1e], xmm0
mov al, byte [ebp - 0x1e]
xor byte [ebp + edx - 0x1d], al
inc edx
cmp edx, 0xe
jb 0x42c52f
mov byte [ebp - 0xf], bl
mov dl, 0xc
mov dword [ebp - 0xe], 0x7e69470c
mov eax, ebx
mov dword [ebp - 0xa], 0x3f606962
mov dword [ebp - 6], 0x6068223e
mov word [ebp - 2], 0x60
xor byte [ebp + eax - 0xd], dl
inc eax
cmp eax, 0xc
jae 0x42c56d
mov dl, byte [ebp - 0xe]
jmp 0x42c55e
mov eax, dword [ecx + 0x10]
lea edx, [ebp - 0x1d]
add eax, dword [ebp + 8]
push ebx
push ebx
push eax
push dword [ecx + 4]
lea ecx, [ebp - 0xd]
mov byte [ebp - 1], bl
call fcn.0040af96
call eax
mov al, 1
jmp 0x42c596
mov dword [ecx + 0x14], 0x1000000
xor al, al
pop ebx
leave
ret 4