joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406c70
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 0x14]
add eax, dword [ebp + 0xc]
add eax, 0x18
xor ecx, ecx
jmp 0x406ca4
mov edx, dword [eax + 8]
test edx, edx
jne 0x406c93
mov edx, dword [eax + 0x10]
mov esi, dword [eax + 0xc]
cmp ebx, esi
jb 0x406ca0
add edx, esi
cmp ebx, edx
jb 0x406cb1
inc ecx
add eax, 0x28
mov edx, dword [ebp + 0xc]
movzx edx, word [edx + 6]
cmp ecx, edx
jb 0x406c89
xor eax, eax
pop esi
pop ebx
pop ebp
ret
Function at 0x406eac
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp word [edi], 0x5a4d
je 0x406ec6
xor eax, eax
jmp 0x407046
mov ebx, dword [edi + 0x3c]
add ebx, edi
cmp dword [ebx], 0x4550
je 0x406eda
xor eax, eax
jmp 0x407046
cmp word [ebx + 0x14], 0xe0
jne 0x406eea
cmp word [ebx + 0x18], 0x10b
je 0x406ef1
xor eax, eax
jmp 0x407046
mov dword [0x4f11c8], edi
mov ebx, dword [edi + 0x3c]
mov esi, edi
add ebx, esi
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0x18], eax
push ebx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00406c70
add esp, 8
test eax, eax
jne 0x406f1c
xor eax, eax
jmp 0x407046
mov edx, dword [0x4f11c8]
push edx
push ebx
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00406cb8
add esp, 0xc
mov ebx, dword [ebx + 0x78]
test ebx, ebx
jne 0x406f4e
push 0x10
push 0
push str.Error_in_GetProcAddressDirectly__
push 0
call sub.USER32.DLL_MessageBoxA
xor eax, eax
jmp 0x407046
add ebx, esi
mov edx, dword [ebx + 0x24]
add edx, esi
mov dword [ebp - 4], edx
mov ecx, dword [ebx + 0x20]
add ecx, esi
mov dword [ebp - 0xc], ecx
mov eax, dword [ebx + 0x1c]
add eax, esi
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0xc]
mov ecx, edx
shr ecx, 0x10
test cx, cx
je 0x407018
xor esi, esi
mov eax, dword [ebp - 8]
mov edx, eax
mov dword [ebp - 0x28], edx
jmp 0x40700a
mov ecx, dword [ebp - 8]
mov eax, dword [ecx]
test eax, eax
je 0x407005
xor edx, edx
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x28]
mov eax, ecx
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0xc]
mov ecx, edx
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 4]
mov edx, eax
mov dword [ebp - 0x1c], edx
jmp 0x406ffc
mov ecx, dword [ebp - 0x1c]
movzx eax, word [ecx]
cmp esi, eax
jne 0x406ff1
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx]
add ecx, edi
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x406ff1
test cl, cl
je 0x406fe6
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x406ff1
add eax, 2
add edx, 2
test cl, cl
jne 0x406fca
jne 0x406ff1
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
add eax, edi
jmp 0x407046
inc dword [ebp - 0x14]
add dword [ebp - 0x20], 4
add dword [ebp - 0x1c], 2
mov edx, dword [ebx + 0x18]
dec edx
cmp edx, dword [ebp - 0x14]
jae 0x406fb0
inc esi
add dword [ebp - 0x28], 4
mov ecx, dword [ebx + 0x14]
dec ecx
cmp esi, ecx
jbe 0x406f88
jmp 0x407044
xor esi, esi
mov eax, dword [ebp - 8]
jmp 0x40703c
mov ecx, dword [ebx + 0x10]
add ecx, esi
cmp edx, ecx
jne 0x407038
cmp dword [eax], 0
je 0x407038
mov edx, dword [eax]
shl edx, 6
add edi, edx
mov eax, edi
jmp 0x407046
inc esi
add eax, 4
mov ecx, dword [ebx + 0x14]
dec ecx
cmp esi, ecx
jbe 0x40701f
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x407fdc
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.KERNEL32.DLL_GlobalMemoryStatus
mov eax, dword [esp + 0xc]
add esp, 0x20
ret
Function at 0x409aa4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x409ac0
call fcn.0040ae70
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x409adb
test bl, 1
je 0x409adb
mov dword [0x4d085c], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x409c88
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
test byte [ebp + 0xd], 0xc0
jne 0x409ca7
mov eax, dword [0x4cf984]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x409cb4
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x409ce1
je 0x409cf3
sub ecx, 0x100
je 0x409d01
sub ecx, 0x100
je 0x409d08
sub ecx, 0x100
je 0x409cfa
jmp 0x409d0f
sub ecx, 0x600
je 0x409d08
sub ecx, 0x100
je 0x409cf3
jmp 0x409d0f
mov edi, 1
jmp 0x409d14
mov edi, 2
jmp 0x409d14
mov edi, 4
jmp 0x409d14
mov edi, 5
jmp 0x409d14
mov edi, 3
test byte [ebp + 0xd], 1
je 0x409d3b
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x4cf3fc]
test al, 0x80
je 0x409d34
mov ebx, 0x80
jmp 0x409d4d
mov ebx, 1
jmp 0x409d4d
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x409d4d
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x409d5f
je 0x409d68
dec eax
je 0x409d71
jmp 0x409d7a
mov dword [ebp - 4], 0x80000000
jmp 0x409d89
mov dword [ebp - 4], 0x40000000
jmp 0x409d89
mov dword [ebp - 4], 0xc0000000
jmp 0x409d89
push 1
call fcn.0040ae0c
pop ecx
mov ebx, eax
jmp 0x409e79
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x409da5
sub eax, 0x10
je 0x409dac
sub eax, 0x10
je 0x409db5
sub eax, 0x10
je 0x409dbe
jmp 0x409dbe
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x409dc5
mov dword [ebp - 8], 1
jmp 0x409dc5
mov dword [ebp - 8], 2
jmp 0x409dc5
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x409e32
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x409e27
test byte [ebp + 0xd], 1
je 0x409e22
mov ebx, 0x50
jmp 0x409e27
mov ebx, 2
push ebx
call fcn.0040ae0c
pop ecx
mov ebx, eax
jmp 0x409e79
mov edi, esi
push edi
call fcn.00409bf8
pop ecx
test eax, eax
je 0x409e46
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x409e52
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.0040ab50
add esp, 8
mov ebx, eax
inc eax
jne 0x409e79
push 4
call fcn.0040ae0c
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ed40
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 0x40eda2
call fcn.0040ecf0
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00408788
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.00408788
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 0x40ee08
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x4d0864], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x40eee2
cmp dword [0x4d0860], 0
jne 0x40eee2
cmp dword [0x4d0a54], 0
je 0x40ee9c
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.0040ebf0
add esp, 8
mov ebx, eax
test eax, eax
jne 0x40ee82
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0040ebf0
add esp, 8
mov ebx, eax
test eax, eax
jne 0x40ee82
lea ebx, [ebp - 0x84]
jmp 0x40ee83
inc ebx
call fcn.0040edc4
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x40ef1d
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4d0868
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00408788
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x4d086b
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x40ef1d
cmp dword [0x4d0860], 0
je 0x40eefc
cmp dword [0x4d0860], 0xffffffff
je 0x40ef1d
push esi
call dword [0x4d0860]
pop ecx
mov eax, dword [0x4d0864]
test eax, eax
je 0x40ef1d
cmp dword [0x4d0864], 0xffffffff
je 0x40ef1d
cmp byte [eax], 0
je 0x40ef1d
push esi
push eax
call fcn.0040ed40
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f998
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4f1aa8], 0
jne 0x40fa19
cmp dword [0x4f1ac8], 0
jne 0x40f9c8
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x4f1ac8], eax
test eax, eax
jne 0x40f9c8
push str.GetEnvironmentStrings_failed
call fcn.0040ef34
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4f1ac8]
jmp 0x40f9dc
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00408788
pop ecx
mov edi, eax
test eax, eax
jne 0x40f9d4
lea edi, [ebp + 1]
push edi
call fcn.00407594
pop ecx
mov ebx, eax
mov dword [0x4f1aac], ebx
test ebx, ebx
jne 0x40fa06
xor eax, eax
jmp 0x40fadc
push edi
mov edx, dword [0x4f1ac8]
push edx
push ebx
call fcn.00408598
add esp, 0xc
jmp 0x40fa39
xor esi, esi
mov ebx, dword [0x4f1aa8]
jmp 0x40fa33
push eax
call fcn.00408788
pop ecx
test eax, eax
jne 0x40fa2f
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40fa23
lea ebx, [esi + 4]
push 4
mov dword [0x4f1ab0], ebx
inc ebx
push ebx
call fcn.00407050
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x40fa5c
xor eax, eax
jmp 0x40fadc
cmp dword [0x4f1aa8], 0
jne 0x40fa8d
xor esi, esi
mov ebx, dword [0x4f1aac]
mov eax, dword [esp]
mov ebp, eax
jmp 0x40fa7e
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00408788
pop ecx
mov edi, eax
test eax, eax
jne 0x40fa74
jmp 0x40fabe
xor esi, esi
mov ebx, dword [0x4f1aa8]
mov eax, dword [esp]
mov edi, eax
jmp 0x40fab8
push eax
call fcn.00408788
pop ecx
test eax, eax
je 0x40faad
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x40fab1
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40fa9c
mov eax, dword [0x4f1aa8]
test eax, eax
je 0x40face
push eax
call fcn.004075a4
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4f1aa8], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41277c
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x4d14c4
test edx, edx
jne 0x41279b
xor eax, eax
jmp 0x4128b9
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x4127b8
push esi
push edx
push eax
call fcn.004128c0
add esp, 0xc
jmp 0x4128b9
push esi
push edx
push eax
call fcn.00412b80
add esp, 0xc
jmp 0x4128b9
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x415e90
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 0x415ecd
push ebx
call sub.KERNEL32.DLL_GetFileType
test eax, eax
je 0x415ecd
lea edx, [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
push ecx
push 0x4cf434
call fcn.0040b678
add esp, 0xc
jmp 0x416025
mov eax, dword [ebp + 8]
jmp 0x415fa7
lea edx, [ebp + 0xc]
push edx
push eax
push 0xff
lea eax, [ebp - 0x104]
push eax
call fcn.0040b4b8
mov byte [ebp - 5], 0
add esp, 0x10
call sub.KERNEL32.DLL_GetVersion
cmp eax, 0x80000000
jae 0x416010
call fcn.00415dd8
test eax, eax
je 0x416010
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 0x416025
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 0x417fe4
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 0x41ba78
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 0x41bad4
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 0x41e418
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 0x41e4c4
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 0x42e3a0
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 0x42e3d3
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.0042e5e0
add esp, 0x10
jmp 0x42e543
mov eax, dword [ebp + 0x18]
push eax
call fcn.00425410
pop ecx
mov edx, dword [ebp + 0x18]
push edx
call fcn.004254a0
pop ecx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x42e536
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 0x42e40e
mov ecx, dword [ebp - 0xc]
jmp 0x42e41d
push esi
mov eax, dword [ebp - 0xc]
push eax
call fcn.00424bd8
add esp, 8
mov ecx, eax
test ecx, ecx
je 0x42e536
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], esi
xor ebx, ebx
cmp esi, ebx
jle 0x42e440
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
xor ecx, ecx
mov dword [edx + ebx*4], ecx
inc ebx
cmp esi, ebx
jg 0x42e431
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x42e4d9
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 0x42e464
xor eax, eax
jmp 0x42e470
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 0x42e4cb
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx + ebx*4]
lea ecx, [ebx + 1]
cmp edx, ecx
jne 0x42e48a
xor edx, edx
jmp 0x42e493
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.0042df98
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 0x42e4ae
add ebx, 2
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 4]
cmp ebx, edx
jl 0x42e477
add dword [ebp - 4], 2
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 4]
cmp eax, dword [ebp - 4]
jg 0x42e44a
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
test eax, eax
jle 0x42e517
shl eax, 2
mov edx, dword [ebp - 0xc]
add eax, dword [edx]
add eax, 0xfffffffc
jmp 0x42e50e
mov ecx, dword [eax]
add eax, 0xfffffffc
test ecx, ecx
jne 0x42e517
mov edx, dword [ebp - 0xc]
dec dword [edx + 4]
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0
jg 0x42e4ff
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0042e0a0
add esp, 0xc
test eax, eax
je 0x42e536
mov dword [ebp - 8], 1
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00425460
pop ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432b88
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 0x432bbe
push 0x2d
push 0x4d5fdc
push 0x6e
push 0x79
push 4
call fcn.00440120
add esp, 0x14
xor eax, eax
jmp 0x432d00
cmp ebx, 0x29
jge 0x432bdf
push 0x33
push 0x4d5ff4
push 0x78
push 0x79
push 4
call fcn.00440120
add esp, 0x14
xor eax, eax
jmp 0x432d00
push 0x37
push 0x4d600c
lea edx, [ebx - 0x14]
push edx
call fcn.0041646c
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x432c17
push 0x3a
push 0x4d6024
push 0x41
push 0x79
push 4
call fcn.00440120
add esp, 0x14
xor eax, eax
jmp 0x432d00
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.00441fd0
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.00441e80
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.00408608
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.00408598
add esp, 0xc
push 0x14
mov ecx, dword [ebp - 8]
push ecx
call fcn.0043ef48
add esp, 8
test eax, eax
jg 0x432c95
xor eax, eax
jmp 0x432d00
push 0x14
lea ecx, [ebx - 0x14]
mov edx, dword [ebp - 8]
push edx
push ecx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00432fa0
mov edx, dword [ebp - 4]
add esp, 0x10
mov esi, edx
mov edx, dword [ebp - 0xc]
xor eax, eax
jmp 0x432cbe
mov cl, byte [edx]
inc eax
xor byte [esi], cl
inc esi
inc edx
lea ecx, [ebx - 0x14]
cmp eax, ecx
jl 0x432cb7
add ebx, 0xffffffec
lea edx, [ebp - 0x20]
push ebx
mov eax, dword [ebp - 4]
push eax
push 0x14
push edx
call fcn.00432fa0
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 0x432ce5
mov eax, dword [ebp - 0xc]
push eax
call fcn.0041662c
pop ecx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432d08
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 0x432e7e
mov ecx, eax
sub ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jge 0x432d3f
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 0x4d603c
push ebx
call fcn.0041646c
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x432d81
push 0x7d
push 0x4d6054
push 0x41
push 0x7a
push 4
call fcn.00440120
add esp, 0x14
or eax, 0xffffffff
jmp 0x432ea4
push ebx
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 4]
push edx
push 0x14
push ecx
call fcn.00432fa0
add esp, 0x10
mov eax, dword [ebp - 8]
lea edx, [ebp + eax - 0x24]
cmp eax, 0x14
jge 0x432db4
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 0x432da0
push 0x14
lea eax, [ebp - 0x24]
push eax
push ebx
push esi
call fcn.00432fa0
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 0x432de4
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 0x432dd4
push 0
call fcn.00441fd0
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.00441e80
add esp, 0x18
lea eax, [ebp - 0x38]
push 0x14
push eax
push esi
call fcn.00408860
add esp, 0xc
test eax, eax
jne 0x432e7e
cmp dword [ebp - 0xc], 0
jne 0x432e7e
mov eax, 0x14
lea edx, [esi + 0x14]
cmp ebx, eax
jle 0x432e32
cmp byte [edx], 0
jne 0x432e32
inc eax
inc edx
cmp ebx, eax
jg 0x432e27
cmp byte [esi + eax], 1
jne 0x432e7e
mov ecx, eax
inc eax
cmp ebx, ecx
jle 0x432e7e
sub ebx, eax
cmp ebx, dword [ebp + 0xc]
jle 0x432e63
push 0x9b
push 0x4d606c
push 0x6d
push 0x7a
push 4
call fcn.00440120
add esp, 0x14
or ebx, 0xffffffff
jmp 0x432e73
push ebx
add eax, esi
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00408598
add esp, 0xc
push esi
call fcn.0041662c
pop ecx
mov eax, ebx
jmp 0x432ea4
push 0xa8
push str..crypto_rsa_rsa_oaep.c
push 0x79
push 0x7a
push 4
call fcn.00440120
add esp, 0x14
test esi, esi
je 0x432ea1
push esi
call fcn.0041662c
pop ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret