joyce8/EMBER2024-capa huggingface dataset:
Function at 0xad2058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xad21a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xad207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xad206a
add dl, dl
jne 0xad2089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xad20dc
xor eax, eax
add dl, dl
jne 0xad2096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xad217d
add dl, dl
jne 0xad20a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xad20b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xad20bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xad20c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xad20d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xad2075
mov eax, 1
add dl, dl
jne 0xad20ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xad20f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xad20e1
sub eax, ebx
mov ebx, 1
jne 0xad2128
mov ecx, 1
add dl, dl
jne 0xad210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xad2119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xad2105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xad2075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xad213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xad214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xad2136
cmp eax, 0x7d00
jae 0xad216d
cmp eax, 0x500
jb 0xad2168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xad2075
cmp eax, 0x7f
ja 0xad2170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xad2075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xad219e
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 0xad2075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x1000ba20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x1000ba2f
pop dword [ebp - 0x4c]
mov eax, 0x4bdf7edf
add eax, 0xc4213b50
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x3d5aa
push 0
mov eax, 0x13d63a6b
add eax, 0xfc2bb771
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x6068ea06
sub ecx, 0x60689f0e
mov edx, eax
mov ebx, 0x1007e200
add ebx, dword [ebp - 0x4c]
mov edi, 0x766b8aa6
mov esi, dword [ebx]
xor dword [ebp - 0x14], 0x2e6be450
sub esi, edi
xor dword [ebp - 0x34], ecx
mov dword [edx], esi
xor dword [ebp - 0x38], 0x995498e5
add edx, 0x1a3a520a
sub edx, 0x1a3a5206
add ebx, 0x11cb17d6
add ebx, 0xee34e82e
loop 0x1000ba82
add eax, 0xc7ff988f
add eax, 0x38018624
mov ebx, eax
add eax, 5
mov ecx, 0x541f26bb
add ecx, 0xbbe0d945
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x404140
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push esi
mov dword [eax + 0x34], 0
lea esi, [eax + 0x60]
mov word [eax + 0x1e], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x468], 0xffffffff
mov dword [eax + 0x46c], 0xffffffff
mov dword [eax + 0x30], 0x20
mov byte [eax + 0x1d], 1
mov dword [eax + 0x48], 4
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [esi - 4], eax
cmp edx, 0x100
jb 0x404186
pop esi
pop ebp
ret

Function at 0x404c80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea esp, [esp]
push dword [esi + 0x60]
xor ebx, ebx
call fcn.0040c440
add esp, 4
cmp dword [esi + 0x58], 0
jne 0x404d3c
push dword [esi + 0x68]
call fcn.0040c440
add esp, 4
lea eax, [esi + 0x140]
cmp dword [esi + 0x5c], 0
jne 0x404d25
cmp dword [esi + 0x15c], 0
jne 0x404d41
cmp dword [esi + 0x154], 0
lea edi, [esi + 0x178]
jne 0x404ce7
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esi + 0x15c], 1
mov eax, ebx
and eax, 0xf
shl eax, 0x12
add eax, dword [esi + 4]
push eax
push esi
call fcn.00404a30
add esp, 8
cmp dword [esi + 0x15c], 0
je 0x404d41
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esi + 0x6c]
mov dword [esi + 0x15c], 0
push eax
inc ebx
call fcn.0040c4e0
jmp 0x404c9a
push eax
call fcn.00406070
lea eax, [esi + 0x64]
push eax
call fcn.0040c3d0
add esp, 8
jmp 0x404c90
pop edi
pop esi
pop ebx
pop ebp
ret
push 1
call fcn.00554fd5
int3

