joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cf04
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 0x41cf60
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 0x41f8a4
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 0x41f950
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 0x42f82c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
xor eax, eax
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp + 0x10]
jne 0x42f85f
mov ecx, dword [ebp + 0x18]
push ecx
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042fa6c
add esp, 0x10
jmp 0x42f9cf
mov eax, dword [ebp + 0x18]
push eax
call fcn.0042689c
pop ecx
mov edx, dword [ebp + 0x18]
push edx
call fcn.0042692c
pop ecx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x42f9c2
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [edx + 4]
mov edx, dword [ebp - 0xc]
add esi, dword [eax + 4]
add esi, 4
cmp esi, dword [edx + 8]
jg 0x42f89a
mov ecx, dword [ebp - 0xc]
jmp 0x42f8a9
push esi
mov eax, dword [ebp - 0xc]
push eax
call fcn.00426064
add esp, 8
mov ecx, eax
test ecx, ecx
je 0x42f9c2
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], esi
xor ebx, ebx
cmp esi, ebx
jle 0x42f8cc
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
xor ecx, ecx
mov dword [edx + ebx*4], ecx
inc ebx
cmp esi, ebx
jg 0x42f8bd
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x42f965
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx]
mov edx, dword [ebp - 4]
mov ecx, dword [ecx + edx*4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 4]
inc edx
cmp eax, edx
jne 0x42f8f0
xor eax, eax
jmp 0x42f8fc
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
mov edx, dword [ebp - 4]
mov eax, dword [eax + edx*4 + 4]
mov dword [ebp - 0x10], eax
xor ebx, ebx
jmp 0x42f957
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx + ebx*4]
lea ecx, [ebx + 1]
cmp edx, ecx
jne 0x42f916
xor edx, edx
jmp 0x42f91f
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx]
mov edx, dword [ecx + ebx*4 + 4]
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
push ecx
push eax
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.0042f424
add esp, 0x14
xor eax, eax
lea edx, [ebp - 0x24]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
add ecx, ebx
mov edi, dword [edx]
add ecx, eax
mov esi, dword [esi]
inc eax
add edx, 4
xor dword [esi + ecx*4], edi
cmp eax, 4
jl 0x42f93a
add ebx, 2
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 4]
cmp ebx, edx
jl 0x42f903
add dword [ebp - 4], 2
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 4]
cmp eax, dword [ebp - 4]
jg 0x42f8d6
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
test eax, eax
jle 0x42f9a3
shl eax, 2
mov edx, dword [ebp - 0xc]
add eax, dword [edx]
add eax, 0xfffffffc
jmp 0x42f99a
mov ecx, dword [eax]
add eax, 0xfffffffc
test ecx, ecx
jne 0x42f9a3
mov edx, dword [ebp - 0xc]
dec dword [edx + 4]
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0
jg 0x42f98b
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0042f52c
add esp, 0xc
test eax, eax
je 0x42f9c2
mov dword [ebp - 8], 1
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.004268ec
pop ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434014
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 0x43404a
push 0x2d
push 0x51fd7c
push 0x6e
push 0x79
push 4
call fcn.004415ac
add esp, 0x14
xor eax, eax
jmp 0x43418c
cmp ebx, 0x29
jge 0x43406b
push 0x33
push 0x51fd94
push 0x78
push 0x79
push 4
call fcn.004415ac
add esp, 0x14
xor eax, eax
jmp 0x43418c
push 0x37
push 0x51fdac
lea edx, [ebx - 0x14]
push edx
call fcn.004178f8
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4340a3
push 0x3a
push 0x51fdc4
push 0x41
push 0x79
push 4
call fcn.004415ac
add esp, 0x14
xor eax, eax
jmp 0x43418c
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.0044345c
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.0044330c
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.00409a4c
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.004099dc
add esp, 0xc
push 0x14
mov ecx, dword [ebp - 8]
push ecx
call fcn.004403d4
add esp, 8
test eax, eax
jg 0x434121
xor eax, eax
jmp 0x43418c
push 0x14
lea ecx, [ebx - 0x14]
mov edx, dword [ebp - 8]
push edx
push ecx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0043442c
mov edx, dword [ebp - 4]
add esp, 0x10
mov esi, edx
mov edx, dword [ebp - 0xc]
xor eax, eax
jmp 0x43414a
mov cl, byte [edx]
inc eax
xor byte [esi], cl
inc esi
inc edx
lea ecx, [ebx - 0x14]
cmp eax, ecx
jl 0x434143
add ebx, 0xffffffec
lea edx, [ebp - 0x20]
push ebx
mov eax, dword [ebp - 4]
push eax
push 0x14
push edx
call fcn.0043442c
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 0x434171
mov eax, dword [ebp - 0xc]
push eax
call fcn.00417ab8
pop ecx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434194
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 0x43430a
mov ecx, eax
sub ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jge 0x4341cb
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 0x51fddc
push ebx
call fcn.004178f8
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x43420d
push 0x7d
push 0x51fdf4
push 0x41
push 0x7a
push 4
call fcn.004415ac
add esp, 0x14
or eax, 0xffffffff
jmp 0x434330
push ebx
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 4]
push edx
push 0x14
push ecx
call fcn.0043442c
add esp, 0x10
mov eax, dword [ebp - 8]
lea edx, [ebp + eax - 0x24]
cmp eax, 0x14
jge 0x434240
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 0x43422c
push 0x14
lea eax, [ebp - 0x24]
push eax
push ebx
push esi
call fcn.0043442c
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 0x434270
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 0x434260
push 0
call fcn.0044345c
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.0044330c
add esp, 0x18
lea eax, [ebp - 0x38]
push 0x14
push eax
push esi
call fcn.00409ca4
add esp, 0xc
test eax, eax
jne 0x43430a
cmp dword [ebp - 0xc], 0
jne 0x43430a
mov eax, 0x14
lea edx, [esi + 0x14]
cmp ebx, eax
jle 0x4342be
cmp byte [edx], 0
jne 0x4342be
inc eax
inc edx
cmp ebx, eax
jg 0x4342b3
cmp byte [esi + eax], 1
jne 0x43430a
mov ecx, eax
inc eax
cmp ebx, ecx
jle 0x43430a
sub ebx, eax
cmp ebx, dword [ebp + 0xc]
jle 0x4342ef
push 0x9b
push 0x51fe0c
push 0x6d
push 0x7a
push 4
call fcn.004415ac
add esp, 0x14
or ebx, 0xffffffff
jmp 0x4342ff
push ebx
add eax, esi
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.004099dc
add esp, 0xc
push esi
call fcn.00417ab8
pop ecx
mov eax, ebx
jmp 0x434330
push 0xa8
push str..crypto_rsa_rsa_oaep.c
push 0x79
push 0x7a
push 4
call fcn.004415ac
add esp, 0x14
test esi, esi
je 0x43432d
push esi
call fcn.00417ab8
pop ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4344cc
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 0x4344e7
mov cl, byte [eax]
cmp cl, 0x6a
je 0x434508
cmp cl, 0x6b
je 0x434508
push 0x72
push 0x51fe54
push 0x89
push 0x80
push 4
call fcn.004415ac
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret
mov cl, byte [eax]
inc eax
cmp cl, 0x6b
jne 0x434579
lea esi, [edx - 3]
xor ecx, ecx
cmp esi, ecx
jle 0x43454f
mov dl, byte [eax]
inc eax
cmp dl, 0xba
je 0x43454f
cmp dl, 0xbb
je 0x43454a
push 0x81
push 0x51fe6c
push 0x8a
push 0x80
push 4
call fcn.004415ac
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret
inc ecx
cmp esi, ecx
jg 0x434519
sub esi, ecx
test ecx, ecx
jne 0x43457c
push 0x8a
push 0x51fe84
push 0x8a
push 0x80
push 4
call fcn.004415ac
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret
lea esi, [edx - 2]
cmp byte [eax + esi], 0xcc
je 0x4345a6
push 0x93
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.004415ac
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret
push esi
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.004099dc
add esp, 0xc
mov eax, esi
pop esi
pop ebp
ret
Function at 0x440d01
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 0x440e33
call fcn.00417264
test eax, eax
je 0x440e33
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.004178f8
add esp, 0xc
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x440e0d
xor ebp, ebp
jmp 0x440df8
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.0044345c
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.0044330c
add esp, 0x18
push 0
push 0
push 0x14
lea edx, [esp + 0x3c]
push edx
call fcn.004403ac
add esp, 0x10
add ebp, ebx
mov ecx, dword [esp + 0x14]
sub ecx, ebx
cmp ebp, ecx
jl 0x440d95
mov eax, dword [esp + 0xc]
push eax
call fcn.00417ab8
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 0x444090
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 0x4440a9
cmp dword [esi + 8], 0
jne 0x4440b0
xor eax, eax
jmp 0x4441a3
mov edx, dword [esi + 4]
and edx, 0x100
mov dword [ebp - 8], edx
mov eax, dword [esi]
test eax, eax
jne 0x4440cb
mov dword [ebp - 4], 1
jmp 0x444128
mov dword [ebp - 4], eax
xor eax, eax
mov edx, dword [esi + 8]
cmp dword [ebp - 8], 0
mov al, byte [edx]
jne 0x4440e9
cmp eax, 0x7f
jle 0x4440e9
mov ebx, 1
xor ecx, ecx
jmp 0x444125
cmp dword [ebp - 8], 0
je 0x444125
cmp eax, 0x80
jle 0x4440ff
mov ebx, 1
mov cl, 0xff
jmp 0x444125
cmp eax, 0x80
jne 0x444125
mov eax, 1
mov edx, dword [esi + 8]
inc edx
jmp 0x444121
cmp byte [edx], 0
je 0x44411f
mov ebx, 1
mov cl, 0xff
jmp 0x444125
inc eax
inc edx
cmp eax, dword [esi]
jl 0x444111
add dword [ebp - 4], ebx
cmp dword [ebp + 0xc], 0
jne 0x444133
mov eax, dword [ebp - 4]
jmp 0x4441a3
mov edx, dword [ebp + 0xc]
test ebx, ebx
mov edx, dword [edx]
je 0x44413f
mov byte [edx], cl
inc edx
cmp dword [esi], 0
jne 0x444149
mov byte [edx], 0
jmp 0x444198
cmp dword [ebp - 8], 0
jne 0x444161
mov eax, dword [esi]
push eax
mov ecx, dword [esi + 8]
push ecx
push edx
call fcn.004099dc
add esp, 0xc
jmp 0x444198
mov eax, dword [esi]
mov ecx, dword [esi + 8]
add ecx, eax
mov ebx, eax
dec ebx
dec ecx
add edx, ebx
jmp 0x444176
mov byte [edx], 0
dec edx
dec ecx
dec eax
cmp byte [ecx], 0
je 0x444170
mov bl, byte [ecx]
dec ecx
xor bl, 0xff
dec eax
inc ebx
mov byte [edx], bl
dec edx
test eax, eax
jle 0x444198
mov bl, byte [ecx]
dec ecx
xor bl, 0xff
dec eax
mov byte [edx], bl
dec edx
test eax, eax
jg 0x44418a
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 0x4441ac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
cmp dword [ebp + 8], 0
je 0x4441c2
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x4441e0
push 2
call fcn.004484dc
pop ecx
mov esi, eax
test eax, eax
jne 0x4441d7
xor eax, eax
jmp 0x44432a
mov dword [esi + 4], 2
jmp 0x4441e5
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 0x536e98
mov edx, dword [ebp + 0x10]
inc edx
push edx
call fcn.004178f8
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44421c
mov eax, 0x41
jmp 0x4442f6
cmp dword [ebp + 0x10], 0
mov edx, dword [ebp - 8]
jne 0x444231
mov dword [esi + 4], 2
jmp 0x4442c6
test byte [ebx], 0x80
je 0x44429f
mov dword [esi + 4], 0x102
cmp byte [ebx], 0xff
jne 0x44424c
cmp dword [ebp + 0x10], 1
je 0x44424c
inc ebx
dec dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
lea ecx, [eax - 1]
add ebx, ecx
add edx, ecx
jmp 0x44425e
mov byte [edx], 0
dec edx
dec eax
dec ebx
cmp byte [ebx], 0
jne 0x444267
test eax, eax
jne 0x444258
test eax, eax
jne 0x444280
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 0x4442c6
mov cl, byte [ebx]
dec ebx
xor cl, 0xff
dec eax
inc ecx
mov byte [edx], cl
dec edx
test eax, eax
jle 0x4442c6
mov cl, byte [ebx]
dec ebx
xor cl, 0xff
dec eax
mov byte [edx], cl
dec edx
test eax, eax
jg 0x44428f
jmp 0x4442c6
mov dword [esi + 4], 2
cmp byte [ebx], 0
jne 0x4442b5
cmp dword [ebp + 0x10], 1
je 0x4442b5
inc ebx
dec dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
push eax
push ebx
mov edx, dword [ebp - 8]
push edx
call fcn.004099dc
add esp, 0xc
mov eax, dword [esi + 8]
test eax, eax
je 0x4442d4
push eax
call fcn.00417ab8
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 0x4442ea
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 0x44432a
push 0x103
push 0x536eae
push eax
push 0xc2
push 0xd
call fcn.004415ac
add esp, 0x14
test esi, esi
je 0x444328
cmp dword [ebp + 8], 0
je 0x444321
mov edx, dword [ebp + 8]
cmp esi, dword [edx]
je 0x444328
push esi
call fcn.0044852c
pop ecx
xor eax, eax
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4010c0
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push esi
push edi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esi, dword [eax + 0xc]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4010ff
mov edi, dword [esp + 0x10]
mov esi, dword [esi]
mov ecx, dword [esi + 0x30]
push edi
push ecx
call fcn.00401020
add esp, 8
test eax, eax
mov eax, dword [esi + 0x18]
je 0x401101
test eax, eax
jne 0x4010e5
xor eax, eax
pop edi
pop esi
pop ecx
ret

Function at 0x4011c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
mov eax, dword [0x4210f4]
push ebx
push ebp
push esi
push edi
push eax
call fcn.0040493a
mov ecx, dword [0x4210f4]
push ecx
mov ebp, eax
call fcn.0040493a
mov ecx, dword [0x4210f4]
xor ebx, ebx
add esp, 8
cmp ecx, ebx
mov esi, eax
mov dword [esp + 0x10], ebx
jbe 0x401221
mov edi, esi
sub edi, ebp
lea esp, [esp]
mov eax, ebx
cdq
idiv dword [esp + 0x28]
mov eax, dword [esp + 0x24]
lea ecx, [ebx + ebp]
mov byte [edi + ecx], bl
inc ebx
mov dl, byte [edx + eax]
mov byte [ecx], dl
mov ecx, dword [0x4210f4]
cmp ebx, ecx
jb 0x401200
xor edi, edi
test ecx, ecx
jbe 0x40125e
mov ebx, esi
sub ebp, esi
jmp 0x401230
movzx edx, byte [ebx + ebp]
mov al, byte [ebx]
add edx, dword [esp + 0x10]
movzx eax, al
add eax, edx
xor edx, edx
div ecx
mov al, byte [ebx]
inc edi
inc ebx
mov cl, byte [edx + esi]
mov byte [edx + esi], al
mov byte [ebx - 1], cl
mov ecx, dword [0x4210f4]
cmp edi, ecx
mov dword [esp + 0x10], edx
jb 0x401230
mov eax, dword [esp + 0x20]
xor ebx, ebx
test eax, eax
jle 0x4012df
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
sub eax, ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
jmp 0x401286
mov ecx, dword [0x4210f4]
xor edx, edx
lea eax, [edi + 1]
div ecx
mov edi, edx
movzx eax, byte [edi + esi]
add eax, ebx
xor edx, edx
div ecx
mov cl, byte [edi + esi]
mov ebx, edx
mov al, byte [ebx + esi]
mov byte [ebx + esi], cl
mov byte [edi + esi], al
movzx edx, byte [ebx + esi]
movzx eax, al
add eax, edx
xor edx, edx
div dword [0x4210f4]
mov dword [esp + 0x14], edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x10]
mov cl, byte [eax + ebp]
mov edx, dword [esp + 0x14]
xor cl, byte [edx + esi]
mov eax, dword [esp + 0x20]
mov byte [ebp], cl
inc ebp
dec eax
mov dword [esp + 0x20], eax
jne 0x401280
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x401d70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401d89
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x401d9d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401dbe
cmp esi, eax
jae 0x401d97
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401db0
cmp esi, eax
jae 0x401d97
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x402700
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
movzx eax, bl
push 0
push eax
mov esi, ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov byte [esp + 0xc], al
xor eax, eax
lea ebx, [ebx]
cmp byte [eax + str.______.], bl
je 0x40274d
inc eax
cmp eax, 0xa
jl 0x402720
xor al, al
mov edx, dword [esp + 0xc]
xor ecx, ecx
test al, al
setne cl
or ecx, 2
push ecx
push edx
push ebx
mov ecx, esi
call fcn.00402680
pop esi
pop ebx
ret 4
mov al, 1
jmp 0x402730