joyce8/EMBER2024-capa huggingface dataset:
Function at 0x695c79
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x695c94
add esi, 0x1000
lea eax, [ebp - 0x2bc]
push edx
push 0x1c
push eax
push esi
call dword [edx + 0x16222eb9]
pop edx
test eax, eax
je 0x695d66
cmp dword [ebp - 0x2ac], 0x1000
jne 0x695d55
test dword [ebp - 0x2a8], 1
jne 0x695d55
and dword [ebp - 0x2a8], 0x100
jne 0x695d55
push esi
push edx
push 4
push esi
call dword [edx + 0x16043a22]
pop edx
pop esi
test eax, eax
je 0x695cf8
jmp 0x695d55
cmp word [esi], 0x5a4d
jne 0x695d55
mov eax, esi
push ebx
mov ebx, dword [esi + 0x3c]
add eax, ebx
pop ebx
cmp dword [eax], 0x4550
jne 0x695d55
lea eax, [ebp - 0x28c]
push edx
push 0x28a
push eax
push esi
call dword [edx + 0x16043a36]
pop edx
test eax, eax
je 0x695d55
lea eax, [ebp - 0x28c]
push eax
call fcn.00695bd5
test eax, eax
jne 0x695d4e
jmp 0x695d55
mov eax, esi
jmp 0x695d66
mov esi, dword [ebp - 0x2b0]
add esi, dword [ebp - 0x2bc]
jmp 0x695c94
pop esi
leave
ret 4
Function at 0xb02058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00b021a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xb0207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb0206a
add dl, dl
jne 0xb02089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb020dc
xor eax, eax
add dl, dl
jne 0xb02096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb0217d
add dl, dl
jne 0xb020a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb020b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb020bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb020c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xb020d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xb02075
mov eax, 1
add dl, dl
jne 0xb020ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb020f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb020e1
sub eax, ebx
mov ebx, 1
jne 0xb02128
mov ecx, 1
add dl, dl
jne 0xb0210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb02119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb02105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb02075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xb0213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb0214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb02136
cmp eax, 0x7d00
jae 0xb0216d
cmp eax, 0x500
jb 0xb02168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb02075
cmp eax, 0x7f
ja 0xb02170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb02075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xb0219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xb02075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402198
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov esi, dword [ebx]
mov eax, dword [eax]
mov edx, dword [edx + 4]
mov dword [ebp - 4], esi
mov esi, dword [ebx + 4]
mov dword [ebp - 8], esi
mov esi, dword [ebx + 8]
mov dword [ebp - 0xc], esi
mov ebx, dword [ebx + 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, 0x20
jmp 0x402207
add ecx, 0x9e3779b9
mov esi, edx
shl esi, 4
add esi, dword [ebp - 4]
lea edi, [ecx + edx]
xor esi, edi
mov edi, edx
shr edi, 5
add edi, dword [ebp - 8]
xor esi, edi
add eax, esi
mov esi, eax
shl esi, 4
add esi, dword [ebp - 0xc]
lea edi, [ecx + eax]
xor esi, edi
mov edi, eax
shr edi, 5
add edi, dword [ebp - 0x10]
xor esi, edi
add edx, esi
mov esi, ebx
add ebx, reloc.ADVAPI32.DLL_DeregisterEventSource
test esi, esi
jg 0x4021cf
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402224
Capabilities:
Decrypt data using tea

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
mov esi, dword [ebx]
mov eax, dword [ecx + 4]
mov dword [ebp - 4], esi
mov ecx, 0xc6ef3720
mov esi, dword [ebx + 4]
mov dword [ebp - 8], esi
mov esi, dword [ebx + 8]
mov dword [ebp - 0xc], esi
mov ebx, dword [ebx + 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, 0x20
jmp 0x402296
mov esi, edx
shl esi, 4
add esi, dword [ebp - 0xc]
lea edi, [ecx + edx]
xor esi, edi
mov edi, edx
shr edi, 5
add edi, dword [ebp - 0x10]
xor esi, edi
sub eax, esi
mov esi, eax
shl esi, 4
add esi, dword [ebp - 4]
lea edi, [ecx + eax]
xor esi, edi
mov edi, eax
shr edi, 5
add edi, dword [ebp - 8]
xor esi, edi
sub edx, esi
sub ecx, 0x9e3779b9
mov esi, ebx
add ebx, reloc.ADVAPI32.DLL_DeregisterEventSource
test esi, esi
jg 0x40225e
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
mov edx, dword [ebp + 8]
mov dword [edx + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402420
Capabilities:
Decrypt data using tea

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov ebx, 0x20
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
mov edi, dword [esi]
mov eax, dword [ecx + 4]
mov dword [ebp - 4], edi
mov ecx, 0xc6ef3720
mov edi, dword [esi + 4]
mov dword [ebp - 8], edi
mov edi, dword [esi + 8]
mov dword [ebp - 0xc], edi
mov esi, dword [esi + 0xc]
mov dword [ebp - 0x10], esi
jmp 0x402492
mov esi, edx
shl esi, 4
add esi, dword [ebp - 0xc]
lea edi, [ecx + edx]
xor esi, edi
mov edi, edx
shr edi, 5
add edi, dword [ebp - 0x10]
xor esi, edi
sub eax, esi
mov esi, eax
shl esi, 4
add esi, dword [ebp - 4]
lea edi, [ecx + eax]
xor esi, edi
mov edi, eax
shr edi, 5
add edi, dword [ebp - 8]
xor esi, edi
sub edx, esi
sub ecx, 0x9e3779b9
mov esi, ebx
add ebx, reloc.ADVAPI32.DLL_DeregisterEventSource
test esi, esi
jg 0x40245a
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
mov edx, dword [ebp + 8]
mov dword [edx + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40428c
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebx]
mov eax, dword [eax]
mov edx, dword [edx + 4]
mov dword [ebp - 4], esi
mov esi, dword [ebx + 4]
mov dword [ebp - 8], esi
mov esi, dword [ebx + 8]
mov dword [ebp - 0xc], esi
mov ebx, dword [ebx + 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, 0x20
jmp 0x4042fb
add ecx, 0x9e3779b9
mov esi, edx
shl esi, 4
add esi, dword [ebp - 4]
lea edi, [ecx + edx]
xor esi, edi
mov edi, edx
shr edi, 5
add edi, dword [ebp - 8]
xor esi, edi
add eax, esi
mov esi, eax
shl esi, 4
add esi, dword [ebp - 0xc]
lea edi, [ecx + eax]
xor esi, edi
mov edi, eax
shr edi, 5
add edi, dword [ebp - 0x10]
xor esi, edi
add edx, esi
mov esi, ebx
add ebx, reloc.ADVAPI32.DLL_DeregisterEventSource
test esi, esi
jg 0x4042c3
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408854
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 0x14]
add eax, dword [ebp + 0xc]
add eax, 0x18
xor ecx, ecx
jmp 0x408888
mov edx, dword [eax + 8]
test edx, edx
jne 0x408877
mov edx, dword [eax + 0x10]
mov esi, dword [eax + 0xc]
cmp ebx, esi
jb 0x408884
add edx, esi
cmp ebx, edx
jb 0x408895
inc ecx
add eax, 0x28
mov edx, dword [ebp + 0xc]
movzx edx, word [edx + 6]
cmp ecx, edx
jb 0x40886d
xor eax, eax
pop esi
pop ebx
pop ebp
ret
Function at 0x408bfc
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp word [edi], 0x5a4d
je 0x408c16
xor eax, eax
jmp 0x408d96
mov ebx, dword [edi + 0x3c]
add ebx, edi
cmp dword [ebx], reloc.ADVAPI32.DLL_DeregisterEventSource
je 0x408c2a
xor eax, eax
jmp 0x408d96
cmp word [ebx + 0x14], 0xe0
jne 0x408c3a
cmp word [ebx + 0x18], 0x10b
je 0x408c41
xor eax, eax
jmp 0x408d96
mov dword [0x52de3c], edi
mov ebx, dword [edi + 0x3c]
mov esi, edi
add ebx, esi
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0x18], eax
push ebx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00408854
add esp, 8
test eax, eax
jne 0x408c6c
xor eax, eax
jmp 0x408d96
mov edx, dword [0x52de3c]
push edx
push ebx
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0040889c
add esp, 0xc
mov ebx, dword [ebx + 0x78]
test ebx, ebx
jne 0x408c9e
push 0x10
push 0
push 0x50b524
push 0
call fcn.00a0b1f0
xor eax, eax
jmp 0x408d96
add ebx, esi
mov edx, dword [ebx + 0x24]
add edx, esi
mov dword [ebp - 4], edx
mov ecx, dword [ebx + 0x20]
add ecx, esi
mov dword [ebp - 0xc], ecx
mov eax, dword [ebx + 0x1c]
add eax, esi
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0xc]
mov ecx, edx
shr ecx, 0x10
test cx, cx
je 0x408d68
xor esi, esi
mov eax, dword [ebp - 8]
mov edx, eax
mov dword [ebp - 0x28], edx
jmp 0x408d5a
mov ecx, dword [ebp - 8]
mov eax, dword [ecx]
test eax, eax
je 0x408d55
xor edx, edx
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x28]
mov eax, ecx
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0xc]
mov ecx, edx
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 4]
mov edx, eax
mov dword [ebp - 0x1c], edx
jmp 0x408d4c
mov ecx, dword [ebp - 0x1c]
movzx eax, word [ecx]
cmp esi, eax
jne 0x408d41
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx]
add ecx, edi
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x408d41
test cl, cl
je 0x408d36
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x408d41
add eax, 2
add edx, 2
test cl, cl
jne 0x408d1a
jne 0x408d41
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
add eax, edi
jmp 0x408d96
inc dword [ebp - 0x14]
add dword [ebp - 0x20], 4
add dword [ebp - 0x1c], 2
mov edx, dword [ebx + 0x18]
dec edx
cmp edx, dword [ebp - 0x14]
jae 0x408d00
inc esi
add dword [ebp - 0x28], 4
mov ecx, dword [ebx + 0x14]
dec ecx
cmp esi, ecx
jbe 0x408cd8
jmp 0x408d94
xor esi, esi
mov eax, dword [ebp - 8]
jmp 0x408d8c
mov ecx, dword [ebx + 0x10]
add ecx, esi
cmp edx, ecx
jne 0x408d88
cmp dword [eax], 0
je 0x408d88
mov edx, dword [eax]
shl edx, 6
add edi, edx
mov eax, edi
jmp 0x408d96
inc esi
add eax, 4
mov ecx, dword [ebx + 0x14]
dec ecx
cmp esi, ecx
jbe 0x408d6f
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419df8
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], reloc.ADVAPI32.DLL_DeregisterEventSource
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], ecx
xor edx, edx
mov dword [eax + 0x5c], edx
mov eax, 1
pop ebp
ret
Function at 0x41d88c
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], reloc.ADVAPI32.DLL_DeregisterEventSource
mov dword [eax + 4], 0x367cd507
mov dword [eax + 8], 0x3070dd17
mov dword [eax + 0xc], 0xf70e5939
mov dword [eax + 0x10], 0xffc00b31
mov dword [eax + 0x14], 0x68581511
mov dword [eax + 0x18], 0x64f98fa7
mov dword [eax + 0x1c], 0xbefa4fa4
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], ecx
xor edx, edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], 0x1c
mov eax, 1
pop ebp
ret

Function at 0x41d8e8
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], reloc.ADVAPI32.DLL_DeregisterEventSource
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], ecx
xor edx, edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], 0x20
mov eax, 1
pop ebp
ret

Function at 0x42022c
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
mov eax, dword [ebp + 8]
mov dword [eax], reloc.ADVAPI32.DLL_DeregisterEventSource
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0xd0], edx
mov dword [eax + 0xd4], 0x30
mov eax, 1
pop ebp
ret

Function at 0x4202d8
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
mov eax, dword [ebp + 8]
mov dword [eax], reloc.ADVAPI32.DLL_DeregisterEventSource
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0xd0], edx
mov dword [eax + 0xd4], 0x40
mov eax, 1
pop ebp
ret
Function at 0x4301b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
xor eax, eax
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp + 0x10]
jne 0x4301e7
mov ecx, dword [ebp + 0x18]
push ecx
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004303f4
add esp, 0x10
jmp 0x430357
mov eax, dword [ebp + 0x18]
push eax
call fcn.00427224
pop ecx
mov edx, dword [ebp + 0x18]
push edx
call fcn.004272b4
pop ecx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x43034a
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [edx + 4]
mov edx, dword [ebp - 0xc]
add esi, dword [eax + 4]
add esi, 4
cmp esi, dword [edx + 8]
jg 0x430222
mov ecx, dword [ebp - 0xc]
jmp 0x430231
push esi
mov eax, dword [ebp - 0xc]
push eax
call fcn.004269ec
add esp, 8
mov ecx, eax
test ecx, ecx
je 0x43034a
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], esi
xor ebx, ebx
cmp esi, ebx
jle 0x430254
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
xor ecx, ecx
mov dword [edx + ebx*4], ecx
inc ebx
cmp esi, ebx
jg 0x430245
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4302ed
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx]
mov edx, dword [ebp - 4]
mov ecx, dword [ecx + edx*4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 4]
inc edx
cmp eax, edx
jne 0x430278
xor eax, eax
jmp 0x430284
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
mov edx, dword [ebp - 4]
mov eax, dword [eax + edx*4 + 4]
mov dword [ebp - 0x10], eax
xor ebx, ebx
jmp 0x4302df
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx + ebx*4]
lea ecx, [ebx + 1]
cmp edx, ecx
jne 0x43029e
xor edx, edx
jmp 0x4302a7
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx]
mov edx, dword [ecx + ebx*4 + 4]
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
push ecx
push eax
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.0042fdac
add esp, 0x14
xor eax, eax
lea edx, [ebp - 0x24]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
add ecx, ebx
mov edi, dword [edx]
add ecx, eax
mov esi, dword [esi]
inc eax
add edx, 4
xor dword [esi + ecx*4], edi
cmp eax, 4
jl 0x4302c2
add ebx, 2
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 4]
cmp ebx, edx
jl 0x43028b
add dword [ebp - 4], 2
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 4]
cmp eax, dword [ebp - 4]
jg 0x43025e
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
test eax, eax
jle 0x43032b
shl eax, 2
mov edx, dword [ebp - 0xc]
add eax, dword [edx]
add eax, 0xfffffffc
jmp 0x430322
mov ecx, dword [eax]
add eax, 0xfffffffc
test ecx, ecx
jne 0x43032b
mov edx, dword [ebp - 0xc]
dec dword [edx + 4]
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0
jg 0x430313
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0042feb4
add esp, 0xc
test eax, eax
je 0x43034a
mov dword [ebp - 8], 1
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00427274
pop ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43499c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
dec ebx
mov edi, dword [ebp + 8]
lea eax, [ebx - 0x29]
cmp esi, eax
jle 0x4349d2
push 0x2d
push 0x512a1c
push 0x6e
push 0x79
push 4
call fcn.00441f34
add esp, 0x14
xor eax, eax
jmp 0x434b14
cmp ebx, 0x29
jge 0x4349f3
push 0x33
push 0x512a34
push 0x78
push 0x79
push 4
call fcn.00441f34
add esp, 0x14
xor eax, eax
jmp 0x434b14
push 0x37
push 0x512a4c
lea edx, [ebx - 0x14]
push edx
call fcn.00418280
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x434a2b
push 0x3a
push 0x512a64
push 0x41
push 0x79
push 4
call fcn.00441f34
add esp, 0x14
xor eax, eax
jmp 0x434b14
mov byte [edi], 0
lea edx, [edi + 1]
mov dword [ebp - 8], edx
add edi, 0x15
mov dword [ebp - 4], edi
push 0
call fcn.00443de4
push eax
push 0
mov eax, dword [ebp - 4]
push eax
mov edx, dword [ebp + 0x1c]
push edx
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00443c94
add esp, 0x18
mov edi, ebx
sub edi, esi
mov eax, edi
add eax, 0xffffffd7
push eax
push 0
mov edx, dword [ebp - 4]
add edx, 0x14
push edx
call fcn.0040a3d4
add esp, 0xc
mov ecx, dword [ebp - 4]
mov byte [ecx + edi - 0x15], 1
push esi
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp - 4]
add edx, ebx
sub edx, esi
add edx, 0xffffffec
push edx
call fcn.0040a364
add esp, 0xc
push 0x14
mov ecx, dword [ebp - 8]
push ecx
call fcn.00440d5c
add esp, 8
test eax, eax
jg 0x434aa9
xor eax, eax
jmp 0x434b14
push 0x14
lea ecx, [ebx - 0x14]
mov edx, dword [ebp - 8]
push edx
push ecx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00434db4
mov edx, dword [ebp - 4]
add esp, 0x10
mov esi, edx
mov edx, dword [ebp - 0xc]
xor eax, eax
jmp 0x434ad2
mov cl, byte [edx]
inc eax
xor byte [esi], cl
inc esi
inc edx
lea ecx, [ebx - 0x14]
cmp eax, ecx
jl 0x434acb
add ebx, 0xffffffec
lea edx, [ebp - 0x20]
push ebx
mov eax, dword [ebp - 4]
push eax
push 0x14
push edx
call fcn.00434db4
mov edx, dword [ebp - 8]
add esp, 0x10
mov ecx, edx
lea edx, [ebp - 0x20]
xor eax, eax
mov bl, byte [edx]
xor byte [ecx], bl
inc eax
inc ecx
inc edx
cmp eax, 0x14
jl 0x434af9
mov eax, dword [ebp - 0xc]
push eax
call fcn.00418440
pop ecx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434b1c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
xor edx, edx
push ebx
push esi
push edi
xor esi, esi
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], edx
dec eax
cmp eax, 0x29
jl 0x434c92
mov ecx, eax
sub ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jge 0x434b53
mov dword [ebp - 0xc], 1
xor edx, edx
mov dword [ebp - 8], edx
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 8]
add ecx, 0x14
mov dword [ebp - 4], ecx
lea ebx, [eax - 0x14]
push 0x7a
push 0x512a7c
push ebx
call fcn.00418280
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x434b95
push 0x7d
push 0x512a94
push 0x41
push 0x7a
push 4
call fcn.00441f34
add esp, 0x14
or eax, reloc.ADVAPI32.DLL_DeregisterEventSource
jmp 0x434cb8
push ebx
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 4]
push edx
push 0x14
push ecx
call fcn.00434db4
add esp, 0x10
mov eax, dword [ebp - 8]
lea edx, [ebp + eax - 0x24]
cmp eax, 0x14
jge 0x434bc8
mov ecx, eax
mov edi, dword [ebp + 0x10]
sub ecx, dword [ebp - 8]
inc eax
mov cl, byte [edi + ecx]
xor byte [edx], cl
inc edx
cmp eax, 0x14
jl 0x434bb4
push 0x14
lea eax, [ebp - 0x24]
push eax
push ebx
push esi
call fcn.00434db4
mov edx, esi
add esp, 0x10
mov dword [ebp - 0x10], edx
xor eax, eax
mov ecx, dword [ebp - 4]
cmp ebx, eax
mov edx, ecx
jle 0x434bf8
mov cl, byte [edx]
mov edi, dword [ebp - 0x10]
xor byte [edi], cl
inc eax
inc dword [ebp - 0x10]
inc edx
cmp ebx, eax
jg 0x434be8
push 0
call fcn.00443de4
push eax
lea eax, [ebp - 0x38]
push 0
push eax
mov edx, dword [ebp + 0x20]
push edx
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.00443c94
add esp, 0x18
lea eax, [ebp - 0x38]
push 0x14
push eax
push esi
call fcn.0040a62c
add esp, 0xc
test eax, eax
jne 0x434c92
cmp dword [ebp - 0xc], 0
jne 0x434c92
mov eax, 0x14
lea edx, [esi + 0x14]
cmp ebx, eax
jle 0x434c46
cmp byte [edx], 0
jne 0x434c46
inc eax
inc edx
cmp ebx, eax
jg 0x434c3b
cmp byte [esi + eax], 1
jne 0x434c92
mov ecx, eax
inc eax
cmp ebx, ecx
jle 0x434c92
sub ebx, eax
cmp ebx, dword [ebp + 0xc]
jle 0x434c77
push 0x9b
push 0x512aac
push 0x6d
push 0x7a
push 4
call fcn.00441f34
add esp, 0x14
or ebx, reloc.ADVAPI32.DLL_DeregisterEventSource
jmp 0x434c87
push ebx
add eax, esi
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0040a364
add esp, 0xc
push esi
call fcn.00418440
pop ecx
mov eax, ebx
jmp 0x434cb8
push 0xa8
push 0x512ac4
push 0x79
push 0x7a
push 4
call fcn.00441f34
add esp, 0x14
test esi, esi
je 0x434cb5
push esi
call fcn.00418440
pop ecx
or eax, reloc.ADVAPI32.DLL_DeregisterEventSource
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434e54
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
cmp edx, dword [ebp + 0x18]
jne 0x434e6f
mov cl, byte [eax]
cmp cl, 0x6a
je 0x434e90
cmp cl, 0x6b
je 0x434e90
push 0x72
push 0x512af4
push 0x89
push 0x80
push 4
call fcn.00441f34
add esp, 0x14
or eax, reloc.ADVAPI32.DLL_DeregisterEventSource
pop esi
pop ebp
ret
mov cl, byte [eax]
inc eax
cmp cl, 0x6b
jne 0x434f01
lea esi, [edx - 3]
xor ecx, ecx
cmp esi, ecx
jle 0x434ed7
mov dl, byte [eax]
inc eax
cmp dl, 0xba
je 0x434ed7
cmp dl, 0xbb
je 0x434ed2
push 0x81
push 0x512b0c
push 0x8a
push 0x80
push 4
call fcn.00441f34
add esp, 0x14
or eax, reloc.ADVAPI32.DLL_DeregisterEventSource
pop esi
pop ebp
ret
inc ecx
cmp esi, ecx
jg 0x434ea1
sub esi, ecx
test ecx, ecx
jne 0x434f04
push 0x8a
push 0x512b24
push 0x8a
push 0x80
push 4
call fcn.00441f34
add esp, 0x14
or eax, reloc.ADVAPI32.DLL_DeregisterEventSource
pop esi
pop ebp
ret
lea esi, [edx - 2]
cmp byte [eax + esi], 0xcc
je 0x434f2e
push 0x93
push 0x512b3c
push 0x8b
push 0x80
push 4
call fcn.00441f34
add esp, 0x14
or eax, reloc.ADVAPI32.DLL_DeregisterEventSource
pop esi
pop ebp
ret
push esi
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0040a364
add esp, 0xc
mov eax, esi
pop esi
pop ebp
ret