joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4197f0
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557248
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5ae9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00406d70
movzx eax, al
test eax, eax
je 0x41984e
lea ecx, [ebp + 8]
call fcn.00408720
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004011f0
jmp 0x419997
lea ecx, [ebp - 0x24]
call fcn.0043a2f4
mov byte [ebp - 4], 1
push 0x5862d8
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.00406b40
add esp, 0xc
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 2
push 0
mov ecx, dword [ebp - 0x44]
call fcn.00408720
push eax
lea ecx, [ebp - 0x24]
call fcn.0043a38c
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004011f0
cmp dword [ebp - 0x28], 0
je 0x419965
lea ecx, [ebp - 0x24]
call fcn.00439ff4
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x24]
call fcn.0043a2b5
test eax, eax
je 0x4198c1
jmp 0x41989e
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x24]
call fcn.0043a5b9
mov dword [ebp - 0x48], eax
push 0x80
mov ecx, dword [ebp - 0x48]
call fcn.00408720
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x30]
call fcn.004011f0
lea ecx, [ebp - 0x24]
call fcn.00416130
test eax, eax
je 0x41993a
push ecx
mov edx, esp
mov dword [ebp - 0x34], esp
push edx
lea ecx, [ebp - 0x24]
call fcn.0043a5b9
mov dword [ebp - 0x4c], eax
call fcn.004197f0
add esp, 4
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x24]
call fcn.0043a5b9
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
call fcn.00408720
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x38]
call fcn.004011f0
jmp 0x419960
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x24]
call fcn.0043a5b9
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
call fcn.00408720
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x3c]
call fcn.004011f0
jmp 0x41989e
lea ecx, [ebp - 0x24]
call fcn.00439f0e
lea ecx, [ebp + 8]
call fcn.00408720
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0043a31d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004011f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x41b510
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556fc8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5ae9b0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x41b550
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x41b55c
mov al, 1
jmp 0x41b6ff
mov dword [ebp - 0x10], 8
call fcn.00416db0
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.00416db0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00416d90
add esp, 8
movzx eax, al
test eax, eax
je 0x41b59f
xor al, al
jmp 0x41b6ff
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0041ad60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.0041ae20
mov ecx, eax
call fcn.0041ba80
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00404c30
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.0041ae20
mov ecx, eax
call fcn.0041ba80
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.0041bf00
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x41b61a
cmp dword [ebp - 0x6c], 1
je 0x41b621
cmp dword [ebp - 0x6c], 3
je 0x41b6bb
jmp 0x41b6d3
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0041ae20
mov ecx, eax
call fcn.0041ba80
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x41b684
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.0041ae20
mov ecx, eax
call fcn.0041ba80
push eax
call fcn.00529eea
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x41b684
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00409630
mov al, byte [ebp - 0x61]
jmp 0x41b6ff
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x41b6a7
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00409630
mov al, byte [ebp - 0x62]
jmp 0x41b6ff
cmp dword [ebp - 0x38], 0
jne 0x41b6b9
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0041ada0
jmp 0x41b6eb
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00409630
mov al, byte [ebp - 0x63]
jmp 0x41b6ff
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00409630
mov al, byte [ebp - 0x64]
jmp 0x41b6ff
jmp 0x41b5b2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00528556
mov esp, ebp
pop ebp
ret
Function at 0x41c960
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5ae9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x14]
call fcn.00401310
mov dword [ebp - 4], 0
push str.dGhmeS9lYw
lea eax, [ebp - 0x30]
push eax
call fcn.004069a0
add esp, 8
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x60]
call fcn.004162f0
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x60]
call fcn.004162b0
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x60]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x68]
call fcn.00404cf0
push eax
mov edx, dword [ebp - 0x70]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
push ecx
push 0x585ae8
lea edx, [ebp - 0x14]
push edx
call fcn.00406200
add esp, 0x18
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.004011f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004011f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.004011f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0040a5d0
push 0x1a
lea eax, [ebp - 0x10]
push eax
call fcn.00405ef0
add esp, 8
mov byte [ebp - 4], 5
push str.XV1UcGhwdkZ5cW1wc2ZzXV1GeXVmb3RqcG81L2Vj
lea ecx, [ebp - 0x58]
push ecx
call fcn.004069a0
add esp, 8
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x88], edx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x88]
call fcn.00404cf0
push eax
lea ecx, [ebp - 0x10]
call fcn.00409320
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.0040a5d0
push 0
lea ecx, [ebp - 0x10]
call fcn.00408720
push eax
lea ecx, [ebp - 0x14]
call fcn.00408720
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 0x59], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004011f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004011f0
mov al, byte [ebp - 0x59]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x41cb70
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1b8]
sub esp, 0x238
mov eax, dword [0x5ae9b0]
xor eax, ebp
mov dword [ebp + 0x1b4], eax
push ebx
push esi
push edi
call fcn.004093e0
push 0
push 2
mov ebx, eax
mov dword [ebp - 0x7c], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x78]
push eax
mov edi, 0x22c
push esi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x78], edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x41cbd2
lea ecx, [ebp + 0x1c0]
call fcn.004011f0
xor eax, eax
jmp 0x41cca3
lea ecx, [ebp - 0x78]
push ecx
push esi
mov dword [ebp - 0x78], edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x41cc8e
jmp 0x41cbf0
lea ecx, [ebp + 0x1c0]
call fcn.00408720
mov edi, eax
test edi, edi
je 0x41cc2e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41cc14
xor edi, edi
jmp 0x41cc2e
lea esi, [eax + eax]
mov eax, esi
call fcn.0052ea90
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.00409390
mov esi, dword [ebp - 0x80]
mov edi, eax
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41cc44
xor eax, eax
jmp 0x41cc5f
lea esi, [eax + eax]
mov eax, esi
call fcn.0052ea90
mov eax, esp
push ebx
push esi
lea ecx, [ebp - 0x54]
push ecx
push eax
call fcn.00409390
mov esi, dword [ebp - 0x80]
push edi
push eax
call fcn.0052a2b3
add esp, 8
test eax, eax
je 0x41cc88
lea edx, [ebp - 0x78]
push edx
push esi
mov dword [ebp - 0x78], 0x22c
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41cbf0
jmp 0x41cc8e
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x7c], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 0x1c0]
call fcn.004011f0
mov eax, dword [ebp - 0x7c]
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1b4]
xor ecx, ebp
call fcn.00528556
add ebp, 0x1b8
mov esp, ebp
pop ebp
ret

Function at 0x41ce80
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x556f19
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5ae9b0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov ecx, esi
mov dword [esp + 0xc], 0
call fcn.00401310
mov ecx, dword [esp + 0x24]
lea eax, [esp + 8]
push eax
push ecx
mov dword [esp + 0x20], 0
push 0
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x41cf11
push 0x104
mov ecx, esi
call fcn.0040a430
mov edx, dword [esp + 8]
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040a1a0
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x41cf30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x556928
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5ae9b0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0
call fcn.00408f20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
push 0xffffffffffffffff
mov esi, ecx
lea ecx, [esp + 0x1c]
call fcn.0040a1a0
lea ecx, [esp + 0x18]
call fcn.004011f0
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret
Function at 0x41d170
Capabilities:
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5571e0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ae9b0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], 0
call fcn.0043a2f4
lea ecx, [esp + 0x14]
call fcn.00401310
lea ecx, [esp + 0x18]
call fcn.00401310
mov bl, 3
mov byte [esp + 0x48], bl
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x1c]
push str._s.
push ecx
call fcn.00406200
add esp, 0xc
push 0
lea ecx, [esp + 0x1c]
call fcn.00408720
push eax
lea ecx, [esp + 0x30]
call fcn.0043a38c
test eax, eax
je 0x41d324
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esp + 0x28]
call fcn.00439ff4
lea ecx, [esp + 0x28]
mov ebp, eax
call fcn.00416130
lea ecx, [esp + 0x28]
test eax, eax
je 0x41d2ac
call fcn.0043a2b5
test eax, eax
jne 0x41d31c
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x2c]
call fcn.0043a5b9
mov byte [esp + 0x48], 4
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x18]
push 0x58ad38
push ecx
call fcn.00406200
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], bl
call fcn.004011f0
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x38]
push 1
lea ecx, [esp + 0x2c]
call eax
test eax, eax
je 0x41d291
lea ecx, [esp + 0x14]
call fcn.00408720
push eax
call edi
and eax, 0xfffffffe
push eax
lea ecx, [esp + 0x18]
call fcn.00408720
push eax
call esi
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0040a730
call fcn.0041d170
add esp, 4
jmp 0x41d31c
lea eax, [esp + 0x20]
push eax
call fcn.0043a5b9
mov byte [esp + 0x48], 5
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x18]
push 0x58ad38
push edx
call fcn.00406200
add esp, 0xc
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], bl
call fcn.004011f0
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x38]
push 1
lea ecx, [esp + 0x2c]
call edx
test eax, eax
je 0x41d30c
lea ecx, [esp + 0x14]
call fcn.00408720
push eax
call edi
and eax, 0xfffffffe
push eax
lea ecx, [esp + 0x18]
call fcn.00408720
push eax
call esi
lea ecx, [esp + 0x14]
call fcn.00408720
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test ebp, ebp
jne 0x41d200
lea ecx, [esp + 0x28]
call fcn.00439f0e
lea ecx, [esp + 0x50]
call fcn.00408720
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x18]
call fcn.004011f0
lea ecx, [esp + 0x14]
call fcn.004011f0
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 0
call fcn.0043a31d
lea ecx, [esp + 0x50]
call fcn.004011f0
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
Function at 0x41e290
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
mov ebx, dword [eax + 4]
mov eax, dword [eax]
movzx ecx, word [eax + 0x14]
xor edx, edx
push esi
lea esi, [ecx + eax + 0x18]
mov dword [esp + 8], 0
cmp dx, word [eax + 6]
jae 0x41e337
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
add esi, 0x10
mov eax, dword [esi]
test eax, eax
jne 0x41e2f2
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 0x38]
test edi, edi
jle 0x41e31b
mov ecx, dword [esi - 4]
push 4
push 0x1000
push edi
add ecx, ebx
push ecx
call ebp
push edi
push 0
push eax
mov dword [esi - 8], eax
call fcn.0052b7e0
jmp 0x41e318
mov edx, dword [esi - 4]
push 4
push 0x1000
push eax
add edx, ebx
push edx
call ebp
mov ecx, dword [esi + 4]
add ecx, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esi]
push eax
push ecx
push edi
call fcn.0052e350
mov dword [esi - 8], edi
add esp, 0xc
mov edx, dword [esp + 0x20]
mov ecx, dword [edx]
mov eax, dword [esp + 0x10]
movzx edx, word [ecx + 6]
inc eax
add esi, 0x28
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x41e2c3
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret

Function at 0x41e340
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [eax]
movzx ecx, word [ebx + 0x14]
push ebp
xor edx, edx
xor ebp, ebp
lea eax, [ecx + ebx + 0x18]
cmp dx, word [ebx + 6]
jae 0x41e3f5
push esi
push edi
lea edi, [eax + 0x24]
mov eax, dword [edi]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x41e397
mov eax, dword [edi - 0x14]
mov ecx, dword [edi - 0x1c]
push 0x4000
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x41e3dd
lea edx, [edx + ecx*2]
lea ecx, [esi + edx*2]
mov edx, dword [ecx*4 + 0x5b0190]
test eax, 0x4000000
je 0x41e3b1
or edx, 0x200
mov ecx, dword [edi - 0x14]
test ecx, ecx
jne 0x41e3ca
test al, 0x40
je 0x41e3c1
mov ecx, dword [ebx + 0x20]
jmp 0x41e3c8
test al, al
jns 0x41e3dd
mov ecx, dword [ebx + 0x24]
test ecx, ecx
jbe 0x41e3dd
lea eax, [esp + 0x10]
push eax
push edx
push ecx
mov ecx, dword [edi - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [esp + 0x18]
mov ebx, dword [edx]
movzx eax, word [ebx + 6]
inc ebp
add edi, 0x28
cmp ebp, eax
jl 0x41e364
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x41e5a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, dword [esp + 8]
mov eax, 0x5a4d
cmp word [ebp], ax
je 0x41e5b4
xor eax, eax
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0x3c]
add ebx, ebp
cmp dword [ebx], 0x4550
je 0x41e5c7
pop ebx
xor eax, eax
pop ebp
ret
mov ecx, dword [ebx + 0x50]
mov edx, dword [ebx + 0x34]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 4
push 0x2000
push ecx
push edx
call esi
mov edi, eax
test edi, edi
jne 0x41e5fe
mov eax, dword [ebx + 0x50]
push 4
push 0x2000
push eax
push edi
call esi
mov edi, eax
test edi, edi
je 0x41e699
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
xor eax, eax
push 4
mov dword [esi + 4], edi
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
mov ecx, dword [ebx + 0x50]
push 0x1000
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, dword [ebx + 0x54]
add edx, dword [ebp + 0x3c]
push edx
push ebp
push edi
call fcn.0052e350
mov eax, dword [ebp + 0x3c]
push esi
add eax, edi
push ebx
mov dword [esi], eax
push ebp
mov dword [eax + 0x34], edi
call fcn.0041e290
mov eax, edi
add esp, 0x18
sub eax, dword [ebx + 0x34]
je 0x41e666
push eax
mov eax, esi
call fcn.0041e400
add esp, 4
push esi
call fcn.0041e480
add esp, 4
test eax, eax
je 0x41e694
push esi
call fcn.0041e340
mov ecx, dword [esi]
mov eax, dword [ecx + 0x28]
add esp, 4
test eax, eax
je 0x41e6a7
add eax, edi
je 0x41e694
push 0
push 1
push edi
call eax
test eax, eax
jne 0x41e6a0
call fcn.0041e750
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
ret
mov dword [esi + 0x10], 1
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x423f90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x557478
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
mov eax, dword [0x5ae9b0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 8]
sub eax, dword [edx + 4]
mov esi, dword [edi + 0x14]
sub eax, 2
mov ebx, 1
cmp esi, eax
ja 0x423ff3
cmp dword [edi + 0x18], eax
je 0x423ff3
push ebx
push eax
mov ecx, edi
call fcn.00409bf0
test al, al
je 0x423fec
push esi
mov ecx, edi
call fcn.00409d40
mov edx, dword [esp + 0x84]
mov esi, dword [edx + 4]
mov ebp, dword [edx + 8]
add esi, ebx
sub ebp, ebx
cmp esi, ebp
je 0x424173
jmp 0x424017
mov edx, dword [esp + 0x84]
mov al, byte [esi]
add esi, ebx
mov byte [esp + 0x18], al
cmp al, 0x22
je 0x424173
cmp al, 0x5c
jne 0x4240cd
cmp esi, ebp
je 0x4240e7
mov al, byte [esi]
movsx eax, al
add esi, ebx
add eax, 0xffffffde
mov dword [esp + 0x10], esi
cmp eax, 0x53
ja case.0x424055.35
movzx eax, byte [eax + 0x4241b4]
jmp dword [eax*4 + 0x42418c]
push 0x22
jmp 0x4240d2
push 0x2f
jmp 0x4240d2
push 0x5c
jmp 0x4240d2
push 8
jmp 0x4240d2
push 0xc
jmp 0x4240d2
push 0xa
jmp 0x4240d2
push 0xd
jmp 0x4240d2
push 9
jmp 0x4240d2
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x14]
push ecx
push ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.00424210
test al, al
je 0x42411f
mov ecx, dword [esp + 0x14]
push ecx
lea esi, [esp + 0x58]
call fcn.00422720
add esp, 4
push eax
mov ecx, edi
mov dword [esp + 0x7c], ebx
call fcn.00405ac0
mov ecx, esi
mov dword [esp + 0x78], 0xffffffff
call fcn.00409630
mov esi, dword [esp + 0x10]
jmp 0x4240da
mov edx, dword [esp + 0x18]
push edx
push ebx
mov ecx, edi
call fcn.0041ada0
cmp esi, ebp
jne 0x424010
jmp 0x424173
push str.Empty_escape_sequence_in_string
lea ecx, [esp + 0x20]
call fcn.00409e80
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
push esi
push eax
lea edx, [esp + 0x24]
mov dword [esp + 0x80], 0
call fcn.00424480
lea ecx, [esp + 0x1c]
jmp 0x42416c
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 8
push str.Bad_escape_sequence_in_string
lea ecx, [esp + 0x3c]
call fcn.00409e80
mov ecx, dword [esp + 0x84]
push esi
push ecx
mov ecx, dword [esp + 0x88]
lea edx, [esp + 0x40]
mov dword [esp + 0x80], 2
call fcn.00424480
lea ecx, [esp + 0x38]
mov bl, al
call fcn.00409630
mov al, bl
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 8

Function at 0x425e10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5573a8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5ae9b0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.00409e80
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 0
call fcn.00405ac0
push eax
mov ecx, esi
call fcn.004095c0
lea ecx, [esp + 8]
call fcn.00409630
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
add esp, 0x2c
ret
Function at 0x42d9ae
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 0x42d9f6
call fcn.00430d0b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42d9f6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x42da39
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 0x42da22
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 0x42da22
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x42da36
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 0x42ebce
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00430d0b
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42ec07
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0042e81a
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x42ec65
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x42ec89
cmp dword [edi + 0x54], 0
jne 0x42ec89
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00430d0b
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0042ec26
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8