joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a3f5
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 0x41a5ee
cmp eax, 3
jb 0x41a46e
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 0x41a4ab
mov eax, dword [esi + 0x6af84]
sub eax, ecx
cmp eax, 0x7efa
ja 0x41a4ab
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x41a495
mov dword [esi + 0x6afa0], eax
mov edx, ecx
mov ecx, esi
call fcn.0041a154
mov ecx, dword [esi + 0x6af90]
mov edi, eax
cmp edi, ecx
cmova edi, ecx
mov ecx, dword [esi + 0x6af84]
cmp edi, 3
jb 0x41a57a
sub ecx, dword [esi + 0x6af88]
lea eax, [edi - 3]
mov edx, ecx
mov ecx, esi
push eax
call fcn.00419a34
pop ecx
mov ecx, dword [esi + 0x6af90]
sub ecx, edi
mov dword [ebp - 8], eax
mov dword [esi + 0x6af90], ecx
cmp edi, dword [esi + 0x6af98]
ja 0x41a549
cmp ecx, 3
jb 0x41a549
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 0x41a4ed
jmp 0x41a596
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 0x41a5a2
movzx eax, byte [ecx + esi + 0x1af70]
xor edx, edx
push eax
mov ecx, esi
call fcn.00419a34
dec dword [esi + 0x6af90]
pop ecx
mov dword [ebp - 8], eax
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
cmp dword [ebp - 8], ebx
je 0x41a5d8
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x41a5bb
lea ecx, [esi + 0x1af70]
add ecx, eax
jmp 0x41a5bd
mov ecx, ebx
sub edx, eax
push ebx
push edx
mov edx, ecx
mov ecx, esi
call fcn.00419847
mov eax, dword [esi + 0x6af84]
pop ecx
pop ecx
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x41a5eb
mov ecx, esi
call fcn.0041a2be
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x6af90]
test eax, eax
jne 0x41a417
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x41a60e
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.00419847
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41b2ab
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x41b2b6
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x41b372
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 + 0x440b70]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x440b70]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x440b70]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x440b70]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x440b70]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x440b70]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x440b70]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x440b70]
sub edi, 1
jne 0x41b2cb
pop edi
test esi, esi
je 0x41b38e
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x440b70]
inc edx
sub esi, 1
jne 0x41b376
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x41b395
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 + 0x440b70]
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 + 0x440b70]
mov dword [esi + 8], ecx
pop esi
ret
Function at 0x41b3f9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, ecx
push esi
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x41b405
sub edx, esi
lea esi, [edx + ecx]
jmp 0x41b419
cmp byte [esi], 0x2e
je 0x41b42b
dec esi
cmp esi, ecx
ja 0x41b413
jne 0x41b42b
cmp byte [esi], 0x2e
je 0x41b42b
xor al, al
jmp 0x41b600
mov ax, word [0x4432ac]
push ebx
push edi
mov word [ebp - 8], ax
xor edi, edi
mov al, byte [0x4432ae]
mov ecx, edi
push 0x36
mov byte [ebp - 6], al
mov dword [ebp - 0x10], 0x32
pop ebx
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 3
jl 0x41b44d
lea eax, [ebp - 8]
push eax
push esi
call fcn.0042633d
pop ecx
pop ecx
test eax, eax
je 0x41b5fc
mov eax, dword [0x44328c]
mov ecx, edi
mov dword [ebp - 8], eax
mov al, byte [0x443290]
mov byte [ebp - 4], al
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 5
jl 0x41b486
lea eax, [ebp - 8]
push eax
push esi
call fcn.0042633d
pop ecx
pop ecx
test eax, eax
je 0x41b5fc
mov eax, dword [0x4432d8]
mov ecx, edi
mov dword [ebp - 8], eax
mov al, byte [0x4432dc]
mov byte [ebp - 4], al
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 5
jl 0x41b4bf
lea eax, [ebp - 8]
push eax
push esi
call fcn.0042633d
pop ecx
pop ecx
test eax, eax
je 0x41b5fc
mov eax, dword [0x44326c]
mov ecx, edi
mov dword [ebp - 8], eax
mov al, byte [0x443270]
mov byte [ebp - 4], al
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 5
jl 0x41b4f8
lea eax, [ebp - 8]
push eax
push esi
call fcn.0042633d
pop ecx
pop ecx
test eax, eax
je 0x41b5fc
mov eax, dword [0x4432b0]
mov ecx, edi
mov dword [ebp - 8], eax
mov al, byte [0x4432b4]
mov byte [ebp - 4], al
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 5
jl 0x41b531
lea eax, [ebp - 8]
push eax
push esi
call fcn.0042633d
pop ecx
pop ecx
test eax, eax
je 0x41b5fc
mov eax, dword [0x443284]
mov ecx, edi
mov dword [ebp - 8], eax
mov al, byte [0x443288]
mov byte [ebp - 4], al
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 5
jl 0x41b56a
lea eax, [ebp - 8]
push eax
push esi
call fcn.0042633d
pop ecx
pop ecx
test eax, eax
je 0x41b5fc
cmp byte [0x443317], 0
mov eax, dword [0x443314]
mov dword [ebp - 8], eax
je 0x41b5b3
mov ecx, edi
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 4
jl 0x41b5a0
lea eax, [ebp - 8]
push eax
push esi
call fcn.0042633d
pop ecx
pop ecx
test eax, eax
je 0x41b5fc
mov eax, dword [0x4432b8]
mov dword [ebp - 0x10], eax
mov al, byte [0x4432bc]
push 0x32
mov byte [ebp - 0xc], al
pop ecx
xor edx, edx
mov eax, edi
div ecx
add dl, bl
xor byte [ebp + edi - 0x10], dl
inc edi
cmp edi, 5
jl 0x41b5d6
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.0042633d
neg eax
pop ecx
sbb al, al
pop ecx
inc al
jmp 0x41b5fe
mov al, 1
pop edi
pop ebx
pop esi
leave
ret
Function at 0x41b603
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x449080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x48]
push 5
pop ecx
mov eax, dword [ebp + 8]
mov esi, str.pT_nRQXjP
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov dword [ebp - 0x20], edx
push 0x32
mov dword [ebp - 0x1c], eax
movsb byte es:[edi], byte [esi]
mov esi, ecx
pop edi
xor edx, edx
mov eax, esi
div edi
add dl, 0x36
xor byte [ebp + esi - 0x48], dl
inc esi
cmp esi, 0x15
jl 0x41b63c
mov esi, 0x442908
lea edi, [ebp - 0x30]
push 0x32
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x36
xor byte [ebp + ecx - 0x30], dl
inc ecx
cmp ecx, 0xd
jl 0x41b65e
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x48]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
call eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x12]
and eax, 0xf
pop edi
lea ecx, [ecx - 0x3c]
shl ecx, 4
or ecx, eax
mov eax, dword [ebp - 0xe]
shl ecx, 5
and eax, 0x1f
or ecx, eax
mov eax, dword [ebp - 0xc]
mov word [ebx], cx
mov ecx, dword [ebp - 0xa]
and ecx, 0x3f
shl eax, 6
or ecx, eax
mov eax, dword [ebp - 8]
add eax, eax
shl ecx, 5
and eax, 0x1f
or ecx, eax
mov eax, dword [ebp - 0x20]
pop esi
pop ebx
mov word [eax], cx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041cdf9
leave
ret
Function at 0x41b747
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x449080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
cmp byte [esi + 0x2d], 0
je 0x41b7c8
mov ecx, dword [esi + 0x3c]
mov eax, ecx
test ecx, ecx
je 0x41b782
cmp dword [esi + 0x40], edi
jae 0x41b782
push ecx
call fcn.0041d1d0
and dword [esi + 0x3c], 0
pop ecx
jmp 0x41b786
test eax, eax
jne 0x41b796
lea eax, [edi + edi]
push eax
call fcn.0041d1d5
pop ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
push edi
push ebx
push eax
call fcn.0041e590
add esp, 0xc
xor ebx, ebx
test edi, edi
je 0x41b7c5
lea eax, [esi + 0x30]
mov edx, dword [esi + 0x3c]
mov ecx, eax
mov dl, byte [edx + ebx]
call fcn.0041b3d8
mov ecx, dword [esi + 0x3c]
mov byte [ebx + ecx], al
inc ebx
lea eax, [esi + 0x30]
cmp ebx, edi
jb 0x41b7aa
mov ebx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41b7f7
mov edx, dword [esi + 0x24]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x28]
jb 0x41b7e3
mov dword [esi + 0x14], 0x30000
jmp 0x41b819
push edi
add ecx, edx
push ebx
push ecx
call fcn.0041e590
add esp, 0xc
mov eax, edi
add dword [esi + 0x24], edi
jmp 0x41b81b
mov eax, dword [esi + 4]
test eax, eax
je 0x41b812
push 0
lea ecx, [ebp - 8]
push ecx
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 8]
jmp 0x41b81b
mov dword [esi + 0x14], 0x1000000
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cdf9
leave
ret 8
Function at 0x41b883
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x449080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, str.qRLuUX_QjV__B
lea edi, [ebp - 0x44]
push 0x32
mov ebx, ecx
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x36
xor byte [ebp + ecx - 0x44], dl
inc ecx
cmp ecx, 0xd
jl 0x41b8a9
mov esi, 0x442908
lea edi, [ebp - 0x34]
push 0x32
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x36
xor byte [ebp + ecx - 0x34], dl
inc ecx
cmp ecx, 0xd
jl 0x41b8cd
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 5
pop ecx
mov esi, str.eNKM_VhTSZ
mov dword [ebp - 0x24], eax
lea edi, [ebp - 0x6c]
rep movsd dword es:[edi], dword [esi]
push 0x32
xor ecx, ecx
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x36
xor byte [ebp + ecx - 0x6c], dl
inc ecx
cmp ecx, 0x15
jl 0x41b90b
mov esi, 0x442908
lea edi, [ebp - 0x54]
push 0x32
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x36
xor byte [ebp + ecx - 0x54], dl
inc ecx
cmp ecx, 0xd
jl 0x41b92f
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x6c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x24]
mov esi, eax
test edx, edx
je 0x41ba21
test esi, esi
je 0x41ba21
mov ecx, dword [ebp + 8]
xor eax, eax
and dword [ebx + 0x8c], 0
mov dword [ebx + 0x7c], eax
mov byte [ebx + 0x80], al
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x74], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x84], ecx
mov dword [ebx + 0x88], eax
test ecx, ecx
je 0x41ba1a
test eax, eax
je 0x41ba1a
mov dword [ebx + 0x70], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebx + 0x4c], 0x80000000
mov byte [ebx + 0x6c], 1
call edx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
call esi
push dword [ebp - 8]
lea edx, [ebp - 0x24]
push dword [ebp - 0xc]
lea ecx, [ebp - 0x20]
call fcn.0041b603
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
sub ecx, 0xd53e8000
push 0
push 0x989680
sbb eax, 0x19db1de
push eax
push ecx
call fcn.00433990
movzx ecx, word [ebp - 0x20]
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x60], eax
movzx eax, word [ebp - 0x24]
shl ecx, 0x10
or ecx, eax
mov dword [ebx + 0x54], edx
mov dword [ebx + 0x5c], edx
xor eax, eax
mov dword [ebx + 0x64], edx
mov dword [ebx + 0x68], ecx
jmp 0x41ba26
mov eax, 0x10000
jmp 0x41ba26
mov eax, 0x40000
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cdf9
leave
ret 8
Function at 0x41ba4c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x449080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x84]
test ecx, ecx
je 0x41baae
mov eax, dword [edi + 0x8c]
mov esi, dword [edi + 0x88]
cmp eax, esi
jae 0x41bae6
sub esi, eax
cmp esi, dword [ebp + 0xc]
cmova esi, dword [ebp + 0xc]
add eax, ecx
push esi
push eax
push ebx
call fcn.0041e590
mov ecx, dword [edi + 0x78]
mov edx, ebx
add dword [edi + 0x8c], esi
add dword [edi + 0x74], esi
push esi
call fcn.0041b2ab
add esp, 0x10
mov dword [edi + 0x78], eax
mov eax, esi
jmp 0x41bae8
cmp dword [edi + 0x7c], 0
je 0x41badf
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
push ebx
push dword [edi + 0x7c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41bae6
mov esi, dword [ebp - 8]
mov edx, ebx
mov ecx, dword [edi + 0x78]
add dword [edi + 0x74], esi
push esi
call fcn.0041b2ab
pop ecx
jmp 0x41baa7
mov dword [edi + 0x14], 0x1000000
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cdf9
leave
ret 8
Function at 0x41dd23
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41dd62
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41dd62
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41dd62
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41dd62
cmp dword [ecx + 0x74], 0xe
jbe 0x41dd62
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4280d9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43d624
push 0x43d61c
push str.FlsAlloc
push 0x1f
call fcn.00427f58
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42810d
push dword [ebp + 8]
mov ecx, esi
call dword [0x43a1b4]
call esi
jmp 0x428113
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x428157
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43d634
push 0x43d62c
push str.FlsGetValue
push 0x21
call fcn.00427f58
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42818e
push dword [ebp + 8]
mov ecx, esi
call dword [0x43a1b4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x428196
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43d63c
push 0x43d634
push str.FlsSetValue
push 0x22
call fcn.00427f58
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4281d0
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x43a1b4]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x42c027
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x42c0c4
push ebx
push esi
call fcn.0042bff0
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0042bf84
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x42c071
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42c0c3
push edi
push eax
call fcn.00427d15
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x42c091
call fcn.00427cdb
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42c0c2
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042bf84
add esp, 0x20
test eax, eax
jne 0x42c0b0
push edi
call fcn.00427cdb
jmp 0x42c0b8
push ebx
call fcn.00427cdb
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x433800
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43382d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43382d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0xf9b0f8
Capabilities:
Encode data using xor

Disassembly:
jmp 0xf9b102
pushal
call 0xf9b108
pop ebp
sub ebp, 0x10
sub ebp, 0xb9b0f8
jmp 0xf9b11e
mov eax, 0xb9b0f8
add eax, ebp
add eax, 0x4c
mov ecx, 0x5bb
mov edx, 0x9c00c842
xor byte [eax], dl
inc eax
dec ecx
jne 0xf9b135
jmp 0xf9b148
leave
invalid

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, reloc.avifil32.dll_AVIStreamOpenFromFileA
nop
sub eax, 0x403d50
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x7732c2a0
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 0x7732c2de
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x7732c2d6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x7732c2e0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x7732c2c6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x7732c3b0
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 0x7732c3e1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x7732c3e1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x7732c3e1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x773371d5
Capabilities:
Encode data using xor

Disassembly:
call 0x7733714e
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x7733717e
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x7733719a
xor edx, 0
jmp 0x773371a5
xor edx, edx
jmp 0x773371bc
jmp 0x773371c8
xor eax, eax
push 0x8427d7c0
call 0x773371d5
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x77337211
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x773371ea
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x77337228
add eax, 0
jno 0x7733722d
add esi, 0
ret 0x10
Function at 0x77337f96
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x77337fb8
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x7733815a
cmp edi, dword [ebp + 0x10]
jb 0x7733815a
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.77337a82
inc edi
jmp 0x77338041
jmp 0x7733804e
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.77337a82
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.77337a82
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x773380a2
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x77338086
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.773380d0
add dword [eax], 0x39
jle 0x773380ac
sub al, 0xf5
mov ch, al
call fcn.773380e5
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x77339dbd
Capabilities:
Encode data using xor

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