joyce8/EMBER2024-capa huggingface dataset:
Function at 0x23b62270
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
push ebp
push esi
mov ebp, 1
push ebp
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x23b62402
mov eax, dword [esi + 0xc0]
push edi
push eax
mov dword [esi + 0x68], ebp
call fcn.23b62050
mov edi, eax
mov edx, dword [edi]
mov eax, dword [esi + 0x134]
mov edx, dword [edx]
add esp, 4
push eax
mov ecx, edi
call edx
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
mov ecx, eax
add ecx, ecx
add ecx, ecx
mov eax, 0xcccccccd
mul ecx
push 0
shr edx, 2
push edx
mov edx, dword [esi + 0xc0]
mov eax, dword [edx + 0x20]
push 0x459d
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.23a3270a
push ebx
mov eax, dword [esi + 0xc0]
test eax, eax
jne 0x23b62303
xor ebx, ebx
jmp 0x23b62306
mov ebx, dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, ebx
jne 0x23b623c4
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
push 0
mov ecx, esi
call eax
test eax, eax
je 0x23b623c4
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x23b623ba
mov eax, dword [esp + 0x14]
cmp eax, 0x113
jne 0x23b62398
cmp dword [esp + 0x18], 0x459d
jne 0x23b6239f
mov edx, dword [edi]
mov eax, dword [esi + 0x134]
mov edx, dword [edx]
push eax
mov ecx, edi
call edx
test ebp, ebp
je 0x23b62391
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
push 0
shr edx, 3
push edx
mov edx, dword [esi + 0xc0]
mov eax, dword [edx + 0x20]
push 0x459d
push eax
call dword [sym.imp.USER32.dll_SetTimer]
xor ebp, ebp
jmp 0x23b622f5
cmp eax, 0x202
je 0x23b623c4
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x23b622f5
mov eax, dword [esp + 0x18]
push eax
call fcn.23a36ebd
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx + 0x20]
push 0x459d
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi]
mov edx, dword [eax + 0x80]
xor edi, edi
push edi
mov ecx, esi
mov dword [esi + 0x68], edi
call edx
pop ebx
test eax, eax
jne 0x23b623f9
mov dword [esi + 0x64], edi
push edi
mov ecx, esi
call fcn.23afe9d0
pop edi
pop esi
pop ebp
add esp, 0x1c
ret 0xc
Function at 0x23b628a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x23bdc290
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x244]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x44]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x240]
mov ecx, dword [eax + 0x44]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 0x48]
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0x50]
mov ecx, dword [esi + 0x244]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x24], edx
call fcn.23a3869a
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.23a9d450
mov ecx, eax
call fcn.23a9ceb0
mov ecx, dword [esi + 0x244]
mov eax, dword [ecx]
mov edx, dword [eax + 0x240]
call edx
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0x160]
mov ebx, eax
mov eax, dword [esp + 0x44]
sub edi, eax
cmp eax, ecx
mov dword [esi + 0x150], edx
mov dword [esi + 0x14c], eax
jge 0x23b62966
sub eax, ecx
add edi, eax
mov dword [esi + 0x14c], ecx
mov ecx, dword [esi + 0x14c]
mov eax, dword [esp + 0x3c]
lea ebp, [ecx + edi]
cmp ebp, eax
jle 0x23b6297e
sub eax, ecx
sub eax, 4
mov edi, eax
add edx, ebx
cmp edx, dword [esp + 0x40]
jle 0x23b62994
mov eax, dword [esi + 0x158]
sub eax, ebx
mov dword [esi + 0x150], eax
push esi
lea ecx, [esp + 0x68]
call fcn.23a38992
mov ecx, esi
mov dword [esp + 0x80], 0
call fcn.23ae4e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xec]
push esi
call eax
push eax
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x5c]
call fcn.23a677a0
mov edx, dword [esi]
mov eax, dword [edx + 0x1dc]
mov ecx, esi
mov byte [esp + 0x80], 1
call eax
push ebx
push edi
push 0
push 0
lea ebp, [esi + 0x248]
push ebp
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 0x24c]
mov ecx, dword [ebp]
mov edx, dword [esi + 0x240]
add eax, 3
add ecx, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], 6
mov dword [esp + 0x30], 3
mov ecx, dword [edx + 0x8c]
mov edx, dword [ebp + 8]
sub edx, dword [ebp]
lea eax, [esp + 0x24]
push eax
push 0x40
push edx
lea eax, [esp + 0x70]
push eax
call fcn.23b66730
add esi, 0x17c
push esi
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov esi, dword [esp + 0x88]
lea ecx, [esp + 0x54]
mov dword [esi], edi
mov dword [esi + 4], ebx
mov byte [esp + 0x80], 0
call fcn.23a677e0
lea ecx, [esp + 0x64]
mov dword [esp + 0x80], 0xffffffff
call fcn.23a389e6
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 0xc
Function at 0x23b64a70
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.23ae4e30
mov esi, dword [eax + 0xa0]
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.23a3b00e
push 0x7f00
push ebp
call dword [sym.imp.USER32.dll_LoadCursorW]
push ebp
push ebp
push esi
lea ecx, [esp + 0x1c]
push ecx
push 0x46000000
push ebp
push ebp
push ebp
push eax
push ebp
call fcn.23a3543e
push eax
mov ecx, edi
call fcn.23a3137b
cmp edi, ebp
je 0x23b64acf
lea ecx, [edi + 0x54]
jmp 0x23b64ad1
xor ecx, ecx
cmp esi, ebp
jne 0x23b64ad9
xor eax, eax
jmp 0x23b64adc
mov eax, dword [esi + 0x20]
push ecx
push eax
call fcn.23ab8b00
mov ecx, eax
call fcn.23ab87f0
cmp edi, ebp
je 0x23b64af3
lea eax, [edi + 0x54]
jmp 0x23b64af5
xor eax, eax
push eax
mov ecx, edi
call fcn.23ae4e30
mov ecx, eax
call fcn.23ae3030
mov ecx, eax
call fcn.23b35570
mov ecx, edi
call fcn.23b63fd0
push 0xffffffffffffffff
lea ebx, [edi + 0x16c]
push ebp
mov ecx, ebx
call fcn.23a4391f
mov edx, dword [esi + 0x20]
push 5
push edx
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
cmp esi, ebp
je 0x23b64b8a
mov ebp, dword [sym.imp.USER32.dll_GetWindowLongW]
lea ebx, [ebx]
push esi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
cmp eax, 0xe81b
je 0x23b64b79
cmp esi, dword [edi + 0x20]
je 0x23b64b79
push 0xfffffffffffffff0
push esi
call ebp
and eax, 0x18000000
cmp eax, 0x10000000
jne 0x23b64b79
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 8]
push esi
push eax
mov ecx, ebx
call fcn.23a43a5a
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x23b64b40
xor ebp, ebp
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, edi
xor esi, esi
call fcn.23ae57b0
test eax, eax
jle 0x23b64bd6
push esi
mov ecx, edi
call fcn.23ae57c0
mov ecx, eax
call fcn.23afe4f0
mov ecx, edi
test eax, eax
jne 0x23b64bc8
inc esi
call fcn.23ae57b0
cmp esi, eax
jl 0x23b64ba1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push esi
call fcn.23ae57c0
push eax
mov ecx, edi
call fcn.23b64570
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x23b691e0
Capabilities:
Encode data using xor

Disassembly:
movzx ecx, word [edx]
xor eax, eax
test cx, cx
je 0x23b69206
lea ebx, [ebx]
imul eax, eax, 0xf4243
movzx ecx, cx
add edx, 2
xor eax, ecx
movzx ecx, word [edx]
test cx, cx
jne 0x23b691f0
ret
Function at 0x23b7c55f
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 2
test eax, eax
jle 0x23b7c59e
push esi
movzx esi, byte [ecx]
xor ebx, ebx
dec eax
inc ecx
mov bh, byte [ecx]
or esi, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or esi, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or esi, ebx
inc ecx
xor edx, esi
test eax, eax
jg 0x23b7c579
pop esi
and edi, 3
xor eax, eax
dec edi
je 0x23b7c5ba
dec edi
je 0x23b7c5b3
dec edi
jne 0x23b7c5bf
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor ebx, ebx
mov bh, byte [ecx]
or eax, ebx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
pop edi
xor eax, edx
pop ebx
pop ebp
ret 0xc

Function at 0x23b80370
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
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], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], 0x20
lea eax, [ecx + 1]
ret
Function at 0x23b821e0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
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], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x5c], ecx
lea eax, [ecx + 1]
ret
Function at 0x23b88590
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.23a4adf0
mov eax, dword [0x23c68938]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x23b885f5
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x23b885f5
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.23a5a8d9
add eax, 0x40
push eax
call fcn.23bc8bb8
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.23a4addf
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.23bc8a80
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x23b88684
call fcn.23b884b0
test eax, eax
je 0x23b88684
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.23a4addf
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.23a4addf
add esp, 0x108
ret
Function at 0x23b91d90
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
push ebx
call fcn.23bc9014
mov edi, eax
add esp, 8
test edi, edi
jne 0x23b91e26
push 0x7e
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.23b84950
push 0x23c2d678
push esi
push 0x23c2d674
push ebx
push str.fopen_
push 5
call fcn.23b84b50
add esp, 0x2c
call fcn.23a4c6bd
cmp dword [eax], 2
jne 0x23b91e08
push 0x81
push str..crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.23b84950
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0x83
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.23b84950
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0x23c78178
call fcn.23b82180
mov esi, eax
add esp, 4
test esi, esi
jne 0x23b91e48
push edi
call fcn.23a5f3a8
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0
push esi
call fcn.23b81de0
push edi
push 1
push 0x6a
push esi
call fcn.23b820f0
add esp, 0x18
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x23b981c0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x23b98207
mov al, byte [edx]
test al, al
je 0x23b98207
push edi
mov edi, 0x100
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
and ecx, 0xf
add edi, 0x100
rol esi, cl
mov ecx, eax
imul ecx, eax
mov al, byte [edx + 1]
inc edx
xor esi, ecx
test al, al
jne 0x23b981d7
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x23b9eb40
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.23a4adf0
mov eax, dword [0x23c68938]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x38]
dec ebp
lea edx, [ebp - 0x29]
cmp ebx, edx
push edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jle 0x23b9eba5
push 0x2d
push str..crypto_rsa_rsa_oaep.c
push 0x6e
push 0x79
push 4
call fcn.23b84950
add esp, 0x14
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.23a4addf
add esp, 0x28
ret
cmp ebp, 0x29
jge 0x23b9ebd3
push 0x33
push str..crypto_rsa_rsa_oaep.c
push 0x78
push 0x79
push 4
call fcn.23b84950
add esp, 0x14
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.23a4addf
add esp, 0x28
ret
push 0x37
lea eax, [ebp - 0x14]
push str..crypto_rsa_rsa_oaep.c
push eax
mov dword [esp + 0x18], eax
call fcn.23b881c0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x23b9ec1b
push 0x3a
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0x79
push 4
call fcn.23b84950
add esp, 0x14
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.23a4addf
add esp, 0x28
ret
push esi
mov byte [edi], 0
lea esi, [edi + 1]
push 0
add edi, 0x15
call fcn.23ba6420
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x58]
push 0
push edi
push eax
push ecx
call fcn.23ba0190
mov edx, ebp
sub edx, ebx
sub edx, 0x29
push edx
lea eax, [edi + 0x14]
push 0
push eax
call fcn.23a49830
mov edx, dword [esp + 0x3c]
mov ecx, edi
sub ecx, ebx
add ebp, ecx
push ebx
mov byte [ebp - 0x15], 1
push edx
add ebp, 0xffffffec
push ebp
call fcn.23a4a910
push 0x14
push esi
call fcn.23b8bba0
add esp, 0x38
test eax, eax
jg 0x23b9ec8f
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.23a4addf
add esp, 0x28
ret
call fcn.23ba6420
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
push eax
push 0x14
push esi
push ebx
push ebp
call fcn.23b9ea00
add esp, 0x14
test ebx, ebx
jle 0x23b9ecbf
mov eax, edi
sub ebp, edi
mov ecx, ebx
mov dl, byte [eax + ebp]
xor byte [eax], dl
inc eax
sub ecx, 1
jne 0x23b9ecb4
call fcn.23ba6420
push eax
push ebx
push edi
lea eax, [esp + 0x2c]
push 0x14
push eax
call fcn.23b9ea00
lea ecx, [esp + 0x34]
lea edi, [esp + 0x35]
lea ebp, [esp + 0x36]
lea edx, [esp + 0x37]
sub ecx, esi
sub edi, esi
sub ebp, esi
sub edx, esi
lea ebx, [esp + 0x38]
add esp, 0x14
sub ebx, esi
mov eax, esi
mov dword [esp + 0x10], ebx
mov esi, 4
nop
movzx ebx, byte [ecx + eax]
xor byte [eax], bl
movzx ebx, byte [edi + eax]
xor byte [eax + 1], bl
movzx ebx, byte [eax + ebp]
xor byte [eax + 2], bl
movzx ebx, byte [edx + eax]
xor byte [eax + 3], bl
mov ebx, dword [esp + 0x10]
movzx ebx, byte [ebx + eax]
xor byte [eax + 4], bl
add eax, 5
sub esi, 1
jne 0x23b9ed00
mov ecx, dword [esp + 0x14]
push ecx
call fcn.23b88370
mov ecx, dword [esp + 0x38]
add esp, 4
lea eax, [esi + 1]
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.23a4addf
add esp, 0x28
ret
Function at 0x23b9f350
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x23b9f41c
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x23b9f371
cmp al, 0x6b
jne 0x23b9f41c
lea edx, [ecx + 1]
cmp al, 0x6b
jne 0x23b9f3dd
add esi, 0xfffffffd
xor ecx, ecx
test esi, esi
jle 0x23b9f391
mov al, byte [edx]
inc edx
cmp al, 0xba
je 0x23b9f391
cmp al, 0xbb
jne 0x23b9f3ba
inc ecx
cmp ecx, esi
jl 0x23b9f381
sub esi, ecx
test ecx, ecx
jne 0x23b9f3e0
push 0x8a
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.23b84950
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x81
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.23b84950
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + edx], 0xcc
je 0x23b9f409
push 0x93
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.23b84950
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 8]
push esi
push edx
push eax
call fcn.23a4a910
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x72
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.23b84950
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x23ba4960
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
mov ebx, dword [esp + 0x10]
cmp ecx, dword [ebx + 4]
push esi
push edi
jge 0x23ba4979
mov edi, ebx
mov ebx, eax
jmp 0x23ba497b
mov edi, eax
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x10]
cmp eax, dword [esi + 8]
jle 0x23ba4991
push eax
push esi
call fcn.23b893e0
add esp, 8
xor eax, eax
cmp dword [ebx + 4], eax
jle 0x23ba49ad
mov edx, dword [edi]
mov ecx, dword [ebx]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [ebx + 4]
jl 0x23ba4998
cmp eax, dword [edi + 4]
jge 0x23ba49c2
mov edx, dword [edi]
mov edx, dword [edx + eax*4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x23ba49b2
mov edi, dword [edi + 4]
mov dword [esi + 4], edi
test edi, edi
jle 0x23ba49e6
mov eax, dword [esi]
lea eax, [eax + edi*4 - 4]
or ecx, 0xffffffff
mov edx, dword [eax]
sub eax, 4
test edx, edx
jne 0x23ba49e6
add dword [esi + 4], ecx
cmp dword [esi + 4], edx
jg 0x23ba49d5
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x23bbb5fb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x23bbb643
call fcn.23a3b00e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x23bbb643
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x23bbb686
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x23bbb66f
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x23bbb66f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x23bbb683
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0xdc0214
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdc021e
pushal
call 0xdc0224
pop ebp
sub ebp, 0x10
sub ebp, 0x9c0214
jmp 0xdc023a
mov eax, 0x9c0214
add eax, ebp
add eax, 0x4c
mov ecx, 0x5e0
mov edx, 0xa9294116
xor byte [eax], dl
inc eax
dec ecx
jne 0xdc0251
jmp 0xdc0264
mov ecx, ebp
mov ecx, dword [ecx + 0x3c]
add ecx, 0xf8
add ecx, ebp
mov eax, 4
mov edx, 0x28
mul edx
add ecx, eax
mov eax, dword [ecx + 0xc]
add eax, ebp
push eax
lea esp, [esp - 4]
mov dword [esp], eax
push 0x209a94
push 0x7b6780
add dword [esp], ebp
push 0xde15894d
call fcn.00dc02ae
jmp 0xdc02de
mov ecx, dword [esp + 4]
push 0x209a94
push 0x7b6780
add dword [esp], ebp
push ecx
call fcn.00dc02fd
jmp 0xdc054e
pop edi
mov esi, dword [esp]
lea esp, [esp + 4]
jmp 0xdc055f
mov eax, 0x9c0214
add eax, ebp
add eax, 0x371
mov ecx, 0x2bb
mov edx, 0x4f659257
xor byte [eax], dl
inc eax
dec ecx
jne 0xdc0576
jmp 0xdc0589
xchg esi, edi
xchg edi, esi
mov esi, dword [edi + 0x3c]
xchg edi, esi
mov edi, dword [edi + esi + 0xa0]
add edi, esi
push esi
pop ebx
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x34]
sub ebx, eax
xchg edx, edi
mov edi, dword [edx]
xchg edx, edi
xchg ecx, edi
mov edi, dword [ecx + 4]
xchg ecx, edi
cmp edx, 0
je 0xdc0609
add edx, esi
add edi, 8
sub ecx, 8
cmp ecx, 0
je 0xdc05a9
mov ax, word [edi]
shr eax, 0xc
and eax, 0xf
cmp eax, 3
jne 0xdc05ff
mov ax, word [edi]
and eax, 0xfff
add eax, edx
add dword [eax], ebx
dec ecx
dec ecx
add edi, 2
jmp 0xdc05d1
jmp 0xdc0612
mov eax, 0x9c0214
add eax, ebp
add eax, 0x424
mov ecx, 0x208
mov edx, 0x7d35596c
xor byte [eax], dl
inc eax
dec ecx
jne 0xdc0629
jmp 0xdc063c
xchg edi, esi
mov esi, dword [edi + 0x3c]
xchg edi, esi
mov edi, dword [edi + esi + 0x80]
add edi, esi
cmp dword [edi + 0xc], 0
je 0xdc071a
xchg edi, eax
mov edi, dword [eax + 0xc]
xchg edi, eax
add eax, esi
push eax
call dword [ebp + 0x7b5d8c]
cmp eax, 0
jne 0xdc067c
mov eax, dword [edi + 0xc]
add eax, esi
push eax
call dword [ebp + 0x7b5d98]
cmp dword [edi + 0xc], 0
je 0xdc071a
cmp dword [edi], 0
jne 0xdc069a
cmp dword [edi + 0x10], 0
je 0xdc0708
lea esp, [esp - 4]
mov dword [esp], ebp
lea edx, [ebp]
xchg ebp, edi
mov edi, dword [ebp + 0x10]
xchg ebp, edi
add ebp, esi
cmp dword [ebp], 0
je 0xdc0708
mov ecx, dword [ebp]
lea esp, [esp - 4]
mov dword [esp], eax
lea esp, [esp - 4]
mov dword [esp], edx
or ecx, ecx
jns 0xdc06d6
push ecx
jmp 0xdc06df
add ecx, esi
add ecx, 2
push ecx
lea esp, [esp - 4]
mov dword [esp], eax
call dword [edx + 0x7b5d90]
mov edx, dword [esp]
lea esp, [esp + 4]
mov dword [ebp], eax
mov eax, dword [esp]
lea esp, [esp + 4]
add ebp, 4
jmp 0xdc06ad
mov ebp, dword [esp]
lea esp, [esp + 4]
add edi, 0x14
jmp 0xdc064c
push esp
push dword fs:[0]
push 0x9c0841
lea esp, [esp - 4]
mov dword [esp], ebp
lea esp, [esp - 4]
mov dword [esp], esi
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x28]
add eax, esi
jmp eax

Function at 0xdc02ae
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
shr ecx, 2
xor dword [edx], eax
add edx, 4
dec ecx
jne 0xdc02c8
mov ebp, dword [esp]
lea esp, [esp + 4]
ret 0xc
Function at 0xdc038f
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebp
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0xdc03c0
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xdc039e
add dl, dl
jne 0xdc03d3
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xdc0443
xor eax, eax
add dl, dl
jne 0xdc03e8
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xdc0518
add dl, dl
jne 0xdc03fb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdc040a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdc0419
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdc0428
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xdc0436
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xdc03b3
mov eax, 1
add dl, dl
jne 0xdc0455
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdc0464
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xdc0448
sub eax, ebx
mov ebx, 1
jne 0xdc04ab
mov ecx, 1
add dl, dl
jne 0xdc0489
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xdc0498
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xdc047c
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xdc03b3
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xdc04c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xdc04d5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xdc04b9
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xdc03b3
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xdc0540
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xdc03b3
pop ebp
sub edi, dword [ebp + 8]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8