joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43bc70
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x104
mov eax, dword [0x45d380]
xor eax, esp
mov dword [esp + 0x100], eax
mov edx, dword [esp + 0x110]
mov eax, dword [esp + 0x10c]
push esi
mov esi, dword [esp + 0x10c]
mov ecx, dword [esi]
mov ecx, dword [ecx + 8]
push edi
mov edi, dword [esp + 0x11c]
push 0
push edx
push eax
mov dword [edi], 0
mov eax, dword [ecx + 0x98]
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x43bd11
push ebx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x2733
jne 0x43bcdc
mov dword [edi], 0x51
jmp 0x43bd0d
push 0x100
lea ecx, [esp + 0x10]
push ecx
push ebx
call fcn.0040a220
mov edx, dword [esi + 4]
push eax
push str.Recv_failure:__s
push edx
call fcn.004132e0
mov eax, dword [esi + 4]
mov dword [eax + 0xa38], ebx
add esp, 0x18
mov dword [edi], 0x38
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x108]
pop edi
pop esi
xor ecx, esp
call fcn.0044bb74
add esp, 0x104
ret

Function at 0x43be60
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x188
mov eax, dword [0x45d380]
xor eax, esp
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0x18c]
push esi
mov esi, dword [eax + 8]
push 0x80
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0x10], 0x80
call sub.MSVCR100.dll_memset
mov eax, dword [esi + 0x98]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x43befc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x100
lea ecx, [esp + 0x8c]
mov esi, eax
push ecx
push esi
call fcn.0040a220
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push edi
call fcn.004132e0
add esp, 0x1c
mov eax, 2
pop esi
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.0044bb74
add esp, 0x188
ret
mov eax, dword [esp + 4]
lea edx, [esi + 0x120]
push edx
add esi, 0xf0
push esi
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.004161c0
add esp, 0x10
test eax, eax
jne 0x43bf72
mov esi, dword [sym.imp.MSVCR100.dll__errno]
push ebx
call esi
mov ebx, eax
call esi
push 0x100
lea edx, [esp + 0x90]
mov esi, eax
mov eax, dword [ebx]
push edx
push eax
call fcn.0040a220
mov ecx, dword [esi]
push eax
push ecx
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push edi
call fcn.004132e0
add esp, 0x1c
pop ebx
mov eax, 2
pop esi
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.0044bb74
add esp, 0x188
ret
mov ecx, dword [esp + 0x188]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0044bb74
add esp, 0x188
ret
Function at 0x43cc80
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
mov esi, dword [ebx + 8]
mov edx, dword [esi + 0x98]
mov edi, eax
mov eax, dword [esi + 0x14]
push eax
lea ecx, [esi + 0x18]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x43ccbb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
lea ebx, [esi + 0xbc]
mov esi, eax
call fcn.0043bbf0
pop edi
pop esi
pop ebx
ret
push ebx
call fcn.0043be60
mov eax, dword [esi + 0x98]
push 1
push eax
call fcn.004416e0
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x43fa80
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
sub esp, 0x24
mov eax, dword [0x45d380]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
mov ebp, dword [esp + 0x30]
push 0xf0000040
push 1
push 0
push 0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x43fb27
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea esi, [esp + 0x20]
mov eax, ebp
mov word [esp + 0x14], 0x208
mov dword [esp + 0x18], 0x6601
mov dword [esp + 0x1c], 8
call fcn.0043f9f0
mov ecx, esi
push 8
push ecx
call fcn.0044aa40
mov ecx, dword [esp + 0x10]
add esp, 8
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0x14
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
pop esi
test eax, eax
jne 0x43fb39
mov edx, dword [esp + 4]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0044bb74
add esp, 0x24
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 8]
push eax
lea ecx, [esp + 0xc]
push ecx
push edi
push 0
push 0
mov dword [edi + 4], edx
mov edx, dword [esp + 0x20]
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov ecx, dword [esp + 4]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [esp + 0x24]
pop ebp
xor ecx, esp
mov eax, 1
call fcn.0044bb74
add esp, 0x24
ret

