joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bb38
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x40bb9a
call fcn.0040bae8
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.0040558c
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.0040558c
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x40bc00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x493118], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x40bcda
cmp dword [0x493114], 0
jne 0x40bcda
cmp dword [0x493308], 0
je 0x40bc94
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.0040b9e8
add esp, 8
mov ebx, eax
test eax, eax
jne 0x40bc7a
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0040b9e8
add esp, 8
mov ebx, eax
test eax, eax
jne 0x40bc7a
lea ebx, [ebp - 0x84]
jmp 0x40bc7b
inc ebx
call fcn.0040bbbc
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x40bd15
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x49311c
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0040558c
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x49311f
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x40bd15
cmp dword [0x493114], 0
je 0x40bcf4
cmp dword [0x493114], 0xffffffff
je 0x40bd15
push esi
call dword [0x493114]
pop ecx
mov eax, dword [0x493118]
test eax, eax
je 0x40bd15
cmp dword [0x493118], 0xffffffff
je 0x40bd15
cmp byte [eax], 0
je 0x40bd15
push esi
push eax
call fcn.0040bb38
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c790
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4ab610], 0
jne 0x40c811
cmp dword [0x4ab630], 0
jne 0x40c7c0
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x4ab630], eax
test eax, eax
jne 0x40c7c0
push str.GetEnvironmentStrings_failed
call fcn.0040bd2c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4ab630]
jmp 0x40c7d4
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.0040558c
pop ecx
mov edi, eax
test eax, eax
jne 0x40c7cc
lea edi, [ebp + 1]
push edi
call fcn.00404398
pop ecx
mov ebx, eax
mov dword [0x4ab614], ebx
test ebx, ebx
jne 0x40c7fe
xor eax, eax
jmp 0x40c8d4
push edi
mov edx, dword [0x4ab630]
push edx
push ebx
call fcn.0040539c
add esp, 0xc
jmp 0x40c831
xor esi, esi
mov ebx, dword [0x4ab610]
jmp 0x40c82b
push eax
call fcn.0040558c
pop ecx
test eax, eax
jne 0x40c827
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40c81b
lea ebx, [esi + 4]
push 4
mov dword [0x4ab618], ebx
inc ebx
push ebx
call fcn.00403e54
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x40c854
xor eax, eax
jmp 0x40c8d4
cmp dword [0x4ab610], 0
jne 0x40c885
xor esi, esi
mov ebx, dword [0x4ab614]
mov eax, dword [esp]
mov ebp, eax
jmp 0x40c876
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.0040558c
pop ecx
mov edi, eax
test eax, eax
jne 0x40c86c
jmp 0x40c8b6
xor esi, esi
mov ebx, dword [0x4ab610]
mov eax, dword [esp]
mov edi, eax
jmp 0x40c8b0
push eax
call fcn.0040558c
pop ecx
test eax, eax
je 0x40c8a5
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x40c8a9
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40c894
mov eax, dword [0x4ab610]
test eax, eax
je 0x40c8c6
push eax
call fcn.004043a8
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4ab610], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40f268
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x493d78
sub eax, eax
test esi, esi
je 0x40f348
sub eax, 1
test ecx, ecx
je 0x40f346
test esi, 3
je 0x40f2a6
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x40f28b
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x40f32d
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x40f2b4
mov ecx, edx
test ecx, ecx
je 0x40f346
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x40f333
not eax
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x40f62c
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0040f6af
jae 0x40f63a
xor ecx, ecx
call fcn.0040f6af
jae 0x40f669
xor eax, eax
call fcn.0040f6af
jae 0x40f679
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0040f6af
adc al, al
jae 0x40f65b
jne 0x40f6a5
stosb byte es:[edi], al
jmp 0x40f63d
call fcn.0040f6bb
sub ecx, ebx
jne 0x40f682
call fcn.0040f6b9
jmp 0x40f6a1
lodsb al, byte [esi]
shr eax, 1
je 0x40f6cb
adc ecx, ecx
jmp 0x40f69e
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.0040f6b9
cmp eax, 0x7d00
jae 0x40f69e
cmp ah, 5
jae 0x40f69f
cmp eax, 0x7f
ja 0x40f6a0
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x40f63d
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x40fd48
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
push edi
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
test eax, eax
je 0x40fd85
push ebx
call sub.KERNEL32.DLL_GetFileType
test eax, eax
je 0x40fd85
lea edx, [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
push ecx
push 0x491ce8
call fcn.00408484
add esp, 0xc
jmp 0x40fedd
mov eax, dword [ebp + 8]
jmp 0x40fe5f
lea edx, [ebp + 0xc]
push edx
push eax
push 0xff
lea eax, [ebp - 0x104]
push eax
call fcn.004082b0
mov byte [ebp - 5], 0
add esp, 0x10
call sub.KERNEL32.DLL_GetVersion
cmp eax, 0x80000000
jae 0x40fec8
call fcn.0040fc90
test eax, eax
je 0x40fec8
push str.OPENSSL
push 0
call sub.ADVAPI32.DLL_RegisterEventSourceA
mov ebx, eax
lea eax, [ebp - 0x104]
mov dword [ebp - 4], eax
lea edx, [ebp - 4]
push 0
push edx
push 0
push 1
push 0
push 0
push 0
push 1
push ebx
call sub.ADVAPI32.DLL_ReportEventA
push ebx
call sub.ADVAPI32.DLL_DeregisterEventSource
jmp 0x40fedd
push 0x10
lea ecx, [ebp - 0x104]
push str.OpenSSL:_FATAL
push ecx
push 0
call sub.USER32.DLL_MessageBoxA
mov esp, ebp
mov edi, dword [ebp - 0x110]
mov esi, dword [ebp - 0x10c]
mov ebx, dword [ebp - 0x108]
pop ebp
ret

Function at 0x411e9c
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], ecx
xor edx, edx
mov dword [eax + 0x5c], edx
mov eax, 1
pop ebp
ret
Function at 0x415930
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0x367cd507
mov dword [eax + 8], 0x3070dd17
mov dword [eax + 0xc], 0xf70e5939
mov dword [eax + 0x10], 0xffc00b31
mov dword [eax + 0x14], 0x68581511
mov dword [eax + 0x18], 0x64f98fa7
mov dword [eax + 0x1c], 0xbefa4fa4
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], ecx
xor edx, edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], 0x1c
mov eax, 1
pop ebp
ret

Function at 0x41598c
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], ecx
xor edx, edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], 0x20
mov eax, 1
pop ebp
ret

Function at 0x4182d0
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
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], edx
mov dword [eax + 0xd4], 0x30
mov eax, 1
pop ebp
ret

Function at 0x41837c
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
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], edx
mov dword [eax + 0xd4], 0x40
mov eax, 1
pop ebp
ret
Function at 0x42a0d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
dec ebx
mov edi, dword [ebp + 8]
lea eax, [ebx - 0x29]
cmp esi, eax
jle 0x42a106
push 0x2d
push 0x495cb8
push 0x6e
push 0x79
push 4
call fcn.0043468c
add esp, 0x14
xor eax, eax
jmp 0x42a248
cmp ebx, 0x29
jge 0x42a127
push 0x33
push 0x495cd0
push 0x78
push 0x79
push 4
call fcn.0043468c
add esp, 0x14
xor eax, eax
jmp 0x42a248
push 0x37
push 0x495ce8
lea edx, [ebx - 0x14]
push edx
call fcn.00410324
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42a15f
push 0x3a
push 0x495d00
push 0x41
push 0x79
push 4
call fcn.0043468c
add esp, 0x14
xor eax, eax
jmp 0x42a248
mov byte [edi], 0
lea edx, [edi + 1]
mov dword [ebp - 8], edx
add edi, 0x15
mov dword [ebp - 4], edi
push 0
call fcn.0043653c
push eax
push 0
mov eax, dword [ebp - 4]
push eax
mov edx, dword [ebp + 0x1c]
push edx
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.004363ec
add esp, 0x18
mov edi, ebx
sub edi, esi
mov eax, edi
add eax, 0xffffffd7
push eax
push 0
mov edx, dword [ebp - 4]
add edx, 0x14
push edx
call fcn.0040540c
add esp, 0xc
mov ecx, dword [ebp - 4]
mov byte [ecx + edi - 0x15], 1
push esi
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp - 4]
add edx, ebx
sub edx, esi
add edx, 0xffffffec
push edx
call fcn.0040539c
add esp, 0xc
push 0x14
mov ecx, dword [ebp - 8]
push ecx
call fcn.004334b4
add esp, 8
test eax, eax
jg 0x42a1dd
xor eax, eax
jmp 0x42a248
push 0x14
lea ecx, [ebx - 0x14]
mov edx, dword [ebp - 8]
push edx
push ecx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0042a4e8
mov edx, dword [ebp - 4]
add esp, 0x10
mov esi, edx
mov edx, dword [ebp - 0xc]
xor eax, eax
jmp 0x42a206
mov cl, byte [edx]
inc eax
xor byte [esi], cl
inc esi
inc edx
lea ecx, [ebx - 0x14]
cmp eax, ecx
jl 0x42a1ff
add ebx, 0xffffffec
lea edx, [ebp - 0x20]
push ebx
mov eax, dword [ebp - 4]
push eax
push 0x14
push edx
call fcn.0042a4e8
mov edx, dword [ebp - 8]
add esp, 0x10
mov ecx, edx
lea edx, [ebp - 0x20]
xor eax, eax
mov bl, byte [edx]
xor byte [ecx], bl
inc eax
inc ecx
inc edx
cmp eax, 0x14
jl 0x42a22d
mov eax, dword [ebp - 0xc]
push eax
call fcn.004104e4
pop ecx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a250
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
xor edx, edx
push ebx
push esi
push edi
xor esi, esi
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], edx
dec eax
cmp eax, 0x29
jl 0x42a3c6
mov ecx, eax
sub ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jge 0x42a287
mov dword [ebp - 0xc], 1
xor edx, edx
mov dword [ebp - 8], edx
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 8]
add ecx, 0x14
mov dword [ebp - 4], ecx
lea ebx, [eax - 0x14]
push 0x7a
push 0x495d18
push ebx
call fcn.00410324
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x42a2c9
push 0x7d
push 0x495d30
push 0x41
push 0x7a
push 4
call fcn.0043468c
add esp, 0x14
or eax, 0xffffffff
jmp 0x42a3ec
push ebx
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 4]
push edx
push 0x14
push ecx
call fcn.0042a4e8
add esp, 0x10
mov eax, dword [ebp - 8]
lea edx, [ebp + eax - 0x24]
cmp eax, 0x14
jge 0x42a2fc
mov ecx, eax
mov edi, dword [ebp + 0x10]
sub ecx, dword [ebp - 8]
inc eax
mov cl, byte [edi + ecx]
xor byte [edx], cl
inc edx
cmp eax, 0x14
jl 0x42a2e8
push 0x14
lea eax, [ebp - 0x24]
push eax
push ebx
push esi
call fcn.0042a4e8
mov edx, esi
add esp, 0x10
mov dword [ebp - 0x10], edx
xor eax, eax
mov ecx, dword [ebp - 4]
cmp ebx, eax
mov edx, ecx
jle 0x42a32c
mov cl, byte [edx]
mov edi, dword [ebp - 0x10]
xor byte [edi], cl
inc eax
inc dword [ebp - 0x10]
inc edx
cmp ebx, eax
jg 0x42a31c
push 0
call fcn.0043653c
push eax
lea eax, [ebp - 0x38]
push 0
push eax
mov edx, dword [ebp + 0x20]
push edx
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.004363ec
add esp, 0x18
lea eax, [ebp - 0x38]
push 0x14
push eax
push esi
call fcn.00405664
add esp, 0xc
test eax, eax
jne 0x42a3c6
cmp dword [ebp - 0xc], 0
jne 0x42a3c6
mov eax, 0x14
lea edx, [esi + 0x14]
cmp ebx, eax
jle 0x42a37a
cmp byte [edx], 0
jne 0x42a37a
inc eax
inc edx
cmp ebx, eax
jg 0x42a36f
cmp byte [esi + eax], 1
jne 0x42a3c6
mov ecx, eax
inc eax
cmp ebx, ecx
jle 0x42a3c6
sub ebx, eax
cmp ebx, dword [ebp + 0xc]
jle 0x42a3ab
push 0x9b
push 0x495d48
push 0x6d
push 0x7a
push 4
call fcn.0043468c
add esp, 0x14
or ebx, 0xffffffff
jmp 0x42a3bb
push ebx
add eax, esi
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0040539c
add esp, 0xc
push esi
call fcn.004104e4
pop ecx
mov eax, ebx
jmp 0x42a3ec
push 0xa8
push str..crypto_rsa_rsa_oaep.c
push 0x79
push 0x7a
push 4
call fcn.0043468c
add esp, 0x14
test esi, esi
je 0x42a3e9
push esi
call fcn.004104e4
pop ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a588
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
cmp edx, dword [ebp + 0x18]
jne 0x42a5a3
mov cl, byte [eax]
cmp cl, 0x6a
je 0x42a5c4
cmp cl, 0x6b
je 0x42a5c4
push 0x72
push 0x495d90
push 0x89
push 0x80
push 4
call fcn.0043468c
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret
mov cl, byte [eax]
inc eax
cmp cl, 0x6b
jne 0x42a635
lea esi, [edx - 3]
xor ecx, ecx
cmp esi, ecx
jle 0x42a60b
mov dl, byte [eax]
inc eax
cmp dl, 0xba
je 0x42a60b
cmp dl, 0xbb
je 0x42a606
push 0x81
push 0x495da8
push 0x8a
push 0x80
push 4
call fcn.0043468c
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret
inc ecx
cmp esi, ecx
jg 0x42a5d5
sub esi, ecx
test ecx, ecx
jne 0x42a638
push 0x8a
push 0x495dc0
push 0x8a
push 0x80
push 4
call fcn.0043468c
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret
lea esi, [edx - 2]
cmp byte [eax + esi], 0xcc
je 0x42a662
push 0x93
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.0043468c
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret
push esi
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0040539c
add esp, 0xc
mov eax, esi
pop esi
pop ebp
ret
Function at 0x433de1
Capabilities:
Capture screenshot

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov ebx, 0x10
call sub.KERNEL32.DLL_GetVersion
cmp eax, 0x80000000
jae 0x433f13
call fcn.0040fc90
test eax, eax
je 0x433f13
push 0
push 0
push 0
push str.DISPLAY
call sub.GDI32.DLL_CreateDCA
mov esi, eax
push esi
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [esp], eax
push 8
push esi
call sub.GDI32.DLL_GetDeviceCaps
mov dword [esp + 0x10], eax
push 0xa
push esi
call sub.GDI32.DLL_GetDeviceCaps
mov dword [esp + 0x14], eax
push ebx
mov eax, dword [esp + 0x14]
push eax
push esi
call sub.GDI32.DLL_CreateCompatibleBitmap
mov edi, eax
push edi
mov eax, dword [esp + 4]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [esp + 4], eax
lea edx, [esp + 0x18]
push edx
push 0x18
push edi
call sub.GDI32.DLL_GetObjectA
mov ecx, dword [esp + 0x24]
imul ecx, dword [esp + 0x20]
movzx eax, word [esp + 0x28]
imul ecx, eax
mov dword [esp + 8], ecx
push 0x2d5
push str..crypto_rand_rand_win.c
mov edx, dword [esp + 0x10]
push edx
call fcn.00410324
add esp, 0xc
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x433eed
xor ebp, ebp
jmp 0x433ed8
push 0xcc0020
push ebp
push 0
push esi
push ebx
mov eax, dword [esp + 0x24]
push eax
push 0
push 0
mov edx, dword [esp + 0x20]
push edx
call sub.GDI32.DLL_BitBlt
mov ecx, dword [esp + 0xc]
push ecx
mov eax, dword [esp + 0xc]
push eax
push edi
call sub.GDI32.DLL_GetBitmapBits
push 0
call fcn.0043653c
push eax
push 0
lea edx, [esp + 0x3c]
push edx
mov ecx, dword [esp + 0x18]
push ecx
mov eax, dword [esp + 0x20]
push eax
call fcn.004363ec
add esp, 0x18
push 0
push 0
push 0x14
lea edx, [esp + 0x3c]
push edx
call fcn.0043348c
add esp, 0x10
add ebp, ebx
mov ecx, dword [esp + 0x14]
sub ecx, ebx
cmp ebp, ecx
jl 0x433e75
mov eax, dword [esp + 0xc]
push eax
call fcn.004104e4
pop ecx
mov edx, dword [esp + 4]
push edx
mov ecx, dword [esp + 4]
push ecx
call sub.GDI32.DLL_SelectObject
mov edi, eax
push edi
call sub.GDI32.DLL_DeleteObject
mov eax, dword [esp]
push eax
call sub.GDI32.DLL_DeleteDC
push esi
call sub.GDI32.DLL_DeleteDC
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x437170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor ecx, ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
test esi, esi
je 0x437189
cmp dword [esi + 8], 0
jne 0x437190
xor eax, eax
jmp 0x437283
mov edx, dword [esi + 4]
and edx, 0x100
mov dword [ebp - 8], edx
mov eax, dword [esi]
test eax, eax
jne 0x4371ab
mov dword [ebp - 4], 1
jmp 0x437208
mov dword [ebp - 4], eax
xor eax, eax
mov edx, dword [esi + 8]
cmp dword [ebp - 8], 0
mov al, byte [edx]
jne 0x4371c9
cmp eax, 0x7f
jle 0x4371c9
mov ebx, 1
xor ecx, ecx
jmp 0x437205
cmp dword [ebp - 8], 0
je 0x437205
cmp eax, 0x80
jle 0x4371df
mov ebx, 1
mov cl, 0xff
jmp 0x437205
cmp eax, 0x80
jne 0x437205
mov eax, 1
mov edx, dword [esi + 8]
inc edx
jmp 0x437201
cmp byte [edx], 0
je 0x4371ff
mov ebx, 1
mov cl, 0xff
jmp 0x437205
inc eax
inc edx
cmp eax, dword [esi]
jl 0x4371f1
add dword [ebp - 4], ebx
cmp dword [ebp + 0xc], 0
jne 0x437213
mov eax, dword [ebp - 4]
jmp 0x437283
mov edx, dword [ebp + 0xc]
test ebx, ebx
mov edx, dword [edx]
je 0x43721f
mov byte [edx], cl
inc edx
cmp dword [esi], 0
jne 0x437229
mov byte [edx], 0
jmp 0x437278
cmp dword [ebp - 8], 0
jne 0x437241
mov eax, dword [esi]
push eax
mov ecx, dword [esi + 8]
push ecx
push edx
call fcn.0040539c
add esp, 0xc
jmp 0x437278
mov eax, dword [esi]
mov ecx, dword [esi + 8]
add ecx, eax
mov ebx, eax
dec ebx
dec ecx
add edx, ebx
jmp 0x437256
mov byte [edx], 0
dec edx
dec ecx
dec eax
cmp byte [ecx], 0
je 0x437250
mov bl, byte [ecx]
dec ecx
xor bl, 0xff
dec eax
inc ebx
mov byte [edx], bl
dec edx
test eax, eax
jle 0x437278
mov bl, byte [ecx]
dec ecx
xor bl, 0xff
dec eax
mov byte [edx], bl
dec edx
test eax, eax
jg 0x43726a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
add dword [eax], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x43728c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
cmp dword [ebp + 8], 0
je 0x4372a2
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x4372c0
push 2
call fcn.0043b5bc
pop ecx
mov esi, eax
test eax, eax
jne 0x4372b7
xor eax, eax
jmp 0x43740a
mov dword [esi + 4], 2
jmp 0x4372c5
mov edx, dword [ebp + 8]
mov esi, dword [edx]
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x10]
add eax, ebx
mov dword [ebp - 4], eax
push 0xc7
push 0x4a6344
mov edx, dword [ebp + 0x10]
inc edx
push edx
call fcn.00410324
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4372fc
mov eax, 0x41
jmp 0x4373d6
cmp dword [ebp + 0x10], 0
mov edx, dword [ebp - 8]
jne 0x437311
mov dword [esi + 4], 2
jmp 0x4373a6
test byte [ebx], 0x80
je 0x43737f
mov dword [esi + 4], 0x102
cmp byte [ebx], 0xff
jne 0x43732c
cmp dword [ebp + 0x10], 1
je 0x43732c
inc ebx
dec dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
lea ecx, [eax - 1]
add ebx, ecx
add edx, ecx
jmp 0x43733e
mov byte [edx], 0
dec edx
dec eax
dec ebx
cmp byte [ebx], 0
jne 0x437347
test eax, eax
jne 0x437338
test eax, eax
jne 0x437360
mov edx, dword [ebp - 8]
mov byte [edx], 1
mov eax, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
mov byte [eax + edx], 0
inc dword [ebp + 0x10]
jmp 0x4373a6
mov cl, byte [ebx]
dec ebx
xor cl, 0xff
dec eax
inc ecx
mov byte [edx], cl
dec edx
test eax, eax
jle 0x4373a6
mov cl, byte [ebx]
dec ebx
xor cl, 0xff
dec eax
mov byte [edx], cl
dec edx
test eax, eax
jg 0x43736f
jmp 0x4373a6
mov dword [esi + 4], 2
cmp byte [ebx], 0
jne 0x437395
cmp dword [ebp + 0x10], 1
je 0x437395
inc ebx
dec dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
push eax
push ebx
mov edx, dword [ebp - 8]
push edx
call fcn.0040539c
add esp, 0xc
mov eax, dword [esi + 8]
test eax, eax
je 0x4373b4
push eax
call fcn.004104e4
pop ecx
mov edx, dword [ebp - 8]
mov dword [esi + 8], edx
mov ecx, dword [ebp + 0x10]
mov dword [esi], ecx
cmp dword [ebp + 8], 0
je 0x4373ca
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [edx], ecx
mov eax, esi
jmp 0x43740a
push 0x103
push 0x4a635a
push eax
push 0xc2
push 0xd
call fcn.0043468c
add esp, 0x14
test esi, esi
je 0x437408
cmp dword [ebp + 8], 0
je 0x437401
mov edx, dword [ebp + 8]
cmp esi, dword [edx]
je 0x437408
push esi
call fcn.0043b60c
pop ecx
xor eax, eax
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret