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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x10113a0c]
sub esp, 0x20
mov eax, dword [ecx]
push esi
mov esi, dword [0x1013b518]
push edi
mov edi, 0x1013b520
push edi
call dword [eax + 0x3c]
test eax, eax
je 0x10088465
mov dword [eax + 0x14], esi
jmp 0x100884b9
mov edx, dword [0x10113a0c]
xor ecx, ecx
movaps xmm0, xmmword [0x101001a0]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x783e6a39
mov eax, dword [edx]
mov dword [ebp - 0xc], 0x3e7a7077
mov dword [ebp - 8], 0x146d3b
mov esi, dword [eax + 0x5c]
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x1a
jb 0x10088492
push edi
lea eax, [ebp - 0x1f]
mov byte [ebp - 5], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 0xff14ff14
push eax
push edx
call esi
add esp, 0x10
pop edi
pop esi
leave
ret

Function at 0x100884bd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
movss dword [ebp - 4], xmm1
mov ecx, dword [0x10113a0c]
mov esi, edx
push edi
mov eax, dword [ecx]
call dword [eax + 0x34]
test eax, eax
je 0x100884f7
movss xmm0, dword [ebp - 4]
mov edx, dword [eax + 0x1c]
cvttss2si ecx, xmm0
movss dword [edx + 0x2c], xmm0
mov dword [edx + 0x30], ecx
mov dword [eax + 0x14], esi
jmp 0x1008854e
mov edx, dword [0x10113a0c]
xor ecx, ecx
movaps xmm0, xmmword [0x100ffc80]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0xe014713
mov eax, dword [edx]
mov dword [ebp - 0xc], 0x42470309
mov word [ebp - 8], 0x6d14
mov byte [ebp - 6], 0
mov esi, dword [eax + 0x5c]
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x19
jb 0x10088527
push edi
lea eax, [ebp - 0x1f]
mov byte [ebp - 6], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 0xff14ff14
push eax
push edx
call esi
add esp, 0x10
pop edi
pop esi
leave
ret
Function at 0x10088552
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009ef12
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
push esi
push edi
mov eax, dword [0x1010fa0c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x18], edi
mov esi, ecx
mov dword [ebp - 0x1c], esi
call fcn.1005ef53
movups xmm0, xmmword [edi]
and dword [ebp - 0x30], 0
mov cl, 0x37
and dword [ebp - 0x2c], 0
xor eax, eax
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x24], 0x55141437
mov word [ebp - 0x20], 0x5943
mov byte [ebp - 0x1e], 0
xor byte [ebp + eax - 0x23], cl
inc eax
cmp eax, 5
jae 0x100885ce
mov cl, byte [ebp - 0x24]
jmp 0x100885bf
push dword [ebp - 0x2c]
lea edx, [ebp - 0x4c]
mov byte [ebp - 0x1e], 0
push dword [ebp - 0x30]
lea ecx, [ebp - 0x23]
push 0x20040
call fcn.1007a6ae
add esp, 0xc
mov byte [ebp - 0x11], al
call fcn.10063013
test al, al
je 0x1008861d
mov ecx, 0x100f8d70
call fcn.10063099
test eax, eax
je 0x10088611
mov esi, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov eax, dword [0x10113a04]
mov byte [eax + 0x1c5d], 0
movss xmm1, dword [0x100fee24]
xorps xmm0, xmm0
call fcn.1005f271
xor edx, edx
mov ecx, esi
call fcn.100701f7
cmp byte [ebp - 0x11], 0
je 0x1008866d
mov cl, 0x33
mov dword [ebp - 0x30], 0x43101033
mov dword [ebp - 0x2c], 0x4346435c
xor eax, eax
mov byte [ebp - 0x28], 0
xor byte [ebp + eax - 0x2f], cl
inc eax
cmp eax, 7
jae 0x10088661
mov cl, byte [ebp - 0x30]
jmp 0x10088652
lea ecx, [ebp - 0x2f]
mov byte [ebp - 0x28], 0
call fcn.1005f4df
mov cl, 0x73
mov dword [ebp - 0x30], 0x3505073
mov dword [ebp - 0x2c], 0x306031c
xor eax, eax
mov byte [ebp - 0x28], 0
xor byte [ebp + eax - 0x2f], cl
inc eax
cmp eax, 7
jae 0x10088692
mov cl, byte [ebp - 0x30]
jmp 0x10088683
lea ecx, [ebp - 0x2f]
mov byte [ebp - 0x28], 0
call fcn.1005f831
test al, al
je 0x100886e5
xor edx, edx
mov dword [ebp - 0x3c], 0x5e0d0d2e
mov cl, 0x2e
mov dword [ebp - 0x38], 0x4b454d47
mov word [ebp - 0x34], 0x5c
mov eax, edx
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 8
jae 0x100886cb
mov cl, byte [ebp - 0x3c]
jmp 0x100886bc
push edx
mov byte [ebp - 0x33], dl
lea ecx, [ebp - 0x3b]
push 0x30100
mov edx, edi
call fcn.10078af3
pop ecx
pop ecx
call fcn.1005f88e
mov eax, dword [0x10113a04]
mov eax, dword [eax + 0x199c]
dec dword [eax + 0x1bc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1008af6e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x10
mov eax, 0x100a5757
call fcn.1009e14c
mov eax, dword fs:[0x2c]
mov esi, 0x1013f178
mov ecx, dword [0x10113814]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1013f2a8]
cmp eax, dword [ecx + 4]
jle 0x1008b006
mov edi, 0x1013f2a8
push edi
call fcn.1009cfcc
cmp dword [0x1013f2a8], 0xffffffff
pop ecx
jne 0x1008b006
xor edx, edx
mov cl, 0x33
mov dword [ebp - 4], edx
mov eax, edx
mov dword [ebp - 0x1c], 0x516c5e33
mov dword [ebp - 0x18], 0x5c715d7a
mov dword [ebp - 0x14], 0x5c69515e
mov word [ebp - 0x10], 0x565d
mov byte [ebp - 0xe], dl
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0xd
jae 0x1008afe6
mov cl, byte [ebp - 0x1c]
jmp 0x1008afd7
lea eax, [ebp - 0x1b]
mov byte [ebp - 0xe], dl
push eax
mov ecx, esi
call fcn.1000801c
push 0x100a5ae3
call fcn.1009d3d7
push edi
call fcn.1009cf82
pop ecx
pop ecx
cmp dword [0x1013f18c], 0x10
cmovae esi, dword [0x1013f178]
mov eax, esi
call fcn.1009e115
ret

Function at 0x1008b01c
Capabilities:
Encode data using xor

Disassembly:
push 0x14
mov eax, 0x100a577e
call fcn.1009e14c
mov eax, dword fs:[0x2c]
mov esi, 0x1013f1e0
mov ecx, dword [0x10113814]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1013f290]
cmp eax, dword [ecx + 4]
jle 0x1008b0a6
mov edi, 0x1013f290
push edi
call fcn.1009cfcc
cmp dword [0x1013f290], 0xffffffff
pop ecx
jne 0x1008b0a6
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, edx
movaps xmm0, xmmword [0x100ffdb0]
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x10], 0x4f22
mov byte [ebp - 0xe], dl
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x11
jb 0x1008b079
lea eax, [ebp - 0x1f]
mov byte [ebp - 0xe], dl
push eax
mov ecx, esi
call fcn.1000801c
push 0x100a5aed
call fcn.1009d3d7
push edi
call fcn.1009cf82
pop ecx
pop ecx
cmp dword [0x1013f1f4], 0x10
cmovae esi, dword [0x1013f1e0]
mov eax, esi
call fcn.1009e115
ret
Function at 0x1008b14f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10113814]
push ebx
push esi
push edi
mov esi, dword [eax + ecx*4]
or edi, 0xffffffff
mov eax, dword [0x1013f218]
cmp eax, dword [esi + 4]
jle 0x1008b1a0
mov ebx, 0x1013f218
push ebx
call fcn.1009cfcc
pop ecx
cmp dword [0x1013f218], edi
jne 0x1008b1a0
mov edx, 0x100f9900
mov ecx, 0x100f8894
call fcn.1008dfb3
push ebx
mov dword [0x1013f244], eax
call fcn.1009cf82
pop ecx
mov eax, dword [0x1013f260]
cmp eax, dword [esi + 4]
jle 0x1008b1d5
mov ebx, 0x1013f260
push ebx
call fcn.1009cfcc
pop ecx
cmp dword [0x1013f260], edi
jne 0x1008b1d5
mov eax, dword [0x1013f244]
add eax, 3
push ebx
mov dword [0x1013f1a0], eax
call fcn.1009cf82
pop ecx
mov eax, dword [0x1013f20c]
cmp eax, dword [esi + 4]
jle 0x1008b20a
mov ebx, 0x1013f20c
push ebx
call fcn.1009cfcc
pop ecx
cmp dword [0x1013f20c], edi
jne 0x1008b20a
mov eax, dword [0x1013f244]
add eax, 0xc
push ebx
mov dword [0x1013f298], eax
call fcn.1009cf82
pop ecx
mov eax, dword [0x1013f164]
cmp eax, dword [esi + 4]
jle 0x1008b23f
mov esi, 0x1013f164
push esi
call fcn.1009cfcc
pop ecx
cmp dword [0x1013f164], edi
jne 0x1008b23f
mov eax, dword [0x1013f244]
add eax, 0x15
push esi
mov dword [0x1013f144], eax
call fcn.1009cf82
pop ecx
cmp byte [0x10112a00], 0
je 0x1008b2da
mov ecx, dword [0x10113a40]
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp byte [0x1013b64c], 0
jne 0x1008b358
mov esi, dword [sym.imp.kErnel32.dlL_VirtualProtect]
mov edi, 0x1013b66c
push edi
push pe_nt_image_headers32
xor ebx, ebx
inc ebx
push ebx
push dword [0x1013f1a0]
call esi
mov eax, dword [0x1013f1a0]
push 0
mov byte [eax], 0x5a
push dword [0x1013b66c]
push ebx
push eax
call esi
push edi
push pe_nt_image_headers32
push ebx
push dword [0x1013f298]
call esi
mov eax, dword [0x1013f298]
push 0
mov byte [eax], 0x5a
push dword [0x1013b66c]
push ebx
push eax
call esi
push edi
push pe_nt_image_headers32
push ebx
push dword [0x1013f144]
call esi
mov eax, dword [0x1013f144]
push 0
mov byte [eax], 0x5a
push dword [0x1013b66c]
push ebx
push eax
call esi
mov byte [0x1013b64c], bl
jmp 0x1008b358
cmp byte [0x1013b64c], 0
je 0x1008b358
mov esi, dword [sym.imp.kErnel32.dlL_VirtualProtect]
mov edi, 0x1013b66c
push edi
push pe_nt_image_headers32
xor ebx, ebx
inc ebx
push ebx
push dword [0x1013f1a0]
call esi
mov eax, dword [0x1013f1a0]
push 0
mov byte [eax], 0x4b
push dword [0x1013b66c]
push ebx
push eax
call esi
push edi
push pe_nt_image_headers32
push ebx
push dword [0x1013f298]
call esi
mov eax, dword [0x1013f298]
push 0
mov byte [eax], 0x4b
push dword [0x1013b66c]
push ebx
push eax
call esi
push edi
push pe_nt_image_headers32
push ebx
push dword [0x1013f144]
call esi
mov eax, dword [0x1013f144]
push 0
mov byte [eax], 0x4b
push dword [0x1013b66c]
push ebx
push eax
call esi
mov byte [0x1013b64c], 0
pop edi
pop esi
pop ebx
ret
Function at 0x1009565e
Capabilities:
Encode data using xor

