joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a3528
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, 0x30
mov edi, 0x4c5924
mov ecx, dword [esp]
lea edx, [esp + 0xc]
movzx ebx, byte [edi]
movzx ebx, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x4a3547
mov esi, 1
mov edx, 0x4c5a2c
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
add ecx, ecx
add ecx, ecx
movzx ebx, byte [esp + eax + 0xc]
mov edi, ebx
add edi, edi
movzx ebx, byte [esp + eax + 0x11]
add edi, ebx
movzx ebx, byte [esp + eax + 0xd]
add ebx, ebx
add ebx, ebx
add ebx, ebx
movzx ebp, byte [esp + eax + 0xe]
add ebp, ebp
add ebp, ebp
add ebx, ebp
movzx ebp, byte [esp + eax + 0xf]
add ebp, ebp
add ebx, ebp
movzx eax, byte [esp + eax + 0x10]
add ebx, eax
mov dword [esp + 8], ebx
mov eax, 1
mov ebx, eax
dec ebx
je 0x4a35c0
dec ebx
je 0x4a35e2
dec ebx
je 0x4a3604
dec ebx
je 0x4a3625
jmp 0x4a363f
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 8
movzx ebx, bl
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4a363f
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 4
movzx ebx, bl
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4a363f
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 2
movzx ebx, bl
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4a363f
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
inc eax
cmp eax, 5
jne 0x4a35b0
inc esi
add edx, 0x40
cmp esi, 9
jne 0x4a3563
mov esi, 0x20
mov eax, 0x4c5954
mov edx, dword [esp + 4]
movzx ecx, byte [eax]
movzx ecx, byte [esp + ecx + 0x3b]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x4a3664
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4a36a0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, eax
movzx eax, dl
movzx ebx, byte [eax + 0x4c59db]
test bl, bl
jbe 0x4a36d5
lea eax, [esi + 0x3e0]
call fcn.004a367c
lea eax, [esi + 0x3fc]
call fcn.004a367c
dec bl
jne 0x4a36bb
mov cl, 0x30
mov edx, 0x4c59ac
mov eax, dword [ebp - 4]
movzx ebx, byte [edx]
mov byte [ebp - 5], bl
cmp byte [ebp - 5], 0x1c
ja 0x4a36fb
movzx ebx, byte [ebp - 5]
movzx ebx, byte [esi + ebx + 0x3df]
mov byte [eax], bl
jmp 0x4a3709
movzx ebx, byte [ebp - 5]
movzx ebx, byte [esi + ebx + 0x3df]
mov byte [eax], bl
inc eax
inc edx
dec cl
jne 0x4a36df
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4a3718
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov bl, 1
lea esi, [ebp - 0x421]
mov eax, edi
mov edx, ebx
call fcn.004a34c0
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x4a3734
mov bl, 0x1c
mov esi, str.91__
lea edi, [ebp - 0x41]
movzx edx, byte [esi]
mov eax, dword [ebp - 8]
call fcn.004a34c0
mov byte [edi], al
movzx edx, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.004a34c0
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x4a3750
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.004a36a0
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x4a377a
mov bl, 1
mov eax, 0x4c58a4
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x4a37b3
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x4a37c0
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x4a379f
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
cmp byte [ebp + 8], 0
je 0x4a37ea
lea ecx, [ebp - 0x61]
mov edx, esi
lea eax, [ebp - 0x81]
call fcn.004a3528
jmp 0x4a3811
movzx eax, byte [ebp - 9]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d1]
lea ecx, [ebp - 0x61]
lea eax, [ebp - 0x81]
call fcn.004a3528
mov bl, 0x20
lea eax, [ebp - 0xa1]
movzx edx, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x4a3819
push esi
lea esi, [ebp - 0x81]
lea edi, [ebp - 0xa1]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x61]
lea edi, [ebp - 0x81]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 9]
add esi, 0x30
cmp byte [ebp - 9], 0x11
jne 0x4a37d2
mov bl, 0x40
mov esi, 0x4c58e4
lea eax, [ebp - 0x3e1]
movzx edx, byte [esi]
cmp dl, 0x20
ja 0x4a387f
movzx edx, dl
movzx edx, byte [ebp + edx - 0x82]
mov byte [eax], dl
jmp 0x4a388c
movzx edx, dl
movzx edx, byte [ebp + edx - 0xc2]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x4a3868
mov bl, 1
lea esi, [ebp - 0x3e1]
movzx ecx, byte [esi]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.004a34e8
inc ebx
inc esi
cmp bl, 0x41
jne 0x4a389a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a3a7c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
movzx edx, byte [esi]
mov byte [ebp - 0x10], dl
shl edx, 7
and dl, 0xff
movzx eax, byte [esi + 1]
movzx ecx, al
shr ecx, 1
or dl, cl
mov byte [ebp - 0xf], dl
shl eax, 6
and al, 0xff
movzx edx, byte [esi + 2]
movzx ecx, dl
shr ecx, 2
or al, cl
mov byte [ebp - 0xe], al
shl edx, 5
and dl, 0xff
movzx eax, byte [esi + 3]
movzx ecx, al
shr ecx, 3
or dl, cl
mov byte [ebp - 0xd], dl
shl eax, 4
and al, 0xff
movzx edx, byte [esi + 4]
shr edx, 4
or al, dl
mov byte [ebp - 0xc], al
movzx eax, byte [esi + 4]
add eax, eax
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 5]
shr edx, 5
or al, dl
mov byte [ebp - 0xb], al
movzx eax, byte [esi + 5]
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 6]
shr edx, 6
or al, dl
mov byte [ebp - 0xa], al
movzx eax, byte [esi + 6]
add eax, eax
and al, 0xff
mov byte [ebp - 9], al
mov edi, 8
lea eax, [ebp - 0x10]
mov edx, 1
xor esi, esi
mov ecx, edx
movzx ebx, byte [eax]
shl ebx, cl
mov ecx, ebx
xor ecx, esi
and ecx, 1
mov esi, ecx
inc edx
cmp edx, 8
jne 0x4a3b27
movzx edx, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec edi
jne 0x4a3b22
mov eax, dword [ebp - 8]
mov edx, 8
call fcn.00405850
push 1
mov eax, dword [ebp - 8]
call fcn.00405620
mov edx, eax
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004a3718
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a6a04
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4a6a0d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4a6bd3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004a6d60
xor eax, eax
push ebp
push 0x4a6ba4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
je 0x4a6a5d
call fcn.00404b70
jmp 0x4a6bab
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 8
je 0x4a6b32
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x4a6ab2
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x4a6ab2
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004a69ac
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004054c4
mov eax, dword [ebp - 0xc]
push eax
mov edi, dword [ebp - 4]
movzx ecx, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x4a6af1
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004a69ac
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004054c4
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
call fcn.004055c0
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x4a6b8e
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004a69ac
push dword [ebp - 0x24]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
push 0x4a6bec
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004054c4
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004a69d0
jmp 0x4a6b8e
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x4a6b55
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x4a6b55
push ebx
mov edi, dword [ebp - 4]
movzx ecx, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x4a6b6b
mov eax, ebx
call fcn.004055c0
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x4a6b8e
lea eax, [ebp - 0x28]
mov ecx, 0x4a6bec
mov edx, ebx
call fcn.00405448
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.004a69d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6bab
mov eax, dword [ebp - 4]
call fcn.004a6d70
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6bda
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00405154
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00405154
ret

Function at 0x4ab76c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x4ab784
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, eax
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov edi, 1
jmp 0x4ab7a5
inc edi
mov eax, esi
call fcn.004053f0
cmp edi, eax
jg 0x4ab7b7
cmp byte [esi + edi - 1], 0x20
je 0x4ab7a4
mov eax, esi
test eax, eax
je 0x4ab7c2
sub eax, 4
mov eax, dword [eax]
cmp eax, edi
jl 0x4ab882
cmp byte [esi + edi - 1], 0x2e
je 0x4ab8a4
jmp 0x4ab882
cmp byte [esi + edi - 1], 0x2e
jne 0x4ab831
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jg 0x4ab8a4
cmp dword [ebp - 0xc], 0xff
jg 0x4ab8a4
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
cmp dword [ebp - 0x10], 0
je 0x4ab814
mov eax, dword [ebp - 0x10]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp edi, dword [ebp - 0x10]
jl 0x4ab81d
mov bl, 1
jmp 0x4ab82b
movzx eax, byte [esi + edi]
add al, 0xd0
sub al, 0xa
setb bl
xor bl, 1
test bl, bl
jne 0x4ab8a4
jmp 0x4ab881
movzx eax, byte [esi + edi - 1]
add al, 0xd0
sub al, 0xa
jae 0x4ab854
mov eax, dword [ebp - 0xc]
add eax, eax
lea eax, [eax + eax*4]
movzx edx, byte [esi + edi - 1]
add eax, edx
sub eax, 0x30
mov dword [ebp - 0xc], eax
jmp 0x4ab881
inc edi
mov eax, esi
call fcn.004053f0
cmp edi, eax
jg 0x4ab866
cmp byte [esi + edi - 1], 0x20
je 0x4ab853
mov dword [ebp - 0x14], esi
cmp dword [ebp - 0x14], 0
je 0x4ab87a
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp edi, dword [ebp - 0x14]
jle 0x4ab8a4
jmp 0x4ab891
inc edi
mov eax, esi
call fcn.004053f0
cmp edi, eax
jle 0x4ab7da
cmp dword [ebp - 8], 3
jne 0x4ab8a4
cmp dword [ebp - 0xc], 0xff
jg 0x4ab8a4
mov byte [ebp - 1], 1
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4bd274
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe68
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov edx, 0x4bd314
call fcn.00405184
xor eax, eax
push ebp
push 0x4bd2dd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x198]
push eax
push 2
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x4bd2d3
push 0x4bd324
call sub.wsock32.dll_gethostbyname
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.00405328
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bd2e7
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, 0x4bd33c
call fcn.00405558
sete al
mov edx, dword [ebp - 4]
mov byte [edx + 0x448], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1063c058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1063c1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1063c07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1063c06a
add dl, dl
jne 0x1063c089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1063c0dc
xor eax, eax
add dl, dl
jne 0x1063c096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1063c17d
add dl, dl
jne 0x1063c0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1063c0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1063c0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1063c0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1063c0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1063c075
mov eax, 1
add dl, dl
jne 0x1063c0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1063c0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1063c0e1
sub eax, ebx
mov ebx, 1
jne 0x1063c128
mov ecx, 1
add dl, dl
jne 0x1063c10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1063c119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1063c105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1063c075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1063c13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1063c14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1063c136
cmp eax, 0x7d00
jae 0x1063c16d
cmp eax, 0x500
jb 0x1063c168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1063c075
cmp eax, 0x7f
ja 0x1063c170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1063c075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1063c19e
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 0x1063c075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40623b
Capabilities:
Encode data using xor

Disassembly:
mov dword [eax], edi
mov eax, 0x259a3ef3
xor eax, 0x2d1bc86b
mov ecx, 0x840a0bf
or byte [ecx], ch
invalid
push eax
pop ecx
mov edx, 0x29
sub ecx, edx
mov ebx, dword [ecx + 0x29]
push 0x487319a9
mov ecx, 0x77a09161
pop edx
xor ecx, edx
xor ebx, ecx
mov dword [edi], ebx
mov ebx, 0x4aed1808
xor ebx, 0xb512e7f4
sub edi, ebx
mov ebx, 0x3aec13a4
mov ecx, 0xc513ec58
xor ebx, ecx
sub eax, ebx
push 0x55cc8269
mov ebx, 0x2d15574c
pop ecx
xor ebx, ecx
mov edx, 0x165cd5b0
xor ebx, edx
xor ebx, 0x6ec4585c
xor ebx, eax
mov edx, 0x390d94b6
mov ecx, 0x13297feb
xor ecx, edx
mov edx, 0x2a24eb5d
sub ecx, edx
cmp ecx, ebx
jne 0x40624f
mov eax, esp
dec eax
mov edi, dword [eax + 1]
mov eax, 0xfffffffc
sub esp, eax
call edi
ret
Function at 0x414bad
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x4297fc
call fcn.004272c0
sub esp, 0x44
push ebx
push esi
push edi
mov esi, ecx
push 0
call fcn.004137cd
push 1
mov ecx, esi
call fcn.00414124
mov edx, 0x198
lea ecx, [ebp - 0x20]
call fcn.0041007e
mov eax, dword [eax]
lea edi, [esi + 4]
push eax
push 2
push dword [edi]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push dword [ebp - 0x20]
call fcn.004020c6
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
pop ecx
push 2
push dword [edi]
call ebx
push 1
push 1
push 0xf4
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x1bc
push dword [edi]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x1be
push dword [edi]
call ebx
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
lea ecx, [ebp - 0x50]
call fcn.00414d43
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], ebx
call fcn.00414d43
lea eax, [esi + 0x1e4]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x1ac], ebx
lea ebx, [esi + 0x1b4]
push ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
setne byte [ebp - 0xd]
call fcn.00414d74
add ebx, 0x18
lea ecx, [ebp - 0x38]
push ebx
call fcn.00414d74
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
cmp dword [ebp - 0x40], ebx
je 0x414cc7
cmp dword [ebp - 0x4c], ebx
mov byte [esi + 0x203], 1
jne 0x414cbd
push 0x42c1bc
lea ecx, [ebp - 0x50]
call fcn.00402846
push 0x10
push dword [ebp - 0x50]
push dword [ebp - 0x44]
jmp 0x414cf2
cmp byte [ebp - 0xd], 0
jne 0x414d08
cmp dword [ebp - 0x28], ebx
mov byte [esi + 0x203], 1
je 0x414d21
cmp dword [ebp - 0x34], ebx
jne 0x414ceb
push 0x42c1bc
lea ecx, [ebp - 0x38]
call fcn.00402846
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x2c]
mov eax, esi
neg eax
sbb eax, eax
and eax, edi
push dword [eax]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp byte [ebp - 0xd], 0
je 0x414d21
cmp byte [esi + 0x136], 0
jne 0x414d21
mov ecx, esi
mov byte [esi + 0x135], 1
call fcn.00415111
jmp 0x414d2a
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0x50]
call fcn.00413686
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x406004
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x422a1c], esi
push edi
jne 0x40603e
mov ecx, 0x422a18
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x40601a
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x422e18
jl 0x406015
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x406073
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a18]
xor eax, esi
inc ecx
dec edx
jne 0x406056
pop edi
pop esi
not eax
ret 0xc

Function at 0xa4c058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00a4c1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xa4c07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa4c06a
add dl, dl
jne 0xa4c089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa4c0dc
xor eax, eax
add dl, dl
jne 0xa4c096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa4c17d
add dl, dl
jne 0xa4c0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa4c0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa4c0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa4c0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xa4c0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xa4c075
mov eax, 1
add dl, dl
jne 0xa4c0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa4c0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa4c0e1
sub eax, ebx
mov ebx, 1
jne 0xa4c128
mov ecx, 1
add dl, dl
jne 0xa4c10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa4c119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa4c105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa4c075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xa4c13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa4c14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa4c136
cmp eax, 0x7d00
jae 0xa4c16d
cmp eax, 0x500
jb 0xa4c168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa4c075
cmp eax, 0x7f
ja 0xa4c170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa4c075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xa4c19e
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 0xa4c075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x106de058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.106de1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x106de07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x106de06a
add dl, dl
jne 0x106de089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x106de0dc
xor eax, eax
add dl, dl
jne 0x106de096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x106de17d
add dl, dl
jne 0x106de0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x106de0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x106de0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x106de0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x106de0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x106de075
mov eax, 1
add dl, dl
jne 0x106de0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x106de0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x106de0e1
sub eax, ebx
mov ebx, 1
jne 0x106de128
mov ecx, 1
add dl, dl
jne 0x106de10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x106de119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x106de105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x106de075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x106de13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x106de14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x106de136
cmp eax, 0x7d00
jae 0x106de16d
cmp eax, 0x500
jb 0x106de168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x106de075
cmp eax, 0x7f
ja 0x106de170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x106de075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x106de19e
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 0x106de075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x403380
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x6ccc38]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp + 8], 0
je 0x403449
test esi, esi
jne 0x403458
mov eax, dword [fcn.00413cb0]
test eax, eax
je 0x4033d4
cmp eax, fcn.00413cb0
je 0x4033d4
push 0x42
push str.....cryptoinit.c
push 0xc
call eax
add esp, 0xc
jmp 0x4033f1
cmp dword [0x6cc8e4], 0
je 0x4033e7
mov dword [0x6cc8e4], 0
push 0xc
call fcn.005e325a
add esp, 4
mov esi, eax
test esi, esi
je 0x403458
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
test esi, esi
je 0x403458
mov ecx, dword [0x6ccc38]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x403458
mov eax, dword [fcn.00413ef0]
test eax, eax
je 0x40343a
cmp eax, fcn.00413ef0
je 0x40343a
push 0x44
push str.....cryptoinit.c
push esi
call eax
add esp, 0xc
pop edi
xor eax, eax
pop esi
pop ebp
ret
push esi
call fcn.005dcea1
add esp, 4
pop edi
xor eax, eax
pop esi
pop ebp
ret
mov edx, dword [0x6ccc38]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
mov eax, esi
pop esi
pop ebp
ret