joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44eb40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0xc]
sub eax, 0x2a
dec esi
mov edi, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x44ebc0
cmp esi, 0x28
jg 0x44eb82
sub esp, 0xc
push 0x33
push str.external_openssl_crypto_rsa_rsa_oaep.c
push 0x78
push 0x79
push 4
call fcn.00423b20
xor eax, eax
add esp, 0x20
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [edi + 0x15]
mov byte [edi], 0
mov dword [ebp - 0x34], eax
call fcn.004512b0
push edx
push edx
push 0
push eax
push 0
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
call fcn.0045a970
add esp, 0x20
test eax, eax
jne 0x44ebd0
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
sub esp, 0xc
push 0x2d
push str.external_openssl_crypto_rsa_rsa_oaep.c
push 0x6e
jmp 0x44eb6c
lea eax, [edi + 1]
mov ebx, esi
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
sub ebx, eax
lea edx, [edi + 0x29]
push ecx
lea eax, [ebx - 0x29]
push eax
push 0
push edx
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov byte [eax + ebx - 0x15], 1
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp + 0x14]
add eax, esi
mov esi, dword [ebp + 0x14]
sub eax, esi
push ebx
mov ecx, dword [ebp + 0x10]
sub eax, 0x14
push ecx
push eax
call sub.msvcrt.dll_memcpy
pop eax
pop edx
push 0x14
mov eax, dword [ebp - 0x30]
push eax
call fcn.00426ba0
add esp, 0x10
test eax, eax
jle 0x44ebaf
mov ebx, dword [ebp + 0xc]
push esi
sub ebx, 0x15
push 0x49
push str.external_openssl_crypto_rsa_rsa_oaep.c
push ebx
call fcn.00424350
add esp, 0x10
mov esi, eax
test eax, eax
je 0x44ecba
sub esp, 0xc
mov edx, ebx
push 0x14
mov ecx, dword [ebp - 0x30]
call fcn.0044e8f0
add esp, 0x10
test eax, eax
js 0x44ebaf
xor edx, edx
mov al, byte [edx + esi]
xor byte [edx + edi + 0x15], al
inc edx
cmp edx, ebx
jne 0x44ec60
sub esp, 0xc
mov edx, 0x14
lea eax, [ebp - 0x20]
push ebx
mov ecx, dword [ebp - 0x34]
call fcn.0044e8f0
add esp, 0x10
test eax, eax
js 0x44ebaf
mov al, byte [ebp - 0x20]
mov edx, 1
xor byte [edi + 1], al
mov al, byte [edx + ebp - 0x20]
xor byte [edx + edi + 1], al
inc edx
cmp edx, 0x14
jne 0x44ec96
sub esp, 0xc
push esi
call fcn.00424480
mov eax, 1
add esp, 0x10
jmp 0x44eb7a
sub esp, 0xc
push 0x4c
push str.external_openssl_crypto_rsa_rsa_oaep.c
push 0x41
jmp 0x44eb6c
Function at 0x44ef00
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x10]
cmp ecx, dword [ebp + 0x14]
jne 0x44ef1d
mov dl, byte [esi]
lea eax, [edx - 0x6a]
cmp al, 1
jbe 0x44ef48
sub esp, 0xc
push 0x72
push str.external_openssl_crypto_rsa_rsa_x931.c
push 0x89
push pe_nt_image_headers32
push 4
call fcn.00423b20
or esi, 0xffffffff
mov eax, esi
add esp, 0x20
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea ebx, [esi + 1]
cmp dl, 0x6b
je 0x44ef72
lea esi, [ecx - 2]
cmp byte [ebx + esi], 0xcc
jne 0x44efc5
push edx
push esi
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.msvcrt.dll_memcpy
mov eax, esi
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ecx - 3]
test edi, edi
jle 0x44efdc
mov dl, byte [esi + 1]
cmp dl, 0xba
je 0x44efdc
cmp dl, 0xbb
jne 0x44efae
lea ebx, [esi + 2]
xor eax, eax
mov ecx, edi
jmp 0x44ef9f
mov dl, byte [eax + esi + 1]
inc ebx
cmp dl, 0xba
je 0x44efa8
cmp dl, 0xbb
jne 0x44efae
inc eax
cmp eax, ecx
jne 0x44ef90
test eax, eax
je 0x44efdc
mov esi, edi
sub esi, eax
jmp 0x44ef53
sub esp, 0xc
push 0x81
push str.external_openssl_crypto_rsa_rsa_x931.c
push 0x8a
jmp 0x44ef2c
sub esp, 0xc
push 0x93
push str.external_openssl_crypto_rsa_rsa_x931.c
push 0x8b
jmp 0x44ef2c
sub esp, 0xc
push 0x8a
push str.external_openssl_crypto_rsa_rsa_x931.c
push 0x8a
jmp 0x44ef2c
Function at 0x46b2c0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 8
mov ebx, dword [ebp + 8]
push 0x70
push 0
push ebx
call sub.msvcrt.dll_memset
mov dword [ebx], 0x6a09e667
mov dword [ebx + 4], 0xbb67ae85
mov dword [ebx + 8], 0x3c6ef372
mov dword [ebx + 0xc], 0xa54ff53a
mov dword [ebx + 0x10], 0x510e527f
mov dword [ebx + 0x14], 0x9b05688c
mov dword [ebx + 0x18], 0x1f83d9ab
mov dword [ebx + 0x1c], 0x5be0cd19
mov dword [ebx + 0x6c], 0x20
mov eax, 1
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x46b320
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 8
mov ebx, dword [ebp + 8]
push 0x70
push 0
push ebx
call sub.msvcrt.dll_memset
mov dword [ebx], 0xc1059ed8
mov dword [ebx + 4], 0x367cd507
mov dword [ebx + 8], 0x3070dd17
mov dword [ebx + 0xc], 0xf70e5939
mov dword [ebx + 0x10], 0xffc00b31
mov dword [ebx + 0x14], 0x68581511
mov dword [ebx + 0x18], 0x64f98fa7
mov dword [ebx + 0x1c], 0xbefa4fa4
mov dword [ebx + 0x6c], 0x1c
mov eax, 1
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x46b560
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0x30
mov eax, 1
pop ebp
ret

Function at 0x46b610
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0x40
mov eax, 1
pop ebp
ret
Function at 0x479520
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [esi + 4]
mov edx, dword [ecx + 4]
cmp eax, edx
jl 0x4795f2
mov edx, dword [ebp + 8]
mov ebx, esi
mov edi, ecx
cmp dword [edx + 8], eax
jl 0x479604
mov eax, dword [edi + 4]
xor esi, esi
test eax, eax
jle 0x47957b
mov ecx, dword [ebp + 8]
lea edx, [esi*4]
inc esi
mov ecx, dword [ecx]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebx]
mov ecx, dword [edi]
mov eax, dword [eax + edx]
xor eax, dword [ecx + edx]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + edx], eax
cmp dword [edi + 4], esi
jg 0x479556
mov edx, dword [ebx + 4]
cmp esi, edx
jge 0x4795a8
lea ecx, [esi*4]
lea esi, [esi]
mov edx, dword [ebp + 8]
inc esi
mov eax, dword [edx]
mov edx, dword [ebx]
mov edx, dword [edx + ecx]
mov dword [eax + ecx], edx
add ecx, 4
mov edx, dword [ebx + 4]
cmp edx, esi
jg 0x479590
mov ecx, dword [ebp + 8]
test edx, edx
mov dword [ecx + 4], edx
mov ecx, 1
jle 0x4795e8
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
sub eax, 4
lea eax, [eax + edx*4]
mov ecx, eax
mov eax, dword [eax]
test eax, eax
je 0x4795da
jmp 0x4795dd
mov eax, dword [ecx - 4]
sub ecx, 4
test eax, eax
jne 0x4795dd
dec edx
jne 0x4795d0
mov eax, dword [ebp + 8]
mov ecx, 1
mov dword [eax + 4], edx
lea esp, [ebp - 0xc]
mov eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, edx
mov edx, dword [ebp + 8]
mov ebx, ecx
mov edi, esi
cmp dword [edx + 8], eax
jge 0x47954d
push ecx
push ecx
push eax
push edx
call fcn.0041c100
add esp, 0x10
xor ecx, ecx
test eax, eax
jne 0x47954d
jmp 0x4795e8
Function at 0x47bc60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x138
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x20]
push ecx
call fcn.00439be0
mov dword [ebp - 0x134], eax
add esp, 0x10
mov edx, dword [ebp - 0x134]
xor eax, eax
test edx, edx
js 0x47be25
sub esp, 0xc
lea eax, [ebp - 0x120]
push eax
call fcn.0048edc0
mov edi, dword [ebp + 8]
add esp, 0x10
test edi, edi
je 0x47be49
cmp dword [ebp + 0xc], 0xffffffff
je 0x47be55
test ebx, ebx
je 0x47be0e
mov esi, dword [ebp + 0x24]
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x130], 1
mov eax, dword [ebp - 0x130]
sub esp, 0xc
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, dword [ebp - 0x130]
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, dword [ebp - 0x130]
shr eax, 8
mov byte [ebp - 0xe], al
mov al, byte [ebp - 0x130]
mov byte [ebp - 0xd], al
push 0
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0048ee90
add esp, 0x20
test eax, eax
je 0x47be2d
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0048ee70
add esp, 0x10
test eax, eax
je 0x47be2d
push eax
lea eax, [ebp - 0x10]
push 4
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0048ee70
add esp, 0x10
test eax, eax
je 0x47be2d
push eax
lea eax, [ebp - 0x50]
push 0
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0048edf0
add esp, 0x10
test eax, eax
je 0x47be2d
mov ebx, dword [ebp - 0x138]
cmp ebx, dword [ebp - 0x134]
jle 0x47bd98
mov ebx, dword [ebp - 0x134]
lea eax, [ebp - 0x50]
push edi
push ebx
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0x10
cmp dword [ebp + 0x18], 1
jle 0x47bdf2
mov edi, 1
lea eax, [ebp - 0x50]
push ecx
push 0
push eax
mov edx, dword [ebp - 0x134]
push edx
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
call fcn.0048f130
add esp, 0x20
test ebx, ebx
jle 0x47bdec
xor edx, edx
nop
lea esi, [esi]
mov al, byte [edx + ebp - 0x50]
xor byte [edx + esi], al
inc edx
cmp edx, ebx
jne 0x47bde0
inc edi
cmp edi, dword [ebp + 0x18]
jne 0x47bdb2
sub dword [ebp - 0x138], ebx
je 0x47be0e
mov eax, dword [ebp - 0x130]
add esi, ebx
inc eax
mov dword [ebp - 0x130], eax
jmp 0x47bcd3
sub esp, 0xc
lea eax, [ebp - 0x120]
push eax
call fcn.0048ece0
mov eax, 1
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
sub esp, 0xc
lea eax, [ebp - 0x120]
push eax
call fcn.0048ece0
xor eax, eax
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp + 0xc], 0
jmp 0x47bcb8
sub esp, 0xc
mov esi, dword [ebp + 8]
push esi
call sub.msvcrt.dll_strlen
add esp, 0x10
mov dword [ebp + 0xc], eax
jmp 0x47bcb8
Function at 0x486db0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0xc
push str.OPENSSL_CONF
call sub.msvcrt.dll_getenv
add esp, 0x10
mov ebx, eax
test eax, eax
je 0x486de2
sub esp, 0xc
push eax
call fcn.0042aa00
add esp, 0x10
mov ebx, eax
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
call fcn.004929e0
sub esp, 0xc
push eax
call sub.msvcrt.dll_strlen
add esp, 0xc
lea esi, [eax + 0xd]
push 0x231
push str.external_openssl_crypto_conf_conf_mod.c
push esi
call fcn.00424350
add esp, 0x10
test eax, eax
je 0x486dd9
mov ebx, eax
call fcn.004929e0
push edx
push esi
push eax
push ebx
call fcn.0042a8f0
add esp, 0xc
push esi
push 0x4c5340
push ebx
call fcn.0042a950
add esp, 0xc
push esi
push str.openssl.cnf
push ebx
call fcn.0042a950
add esp, 0x10
jmp 0x486dd9
Function at 0x493c60
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
test ebx, ebx
je 0x493ce0
mov eax, dword [ebp + 8]
test eax, eax
je 0x493cea
test esi, esi
je 0x493cb9
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esi
push eax
push eax
lea eax, [ebp - 0x18]
push eax
mov edi, dword [ebp + 8]
mov edi, dword [edi + 8]
push edi
call fcn.0043ade0
add esp, 0x10
test eax, eax
je 0x493ca8
mov eax, dword [eax + 8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x4c6af3
mov ecx, 4
cld
mov edi, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x493cf8
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.default
mov dword [ebp - 0x14], ebx
push ecx
push ecx
push eax
mov edi, dword [ebp + 8]
mov edx, dword [edi + 8]
push edx
call fcn.0043ade0
add esp, 0x10
test eax, eax
jne 0x493c9d
lea esi, [esi]
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
sub esp, 0xc
push ebx
call sub.msvcrt.dll_getenv
add esp, 0x10
jmp 0x493ca0
sub esp, 0xc
push ebx
call sub.msvcrt.dll_getenv
add esp, 0x10
test eax, eax
jne 0x493ca0
jmp 0x493cb9
Function at 0x496020
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x11c
mov ebx, dword [esp + 0x130]
call sub.msvcrt.dll__errno
test ebx, ebx
mov dword [eax], 0
je 0x4961de
cmp byte [ebx], 0
je 0x4961a0
sub esp, 0xc
push ebx
call sub.KERNEL32.dll_GetFileAttributesA
add esp, 0xc
cmp eax, 0xffffffff
je 0x4961cc
test al, 0x10
je 0x4961a0
push eax
push 0x104
push ebx
lea edi, [esp + 0x24]
push edi
call sub.msvcrt.dll__fullpath
pop eax
mov ecx, edi
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
xor eax, 0xffffffff
and edx, eax
and edx, 0x80808080
je 0x49607e
test edx, 0x8080
je 0x496192
add dl, dl
sbb ecx, 3
sub ecx, edi
lea eax, [ecx + 0x233]
push eax
call sub.msvcrt.dll_malloc
add esp, 0x10
mov ebx, eax
test eax, eax
je 0x4961ba
lea esi, [eax + 0x22c]
mov ebp, eax
push eax
push eax
push edi
push esi
call sub.msvcrt.dll_strcpy
add esp, 0x10
cmp byte [ebx + 0x22c], 0
jne 0x496144
sub esp, 0xc
push esi
call sub.msvcrt.dll_strlen
add esp, 0xc
mov word [eax + esi], 0x2a
lea eax, [ebx + 0x120]
mov dword [ebx + 0x224], 0xffffffff
mov dword [ebx + 0x228], 0
mov dword [ebx + 0x118], 0
mov word [ebx + 0x11c], 0
mov word [ebx + 0x11e], 0
push 0x104
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0x10
add esp, 0x11c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
sub esp, 0xc
push esi
call sub.msvcrt.dll_strlen
pop edx
pop ecx
push 0x2f
lea edi, [esi + eax - 1]
push esi
call sub.msvcrt.dll_strrchr
add esp, 0x10
cmp eax, edi
je 0x4960df
push eax
push eax
push 0x5c
push esi
call sub.msvcrt.dll_strrchr
add esp, 0x10
cmp edi, eax
je 0x4960df
sub esp, 0xc
push esi
call sub.msvcrt.dll_strlen
add esp, 0x10
mov word [eax + esi], 0x5c
jmp 0x4960df
shr edx, 0x10
add ecx, 2
jmp 0x4960a2
call sub.msvcrt.dll__errno
xor ebp, ebp
mov dword [eax], 0x14
add esp, 0x11c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
call sub.msvcrt.dll__errno
xor ebp, ebp
mov dword [eax], 0xc
jmp 0x496137
call sub.msvcrt.dll__errno
xor ebp, ebp
mov dword [eax], 2
jmp 0x496137
call sub.msvcrt.dll__errno
xor ebp, ebp
mov dword [eax], 0xe
jmp 0x496137
Function at 0x403482
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
push esi
mov esi, ecx
test edx, edx
jle 0x4034e9
cmp edx, 0x40
jb 0x4034e0
movaps xmm2, xmmword [0x40f1c0]
lea ecx, [esi + 0x20]
push edi
mov edi, edx
and edi, 0xffffffc0
nop
movups xmm0, xmmword [ecx - 0x20]
lea ecx, [ecx + 0x40]
add eax, 0x40
movaps xmm1, xmm2
xorps xmm0, xmm2
movups xmmword [ecx - 0x60], xmm0
movups xmm0, xmmword [ecx - 0x50]
xorps xmm0, xmm2
movups xmmword [ecx - 0x50], xmm0
movups xmm0, xmmword [ecx - 0x40]
xorps xmm0, xmm2
movups xmmword [ecx - 0x40], xmm0
movups xmm0, xmmword [ecx - 0x30]
xorps xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
cmp eax, edi
jl 0x4034a0
pop edi
cmp eax, edx
jge 0x4034e9
nop
xor byte [esi + eax], 0x3a
inc eax
cmp eax, edx
jl 0x4034e0
mov eax, 1
pop esi
ret
Function at 0x58a7c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x109000]
push edi
or ebp, 0xffffffff
jmp 0x58a7e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x58a7e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x58a7d8
mov eax, 1
add ebx, ebx
jne 0x58a7fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x58a80c
jne 0x58a81c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x58a81c
dec eax
add ebx, ebx
jne 0x58a818
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x58a7f0
xor ecx, ecx
sub eax, 3
jb 0x58a834
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x58a8a6
sar eax, 1
mov ebp, eax
jmp 0x58a83f
add ebx, ebx
jne 0x58a83f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x58a84c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x58a870
inc ecx
add ebx, ebx
jne 0x58a85c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x58a851
jne 0x58a86d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x58a851
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x58a890
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x58a881
jmp 0x58a7de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x58a890
add edi, ecx
jmp 0x58a7de
pop esi
mov edi, esi
mov ecx, 0x6391
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x58a8ae
cmp byte [edi], 0x11
jne 0x58a8ae
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 0x58a8b3
lea edi, [esi + 0x188000]
mov eax, dword [edi]
or eax, eax
je 0x58a92b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19077c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x190844]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x58a8e0
mov ecx, edi
jns 0x58a90f
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 + 0x190848]
or eax, eax
je 0x58a925
mov dword [ebx], eax
add ebx, 4
jmp 0x58a8fd
call dword [esi + 0x19084c]
popal
jmp 0x4e2948
Function at 0x402770
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x405170
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x4051a9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403230
jmp 0x4051b2
mov eax, ebx
mov edx, esi
call fcn.004031e4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4051bc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x4051dd
mov al, byte [esp]
jmp 0x4051df
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x406950
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x406998
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004068ec
mov eax, dword [ebp - 4]
call fcn.004033cc
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40699f
lea eax, [ebp - 4]
call fcn.00403150
ret

Function at 0x406ba0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x406c2e
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x406beb
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, esi
call fcn.00403230
jmp 0x406c18
call sub.kernel32.dll_GetCommandLineA_1
cmp byte [eax], 0
jne 0x406bff
lea eax, [ebp - 4]
call fcn.00403150
jmp 0x406c0e
lea edx, [ebp - 4]
call fcn.00406a64
test ebx, ebx
je 0x406c0e
dec ebx
jmp 0x406bf0
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004031e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406c35
lea eax, [ebp - 4]
call fcn.00403150
ret

Function at 0x406c3c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.00404d44
add esp, 0x104
pop ebx
ret
Function at 0x406d84
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x406ebc
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x406ea6
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
je 0x406de1
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
jne 0x406ea6
cmp dword [ebp - 0x10], 0
jne 0x406df6
mov eax, dword [ebp - 8]
call fcn.00403150
mov bl, 1
jmp 0x406ea6
cmp dword [ebp - 0x10], 0x70000000
jb 0x406e04
call fcn.004057e8
mov esi, dword [ebp - 0x10]
test esi, esi
sar esi, 0
lea eax, [ebp - 0x14]
mov ecx, esi
xor edx, edx
call fcn.00403230
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
call fcn.004033d8
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExA
cmp eax, 0xea
je 0x406daa
test eax, eax
jne 0x406ea6
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
je 0x406e54
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
jne 0x406ea6
mov esi, dword [ebp - 0x10]
test esi, esi
sar esi, 0
jmp 0x406e5f
dec esi
test esi, esi
je 0x406e6d
mov eax, dword [ebp - 0x14]
cmp byte [eax + esi - 1], 0
je 0x406e5e
cmp dword [ebp - 0xc], 7
jne 0x406e78
test esi, esi
je 0x406e78
inc esi
lea eax, [ebp - 0x14]
mov edx, esi
call fcn.004034a8
cmp dword [ebp - 0xc], 7
jne 0x406e99
test esi, esi
je 0x406e99
lea eax, [ebp - 0x14]
call fcn.004033d8
mov byte [eax + esi - 1], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.004031a0
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406ec3
lea eax, [ebp - 0x14]
call fcn.00403150
ret

Function at 0x407804
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40c558
mov eax, esi
mov edx, 8
test al, 1
je 0x407820
shr eax, 1
xor eax, 0xedb88320
jmp 0x407822
shr eax, 1
dec edx
jne 0x407813
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x40780c
pop esi
ret

Function at 0x407838
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40c554], 0
jne 0x40785b
call fcn.00407804
push 1
push 0x40c554
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x407886
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40c558]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x407861
mov eax, ebx
pop edi
pop esi
pop ebx
ret