Function at 0x441540
Capabilities:
Get hostname

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push esi
mov byte [esi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [esi + edi - 1], 0
test eax, eax
jne 0x441573
push 0x2e
push esi
call dword [sym.imp.MSVCR100.dll_strchr]
add esp, 8
test eax, eax
je 0x441571
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
ret
Function at 0x447c10
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x120
mov eax, dword [0x45d380]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x124]
push ebp
push esi
push edi
mov edi, ecx
push ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edi
xor ebp, ebp
xor esi, esi
call dword [sym.imp.MSVCR100.dll__strdup]
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x447c7c
push 0x100
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040a310
push eax
push ebx
push str.schannel:_invalid_path_name_for_CA_file__s:__s
push edi
call fcn.004132e0
add esp, 0x1c
lea esi, [ebp + 0x4d]
jmp 0x447db1
push 0
push 0x80
push 3
push 0
push 1
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x447cce
push 0x100
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040a310
push eax
push ebx
push str.schannel:_failed_to_open_CA_file__s:__s
push edi
call fcn.004132e0
add esp, 0x1c
mov esi, 0x4d
jmp 0x447db1
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x447d0e
push 0x100
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040a310
push eax
push ebx
push str.schannel:_failed_to_determine_size_of_CA_file__s:__s
push edi
call fcn.004132e0
add esp, 0x1c
mov esi, 0x4d
jmp 0x447da6
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x24], esi
jl 0x447d38
jg 0x447d21
cmp eax, 0x100000
jbe 0x447d38
push 0x100000
push str.schannel:_CA_file_exceeds_max_size_of__u_bytes
push edi
call fcn.004132e0
mov esi, 0x4d
jmp 0x447da3
mov edi, eax
inc eax
push eax
call dword [section..data]
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x447d50
lea esi, [eax + 0x1b]
jmp 0x447da6
test edi, edi
je 0x447d89
push 0
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
mov ecx, edi
sub ecx, esi
push ecx
lea edx, [esi + ebp]
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x447deb
mov eax, dword [esp + 0x10]
test eax, eax
je 0x447de7
add esi, eax
cmp esi, edi
jb 0x447d54
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
push eax
push ebp
push ecx
mov edx, ebx
mov ecx, edi
mov byte [edi + ebp], 0
call fcn.00447a00
mov esi, eax
add esp, 0xc
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call dword [0x45d004]
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
je 0x447dcd
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov ecx, dword [esp + 0x128]
pop edi
mov eax, esi
pop esi
pop ebp
xor ecx, esp
call fcn.0044bb74
add esp, 0x120
ret
mov edi, esi
jmp 0x447d89
push 0x100
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040a310
mov edx, dword [esp + 0x18]
push eax
push ebx
push str.schannel:_failed_to_read_from_CA_file__s:__s
push edx
call fcn.004132e0
add esp, 0x1c
mov esi, 0x4d
jmp 0x447da6
Function at 0x449060
Capabilities:
Check http status code

Disassembly:
push ebx
push esi
push edi
push 0x11
mov esi, eax
push str.WWW_Authenticate:
push esi
mov ebx, ecx
mov edi, edx
call fcn.0040b8c0
add esp, 0xc
test eax, eax
je 0x44908a
mov eax, dword [edi + 0xe0]
cmp eax, 0x191
je 0x4490ab
push 0x13
push str.Proxy_authenticate:
push esi
call fcn.0040b8c0
add esp, 0xc
test eax, eax
je 0x4490ed
mov eax, dword [edi + 0xe0]
cmp eax, 0x197
jne 0x4490ed
xor ebx, ebx
cmp eax, 0x197
push esi
sete bl
call fcn.0042a590
mov esi, eax
add esp, 4
test esi, esi
jne 0x4490cb
pop edi
lea eax, [esi + 0x1b]
pop esi
pop ebx
ret
push esi
push ebx
push edi
call fcn.0042ad60
push esi
mov edi, eax
call dword [0x45d004]
add esp, 0x10
test edi, edi
je 0x44929e
mov eax, edi
pop edi
pop esi
pop ebx
ret
push 0xf
push str.Content_Length:
push esi
call fcn.0040b8c0
add esp, 0xc
test eax, eax
je 0x44914f
mov ecx, dword [edi + 0xe0]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0x449132
push ecx
push str.Ignoring_Content_Length_in_CONNECT__03d_response
push edi
call fcn.00413420
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
ret
add ebx, 0x208
push ebx
push 0xa
push 0
add esi, 0xf
push esi
call fcn.00438ac0
add esp, 0x10
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 5
push str.close
push 0xb
push str.Connection:
push esi
call fcn.0042b4a0
add esp, 0x14
test eax, eax
jne 0x449211
push 0x12
push str.Transfer_Encoding:
push esi
call fcn.0040b8c0
add esp, 0xc
test eax, eax
je 0x4491f6
mov ecx, dword [edi + 0xe0]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0x4491b3
push ecx
push str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
push edi
call fcn.00413420
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 7
push str.chunked
push 0x12
push str.Transfer_Encoding:
push esi
call fcn.0042b4a0
add esp, 0x14
test eax, eax
je 0x44929e
push str.CONNECT_responded_chunked
push edi
call fcn.00413420
push edi
mov dword [ebx + 0x214], 1
call fcn.00438f50
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 5
push str.close
push 0x11
push str.Proxy_Connection:
push esi
call fcn.0042b4a0
add esp, 0x14
test eax, eax
je 0x449221
pop edi
pop esi
mov dword [ebx + 0x218], 1
xor eax, eax
pop ebx
ret
push 7
push str.HTTP_1.
push esi
call dword [sym.imp.MSVCR100.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x44929e
mov al, byte [esi + 7]
cmp al, 0x30
je 0x449241
cmp al, 0x31
jne 0x44929e
cmp byte [esi + 8], 0x20
jne 0x44929e
mov bl, byte [esi + 9]
cmp bl, 0x30
jl 0x44929e
cmp bl, 0x39
jg 0x44929e
mov dl, byte [esi + 0xa]
cmp dl, 0x30
jl 0x44929e
cmp dl, 0x39
jg 0x44929e
mov cl, byte [esi + 0xb]
cmp cl, 0x30
jl 0x44929e
cmp cl, 0x39
jg 0x44929e
mov al, byte [esi + 0xc]
cmp al, 0x30
jl 0x449279
cmp al, 0x39
jle 0x44929e
movsx eax, bl
lea eax, [eax + eax*4]
movsx edx, dl
lea eax, [edx + eax*2]
movsx ecx, cl
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2 - 0x14d0]
mov dword [edi + 0xe0], eax
mov dword [edi + 0xedc], eax
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x44aa90
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
push 0xf0000040
push 1
push 0
push 0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x44aad6
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0x8002
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov eax, dword [esp + 0x18]
push esi
push eax
call fcn.004128c0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add esp, 4
push 0
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 0
lea eax, [esp + 8]
push eax
push 0
push 2
push ecx
mov dword [esp + 0x18], 0
call esi
cmp dword [esp + 4], 0x10
jne 0x44ab33
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push 0
lea edx, [esp + 8]
push edx
push eax
push 2
push ecx
call esi
mov eax, dword [esp + 0xc]
pop esi
test eax, eax
je 0x44ab43
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 4]
test eax, eax
je 0x44ab54
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
add esp, 0xc
ret
Function at 0x44b750
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 8
push 0xf0000040
push 0x18
push 0
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x44b785
mov edx, dword [esp]
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0x800c
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov eax, dword [esp + 0x14]
push eax
call fcn.004128c0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
add esp, 4
push 0
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov ecx, dword [esp + 0xc]
lea eax, [esp]
push eax
push ecx
call fcn.0044b6e0
xor eax, eax
add esp, 0x10
ret

Function at 0x44b7c0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [section..data]
mov edi, eax
add esp, 4
test edi, edi
jne 0x44b7e5
pop edi
pop esi
pop ecx
ret
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov edx, dword [esi + 0xc]
push ebx
add edx, eax
push ebp
mov ebp, dword [esp + 0x20]
mov dword [edi + 8], edx
cmp ebp, dword [esi + 0x10]
jbe 0x44b82c
push eax
mov eax, dword [esi]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push ebp
push ecx
push edx
call eax
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
add ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push ebx
call edx
mov ebp, dword [esi + 0x14]
add esp, 0x18
jmp 0x44b830
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 4]
mov ecx, dword [esi]
push eax
call ecx
mov edx, dword [edi + 8]
mov eax, dword [esi]
push edx
call eax
add esp, 8
mov dword [esp + 0x10], 0
test ebp, ebp
je 0x44b88c
mov dword [esp + 0x10], ebp
mov cl, byte [ebx]
xor cl, 0x36
mov byte [esp + 0x18], cl
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
call ecx
mov dl, byte [ebx]
xor dl, 0x5c
mov byte [esp + 0x24], dl
mov ecx, dword [edi + 8]
mov edx, dword [esi + 4]
push 1
lea eax, [esp + 0x28]
push eax
push ecx
inc ebx
call edx
add esp, 0x18
dec ebp
jne 0x44b853
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
cmp eax, dword [esi + 0x10]
jae 0x44b8c8
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
push 0x459924
push ecx
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esi + 4]
push 1
push 0x459925
push eax
call ecx
mov eax, dword [esp + 0x20]
inc eax
add esp, 0x18
mov dword [esp + 8], eax
cmp eax, dword [esi + 0x10]
jb 0x44b897
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x44bb74
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45d380]
jne 0x44bb7e
repz ret
jmp fcn.0044c3c9
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x401c66
pop dword [ebp - 0x24]
mov eax, 0x401c66
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xa65e9230
sub dword [ebp - 0x34], 0x580c4ce5
mov dword [ebp - 0x30], 0xc77a8e7a
add dword [ebp - 0x30], 0x6ab8bdcb
mov dword [ebp - 0x2c], 0xd36fe4f5
add dword [ebp - 0x2c], 0x78dc5f39
mov dword [ebp - 0x28], 0xe6a20618
sub dword [ebp - 0x28], 0xe6a20618
lea eax, [ebp - 0x34]
push eax
mov eax, 0x224a7f30
add eax, 0xddf5b124
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xa567e7ce
sub dword [ebp - 0x34], 0x30f57e78
mov dword [ebp - 0x30], 0xd5e8bdbd
add dword [ebp - 0x30], 0x6b83a3b8
mov dword [ebp - 0x2c], 0x75d3151d
add dword [ebp - 0x2c], 0xed9c574f
mov dword [ebp - 0x28], 0xfd62d847
add dword [ebp - 0x28], 0x29d27b9
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3a296
push 0
call eax
mov ecx, 0x10340e18
sub ecx, 0x1033b75f
mov ebx, eax
mov esi, 0x407000
add esi, dword [ebp - 0x24]
mov edi, 0x1c2bb586
sub edi, 0x63a05624
add dword [ebp - 4], 0xcefc3754
mov edx, dword [esi]
sub dword [ebp - 0xc], ebx
sub edx, edi
xor dword [ebp - 0x10], 0xc7d464f
mov dword [ebx], edx
sub dword [ebp - 0x18], 0xe3b978e7
add ebx, 0xf2360da2
add ebx, 0xdc9f262
add esi, 0x5585f53b
add esi, 0xaa7a0ac9
loop 0x401d78
add eax, 0x30cd2702
add eax, 0xcf3426b5
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x127837b3
add ecx, 0xedc7c84d
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x4a8900
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x82000]
push edi
or ebp, 0xffffffff
jmp 0x4a8922
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a8929
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a8918
mov eax, 1
add ebx, ebx
jne 0x4a893b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a894c
jne 0x4a895c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a895c
dec eax
add ebx, ebx
jne 0x4a8958
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a8930
xor ecx, ecx
sub eax, 3
jb 0x4a8974
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a89e6
sar eax, 1
mov ebp, eax
jmp 0x4a897f
add ebx, ebx
jne 0x4a897f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4a898c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4a89b0
inc ecx
add ebx, ebx
jne 0x4a899c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a8991
jne 0x4a89ad
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a8991
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a89d0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a89c1
jmp 0x4a891e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a89d0
add edi, ecx
jmp 0x4a891e
pop esi
mov edi, esi
mov ecx, 0xb58
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a89ee
cmp byte [edi], 7
jne 0x4a89ee
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 0x4a89f3
lea edi, [esi + 0xa6000]
mov eax, dword [edi]
or eax, eax
je 0x4a8a6b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa9690]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa9780]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a8a20
mov ecx, edi
jns 0x4a8a4f
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa9784]
or eax, eax
je 0x4a8a65
mov dword [ebx], eax
add ebx, 4
jmp 0x4a8a3d
call dword [esi + 0xa9788]
popal
jmp 0x40bd5e
Function at 0x91b720
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x91b726
pop ebp
sub ebp, 6
sub ebp, 0x51b720
jmp 0x91b784
jmp 0x91b78d
mov eax, 0x51b720
add eax, ebp
add eax, 0x93
mov ecx, 0x63f
mov edx, 0xa0f67c30
xor byte [eax], dl
inc eax
dec ecx
jne 0x91b7a4
jmp 0x91b7b7
pop edx
jo 0x91b812
xor byte [eax], ah
xor byte [eax], dh
pop eax
xor ah, bh
sbb al, 0x30
mov cl, 0xc0
sub byte [ebp - 0x24], ah
sal dword [ecx - 0x239ad740], 0xc1
add esi, eax
pushal
iretd
fdiv dword [0xd9303030]
sbb byte [eax], dh
xor byte [eax], dh
insd dword es:[edi], dx
mov ebx, 0x303038b5
xor byte [ebx + 0x30303ca5], bh
xor byte [ebx + 0x303020bd], bh
xor cl, dh
fnstenv [edx]
add dword [edx], esi
mov bl, 0xf2
xor al, 0x79
aas
mov ch, 0xc4
iretd
Function at 0x10003ebf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x10003ece
pop dword [ebp - 0x48]
mov eax, 0x21dc363c
add eax, 0xee240892
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x791a433d
sub dword [ebp - 0x58], 0x2ac7fdf2
mov dword [ebp - 0x54], 0xe752431a
add dword [ebp - 0x54], 0x4ae1092b
mov dword [ebp - 0x50], 0xd7a38b86
add dword [ebp - 0x50], 0x74a8b8a8
mov dword [ebp - 0x4c], 0x3494a21b
add dword [ebp - 0x4c], 0xcb6b5de5
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xf94b0d9d
add dword [ebp - 0x58], 0x7b275bb9
mov dword [ebp - 0x54], 0x2aeab20d
sub dword [ebp - 0x54], 0xe97e5098
mov dword [ebp - 0x50], 0xdc2f7a12
add dword [ebp - 0x50], 0x873ff25a
mov dword [ebp - 0x4c], 0x18df3485
sub dword [ebp - 0x4c], 0x18df3485
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0xcc6901c8
sub eax, 0xbc68b188
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3a5c2
push 0
call eax
mov ecx, 0xa1a03c90
sub ecx, 0xa19fe5a8
xor ebx, ebx
add ebx, eax
mov esi, 0x430a7c2
add esi, 0xbd00e3e
add esi, dword [ebp - 0x48]
mov edx, 0xcdbf9c44
sub edx, 0xd293c8bd
add dword [ebp - 0x10], ebx
mov edi, dword [esi]
add dword [ebp - 0x24], eax
xor edi, edx
xor dword [ebp - 0x38], 0xd211b8cc
mov dword [ebx], edi
mov dword [ebp - 0x2c], 0xc52e4ff9
add ebx, 0xb7657e24
add ebx, 0x489a81e0
add esi, 0xae529cdb
sub esi, 0xae529cd7
loop 0x10003fed
add eax, 0x58ef768d
add eax, 0xa711d7e6
xor ebx, ebx
add ebx, eax
add eax, 0x36f30464
sub eax, 0x36f3045f
mov ecx, 0x3d8f329e
sub ecx, 0x2d8f329e
add ecx, dword [ebp - 0x48]
Function at 0x4046cb
Capabilities:
Encode data using xor

Disassembly:
add esp, 0x10
mov esp, ebp
pop ebp
jmp loc.007b2284