Function at 0x405f80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x14], edi
je 0x405fc0
test eax, eax
jne 0x40600a
lea eax, [esi + 0x2c]
mov dword [esi], 1
push eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
call fcn.0040c3a0
lea eax, [esi + 0x28]
push eax
call fcn.0040c3d0
add esp, 8
lea ebx, [esi + 0x38]
jmp 0x405fe4
test eax, eax
je 0x40600a
lea ebx, [esi + 0x38]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esi + 0x1c], edi
mov edi, dword [esi]
lea eax, [edi + 1]
mov dword [esi], eax
lea eax, [esi + 0x30]
push eax
call fcn.0040c4e0
add esp, 4
push dword [esi + 0x34]
call fcn.0040c440
add esp, 4
cmp dword [esi + 0x1c], 0
jne 0x40600a
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, edi
mov dword [esi + 0x1c], 1
pop edi
pop esi
pop ebx
pop ebp
ret
push 1
call fcn.00554fd5
int3
Function at 0x408450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
movzx esi, word [edx]
mov ebx, ecx
mov edi, dword [ebp + 0xc]
mov eax, esi
xor eax, 0x7f0
shr esi, 4
shr eax, 4
mov dword [ebp - 4], ebx
mov ecx, dword [edi + esi*4]
mov eax, dword [edi + eax*4]
mov dword [ebp + 0xc], eax
movzx eax, word [edx + 0x10]
mov esi, dword [ebp + 0xc]
shr eax, 4
mov dword [ebp - 0x14], ecx
mov eax, dword [edi + eax*4]
add eax, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4084dc
mov esi, edx
mov dword [ebp - 8], eax
add ebx, 4
push edi
push ebx
push ecx
push esi
call fcn.0040c090
push edi
lea eax, [ebx + 0x20]
push eax
push dword [ebp - 0x10]
lea eax, [esi + 0x10]
push eax
call fcn.0040c090
mov ecx, dword [ebp - 0x14]
add esp, 0x20
add ebx, 0x440
add esi, 0x20
sub dword [ebp - 8], 1
jne 0x4084a4
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp ebx, 0x10
jbe 0x4085b9
mov eax, dword [ebp - 4]
add ebx, 0xfffffff1
add eax, 0x44
shr ebx, 1
mov dword [ebp - 0x10], eax
movzx eax, word [edx + 0x10]
xor eax, 0x7f0
shr eax, 4
add esi, dword [edi + eax*4]
lea eax, [ebx + 0x180]
mov dword [ebp + 0xc], esi
lea eax, [edx + eax*2]
dec ebx
sub eax, 2
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], ebx
lea eax, [ebx + 0x80]
mov ebx, dword [ebp + 8]
mov edx, eax
shr eax, 1
and edx, 1
neg edx
shr edx, 4
movzx ecx, word [ebx + eax*2 + 0x200]
and edx, 0x7f
shr ecx, 4
xor ecx, edx
add esi, dword [edi + ecx*4]
cmp eax, 2
jae 0x408523
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
movzx ecx, word [eax]
mov eax, ecx
xor ecx, 0x7f0
shr eax, 4
shr ecx, 4
mov eax, dword [edi + eax*4]
add eax, esi
mov dword [edx + ebx*8], eax
mov eax, dword [edi + ecx*4]
add eax, esi
mov esi, dword [ebp + 0xc]
mov dword [edx + ebx*8 + 4], eax
mov eax, dword [ebp - 8]
test ebx, ebx
jne 0x408510
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
lea ebx, [eax*4 - 0x40]
mov eax, dword [ebp - 0xc]
cmp eax, 1
jbe 0x4085b9
lea esi, [ecx + 0x484]
lea edi, [eax - 1]
lea esp, [esp]
push ebx
push edx
push esi
call fcn.0054ae00
mov edx, dword [ebp - 0x10]
add esp, 0xc
add esi, 0x440
sub edi, 1
jne 0x4085a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40a860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, 0x100
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
or ecx, esi
add edi, edi
mov edx, esi
and edx, edi
mov eax, ecx
add edx, esi
shr eax, 8
add eax, edx
mov edx, dword [ebp + 8]
movzx edx, word [edx + eax*2]
mov eax, ecx
shr eax, 7
add ecx, ecx
and eax, 1
shr edx, 4
neg eax
shr eax, 4
and eax, 0x7f
xor edx, eax
mov eax, dword [ebp + 0x14]
add ebx, dword [eax + edx*4]
mov edx, ecx
xor edx, edi
not edx
and esi, edx
cmp ecx, 0x10000
jb 0x40a875
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret

Function at 0x40bb30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x400
push edi
mov edi, 0xc
mov eax, dword [esi + 0x78]
lea edx, [esi + 0x1e68]
mov dword [esi + 0x70], eax
lea eax, [esi + 0x2030]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x44], 1
mov dword [esi + 0x40], 1
mov dword [esi + 0x3c], 1
mov dword [esi + 0x38], 1
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x1e30], 0x4000400
mov dword [esi + 0x1e34], 0x4000400
mov dword [esi + 0x1e38], 0x4000400
mov dword [esi + 0x1e3c], 0x4000400
mov dword [esi + 0x1e40], 0x4000400
mov dword [esi + 0x1e44], 0x4000400
mov dword [esi + 0x1e48], 0x4000400
mov dword [esi + 0x1e4c], 0x4000400
mov ecx, 0x10
jmp 0x40bc20
mov word [eax - 0x180], bx
mov word [eax], bx
add eax, 2
sub ecx, 1
jne 0x40bc20
mov word [edx - 0x18], bx
mov word [edx], bx
mov word [edx + 0x18], bx
mov word [edx + 0x30], bx
add edx, 2
sub edi, 1
jne 0x40bc10
mov eax, 0x4000400
lea edi, [esi + 0x21b0]
mov ecx, 0x80
rep stosd dword es:[edi], eax
lea edi, [esi + 0x23b0]
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x98]
mov eax, 0x300
add ecx, dword [esi + 0x94]
shl eax, cl
test eax, eax
je 0x40bc92
mov edi, dword [esi + 0x50]
mov ecx, eax
shr ecx, 1
mov eax, 0x4000400
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, 0x4000400
lea edi, [esi + 0x24b0]
mov ecx, 0x80
rep stosd dword es:[edi], eax
lea edi, [esi + 0x26b0]
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov ecx, 0x80
lea edi, [esi + 0x28b0]
rep stosd dword es:[edi], eax
lea edi, [esi + 0x2ab0]
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov dword [esi + 0x1c], 0
lea eax, [esi + 0xbcb8]
mov dword [esi + 0x18], 0
mov ecx, 0x800
mov dword [eax], 0x40000000
lea eax, [eax + 0x20]
sub ecx, 1
jne 0x40bce4
mov dword [esi + 0x34], ecx
mov eax, 1
mov ecx, dword [esi + 0x9c]
mov edx, 0x100
shl eax, cl
mov ecx, dword [esi + 0x94]
dec eax
mov dword [esi + 0x4c], eax
mov eax, edx
shr eax, cl
mov ecx, dword [esi + 0x98]
shl edx, cl
sub edx, eax
pop edi
mov dword [esi + 0x48], edx
pop esi
pop ebx
pop ebp
ret
Function at 0x40c090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor ebx, ebx
mov edx, dword [ebp + 8]
mov edi, ebx
shr edi, 1
mov esi, ebx
shr esi, 2
mov eax, edi
and eax, 1
neg eax
shr eax, 4
movzx ecx, word [edx + esi*2 + 4]
and eax, 0x7f
shr ecx, 4
neg esi
xor ecx, eax
and esi, 0x7f0
movzx eax, word [edx + 2]
xor esi, eax
mov eax, dword [ebp + 0x14]
shr esi, 4
mov edx, dword [eax + ecx*4]
add edx, dword [eax + esi*4]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
add edx, dword [ebp + 0xc]
movzx ecx, word [eax + edi*2 + 8]
mov edi, dword [ebp + 0x10]
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
mov eax, dword [esi + eax*4]
add eax, edx
mov dword [edi + ebx*4], eax
mov eax, dword [esi + ecx*4]
add eax, edx
mov dword [edi + ebx*4 + 4], eax
add ebx, 2
cmp ebx, 8
jb 0x40c098
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x40c540
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
call fcn.00555147
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x40c56b
xor eax, eax
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x40c590
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
call fcn.00555147
mov ecx, dword [ebp + 8]
mov esi, eax
add esp, 0x18
mov dword [ecx], esi
test esi, esi
je 0x40c5d5
push dword [ebp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x40c5d5
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
pop esi
cmovne ecx, eax
mov eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x40e4f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59408c
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x62819c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 0xc], 0
lea esi, [ebx + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
mov word [esi + 0x18], 0
mov dword [esi + 0x1c], 1
mov word [esi + 0x20], 0x100
mov dword [esi + 0x28], 0x40000000
mov dword [esi + 0x2c], 0
mov word [esi + 0x30], 0
call fcn.00434f60
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x8c], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], 0
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x9c], 0
mov dword [ebx + 0xa0], 0
mov dword [ebx + 0xa4], 0
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0xac], 0
mov dword [ebx + 0xb0], 0
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0xbc], 0
mov edi, dword [ebp + 8]
mov byte [ebx + 0xc0], 0
mov byte [ebp - 4], 8
cmp dword [edi + 4], 0
jne 0x40e698
cmp byte [edi + 0x31], 0
je 0x40e784
push edi
mov ecx, esi
call fcn.0040ea20
lea ecx, [edi + 0xc]
lea ebx, [esi + 0xc]
cmp ecx, ebx
je 0x40e711
mov eax, dword [ecx + 4]
mov dword [ebp + 8], eax
cmp eax, dword [ebx + 8]
jbe 0x40e6f7
push dword [ebx]
call fcn.0054605b
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, 0xc
mov dword [ebx + 8], 0
mul edx
mov dword [ebx + 4], 0
mov dword [ebx], 0
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00546052
mov dword [ebx], eax
lea ecx, [edi + 0xc]
mov eax, dword [ebp + 8]
add esp, 8
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
test eax, eax
je 0x40e711
lea eax, [eax + eax*2]
shl eax, 2
push eax
push dword [ecx]
push dword [ebx]
call fcn.0054ae00
add esp, 0xc
movzx eax, byte [edi + 0x18]
lea ecx, [esi + 0x34]
mov byte [esi + 0x18], al
movzx eax, byte [edi + 0x19]
mov byte [esi + 0x19], al
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
movzx eax, byte [edi + 0x20]
mov byte [esi + 0x20], al
movzx eax, byte [edi + 0x21]
mov byte [esi + 0x21], al
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
movzx eax, byte [edi + 0x30]
mov byte [esi + 0x30], al
movzx eax, byte [edi + 0x31]
mov byte [esi + 0x31], al
lea eax, [edi + 0x34]
push eax
call fcn.00435000
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
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
push 0x5e8fe0
lea eax, [ebp + 8]
mov dword [ebp + 8], 1
push eax
call fcn.0054b85e
int3
Function at 0x425290
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movzx eax, byte [ebx + 9]
push eax
lea ecx, [esi + 0x44]
mov dword [ebp - 4], esi
call fcn.0041bef0
movzx eax, byte [ebx + 8]
lea ecx, [esi + 0x50]
push eax
call fcn.0041bef0
lea edi, [esi + 0x74]
mov ecx, edi
call fcn.00410e10
push 0x88
call fcn.00546014
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
test esi, esi
je 0x425394
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov byte [esi + 0x4c], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi], vtable.NCoderMixer2::CCoderMT.0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov byte [esi + 0x68], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
jmp 0x425396
xor esi, esi
mov ecx, dword [edi + 4]
lea eax, [ecx + 1]
mov dword [edi + 4], eax
mov eax, dword [edi]
mov dword [eax + ecx*4], esi
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x20], eax
mov edi, dword [ebx]
test edi, edi
je 0x4253b6
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x4253c3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x18], edi
mov edi, dword [ebx + 4]
test edi, edi
je 0x4253d3
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x4253e0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 4]
mov dword [esi + 0x1c], edi
pop edi
mov al, byte [eax + 0x5c]
mov byte [esi + 0x68], al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x429980
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4299d9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4299d9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4299ca
cmp esi, edx
jae 0x4299d9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4299b8
cmp esi, edx
jae 0x4299d9
cmp word [esi], 0
je 0x4299d9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x42ac50
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5955a8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x62819c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x1c]
cmp eax, 0xffffffff
je 0x42adfe
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi + 0xc]
push eax
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042a710
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
call fcn.0042c580
add esp, 0x10
or esi, 0xffffffff
test eax, eax
je 0x42addf
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x42ae16
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x42ae20
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
call fcn.0042c030
add esp, 4
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0042a6a0
mov edx, dword [ebp - 0x1c]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ad2e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.0042c7d0
add esp, 8
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0042a6a0
mov edx, dword [ebp - 0x1c]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ad68
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042a710
add esp, 0xc
push 0
push dword [eax]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x1c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ada3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, esi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42adc1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42addf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x42adfe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi + 0x1c], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004293d0
push 0x80004005
call fcn.004293d0
int3