Disassembly:
push 8
push 0x28
mov eax, 0x100a580e
call fcn.1009e24d
cmp byte [0x101129b8], 0
je 0x100957a4
mov ecx, dword [0x10113a14]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [0x10113a20]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x100957a4
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
push ecx
lea ecx, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1009584d
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
je 0x1009579c
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x208]
call eax
test al, al
je 0x1009579c
mov ecx, esi
call fcn.100074a7
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax]
movss xmm0, dword [eax + 8]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
call sub.apI_mS_wIN_crT_matH_L1_1_0.DlL__libm_sse2_sqrt_precise
cvtsd2ss xmm0, xmm0
ucomiss xmm0, dword [0x100fecc4]
lahf
test ah, 0x44
jnp 0x1009579c
movaps xmm0, xmmword [0x100ff300]
xor ecx, ecx
movups xmmword [ebp - 0x38], xmm0
mov word [ebp - 0x28], 0x120b
mov byte [ebp - 0x26], 0
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0x11
jb 0x10095731
mov ecx, dword [ebp - 0x24]
mov esi, dword [0x10112aec]
mov byte [ebp - 0x26], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
push 0xc
pop ecx
cdq
idiv ecx
lea ecx, [eax - 1]
cmp eax, ecx
jbe 0x100957ad
push ecx
push ecx
mov dword [esp + 4], 0x41080000
mov dword [esp], 0x40800000
push esi
mov esi, edi
sub esp, 0xc
mov edi, esp
sub esp, 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
imul esi, ecx, 0xc
mov edi, esp
lea ecx, [ebp - 0x37]
add esi, dword [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100954a6
add esp, 0x24
lea ecx, [ebp - 0x20]
call fcn.10047cc6
mov ecx, dword [ebp - 0x14]
call fcn.1009e228
ret
call fcn.10009b32
int3
Function at 0x1009d0dc
Capabilities:
Enumerate pe sections

Disassembly:
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 0x1009d10d
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edx + 0xc]
jb 0x1009d106
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
cmp ecx, eax
jb 0x1009d112
add edx, 0x28
cmp edx, esi
jne 0x1009d0f7
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x1009d10f
Function at 0x10002810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x1000281f
pop dword [ebp - 8]
mov eax, 0x1000281f
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xc28187c4
sub dword [ebp - 0x18], 0x742f4279
mov dword [ebp - 0x14], 0x4eddb19d
add dword [ebp - 0x14], 0xe3559aa8
mov dword [ebp - 0x10], 0xb8c1b87a
sub dword [ebp - 0x10], 0x6c75744c
mov dword [ebp - 0xc], 0x9098d801
add dword [ebp - 0xc], 0x6f6727ff
lea eax, [ebp - 0x18]
push eax
mov eax, 0xe57fcbb8
add eax, 0x2a843484
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xc2802b13
sub dword [ebp - 0x18], 0x4e0dc1bd
mov dword [ebp - 0x14], 0x5ae46844
add dword [ebp - 0x14], 0xe687f931
mov dword [ebp - 0x10], 0xa6ee8dea
add dword [ebp - 0x10], 0xbc80de82
mov dword [ebp - 0xc], 0x5d4c8e9a
sub dword [ebp - 0xc], 0x5d4c8e9a
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x40a0f
push 0
call eax
mov ecx, 0x3128
mov ebx, eax
mov edi, 0xcc27df56
add edi, 0x43dd8eaa
add edi, dword [ebp - 8]
mov edx, 0x2589b09c
sub edx, 0xc12962c4
xor dword [ebp - 4], esi
mov esi, dword [edi]
sub dword [ebp - 4], edx
sub esi, edx
sub dword [ebp - 4], ecx
mov dword [ebx], esi
add ebx, 0xefe8f91d
sub ebx, 0xefe8f919
add edi, 0xb5c0c9ad
add edi, 0x4a3f3657
loop 0x10002931
add eax, 0xf898d543
add eax, 0x767e230
mov ebx, eax
add eax, 0x64887395
sub eax, 0x64887390
mov ecx, 0x30b6f7b
add ecx, 0xcf49085
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x10031820
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1004f37c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x10031850
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10038620
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x10031880
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x10031880
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10038620
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x1003197a
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x100318a9
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100318dd
push dword [esi + 0x4c]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10038620
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
test eax, eax
js 0x1003197a
cmp eax, 1
jle 0x1003193b
cmp eax, 3
jne 0x1003197a
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.10002810
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10038620
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10031959
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1003197a
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x1003197a
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10038620
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10038620
mov esp, ebp
pop ebp
ret 4
Function at 0x10036f80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003ecf8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1004f37c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1004f338]
cmp eax, 0xffffffff
jne 0x10036fb6
xor ebx, ebx
jmp 0x10036fbf
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x10036fff
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
test eax, eax
jne 0x1003703e
test esi, esi
jne 0x10037042
push 0x10035760
push 0x10050e58
call fcn.10002810
mov eax, dword [0x1004f338]
add esp, 8
cmp eax, 0xffffffff
je 0x10036fff
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x1003702c
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1003702c
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x10037084
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1003706d
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x10037042
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x10036fd0
nop
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x100370a9
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x100370a9
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.10002810
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x10037090
jmp 0x10036fd0

Function at 0x100370d0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov edx, dword [esi]
lea eax, [edx + 0x10]
push eax
push 4
push edx
push 0x10037130
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x100370fa
pop esi
xor al, al
pop ebx
ret
mov eax, dword [esi]
push edi
add eax, 4
lock inc dword [eax]
mov edi, dword [esi]
mov eax, dword [edi + 8]
test eax, eax
je 0x10037118
cmp eax, 0xffffffff
je 0x10037118
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [edi + 8], ebx
mov eax, dword [esi]
push dword [eax + 8]
call dword [sym.imp.kernel32.dll_ResumeThread]
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x429950
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
mov dword [esp + 0xc], ecx
test edi, edi
jle 0x429a69
lea eax, [ecx + 0x80]
mov dword [esp + 0x1c], eax
lea edx, [ebx + 2]
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], edx
lea esi, [eax + 2]
sub eax, ebx
lea ecx, [eax - 2]
lea eax, [edi - 1]
mov dword [esp + 0x18], ecx
shr eax, 3
inc eax
mov dword [esp + 0x14], eax
movzx eax, byte [edx - 2]
add ecx, edx
push ecx
mov byte [ecx], al
movzx eax, byte [edx - 1]
mov byte [esi - 1], al
movzx eax, byte [edx]
mov byte [esi], al
movzx eax, byte [edx + 1]
mov byte [esi + 1], al
movzx eax, byte [edx + 2]
mov byte [esi + 2], al
movzx eax, byte [edx + 3]
mov byte [esi + 3], al
movzx eax, byte [edx + 4]
mov byte [esi + 4], al
movzx eax, byte [edx + 5]
mov byte [esi + 5], al
mov edi, dword [edx - 2]
mov ebx, dword [edx + 2]
mov edx, ecx
mov ecx, dword [esp + 0x20]
call fcn.00429010
mov ecx, dword [esp + 0x10]
lea esi, [esi + 8]
mov edx, dword [esp + 0x14]
add esp, 4
movzx eax, byte [ecx + 0x100]
mov ecx, dword [esp + 0x18]
xor byte [edx + ecx], al
add edx, 8
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], edx
movzx eax, byte [ecx + 0x101]
xor byte [esi - 9], al
movzx eax, byte [ecx + 0x102]
xor byte [esi - 8], al
movzx eax, byte [ecx + 0x103]
xor byte [esi - 7], al
movzx eax, byte [ecx + 0x104]
xor byte [esi - 6], al
movzx eax, byte [ecx + 0x105]
xor byte [esi - 5], al
movzx eax, byte [ecx + 0x106]
xor byte [esi - 4], al
movzx eax, byte [ecx + 0x107]
xor byte [esi - 3], al
sub dword [esp + 0x14], 1
mov dword [ecx + 0x100], edi
mov dword [ecx + 0x104], ebx
mov ecx, dword [esp + 0x18]
jne 0x429998
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431a90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x431aa5
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x431ab0
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x431ae0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x431af9
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x431b05
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x431b00
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x431b40
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x5ea00c]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx + 4]
mov edx, dword [ebp + 8]
or eax, 0x2001f
push esi
push edi
push eax
push edx
push dword [ecx]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.004319e0
mov esi, eax
test esi, esi
jne 0x431c37
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x100
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x431c09
nop dword [eax]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.00431b40
mov esi, eax
test esi, esi
jne 0x431c37
lea eax, [esp + 0x20]
mov dword [esp + 8], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
je 0x431bd0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x431c20
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
push dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], 0
call fcn.00431880
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x431c46
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.00436912
mov esp, ebp
pop ebp
ret 4