joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419610
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11000]
push edi
or ebp, 0xffffffff
jmp 0x419632
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419639
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419628
mov eax, 1
add ebx, ebx
jne 0x41964b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419640
jne 0x41965c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419640
xor ecx, ecx
sub eax, 3
jb 0x419670
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4196e2
mov ebp, eax
add ebx, ebx
jne 0x41967b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419688
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4196ac
inc ecx
add ebx, ebx
jne 0x419698
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41968d
jne 0x4196a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41968d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4196cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4196bd
jmp 0x41962e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4196cc
add edi, ecx
jmp 0x41962e
pop esi
mov edi, esi
mov ecx, 0x5ce
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4196ea
cmp byte [edi], 0
jne 0x4196ea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x4196ef
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x41975e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x191e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1924c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41971c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19250]
or eax, eax
je 0x419758
mov dword [ebx], eax
add ebx, 4
jmp 0x419739
call dword [esi + 0x19254]
popal
jmp 0x40e274

Function at 0x4011a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x404142], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.immortable
push str.Odios
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4011e8
xor eax, eax
jmp 0x401203
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x402370
Capabilities:
Terminate process

Disassembly:
mov ecx, 0x404240
push ecx
jmp fcn.0040237b
Function at 0x401790
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
xor ebx, ebx
test ebp, ebp
je 0x40198a
push esi
mov esi, dword [sym.imp.USER32.dll_GetClipCursor]
push edi
mov edi, dword [sym.imp.USER32.dll_CloseDesktop]
nop
push 0
call edi
push 0
call esi
mov ecx, dword [esp + 0x14]
push 0
xor byte [ebx + ecx], 0xa3
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x5e
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xb2
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xf9
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
xor byte [ebx + eax], 0xfb
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
xor byte [ebx + eax], 9
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x86
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 3
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
xor byte [ebx + eax], 0x27
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x6f
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xd5
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x31
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xd6
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x35
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xbe
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x55
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x6f
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xc2
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
xor byte [ebx + eax], 0x34
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
xor byte [ebx + eax], 0x20
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x40
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 7
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x84
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xf2
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xa7
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x78
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
xor byte [ebx + eax], 0x25
push 0
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
inc byte [ebx + eax]
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
add byte [ebx + eax], 0xa3
inc ebx
cmp ebx, ebp
jb 0x4017b0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x401bc0
Capabilities:
Access peb ldr_data
Create thread
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x455c0c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x10], 0x3fae147b
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
lea esi, [ebp - 4]
mov dword [ebp - 0xc], 0x42830000
sub esi, edi
mov dword [ebp - 8], 0x420228f6
mov eax, esi
mov dword [ebp - 0x18], esi
sar eax, 2
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x401c78
cmp eax, 0x3fffffff
ja 0x401da4
lea esi, [eax*4]
cmp esi, 0x1000
jb 0x401c49
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x401da9
push eax
call fcn.0040273a
add esp, 4
test eax, eax
je 0x401dae
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x401c5c
test esi, esi
je 0x401c5a
push esi
call fcn.0040273a
add esp, 4
mov ebx, eax
jmp 0x401c5c
xor ebx, ebx
push dword [ebp - 0x18]
lea eax, [esi + ebx]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.00403280
mov eax, dword [ebp - 0x1c]
add esp, 0xc
lea edi, [ebx + eax*4]
mov esi, ebx
cmp ebx, edi
je 0x401cad
nop
movss xmm0, dword [esi]
cvtps2pd xmm0, xmm0
call fcn.00407710
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [0x41628c]
jbe 0x401ca6
push 0x416278
call fcn.00401de0
add esp, 4
add esi, 4
cmp esi, edi
jne 0x401c80
mov eax, 0x1a1
cmp eax, 0x24
ja 0x401cb9
call 0x3dcb812f
xor byte [eax], al
add byte [eax], al
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x456658], eax
sub eax, eax
je 0x401cd8
call 0x6c4084e5
add eax, dword [eax]
push 0x36c00
push section..data
call fcn.00401790
push 8
call fcn.0040273a
mov esi, eax
add esp, 0xc
test esi, esi
je 0x401d33
push 4
call fcn.0040273a
add esp, 4
test eax, eax
je 0x401d0d
mov dword [eax], 0x4012f0
jmp 0x401d0f
xor eax, eax
lea edi, [esi + 4]
push edi
push 0
push eax
push 0x401100
push 0
push 0
call fcn.0040767e
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x401db3
jmp 0x401d35
xor esi, esi
cmp dword [esi + 4], 0
je 0x401dc0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [esi + 4], eax
je 0x401dc7
push 0
push dword [esi + 4]
push dword [esi]
call fcn.00401f1c
add esp, 0xc
test eax, eax
jne 0x401dce
mov dword [esi], eax
mov dword [esi + 4], eax
test ebx, ebx
je 0x401d91
mov ecx, dword [ebp - 0x14]
sub ecx, ebx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x401d87
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x401dae
mov ebx, edx
push ecx
push ebx
call fcn.0040276a
add esp, 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402778
mov esp, ebp
pop ebp
ret
call fcn.004015e0
call fcn.004015b0
call fcn.0040574f
push 6
mov dword [edi], 0
call fcn.0040229c
push 1
call fcn.0040229c
push 5
call fcn.0040229c
push 2
call fcn.0040229c
int3
Function at 0x4149c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4149ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4149ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18
Function at 0x402940
Capabilities:
Delete file

Disassembly:
sub esp, 0x1c
call fcn.0040ae80
mov dword [esp], 1
call fcn.0040f110
mov dword [esp], 1
call fcn.0041a680
mov eax, dword [0x491454]
mov dword [esp], eax
call fcn.0043e570
mov eax, dword [0x490048]
mov dword [0x491454], 0
test eax, eax
je 0x40299b
mov eax, dword [0x490060]
mov dword [0x490048], 0
test eax, eax
je 0x40299f
mov dword [esp], eax
call fcn.00450110
add esp, 0x1c
ret
mov eax, dword [0x490064]
test eax, eax
je 0x40299b
cmp byte [eax], 0
je 0x40299b
jmp 0x402993

Function at 0x408a90
Capabilities:
Create directory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov dword [esp + 4], eax
mov eax, dword [0x4913f4]
mov dword [esp + 8], 0
mov dword [esp], eax
call fcn.00446ef0
mov dword [esp], eax
mov ebx, eax
call fcn.00474f00
test eax, eax
je 0x408ae0
mov dword [esp], eax
call fcn.004751d0
mov dword [esp], ebx
call sub.libgcrypt_20.dll_gcry_free
xor eax, eax
add esp, 0x10
pop ebx
pop esi
pop edi
ret
mov dword [esp], str.creating_directory__s_n
call sub.libgpg_error_0.dll__gpg_w32_gettext
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0044da60
mov dword [esp], ebx
call sub.msvcrt.dll__mkdir
test eax, eax
je 0x408ac5
mov esi, dword [sym.imp.msvcrt.dll__errno]
call esi
mov edi, dword [eax]
call esi
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp], str.error_creating_directory__s:__s_n
mov esi, eax
call sub.libgpg_error_0.dll__gpg_w32_gettext
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0044dbb0
mov dword [esp], ebx
call sub.libgcrypt_20.dll_gcry_free
mov dword [esp], edi
call sub.libgpg_error_0.dll_gpg_err_set_errno
mov eax, 0xffffffff
jmp 0x408acf
Function at 0x40af40
Capabilities:
Delete file

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [0x490070]
test ebx, ebx
je 0x40af85
mov eax, dword [ebx]
test eax, eax
je 0x40af6d
lea esi, [esi]
nop
mov esi, dword [eax]
call fcn.00408cd0
mov eax, esi
test esi, esi
jne 0x40af60
mov dword [ebx], 0
mov dword [esp], ebx
call sub.libgcrypt_20.dll_gcry_free
mov dword [0x490070], 0
mov eax, dword [0x4913f4]
mov dword [esp + 8], 0
mov edi, 0x47e3b4
mov dword [esp + 4], str.crls.d
mov dword [esp], eax
call fcn.00446ef0
mov ecx, 3
mov esi, eax
mov ebx, eax
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
je 0x40b120
mov edi, 0x47e3b7
mov ecx, 2
mov esi, ebx
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
je 0x40b120
mov dword [esp], ebx
call fcn.00474f00
mov ebp, eax
test eax, eax
je 0x40b14a
mov dword [esp + 0x1c], 0
mov dword [esp], ebp
call fcn.004750b0
test eax, eax
je 0x40b0a1
add eax, 8
mov edi, 0x47d9aa
mov ecx, 2
mov esi, eax
repe cmpsb byte [esi], byte es:[edi]
seta dl
sbb dl, 0
test dl, dl
je 0x40aff4
mov edi, 0x47d9ac
mov ecx, 3
mov esi, eax
repe cmpsb byte [esi], byte es:[edi]
seta dl
sbb dl, 0
test dl, dl
je 0x40aff4
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00446ef0
mov esi, eax
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__stati64]
test eax, eax
jne 0x40b071
movzx eax, word [esp + 0x26]
and ax, 0xf000
cmp ax, 0x8000
je 0x40b0c4
mov dword [esp], str.not_removing_file__s_n
call sub.libgpg_error_0.dll__gpg_w32_gettext
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0044da60
mov dword [esp], esi
call sub.libgcrypt_20.dll_gcry_free
mov dword [esp], ebp
call fcn.004750b0
test eax, eax
jne 0x40b004
mov dword [esp], ebx
call sub.libgcrypt_20.dll_gcry_free
mov dword [esp], ebp
call fcn.004751d0
mov ebx, dword [esp + 0x1c]
call fcn.0040a6c0
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.removing_cache_file__s_n
call sub.libgpg_error_0.dll__gpg_w32_gettext
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0044da60
mov dword [esp], esi
call fcn.00450110
test eax, eax
je 0x40b089
call dword [sym.imp.msvcrt.dll__errno]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp], str.failed_to_remove__s:__s_n
call fcn.0044dbb0
mov dword [esp + 0x1c], 0xffffffff
jmp 0x40b089
mov dword [esp], str.ignoring_database_dir__s_n
call sub.libgpg_error_0.dll__gpg_w32_gettext
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0044dbb0
mov dword [esp], ebx
mov ebx, 0xffffffff
call sub.libgcrypt_20.dll_gcry_free
jmp 0x40b0b5
call dword [sym.imp.msvcrt.dll__errno]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp], str.error_reading_directory__s:__s_n
mov esi, eax
call sub.libgpg_error_0.dll__gpg_w32_gettext
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [esp + 8], esi
call fcn.0044dbb0
mov dword [esp], ebx
mov ebx, 0xffffffff
call sub.libgcrypt_20.dll_gcry_free
jmp 0x40b0b5
Function at 0x413c60
Capabilities:
Read file via mapping

Disassembly:
push edi
push esi
push ebx
sub esp, 0x50
mov esi, dword [esp + 0x64]
lea eax, [esp + 0x20]
mov ebx, dword [esp + 0x60]
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__fstati64]
test eax, eax
js 0x413d4d
mov eax, 0x7ff
cmp eax, dword [esp + 0x38]
mov eax, 0
sbb eax, dword [esp + 0x3c]
jge 0x413d41
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__get_osfhandle]
cmp eax, 0xffffffff
je 0x413d4d
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
sub esp, 0x18
mov edi, eax
test eax, eax
je 0x413d4d
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
sub esp, 0x14
test eax, eax
je 0x413d4d
mov edx, dword [esp + 0x38]
mov dword [ebx + 4], edi
mov dword [ebx], esi
mov dword [ebx + 8], edx
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0xc], eax
xor eax, eax
add esp, 0x50
pop ebx
pop esi
pop edi
ret
mov dword [esp], 0x86
call sub.libgpg_error_0.dll_gpg_err_set_errno
mov eax, 0xffffffff
jmp 0x413d3a
Function at 0x413e10
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using djb2

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 8]
mov edi, eax
mov dword [esp + 0x24], eax
xor eax, eax
cmp edi, dword [esp + 0x58]
jb 0x413ff7
mov edx, dword [esp + 0x54]
add edx, dword [esp + 0x58]
cmp dword [esp + 0x54], edx
jae 0x414030
mov eax, dword [esp + 0x54]
mov ebx, 0x1505
lea esi, [esi]
nop
mov ecx, ebx
add eax, 1
shl ecx, 5
add ebx, ecx
movzx ecx, byte [eax - 1]
xor ebx, ecx
cmp edx, eax
jne 0x413e50
lea edx, [ebx*8]
and edx, 0x7ff
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0xc]
add edx, eax
mov dword [esp + 0x20], eax
movzx eax, word [edx + 6]
movzx ecx, byte [edx + 5]
movzx esi, byte [edx + 4]
shl eax, 8
or ecx, eax
xor eax, eax
shl ecx, 8
or ecx, esi
je 0x413ff7
movzx esi, word [edx + 2]
movzx eax, byte [edx + 1]
mov edi, dword [esp + 0x24]
movzx edx, byte [edx]
shl esi, 8
or eax, esi
shl eax, 8
or eax, edx
mov edx, edi
shr edx, 3
cmp edx, ecx
jb 0x414000
cmp edi, eax
jb 0x414000
lea ebp, [ecx*8]
sub edi, eax
cmp edi, ebp
jb 0x414000
add eax, dword [esp + 0x20]
xor edx, edx
mov esi, eax
mov dword [esp + 0x18], eax
lea eax, [eax + ebp]
mov dword [esp + 0x1c], eax
mov eax, ebx
shr eax, 8
div ecx
mov eax, dword [esp + 0x24]
lea edi, [eax - 8]
sub eax, dword [esp + 0x58]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], eax
lea esi, [esi + edx*8]
jmp 0x413f25
sub ebp, 8
je 0x414020
add esi, 8
cmp dword [esp + 0x1c], esi
cmovbe esi, dword [esp + 0x18]
movzx eax, word [esi + 6]
movzx edi, byte [esi + 5]
shl eax, 8
or edi, eax
movzx eax, byte [esi + 4]
shl edi, 8
or edi, eax
je 0x414020
movzx edx, word [esi + 2]
movzx eax, byte [esi + 1]
shl edx, 8
or eax, edx
movzx edx, byte [esi]
shl eax, 8
or eax, edx
cmp eax, ebx
jne 0x413f10
cmp dword [esp + 0x28], edi
jb 0x414000
mov eax, dword [esp + 0x20]
lea edx, [eax + edi]
movzx ecx, word [edx + 2]
movzx eax, byte [edx + 1]
shl ecx, 8
or eax, ecx
movzx ecx, byte [edx]
shl eax, 8
or eax, ecx
cmp dword [esp + 0x58], eax
jne 0x413f10
lea eax, [edi + 8]
cmp dword [esp + 0x2c], eax
jb 0x414000
add eax, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x413f10
mov eax, dword [esp + 0x20]
lea edx, [eax + edi + 4]
movzx eax, word [edx + 2]
shl eax, 8
mov ecx, eax
movzx eax, byte [edx + 1]
movzx edx, byte [edx]
or eax, ecx
shl eax, 8
or edx, eax
mov eax, dword [esp + 0x58]
lea ecx, [edi + eax + 8]
mov eax, dword [esp + 0x24]
cmp eax, edx
jb 0x414000
sub eax, edx
cmp eax, ecx
jb 0x414000
mov eax, dword [esp + 0x50]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov eax, 1
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x86
call sub.libgpg_error_0.dll_gpg_err_set_errno
add esp, 0x3c
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x3c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, 0x28
mov ebx, 0x1505
jmp 0x413e71
Function at 0x414040
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using djb2

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
mov dword [ecx], eax
mov edi, dword [eax + 0xc]
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x1c], esi
test ebx, ebx
je 0x414131
add esi, ebx
cmp ebx, esi
jae 0x414152
mov eax, 0x1505
lea esi, [esi]
mov edx, eax
add ebx, 1
shl edx, 5
add eax, edx
movzx edx, byte [ebx - 1]
xor eax, edx
cmp esi, ebx
jne 0x414080
lea edx, [eax*8]
and edx, 0x7ff
add edx, edi
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
movzx ebx, word [edx + 6]
mov dword [esp + 0x18], 0
mov esi, ebx
movzx ebx, byte [edx + 5]
shl esi, 8
or ebx, esi
movzx esi, byte [edx + 4]
shl ebx, 8
or ebx, esi
lea esi, [ebx*8]
mov dword [esp + 0x1c], esi
mov dword [ecx + 0x14], esi
je 0x414125
movzx ebp, word [edx + 2]
movzx esi, byte [edx + 1]
shl ebp, 8
or esi, ebp
movzx ebp, byte [edx]
mov edx, dword [esp + 0x44]
shl esi, 8
mov edx, dword [edx + 8]
or esi, ebp
mov ebp, edx
shr ebp, 3
cmp ebp, ebx
jb 0x414161
cmp edx, esi
jb 0x414161
sub edx, esi
cmp dword [esp + 0x1c], edx
ja 0x414161
mov edx, dword [esp + 0x1c]
add edi, esi
shr eax, 8
mov dword [ecx + 0xc], edi
add edx, edi
mov dword [ecx + 0x10], edx
xor edx, edx
div ebx
lea eax, [edi + edx*8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x18]
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ecx + 4], 0
mov dword [ecx + 0x10], edi
mov dword [ecx + 8], edi
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, 0x28
mov eax, 0x1505
jmp 0x4140a1
mov dword [esp], 0x86
call sub.libgpg_error_0.dll_gpg_err_set_errno
mov dword [esp + 0x18], 0xffffffff
jmp 0x414125
Function at 0x4148b0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov esi, dword [esp + 0x50]
mov edi, dword [esi + 4]
lea eax, [edi + 8]
not eax
cmp eax, dword [esp + 0x58]
jb 0x4149f6
mov eax, dword [esp + 0x58]
lea eax, [edi + eax + 8]
not eax
cmp eax, dword [esp + 0x60]
jb 0x4149f6
mov edx, dword [esp + 0x54]
add edx, dword [esp + 0x58]
cmp dword [esp + 0x54], edx
jae 0x4149e0
mov eax, dword [esp + 0x54]
mov ebx, 0x1505
lea esi, [esi]
mov ecx, ebx
add eax, 1
shl ecx, 5
add ebx, ecx
movzx ecx, byte [eax - 1]
xor ebx, ecx
cmp edx, eax
jne 0x414900
movzx eax, bl
lea edx, [esi + eax*4]
mov ebp, dword [edx + 0x1010]
test ebp, ebp
je 0x414933
mov ecx, dword [ebp + 4]
cmp ecx, 0xfd
jbe 0x4149d0
mov dword [esp], 0x7f8
mov dword [esp + 0x1c], edx
call sub.msvcrt.dll_malloc
test eax, eax
je 0x4149f6
mov edx, dword [esp + 0x1c]
mov dword [eax + 4], 0
xor ecx, ecx
mov dword [eax], ebp
mov dword [edx + 0x1010], eax
mov edx, 1
lea ecx, [eax + ecx*8]
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], edi
mov ecx, 8
mov dword [eax + 4], edx
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x28]
add dword [esi + 8], 1
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x2c], eax
mov eax, esi
call fcn.004137c0
test eax, eax
js 0x4149ef
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov eax, esi
call fcn.004137c0
test eax, eax
js 0x4149ef
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, esi
call fcn.004137c0
sar eax, 0x1f
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [ecx + 1]
mov eax, ebp
jmp 0x414965
mov eax, 5
mov ebx, 0x1505
jmp 0x414917
mov eax, 0xffffffff
jmp 0x4149be
mov dword [esp], 0xc
call sub.libgpg_error_0.dll_gpg_err_set_errno
mov eax, 0xffffffff
jmp 0x4149be
Function at 0x41a600
Capabilities:
Reference google public dns server

Disassembly:
sub esp, 0x1c
mov edx, str.8.8.8.8
mov eax, dword [esp + 0x20]
mov dword [esp + 8], 0x3b
mov dword [esp], 0x490880
test eax, eax
cmove eax, edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_strncpy
mov byte [0x4908bb], 0
mov dword [0x49082c], 1
mov dword [0x490828], 0
add esp, 0x1c
ret