joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407a70
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494cfb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4a93dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0047f887
push 4
mov dword [ebp - 4], 0
call fcn.0048069d
mov edi, eax
add esp, 4
test edi, edi
je 0x407aec
call fcn.0047f75f
mov dword [edi], eax
call fcn.0047f51e
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0047f848
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x407ae2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0047f870
jmp 0x407aee
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4090d0
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
mov eax, dword [0x4a93dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x400
push eax
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], eax
lea eax, [ebp - 0x404]
push eax
mov esi, ecx
mov dword [ebp - 0x470], 0x67452301
mov dword [ebp - 0x46c], 0xefcdab89
mov dword [ebp - 0x468], 0x98badcfe
mov dword [ebp - 0x464], 0x10325476
call fcn.00489020
add esp, 0xc
push 0
push 0
push 3
push 0
push 1
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
test edi, edi
je 0x4091d8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [ebp - 0x474]
push ecx
push 0x400
lea edx, [ebp - 0x404]
push edx
push edi
call ebx
test eax, eax
je 0x4091aa
mov eax, dword [ebp - 0x474]
test eax, eax
je 0x4091aa
lea ecx, [ebp - 0x404]
push ecx
lea esi, [ebp - 0x470]
call fcn.004091f0
push 0
lea edx, [ebp - 0x474]
push edx
push 0x400
lea eax, [ebp - 0x404]
push eax
push edi
call ebx
test eax, eax
jne 0x409172
lea ecx, [ebp - 0x470]
call fcn.004092a0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [ebp - 0x418]
call fcn.00409040
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048014c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0048014c
mov esp, ebp
pop ebp
ret
Function at 0x410010
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test ecx, ecx
jle 0x41003d
push esi
push edi
jmp 0x410020
movzx esi, byte [edx]
movzx esi, byte [esi + 0x49cf10]
lea edi, [eax*8]
xor esi, edi
dec ecx
xor eax, esi
inc edx
test ecx, ecx
jg 0x410020
pop edi
pop esi
ret

Function at 0x4100a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [esi*8]
push edi
mov edi, dword [ebp + 8]
cmp eax, 0x400
jbe 0x4100c2
mov esi, 0x80
cmp esi, dword [edi]
jne 0x4100cf
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4ac97c]
test eax, eax
je 0x4100da
call eax
lea ecx, [esi*8]
push ecx
call fcn.0040ca70
mov esi, eax
mov eax, dword [0x4ac980]
add esp, 4
mov dword [ebp - 4], esi
test eax, eax
je 0x4100fa
call eax
test esi, esi
je 0x4100c6
mov edx, dword [edi + 0xc]
push edx
call fcn.0040cd30
add esp, 4
push esi
mov dword [edi + 0xc], esi
call dword [0x4aa748]
mov ebx, eax
shr ebx, 3
add esp, 4
lea eax, [ebx*8]
push eax
push 0
push esi
mov dword [ebp + 0xc], ebx
mov dword [edi], ebx
call fcn.00489020
mov ecx, dword [edi + 8]
add esp, 0xc
mov dword [edi + 8], 0
test ecx, ecx
je 0x4101df
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
xor eax, eax
test edx, edx
jle 0x410173
movzx edi, byte [esi]
movzx edi, byte [edi + 0x49cf10]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc esi
test edx, edx
jg 0x410152
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
xor edx, edx
div ebx
mov eax, dword [ebp - 4]
lea eax, [eax + edx*8]
test eax, eax
je 0x4101bb
mov esi, dword [eax]
test esi, esi
je 0x410191
mov edx, dword [eax + 4]
jmp 0x410193
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x4101bb
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x4101b3
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x4101d4
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x4101d4
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x4101ca
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 8]
test ecx, ecx
jne 0x410146
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4102e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0xc], 0
je 0x410325
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, esi
test esi, esi
jle 0x41031f
push ebx
lea esp, [esp]
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x49cf10]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x410300
mov edi, dword [ebp + 8]
pop ebx
xor edx, edx
div dword [edi]
jmp 0x410327
xor edx, edx
mov eax, dword [ebp + 0xc]
push esi
push eax
mov eax, edi
call fcn.004101f0
add esp, 8
pop edi
test eax, eax
je 0x410340
mov eax, dword [eax + 8]
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x410350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, eax
mov eax, dword [edi]
test eax, eax
je 0x410399
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, ebx
test ebx, ebx
jle 0x41038e
nop
movzx esi, byte [ecx]
movzx esi, byte [esi + 0x49cf10]
lea ebx, [eax*8]
xor esi, ebx
dec edx
xor eax, esi
inc ecx
test edx, edx
jg 0x410370
mov ebx, dword [ebp + 0xc]
xor edx, edx
div dword [edi]
mov esi, edx
mov dword [ebp - 4], esi
jmp 0x4103a3
mov dword [ebp - 4], 0
mov esi, dword [ebp - 4]
mov eax, dword [ebp + 8]
push ebx
push eax
mov edx, esi
mov eax, edi
call fcn.004101f0
add esp, 8
test eax, eax
je 0x4103e6
mov ecx, dword [ebp + 0x10]
mov ebx, dword [eax + 8]
test ecx, ecx
jne 0x4103d4
mov edx, esi
mov ecx, edi
call fcn.00410290
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x10], 0
je 0x41047a
push 0x14
call fcn.0040ca70
mov esi, eax
mov eax, dword [ebp + 0x10]
add esp, 4
test esi, esi
je 0x41047c
mov edx, dword [ebp + 8]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], ebx
mov dword [esi + 8], eax
inc dword [edi + 4]
mov eax, dword [edi + 4]
cmp eax, 0xa
jb 0x410444
mov ecx, dword [edi]
add ecx, ecx
cmp eax, ecx
jbe 0x410444
lea edx, [eax + eax]
push edx
push edi
call fcn.004100a0
add esp, 8
test eax, eax
je 0x410444
mov edx, dword [ebp + 8]
mov ecx, ebx
call fcn.00410010
xor edx, edx
div dword [edi]
mov dword [ebp - 4], edx
mov eax, dword [edi + 0xc]
test eax, eax
je 0x410461
mov ecx, dword [ebp - 4]
lea edx, [eax + ecx*8]
mov eax, esi
call fcn.00410040
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 8]
mov dword [esi], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x410470
mov dword [eax + 4], esi
mov dword [esi + 4], 0
mov dword [edi + 8], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410ba0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x24]
push esi
push edi
test eax, eax
jle 0x410bdb
cdq
mov edi, eax
add eax, dword [ebp + 0xc]
mov esi, edx
mov ecx, edx
adc ecx, dword [ebp + 0x10]
push esi
sub eax, 1
push edi
sbb ecx, 0
push ecx
push eax
call fcn.00489af0
push esi
push edi
push edx
push eax
call fcn.004905b0
jmp 0x410be1
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
mov esi, ebx
call fcn.004108a0
add esp, 8
test eax, eax
je 0x410c12
mov ecx, dword [ebx + 0x20]
push 0x800d
push 0x60a
mov edi, str.winTruncate1
call fcn.004107f0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x410c4a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 0x20]
push 0x8010
push 0x60a
mov edi, str.winTruncate2
mov dword [ebx + 0x14], eax
call fcn.004107f0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x410cb0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 8]
push edi
lea eax, [ebp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x410cf8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x410cf8
mov ecx, dword [esi + 0x20]
push 0x806c
push 0x70a
mov edi, str.winFileSize
mov dword [esi + 0x14], eax
call fcn.004107f0
add esp, 8
pop edi
pop esi
pop ebp
ret
mov ecx, dword [ebp + 8]
xor eax, eax
xor edx, edx
add edx, edi
adc ecx, eax
mov eax, dword [ebp + 0xc]
pop edi
mov dword [eax], edx
mov dword [eax + 4], ecx
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4123d0
Capabilities:
Check if file exists
Check os version
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x4a93dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4aca34]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x23c], 0
mov esi, 2
test eax, eax
jne 0x412431
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call edi
xor eax, eax
cmp dword [ebp - 0x110], esi
sete al
inc eax
mov dword [0x4aca34], eax
cmp eax, esi
jne 0x41243c
call fcn.00410490
jmp 0x412441
call fcn.00410630
mov ebx, eax
test ebx, ebx
jne 0x41245b
lea eax, [ebx + 7]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048014c
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4aca34]
test eax, eax
jne 0x412488
lea ecx, [ebp - 0x238]
push ecx
mov dword [ebp - 0x238], 0x114
call edi
xor eax, eax
cmp dword [ebp - 0x228], esi
sete al
inc eax
mov dword [0x4aca34], eax
mov edi, 1
cmp eax, esi
jne 0x4124f7
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4124e6
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
test edi, edi
jne 0x4124e6
mov esi, dword [ebp - 0x23c]
cmp esi, dword [0x4aa928]
jge 0x4124ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x4124cd
cmp eax, 0x21
je 0x4124cd
cmp eax, 0x20
jne 0x4124ec
inc esi
mov edx, esi
imul edx, dword [0x4aa92c]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x23c], esi
jmp 0x412491
mov esi, dword [ebp - 0x23c]
xor eax, eax
test edi, edi
sete al
mov edi, eax
jmp 0x41255b
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41254c
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, eax
test edi, edi
jne 0x41254c
mov esi, dword [ebp - 0x23c]
cmp esi, dword [0x4aa928]
jge 0x41254c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x412533
cmp eax, 0x21
je 0x412533
cmp eax, 0x20
jne 0x41254c
inc esi
mov ecx, esi
imul ecx, dword [0x4aa92c]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x23c], esi
jmp 0x4124f7
mov esi, dword [ebp - 0x23c]
xor edx, edx
test edi, edi
sete dl
mov edi, edx
test edi, edi
je 0x412580
mov ecx, dword [ebp - 0x240]
push 0x85d9
push 0xa0a
mov edi, str.winDelete
call fcn.004107f0
add esp, 8
mov edi, eax
jmp 0x4125a6
test esi, esi
je 0x4125a6
lea eax, [esi + 1]
imul eax, dword [0x4aa92c]
imul eax, esi
cdq
sub eax, edx
sar eax, 1
push eax
push str.delayed__dms_for_lock_sharing_conflict
push 0xa
call fcn.0040e570
add esp, 0xc
push ebx
call fcn.00480812
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048014c
mov esp, ebp
pop ebp
ret
Function at 0x4129c0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
mov eax, dword [0x4a93dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea edx, [ebp - 0x110]
push edx
push 0x104
push ecx
push eax
mov dword [ebp - 0x348], 0x200
call fcn.00412800
add esp, 0x10
test eax, eax
jne 0x412b6e
mov eax, dword [0x4aca34]
test eax, eax
jne 0x412a33
lea eax, [ebp - 0x340]
push eax
mov dword [ebp - 0x340], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp dword [ebp - 0x330], 2
sete al
inc eax
mov dword [0x4aca34], eax
cmp eax, 2
jne 0x412a91
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x110]
push ecx
push 0
push 0xfde9
call edi
mov ebx, eax
lea edx, [ebx + ebx]
push edx
call fcn.00480f77
mov esi, eax
add esp, 4
test esi, esi
je 0x412b58
push ebx
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x110]
push eax
push 0
push 0xfde9
call edi
test eax, eax
jne 0x412a9e
push esi
call fcn.00480812
add esp, 4
xor esi, esi
jmp 0x412a9e
lea ebx, [ebp - 0x110]
call fcn.00410630
mov esi, eax
test esi, esi
je 0x412b58
mov eax, dword [0x4aca34]
test eax, eax
jne 0x412ad8
lea ecx, [ebp - 0x228]
push ecx
mov dword [ebp - 0x228], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp dword [ebp - 0x218], 2
sete al
inc eax
mov dword [0x4aca34], eax
cmp eax, 2
mov eax, esi
jne 0x412b16
cmp word [esi], 0
je 0x412afb
cmp word [eax], 0x5c
je 0x412af6
add eax, 2
cmp word [eax], 0
jne 0x412ae5
jmp 0x412afb
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x344]
push eax
mov ecx, eax
push ecx
lea edx, [ebp - 0x348]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x412b49
cmp byte [esi], 0
je 0x412b30
jmp 0x412b20
cmp byte [eax], 0x5c
je 0x412b2d
inc eax
cmp byte [eax], 0
jne 0x412b20
jmp 0x412b30
mov byte [eax], 0
lea ecx, [ebp - 0x344]
push ecx
mov edx, ecx
push edx
lea eax, [ebp - 0x348]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
push esi
mov edi, eax
call fcn.00480812
add esp, 4
test edi, edi
jne 0x412b6e
mov eax, 0x200
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048014c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x348]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048014c
mov esp, ebp
pop ebp
ret
Function at 0x412e50
Capabilities:
Get system information on windows

Disassembly:
xor eax, eax
push 0x4adca0
mov dword [0x4adca0], eax
mov dword [0x4adca4], eax
mov dword [0x4adca8], eax
mov dword [0x4adcac], eax
mov dword [0x4adcb0], eax
mov dword [0x4adcb4], eax
mov dword [0x4adcb8], eax
mov dword [0x4adcbc], eax
mov dword [0x4adcc0], eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
call fcn.004700c0
test eax, eax
jne 0x412eeb
push esi
cmp dword [0x4aa724], eax
jne 0x412ea0
xor esi, esi
jmp 0x412ebb
push 2
call dword [0x4aa764]
mov esi, eax
add esp, 4
test esi, esi
je 0x412ebb
push esi
call dword [0x4aa76c]
add esp, 4
mov edx, 0x4aa970
call fcn.0040c140
mov eax, dword [0x4ac978]
mov dword [0x4aa97c], eax
mov dword [0x4ac978], 0x4aa970
test esi, esi
je 0x412ee7
push esi
call dword [0x4aa774]
add esp, 4
xor eax, eax
pop esi
ret
xor eax, eax
ret
Function at 0x417720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0x3c]
cmp dword [edx], 0
push esi
push edi
mov edi, eax
mov dword [ebp - 4], 0
jne 0x417764
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx]
or eax, 0x1e
push 0
and eax, 0x87f7f
push eax
mov eax, dword [ecx + 0x18]
push edx
push 0
push ecx
call eax
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
jne 0x4178af
mov ecx, dword [ebx + 0x18]
cmp ecx, dword [ebx + 0x24]
jbe 0x41779d
mov eax, dword [ebx + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.004905b0
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 5
push eax
mov eax, dword [ecx + 0x28]
call eax
mov ecx, dword [ebx + 0x18]
add esp, 0xc
mov dword [ebx + 0x24], ecx
test edi, edi
je 0x4178ac
mov esi, dword [edi + 0xc]
mov dword [ebp - 8], esi
cmp esi, dword [ebx + 0x18]
ja 0x41789f
test byte [edi + 0x14], 0x20
jne 0x41789f
mov eax, dword [ebx + 0x80]
cdq
push edx
push eax
lea ecx, [esi - 1]
push 0
push ecx
call fcn.004905b0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp esi, 1
jne 0x41783a
mov esi, dword [edi + 0x10]
movzx ecx, byte [esi + 0x64]
movzx edx, byte [esi + 0x65]
movzx eax, byte [esi + 0x66]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 0x67]
mov esi, dword [edi]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, edx
inc ecx
mov byte [esi + 0x1b], cl
mov eax, ecx
mov edx, ecx
shr eax, 0x18
mov byte [esi + 0x18], al
shr edx, 0x10
mov byte [esi + 0x19], dl
mov ebx, ecx
shr ebx, 8
mov byte [esi + 0x1a], bl
mov esi, dword [edi]
mov byte [esi + 0x5e], bl
mov ebx, dword [ebp + 8]
mov byte [esi + 0x5c], al
mov byte [esi + 0x5d], dl
mov byte [esi + 0x5f], cl
mov ecx, dword [edi]
mov esi, dword [ebp - 8]
mov dword [ecx + 0x60], 0x20e22d00
push dword [ebp - 0xc]
mov eax, dword [edi]
push dword [ebp - 0x10]
mov ecx, dword [ebx + 0x80]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x3c]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ecx
mov ecx, dword [ebp - 8]
push ecx
push eax
call edx
add esp, 0x14
mov dword [ebp - 4], eax
cmp esi, 1
jne 0x417881
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x18]
mov dword [ebx + 0x64], ecx
mov edx, dword [eax + 0x1c]
mov dword [ebx + 0x68], edx
mov ecx, dword [eax + 0x20]
mov dword [ebx + 0x6c], ecx
mov edx, dword [eax + 0x24]
mov dword [ebx + 0x70], edx
cmp esi, dword [ebx + 0x20]
jbe 0x417889
mov dword [ebx + 0x20], esi
mov eax, dword [edi]
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ecx + 0x58]
mov ebx, esi
call fcn.00427f60
mov ebx, dword [ebp + 8]
add esp, 4
cmp dword [ebp - 4], 0
mov edi, dword [edi + 8]
je 0x41779d
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a210
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test ebx, ebx
jne 0x43a22a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov ecx, 0x50
call fcn.0040d020
mov edi, eax
test edi, edi
je 0x43a221
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx]
push eax
push ecx
push esi
call fcn.00439d50
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov dword [edi], eax
mov eax, dword [ebx + 8]
push edx
push eax
push esi
call fcn.00439ed0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push 0
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
push ecx
push eax
push esi
call fcn.00439ad0
mov edx, dword [ebp + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
push edx
push eax
push esi
call fcn.00439d50
mov ecx, dword [ebp + 0x10]
add esp, 0x1c
push 0
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
push ecx
push eax
push esi
call fcn.00439ad0
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
push edx
push eax
push esi
call fcn.00439d50
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x18], eax
mov cl, byte [ebx + 4]
add esp, 0x1c
mov byte [edi + 4], cl
mov eax, dword [ebx + 0x1c]
push edx
push eax
push esi
call fcn.0043a210
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push 0
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x28]
push ecx
push eax
push esi
call fcn.00439ad0
mov edx, dword [ebp + 0x10]
push 0
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x2c]
push edx
push eax
push esi
call fcn.00439ad0
mov dword [edi + 0x2c], eax
xor eax, eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov cx, word [ebx + 6]
mov edx, 0xfff7
add esp, 0x20
and cx, dx
mov dword [edi + 0x24], eax
or eax, 0xffffffff
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov word [edi + 6], cx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, edi
test edi, edi
jne 0x44287e
xor ebx, ebx
mov dword [ebp - 8], ebx
jmp 0x442894
cmp byte [edi], al
je 0x442887
inc ecx
cmp byte [ecx], al
jne 0x442882
sub ecx, edi
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ecx
test ecx, ecx
jle 0x442995
jmp 0x4428b3
mov edi, dword [ebp + 0xc]
cmp esi, 2
jge 0x4428bb
xor esi, 1
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x44291b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edx, esi
shl edx, 4
mov edi, dword [edx + eax]
mov dl, byte [ecx]
test dl, dl
je 0x4428fd
jmp 0x4428e0
movzx eax, byte [edi]
movzx edx, dl
mov dl, byte [edx + 0x49cf10]
cmp dl, byte [eax + 0x49cf10]
jne 0x4428fd
mov dl, byte [ecx + 1]
inc ecx
inc edi
test dl, dl
jne 0x4428e0
movzx ecx, byte [ecx]
movzx edx, byte [edi]
movzx edx, byte [edx + 0x49cf10]
movzx ecx, byte [ecx + 0x49cf10]
sub ecx, edx
mov eax, dword [ebp - 4]
jne 0x442985
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
add esi, esi
mov esi, dword [eax + esi*8 + 0xc]
cmp dword [esi + 0x14], 0
je 0x442968
xor eax, eax
mov edx, ebx
mov ecx, edi
test ebx, ebx
jle 0x44295e
jmp 0x442940
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x49cf10]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x442940
mov ebx, dword [ebp - 8]
mov edi, dword [ebp + 0xc]
xor edx, edx
div dword [esi + 8]
jmp 0x44296a
xor edx, edx
push ebx
push edi
lea eax, [esi + 8]
call fcn.004101f0
add esp, 8
test eax, eax
je 0x44299c
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x442995
mov esi, dword [ebp - 0xc]
inc esi
mov dword [ebp - 0xc], esi
cmp esi, dword [ebp - 0x10]
jl 0x4428b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x442985