joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e600
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
cmp dword [esp + 0xc], 0x1f
mov eax, dword [esp + 8]
push ebx
mov eax, dword [eax]
mov dword [esp + 4], eax
mov ebx, dword [eax + 0x114]
jne 0x43e74b
push ebp
push edi
lea ebp, [ebx + 0x1cb0]
lea edi, [ebx + 0x1eb0]
mov dword [edi], ebp
cmp ebp, edi
jae 0x43e637
mov byte [ebp], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x43e642
mov byte [eax], 0xfa
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x43e64d
mov byte [eax], 0x1f
inc dword [edi]
movzx eax, word [ebx + 0x1ca8]
push esi
mov esi, dword [sym.imp.WS2_32.dll_htons]
push eax
call esi
movzx eax, ax
mov dword [esp + 0x1c], eax
movzx eax, word [ebx + 0x1caa]
push eax
call esi
mov ecx, dword [esp + 0x1c]
movzx edx, ax
mov eax, dword [edi]
cmp eax, edi
jae 0x43e680
mov byte [eax], cl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x43e68a
mov byte [eax], ch
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x43e694
mov byte [eax], dl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x43e69e
mov byte [eax], dh
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x43e6a9
mov byte [eax], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x43e6b4
mov byte [eax], 0xf0
inc dword [edi]
mov eax, dword [edi]
mov esi, dword [esp + 0x10]
mov dword [ebx + 0x1eb4], eax
sub eax, ebp
sub eax, 2
mov dword [edi], ebp
push eax
lea eax, [ebx + 0x1cb2]
push eax
push 0x3e
push esi
call fcn.0043ded0
mov edi, dword [esp + 0x28]
add esp, 0x10
push 0
push 3
push ebp
push dword [edi + 0x190]
call dword [sym.imp.WS2_32.dll_send]
mov ebp, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jns 0x43e70a
call ebp
push eax
push str.Sending_data_failed___d_
push esi
call fcn.004218a0
add esp, 0xc
push 4
lea eax, [ebx + 0x1cb3]
push eax
push edi
call fcn.0043e540
add esp, 0xc
lea eax, [ebx + 0x1cb7]
push 0
push 2
push eax
push dword [edi + 0x190]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x43e748
call ebp
push eax
push str.Sending_data_failed___d_
push esi
call fcn.004218a0
add esp, 0xc
pop esi
pop edi
pop ebp
pop ebx
pop ecx
ret
Function at 0x43f680
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x88
mov eax, dword [0x495010]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
mov ebp, dword [esp + 0x94]
lea eax, [esp + 8]
push esi
push edi
push eax
mov esi, dword [ebp + 0x5e8]
lea eax, [esp + 0x18]
mov edi, dword [ebp]
push eax
mov dword [esp + 0x18], 0x80
mov eax, dword [esi + 0x154]
push 0
add eax, 4
push eax
push dword [esi + 0x15c]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [esi + 0x148], 0
mov dword [esi + 0x14c], eax
jne 0x43f706
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
lea eax, [esi + 0xc8]
push eax
call fcn.0044db60
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [esi + 0x148], eax
mov ebx, dword [esi + 0x14c]
cmp ebx, 4
jge 0x43f741
push str.Received_too_short_packet
push edi
call fcn.004218a0
add esp, 8
mov dword [esi + 0xc], 7
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00410d89
add esp, 0x88
ret
mov ecx, dword [esi + 0x15c]
movzx eax, byte [ecx]
shl ax, 8
movzx edx, ax
movzx eax, byte [ecx + 1]
or edx, eax
mov dword [esi + 0xc], edx
add edx, 0xfffffffd
cmp edx, 3
ja case.default.0x43f766
jmp dword [edx*4 + 0x43f85c]
cmp ebx, 4
jle case.0x43f766.4
movzx eax, byte [ecx + 2]
shl ax, 8
movzx edx, ax
movzx eax, byte [ecx + 3]
or edx, eax
movzx eax, word [esi + 0x40]
inc eax
movzx eax, ax
cmp eax, edx
jne case.0x43f766.4
lea eax, [ebx - 4]
push eax
lea eax, [ecx + 4]
push eax
push 1
push ebp
call fcn.00421780
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x43f7c2
push 5
push esi
call fcn.0043ffc0
add esp, 8
mov eax, ebx
jmp 0x43f728
mov eax, dword [esi + 0x14c]
sub eax, 4
cdq
add dword [edi + 0x70], eax
adc dword [edi + 0x74], edx
push dword [edi + 0x74]
push dword [edi + 0x70]
push edi
call fcn.0042a800
jmp 0x43f831
mov edx, ecx
movzx eax, byte [edx + 2]
shl ax, 8
movzx ecx, ax
movzx eax, byte [edx + 3]
or ecx, eax
lea eax, [edx + 4]
push eax
push 0x47b4c0
push edi
mov dword [esi + 8], ecx
call fcn.00421980
jmp 0x43f831
lea eax, [ebx - 2]
push eax
lea eax, [ecx + 2]
push eax
push esi
call fcn.0043f410
add esp, 0xc
test eax, eax
je case.0x43f766.4
jmp 0x43f728
push str.Internal_error:_Unexpected_packet
push 0x47c1cc
push edi
call fcn.004218a0
add esp, 0xc
push ebp
call fcn.0042ab70
add esp, 4
test eax, eax
je 0x43f726
push 5
push esi
call fcn.0043ffc0
add esp, 8
mov eax, 0x2a
jmp 0x43f728
Function at 0x4419a0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x495010]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.00460821
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x441a05
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x441a05
lea eax, [esp]
push eax
call dword [0x495050]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00410d89
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor eax, eax
xor ecx, esp
call fcn.00410d89
add esp, 0x108
ret
Function at 0x4450c0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov eax, dword [esi]
cmp dword [eax + 4], 3
jne 0x4450eb
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x4450da
pop edi
xor eax, eax
pop esi
ret
push dword [eax + 8]
push dword [esp + 0x18]
push 1
push dword [esp + 0x1c]
call ecx
jmp 0x445120
cmp dword [esi + 8], 0
jne 0x44510e
push 0x47b738
push dword [eax + 8]
call fcn.00453fe0
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x44510e
pop edi
or eax, 0xffffffff
pop esi
ret
push dword [esi + 8]
push dword [esp + 0x18]
push 1
push dword [esp + 0x1c]
call fcn.0045e6ca
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x445142
mov eax, dword [esi + 8]
test eax, eax
je 0x44513c
push eax
call fcn.0045406e
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
ret

Function at 0x448820
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
mov esi, ebx
push edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x448830
sub esi, ecx
lea ebp, [esi + esi]
push ebp
call dword [0x495044]
mov edi, eax
add esp, 4
test edi, edi
jne 0x448857
lea eax, [edi + 0x1b]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
xor ecx, ecx
test esi, esi
je 0x448870
nop dword [eax]
mov al, byte [ecx + ebx]
mov byte [edi + ecx*2], al
mov byte [edi + ecx*2 + 1], 0
inc ecx
cmp ecx, esi
jb 0x448860
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov esi, dword [esp + 0x28]
test eax, eax
je 0x4488ea
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x8002
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4488de
push 0
push ebp
push edi
push dword [esp + 0x1c]
mov dword [esp + 0x28], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
lea eax, [esp + 0x1c]
push eax
push esi
push 2
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi + 0x10], 0
push edi
mov byte [esi + 0x14], 0
call dword [0x495048]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x448910
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
sub esp, 0x24
mov eax, dword [0x495010]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov esi, dword [esp + 0x30]
lea eax, [esp + 4]
push edi
mov edi, dword [esp + 0x38]
push 0xf0000000
push 1
push 0
push 0
push eax
mov dword [esp + 0x20], 8
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x4489b4
lea eax, [esp + 0x20]
mov dword [esp + 0x24], 0
push eax
xorps xmm0, xmm0
movups xmmword [esp + 0x18], xmm0
push edi
mov word [esp + 0x1c], 0x208
mov dword [esp + 0x20], 0x6601
mov dword [esp + 0x24], 8
call fcn.00448a20
lea eax, [esp + 0x28]
push 8
push eax
call fcn.0044bcd0
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x14
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x4489c7
push eax
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00410d89
add esp, 0x24
ret
mov ecx, dword [esp + 0x30]
push dword [esp + 0xc]
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
lea eax, [esp + 0x10]
push eax
push esi
push 0
push 0
push 0
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [esp + 0x28]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.00410d89
add esp, 0x24
ret
Function at 0x44d3c0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x495044]
mov edi, eax
add esp, 4
test edi, edi
jne 0x44d3e7
pop edi
pop esi
pop ecx
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [esp + 0x1c]
mov dword [edi + 8], eax
push ebp
cmp ebx, dword [esi + 0x10]
jbe 0x44d42f
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [esp + 0x24]
push dword [edi + 4]
call eax
mov ebp, dword [edi + 8]
push dword [edi + 4]
add ebp, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ebp
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [esp + 0x20], ebx
jmp 0x44d433
mov ebp, dword [esp + 0x1c]
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [esp + 0x28]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x44d495
mov dword [esp + 0x10], eax
mov ebx, eax
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x18], al
lea eax, [esp + 0x18]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x24], al
lea eax, [esp + 0x24]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub ebx, 1
jne 0x44d454
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0x10]
jae 0x44d4c7
nop word [eax + eax]
mov eax, dword [esi + 4]
push 1
push 0x48594e
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x48594f
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x44d4a0
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x465b0d
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00465660

Function at 0x46cd01
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046cb77
Function at 0x404f86
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x460f33
call fcn.004571ec
push ecx
push ecx
mov al, byte [ebp - 0xd]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], esi
mov byte [esi + 0xc], al
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov al, byte [ebp - 0xd]
mov dword [ebp - 4], ebx
mov byte [esi + 0x1c], al
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov al, byte [ebp - 0xd]
mov dword [esi + 0x30], ebx
mov byte [esi + 0x2c], al
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x3c]
push ebx
mov byte [ebp - 4], 2
mov byte [ecx], al
call fcn.004053c0
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x4c]
push ebx
mov byte [ebp - 4], 3
mov byte [ecx], al
call fcn.004053c0
lea ecx, [esi + 0x70]
lea eax, [ebp - 0xd]
push ebx
mov byte [esi + 0x5c], bl
mov byte [esi + 0x5d], 1
push eax
mov byte [ebp - 4], 4
mov dword [ecx], 0x469494
mov dword [ecx + 0x20], 0x46948c
call fcn.00404ab9
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x469514
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41e605
Capabilities:
Create thread

Disassembly:
mov eax, 0x4635e8
call fcn.004571ec
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x14], edi
lea ebx, [esi + 0x14]
jne 0x41e6a2
push 0x47e0f8
push edi
push edi
push edi
mov dword [ebp - 0x18], edi
call dword [0x469160]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], eax
lea eax, [esi + 0x10]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x18]
push edi
push eax
push 0x41e4f0
push edi
push edi
call fcn.0045820f
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xc]
add esp, 0x18
cmp eax, dword [ebp - 0x14]
je 0x41e668
cmp eax, edi
je 0x41e662
push eax
call dword [0x46916c]
mov dword [esi + 0xc], edi
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xc], eax
push 0x7530
push dword [ebp - 0x10]
call dword [0x4690a0]
push ebx
push 0x46bbe8
push dword [ebp - 0x18]
call dword [0x469464]
mov eax, dword [ebx]
push dword [esi + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], edi
je 0x41e6a2
push dword [ebp - 0x10]
call dword [0x46916c]
mov ebx, dword [ebx]
push dword [ebp + 8]
mov eax, dword [ebx]
push 0x46bbe8
push ebx
call dword [eax]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x43022b
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x4652f8
call fcn.004571ec
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x46a918
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x14], ebx
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x1c]
mov dword [esi + 0x18], ebx
mov byte [ebp - 4], 1
mov byte [ecx], al
mov al, byte [ebp - 0xd]
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.00430367
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.0040487b
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 3
call fcn.0040487b
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x84], bl
mov dword [esi], 0x46a780
mov dword [esi + 4], 0x46a770
mov dword [esi + 8], 0x46a758
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x45250a
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x41dea0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15000]
push edi
or ebp, 0xffffffff
jmp 0x41dec2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41dec9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41deb8
mov eax, 1
add ebx, ebx
jne 0x41dedb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ded0
jne 0x41deec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ded0
xor ecx, ecx
sub eax, 3
jb 0x41df00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41df72
mov ebp, eax
add ebx, ebx
jne 0x41df0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41df18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41df3c
inc ecx
add ebx, ebx
jne 0x41df28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41df1d
jne 0x41df39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41df1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41df5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41df4d
jmp 0x41debe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41df5c
add edi, ecx
jmp 0x41debe
pop esi
mov edi, esi
mov ecx, 0x486
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41df7a
cmp byte [edi], 6
jne 0x41df7a
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 0x41df7f
lea edi, [esi + 0x1b000]
mov eax, dword [edi]
or eax, eax
je 0x41dfee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e068]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e0b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41dfac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1e0bc]
or eax, eax
je 0x41dfe8
mov dword [ebx], eax
add ebx, 4
jmp 0x41dfc9
call dword [esi + 0x1e0c0]
popal
jmp 0x4010fc

Function at 0x1b4d4f4
Capabilities:
Encode data using xor

Disassembly:
add bl, ch
or byte [eax], al
pop edx
jne 0x1b4d4fa
jmp 0x1b4d4fe
add byte [eax], al
add byte [eax], al
pushal
call 0x1b4d504
pop ebp
sub ebp, 0x10
sub ebp, 0x174d4f4
jmp 0x1b4d51a
mov eax, 0x174d4f4
add eax, ebp
add eax, 0x4c
mov ecx, 0x5d0
mov edx, 0x3bb1191
xor byte [eax], dl
inc eax
dec ecx
jne 0x1b4d531
jmp 0x1b4d544
sbb bl, byte [edx + ebx + 0x18]
lodsd eax, dword [esi]
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
adc byte [eax + 0x69], dl
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
xchg edx, eax
pop esp
sub dword [ecx + 0x2b919191], ebx
mov ecx, 0x66919191
jae 0x1b4d4f3
pop ecx
sbb dl, byte [eax]
popfd
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
xchg edx, eax
push esp
rcr dword [esi*8 - 0x6ae7924b], 0xb5
stc
int1
or ecx, dword [ebx - 0x54fd066f]
retf
Function at 0x59802618
Capabilities:
Get file size
Read file on windows

Disassembly:
push cs
or dl, byte [ebp + ecx*2 + 0x66]
push ebx
insd dword es:[di], dx
outsb dx, byte gs:[esi]
je 0x59802639
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add ah, dl
sahf
test dword [ecx + 0xc], ebx
add byte [eax], al
add byte [eax], bh
sbb byte es:[ecx + 0xe], 9
push esp
dec ebp
push ax

Function at 0x59802638
Capabilities:
Get file size
Read file on windows

Disassembly:
push cs
or dword [ebp + ecx*2 + 0x66], edx
push eax
jne 0x598026a2
insb byte es:[edi], dx
imul esp, dword [ebx + 0xc], 0x1000000
add byte [eax], al
add ah, dl
sahf
test dword [ecx + 4], ebx
add byte [eax], al
add byte [eax + sym.madExcept_.bpl___xp_23Madmapfile__TMapFile__1], dl
xor al, 0x26
sbb byte [ecx + 0xa], 0x6d
popal

Function at 0x59802658
Capabilities:
Get file size
Read file on windows

Disassembly:
adc dword [edx + edi], ecx
push esp
dec ebp
popal
jo 0x598026a6
imul ebp, dword [ebp + 0x2e], 0x14313a
add byte [eax], al
adc al, 0x26
sbb byte [ecx - 1], 0xff
invalid
or ch, byte [ebp + 0x61]
dec ebp
popal
jo 0x598026f4
imul ebp, dword [ebp - 0x73], 0x26b80040
sbb byte [ecx + 0x11], 0xc
adc dword [edx + edi], ecx
push esp
dec ebp
popal
add byte [eax], al

Function at 0x59802688
Capabilities:
Get file size
Read file on windows

Disassembly:
adc dword [edx + edi], ecx
push esp
dec ebp
popal
jo 0x598026d6
imul ebp, dword [ebp + 0x2e], 0xc323a
add byte [eax], al
xor al, 0x26
sbb byte [ecx - 1], 0xff
invalid
or ch, byte [ebp + 0x61]
dec ebp
popal
jo 0x59802724
imul ebp, dword [ebp - 0x73], 0x273c0040
sbb byte [ecx], 0
add byte [eax], al
add byte [eax], al
add byte [eax], al
cmp al, 0x27
sbb byte [ecx], 0
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
jbe 0x5980272d
add byte [ecx], dl
sbb byte [ecx + 8], 0x11
sbb byte [ecx - 0x10], 0x10
sbb byte [ecx - 0x70], 0x10
sbb byte [ecx - 0x68], 0x10
sbb byte [ecx - 0x50], 0x10
sbb byte [ecx + 0xe], 0
push cs
add byte [eax], al
add byte [eax], al
add byte [esi], al
adc byte [eax - 0x7fef6fa7], al
pop ecx
cwde
adc byte [eax - 0x7fef4fa7], al
pop ecx

Function at 0x5980273c
Capabilities:
Get file size
Read file on windows

Disassembly:
push cs
add byte [eax], al
add byte [eax], al
add byte [esi], al
add byte [eax], al
add byte [esi - 0x80], dl
pop ecx
or byte [eax], al
add byte [eax], al
test byte [esi], ah
sbb byte [ecx + 0x14], 0
add byte [eax], al
mov ah, 0x26
sbb byte [ecx + 0x20], 0
add byte [eax], al
aam 0x9e
test dword [ecx + 0x48], ebx
add byte [eax], al
add ah, dl
sahf
test dword [ecx + 0x4c], ebx
add byte [eax], al
add al, dl
sahf
test dword [ecx + 0x50], ebx
add byte [eax], al
add byte [eax], cl
push esp
dec ebp
popal
jo fcn.598027c2
imul ebp, dword [ebp - 0x70], sym.madExcept_.bpl___xp_19Madmapfile_TMapFile
Function at 0x4011c0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x43dba0], 0x24e1
mov eax, dword [0x43dba0]
sub eax, 0x24e1
mov dword [0x43dba0], eax
mov ecx, 1
test ecx, ecx
je 0x40126b
mov edx, dword [0x43dba0]
cmp edx, dword [ebp + 0xc]
jb 0x4011f7
jmp 0x40126b
cmp dword [0x43dba0], 0
jne 0x401215
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x401215
xor eax, eax
jmp 0x40126b
mov eax, dword [ebp + 8]
add eax, dword [0x43dba0]
mov ecx, dword [eax]
add ecx, dword [0x43dba0]
mov edx, dword [ebp + 8]
add edx, dword [0x43dba0]
mov dword [edx], ecx
mov dword [ebp - 4], 0x7d06f
mov eax, dword [0x43dba0]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x43dba0]
push eax
call fcn.00401270
add esp, 8
mov ecx, dword [0x43dba0]
add ecx, 4
mov dword [0x43dba0], ecx
jmp 0x4011dd
mov esp, ebp
pop ebp
ret

Function at 0x4014d0
Capabilities:
Get common file path
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa00
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x79c], 4
mov dword [ebp - 0x784], 0x80000000
mov dword [ebp - 0x798], 0x20019
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x72c], eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
cmp dword [ebp - 0x1c], 0
jne 0x40152c
xor eax, eax
jmp 0x401908
pushal
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x64
mov dword [ebp - 0x28], 0x1f
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x64
mov dword [ebp - 0x28], 0x1f
mov dword [ebp - 0x7ec], str.SOFTWAREmmasses
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x64
mov dword [ebp - 0x28], 0x1f
jmp loc.0045b59b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret