joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10450c28
Capabilities:
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x1053658c
mov eax, dword [ebp + 0x10]
add eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10450ac0
add esp, 0xc
jmp 0x10450b87
mov edx, dword [ebp + 0xc]
add edx, 8
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x10450c17
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1046b530
add esp, 8
push 0
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
call fcn.1046bd50
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x10450bc7
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jge 0x10450be6
mov ecx, dword [ebp + 0x10]
add ecx, 1
neg ecx
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1046b5e0
add esp, 8
jmp 0x10450bbe
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1046b350
add esp, 0xc
mov ecx, dword [ebp + 0x10]
add ecx, 3
neg ecx
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1046bb70
add esp, 8
jmp 0x10450b7e
mov eax, dword [ebp + 0x10]
neg eax
sub eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1046bbe0
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x1045a8e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x14], ecx
push 0x88
call fcn.104b536f
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1045a8c9
push 0x88
mov ecx, dword [ebp - 8]
call fcn.1000a720
mov ecx, dword [ebp - 8]
call fcn.1045a010
mov dword [ebp - 0xc], eax
jmp 0x1045a8d0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.10301480
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x84], edx
push pe_nt_image_headers32
push 0
mov eax, dword [ebp - 4]
add eax, 0x44
push eax
call sub.VCRuNTIme140.dLl_memset
add esp, 0xc
mov ecx, dword [ebp + 0xc]
call fcn.10389550
cmp eax, 0x40
jae 0x1045a927
mov ecx, dword [ebp + 0xc]
call fcn.10389550
mov dword [ebp - 0x10], eax
jmp 0x1045a92e
mov dword [ebp - 0x10], pe_nt_image_headers32
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.10339230
push eax
mov edx, dword [ebp - 4]
add edx, 0x44
push edx
call sub.VCRuNTIme140.dLl_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x14]
add eax, 0x34
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.1037a9f0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10468568
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x105f36ac]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x105f3670]
cmp eax, dword [edx + 8]
jle 0x1046856f
push 0x105f3670
call fcn.104b541b
add esp, 4
cmp dword [0x105f3670], 0xffffffff
jne 0x1046856f
push str.RandomInt
push 0x1053c7d8
call dword [sym.imp.KErneL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KErneL32.DLL_GetProcAddress]
mov dword [0x105f366c], eax
push 0x105f3670
call fcn.104b53ca
add esp, 4
mov ecx, dword [0x105f366c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 4]
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x104687ca
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x105e0c00]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
call fcn.10007eb0
sub esp, 0xc
mov eax, esp
mov ecx, dword [ebp + 0x18]
mov dword [eax], ecx
mov edx, dword [ebp + 0x1c]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 0x20]
mov dword [eax + 8], ecx
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp + 0xc]
call fcn.10008020
movss xmm0, dword [ebp - 0x10]
mulss xmm0, dword [ebp - 0x10]
movss xmm1, dword [ebp - 0xc]
mulss xmm1, dword [ebp - 0xc]
addss xmm0, xmm1
push ecx
movss dword [esp], xmm0
call fcn.1000ad40
add esp, 4
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 8]
divss xmm0, dword [ebp - 0x14]
push ecx
movss dword [esp], xmm0
call fcn.1045eb50
add esp, 4
fstp dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x18]
mulss xmm0, dword [0x1053b0cc]
mov eax, dword [ebp + 8]
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0xc]
divss xmm0, dword [ebp - 0x10]
push ecx
movss dword [esp], xmm0
call fcn.1045eb50
add esp, 4
fstp dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x1c]
mulss xmm0, dword [0x1053b0cc]
mov ecx, dword [ebp + 8]
movss dword [ecx + 4], xmm0
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
movss dword [edx + 8], xmm0
cvtss2sd xmm0, dword [ebp - 0x10]
comisd xmm0, xmmword [0x10515ad8]
jb 0x104687b4
mov eax, dword [ebp + 8]
movss xmm0, dword [eax + 4]
addss xmm0, dword [0x104e64ac]
mov ecx, dword [ebp + 8]
movss dword [ecx + 4], xmm0
push 0
mov ecx, dword [ebp + 8]
call fcn.10398e50
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.104b547f
mov esp, ebp
pop ebp
ret
Function at 0x10469648
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, dword [esp + 8]
mov ecx, esi
push edi
mov edx, dword [esi + 0x1c]
mov edi, dword [esi + 8]
call fcn.1047e280
push edi
call fcn.1047bcb0
push edi
call fcn.10481090
push edi
call fcn.10480000
mov eax, dword [edi + 4]
push 0
lea eax, [eax*4 + 4]
sub dword [edi + 0x14], eax
push eax
push dword [edi]
mov eax, dword [edi + 0xc]
push dword [edi + 0x10]
call eax
mov eax, dword [edi + 0x54]
sub dword [edi + 0x14], eax
push 0
push eax
push dword [edi + 0x4c]
mov eax, dword [edi + 0xc]
push dword [edi + 0x10]
call eax
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x1c]
shl ecx, 3
sub dword [edi + 0x14], ecx
push 0
push ecx
push eax
push dword [edi + 0x10]
mov eax, dword [edi + 0xc]
call eax
mov edx, dword [edi + 0xc]
add esp, 0x3c
mov ecx, dword [edi + 0x10]
cmp edx, 0x10484090
jne 0x104696b7
pop edi
pop esi
mov dword [esp + 4], ecx
jmp 0x10483ff0
push 0
push 0xff8
lea eax, [edi - 0x30]
push eax
push ecx
call edx
add esp, 0x10
pop edi
pop esi
ret
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x24]
add ebx, 0x1a8
je 0x1048407e
push ebp
mov ebp, dword [sym.imp.KErneL32.DLL_VirtualFree]
push esi
push edi
nop dword [eax]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
mov ebx, dword [ebx + 8]
call dword [sym.imp.KErneL32.DLL_GetLastError]
mov dword [esp + 0x30], eax
test edi, edi
je 0x10484070
push 0x1c
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KErneL32.DLL_VirtualQuery]
test eax, eax
je 0x10484077
cmp dword [esp + 0x10], esi
jne 0x10484077
cmp dword [esp + 0x14], esi
jne 0x10484077
cmp dword [esp + 0x20], 0x1000
jne 0x10484077
cmp dword [esp + 0x1c], edi
ja 0x10484077
push 0x8000
push 0
push esi
call ebp
test eax, eax
je 0x10484077
add esi, dword [esp + 0x1c]
sub edi, dword [esp + 0x1c]
jne 0x10484026
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KErneL32.DLL_SetLastError]
test ebx, ebx
jne 0x10484010
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x1046d920
Capabilities:
Read file on windows

Disassembly:
lea eax, [esp + 0xc]
push eax
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.103fd4d0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call sub.aPi_MS_WiN_cRT_stdIO_L1_1_0.dlL___stdio_common_vfwscanf
add esp, 0x18
ret
Function at 0x10479b18
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push ebp
call fcn.10480270
push 1
push 0
push ebp
mov ebx, eax
call fcn.1047d4f0
mov dword [ebx + 0x18], eax
mov edx, dword [ebp + 0x14]
push 1
push 0
push ebp
lea ecx, [edx + 8]
mov dword [ebp + 0x14], ecx
mov dword [edx], eax
mov dword [edx + 4], 0xfffffff4
call fcn.1047d4f0
mov edx, dword [ebp + 0x14]
mov edi, eax
push 1
push 0x1055d0d8
push ebp
lea ecx, [edx + 8]
mov dword [ebp + 0x14], ecx
mov dword [edx], edi
mov dword [edx + 4], 0xfffffff4
mov dword [edi + 0x10], edi
call fcn.1047c670
push 6
push str.__mode
push ebp
mov esi, eax
call fcn.1047c670
push eax
push edi
push ebp
call fcn.1047da10
add esp, 0x40
mov dword [eax], esi
push 0x1055ceb8
push 0x1055cf00
mov dword [eax + 4], 0xfffffffb
push 0
mov byte [edi + 6], 0xf7
push ebp
mov dword [ebx + 0x14], edi
call fcn.1048fef0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
push 0x1055cf94
push 0x1055cfa0
mov eax, dword [eax - 8]
push 0
push ebp
mov dword [ecx + 0x164], eax
call fcn.1048fef0
push 0x1055cfbc
push 0x1055cfc4
push 0
push ebp
call fcn.1048fef0
mov eax, dword [ebp + 0x14]
mov esi, dword [eax - 8]
mov eax, dword [ebx + 0x10]
add eax, 0x70
push eax
push dword [ebx + 0x18]
push ebp
call fcn.1047da10
mov dword [eax], esi
mov dword [eax + 4], 0xfffffff4
add dword [ebp + 0x14], 0xfffffff8
mov eax, dword [ebp + 0x14]
push dword [eax - 8]
push ebp
call fcn.10497370
add esp, 0x44
push 7
push str.Windows
push ebp
call fcn.1046b470
push 3
push 0x1055ce84
push ebp
call fcn.1046b470
push 0x1055cfe0
push 0x1055d020
push 0
push ebp
call fcn.1048fef0
push 7
push str._LOADED
push ebp
call fcn.1047c670
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x88]
call fcn.1047d4c0
add esp, 0x3c
test eax, eax
je 0x10479bd3
cmp dword [eax + 4], 0xfffffff4
jne 0x10479bd3
mov edi, dword [eax]
mov esi, dword [ebp + 0x14]
push 3
push 0x10513d88
push ebp
call fcn.1047c670
push eax
push edi
push ebp
call fcn.1047da10
mov ecx, dword [esi - 8]
add esp, 0x18
mov dword [eax], ecx
mov ecx, dword [esi - 4]
mov dword [eax + 4], ecx
mov al, byte [edi + 4]
test al, 4
je 0x10479bd3
mov ecx, dword [ebp + 8]
and al, 0xfb
mov byte [edi + 4], al
mov eax, dword [ecx + 0x30]
mov dword [edi + 0xc], eax
mov dword [ecx + 0x30], edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x104961f8
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, dword [esp + 0x1c]
push edi
mov eax, dword [esi + 8]
mov edi, dword [eax + 0xe0]
lea eax, [esp + 0xc]
push eax
push edi
push esi
mov dword [edi + 0xc], esi
call fcn.10495570
mov ebx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
je 0x10496219
push ebx
lea eax, [esp + 0x10]
push eax
push edi
push esi
call fcn.10495810
add esp, 0x10
test eax, eax
jne 0x104961f5
push ebx
lea eax, [esp + 0x10]
push eax
push edi
push esi
call fcn.10495c20
add esp, 0x10
test eax, eax
je 0x10496219
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 8]
pop edi
pop esi
mov eax, dword [ecx - 8]
mov dword [edx + 0x98], eax
mov eax, dword [ecx - 4]
mov dword [edx + 0x9c], eax
mov eax, 1
pop ebx
add esp, 0x10
ret
push ebx
lea eax, [esp + 0x10]
push eax
push edi
push esi
call fcn.10495ef0
add esp, 0x10
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x104995d8
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x8ec], 0x20
mov dword [esi + 0x8f4], eax
je 0x10499608
lea eax, [esp + 8]
push eax
push 0x20
push dword [esi + 0x8fc]
push dword [esi + 0x8f0]
call dword [sym.imp.KErneL32.DLL_VirtualProtect]
test eax, eax
jne 0x104995fe
push esi
call fcn.10499910
add esp, 4
mov dword [esi + 0x8ec], 0x20
pop esi
ret
Function at 0x1049ab68
Capabilities:
Parse credit card information

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
mov edx, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
push ebx
mov ebx, dword [esp + 0x14]
push ebp
movzx ebp, word [eax + edx*8 + 6]
push esi
mov esi, dword [esp + 0x30]
push edi
lea edi, [eax + edx*8]
cmp edx, 0x8000
jae 0x1049ab60
mov al, byte [edi + 5]
cmp al, 0x1b
je 0x1049ab59
cmp al, 0x1c
je 0x1049ab59
cmp esi, 8
jne 0x1049ab52
mov eax, dword [edi]
lea edx, [esp + 0x10]
mov ecx, dword [esp + 0x30]
pop edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov eax, dword [edx]
pop esi
mov dword [ecx], eax
mov eax, dword [edx + 4]
pop ebp
mov dword [ecx + 4], eax
pop ebx
add esp, 8
ret
mov edx, edi
jmp 0x1049ac2e
mov edx, dword [edi]
jmp 0x1049ac2e
mov ecx, edx
mov eax, 1
and ecx, 0x1f
shl eax, cl
test dword [esp + 0x28], eax
je 0x1049ab87
push ebp
mov ebp, dword [esp + 0x20]
push edx
push dword [esp + 0x2c]
push ebp
call fcn.1049a9f0
add esp, 0x10
jmp 0x1049ab8f
movzx eax, word [edi + 6]
mov ebp, dword [esp + 0x1c]
mov ecx, eax
shr ecx, 8
test ecx, ecx
je 0x1049abe5
lea edx, [ebx + 0x60]
lea edx, [edx + ecx*4]
cmp esi, 8
jne 0x1049ac2e
movzx ecx, byte [edi + 4]
mov eax, 0x604000
and ecx, 0x1f
shr eax, cl
test al, 1
jne 0x1049ac48
mov eax, dword [edx]
lea edx, [esp + 0x10]
mov ecx, dword [esp + 0x30]
pop edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov eax, dword [edx]
pop esi
mov dword [ecx], eax
mov eax, dword [edx + 4]
pop ebp
mov dword [ecx + 4], eax
pop ebx
add esp, 8
ret
movzx eax, al
test al, al
jns 0x1049ac1d
mov esi, dword [esp + 0x30]
movzx eax, word [edi]
push 4
push esi
push eax
push dword [esp + 0x34]
push dword [esp + 0x34]
push ebx
push ebp
call fcn.1049aaf0
movd xmm0, dword [esi]
add esp, 0x1c
cvtdq2pd xmm0, xmm0
pop edi
movsd qword [esi], xmm0
pop esi
pop ebp
pop ebx
add esp, 8
ret
lea edx, [ebx + 0x40]
lea edx, [edx + eax*4]
cmp eax, 8
jb 0x1049ac2e
lea edx, [ebx - 0x40]
lea edx, [edx + eax*8]
cmp esi, 4
jne 0x1049ac43
mov eax, dword [esp + 0x30]
mov ecx, dword [edx]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 8
ret
cmp esi, 8
jne 0x1049ac5e
mov ecx, dword [esp + 0x30]
mov eax, dword [edx]
pop edi
pop esi
mov dword [ecx], eax
mov eax, dword [edx + 4]
pop ebp
mov dword [ecx + 4], eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x30]
cmp esi, 1
jne 0x1049ac73
mov cl, byte [edx]
pop edi
pop esi
pop ebp
mov byte [eax], cl
pop ebx
add esp, 8
ret
mov cx, word [edx]
pop edi
pop esi
pop ebp
mov word [eax], cx
pop ebx
add esp, 8
ret
Function at 0x104ad9f8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
movzx edi, word [eax + 2]
movzx ecx, word [esi + 2]
cmp eax, esi
je 0x104adb0c
mov edx, dword [esp + 0x1c]
mov edx, dword [edx + 0x10]
cmp byte [edx + edi*8 + 5], 0x1d
lea ebx, [edx + edi*8]
mov dword [esp + 0x10], edx
jne 0x104ad9ca
movzx edi, word [ebx]
lea ebx, [edx + edi*8]
cmp byte [edx + ecx*8 + 5], 0x1d
lea ebp, [edx + ecx*8]
jne 0x104ad9db
movzx ecx, word [ebp]
lea ebp, [edx + ecx*8]
mov dl, byte [eax + 5]
mov byte [esp + 0x20], dl
cmp dl, 0x39
mov edx, dword [esp + 0x10]
je 0x104ad9f7
cmp byte [esp + 0x20], 0x38
je 0x104ad9f7
movzx eax, word [eax]
jmp 0x104ad9fe
movzx eax, word [eax]
movzx eax, word [edx + eax*8]
mov dl, byte [esi + 5]
movzx eax, ax
cmp dl, 0x39
mov byte [esp + 0x24], dl
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
je 0x104ada21
cmp byte [esp + 0x24], 0x38
je 0x104ada21
movzx esi, word [esi]
jmp 0x104ada2c
movzx eax, word [esi]
movzx esi, word [edx + eax*8]
mov eax, dword [esp + 0x14]
movzx esi, si
cmp edi, ecx
jne 0x104ada51
cmp eax, esi
je 0x104adb0c
push esi
push eax
push dword [esp + 0x24]
call fcn.104adbe0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp edi, 0x8000
jae 0x104ada65
cmp ecx, 0x8000
jb 0x104adae9
cmp byte [esp + 0x20], 0x38
jne 0x104adadf
xor eax, eax
mov dword [esp + 0x20], edi
cmp byte [ebx + 5], 0x28
mov dword [esp + 0x24], 0x8000
jne 0x104adaab
movzx edx, word [ebx + 2]
cmp dx, word [esp + 0x24]
mov edx, dword [esp + 0x10]
jae 0x104adaab
movzx eax, word [ebx]
mov dword [esp + 0x20], eax
movzx eax, word [ebx + 2]
mov ebx, dword [edx + eax*8]
cmp dword [esp + 0x20], ecx
jne 0x104adaa7
test ebx, ebx
jne 0x104adae9
xor eax, eax
jmp 0x104adaad
xor ebx, ebx
cmp byte [ebp + 5], 0x28
jne 0x104adad5
movzx edx, word [ebp + 2]
cmp dx, word [esp + 0x24]
mov edx, dword [esp + 0x10]
jae 0x104adad5
movzx eax, word [ebp + 2]
movzx ecx, word [ebp]
mov eax, dword [edx + eax*8]
cmp edi, ecx
jne 0x104adad5
test eax, eax
jne 0x104adae9
cmp dword [esp + 0x20], ecx
jne 0x104adaf3
cmp ebx, eax
jmp 0x104adae7
mov al, byte [ebp + 4]
xor al, byte [ebx + 4]
test al, 0x1f
je 0x104adaf3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x14]
cmp eax, esi
jne 0x104ada3b
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 8
ret
Function at 0x104b1208
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ebp
mov ebp, edx
push esi
mov esi, ecx
push edi
mov eax, dword [ebp]
mov edi, dword [esi - 0xa0]
mov eax, dword [eax]
movzx eax, word [eax + 6]
push eax
push edi
call fcn.104805c0
mov ebx, eax
add esp, 8
mov edx, dword [ebx]
mov ecx, edx
and ecx, 0xf0000000
cmp ecx, 0x50000000
jne 0x104b11af
movzx ebx, dx
shl ebx, 4
add ebx, dword [edi]
mov edx, dword [ebx]
mov eax, edx
and eax, 0xf4000000
cmp edx, 0x10000000
jb 0x104b11d3
cmp eax, 0x34000000
je 0x104b11d3
mov eax, dword [esi + 0x5c]
pop edi
pop esi
pop ebp
mov dword [eax], 0x7fff
pop ebx
ret
test eax, eax
jne 0x104b11f1
cmp dword [ebx + 4], 4
ja 0x104b11f1
jne 0x104b11e7
test edx, 0x800000
jne 0x104b11f1
mov ecx, dword [edi]
add ecx, 0x90
jmp 0x104b11f9
mov ecx, dword [edi]
add ecx, 0xe0
push dword [ebp]
mov eax, dword [esi + 0x5c]
push dword [eax]
push 0
push ecx
push esi
call fcn.104b4990
mov ecx, dword [esi + 0x5c]
add esp, 0x14
pop edi
pop esi
pop ebp
mov dword [ecx], eax
pop ebx
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x430a67ba
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430aa9f0]
jne 0x430a67c4
repz ret
jmp fcn.430a7df9
Function at 0x412082
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x418680], 0
push ebx
push esi
mov esi, 0x418688
jne 0x4120ae
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x4186a0], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x418680], 1
push dword [0x4186a0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x41214b
push 0x14
push 8
push dword [0x418010]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x412175
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x418684]
test eax, eax
je 0x4120f0
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x418684], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x41217a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x4186a0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418010]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x412175
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x7f27b0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.007f27c0

Function at 0x7f2a40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.007f2a50

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx