joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427410
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
push 4
call fcn.004a9605
push 4
mov esi, eax
call fcn.004a9605
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 4]
add eax, eax
add eax, eax
add esp, 8
xor edi, edi
test eax, eax
jle 0x427456
mov ecx, dword [esp + 0x14]
mov eax, ebp
sub ecx, ebp
mov dl, byte [ecx + eax]
mov byte [eax], dl
mov edx, dword [ebx + 4]
add edx, edx
inc edi
add edx, edx
inc eax
cmp edi, edx
jl 0x427444
mov eax, dword [ebx + 8]
mov edi, dword [ebx + 4]
inc eax
imul eax, dword [ebx]
add edi, edi
add eax, eax
add edi, edi
add eax, eax
cmp edi, eax
jge 0x4275a5
movzx ecx, byte [edi + ebp - 4]
mov byte [esi], cl
mov dl, byte [edi + ebp - 3]
mov byte [esi + 1], dl
mov al, byte [edi + ebp - 2]
mov byte [esi + 2], al
movzx ecx, byte [edi + ebp - 1]
mov eax, edi
cdq
and edx, 3
add eax, edx
sar eax, 2
mov byte [esi + 3], cl
mov ecx, dword [ebx + 4]
cdq
idiv ecx
test edx, edx
jne 0x427525
movzx edx, byte [esi + 1]
mov al, byte [esi]
mov cl, byte [esi + 2]
mov byte [esi], dl
movzx edx, byte [esi + 3]
mov byte [esi + 3], al
mov eax, esi
mov byte [esi + 1], cl
mov byte [esi + 2], dl
call fcn.00427380
mov ecx, dword [ebx + 4]
add ecx, ecx
mov eax, edi
add ecx, ecx
cdq
idiv ecx
mov byte [esp + 0x18], 1
mov cl, byte [esp + 0x18]
dec eax
test eax, eax
jle 0x4274f7
mov dword [esp + 0x14], eax
mov al, cl
shr al, 7
mov dl, 0x1b
imul dl
add cl, cl
xor cl, al
sub dword [esp + 0x14], 1
jne 0x4274e3
mov eax, dword [esp + 0xc]
mov byte [eax], cl
mov byte [eax + 3], 0
mov byte [eax + 2], 0
mov byte [eax + 1], 0
movzx ecx, cl
xor byte [esi], cl
movzx edx, byte [eax + 1]
xor byte [esi + 1], dl
movzx ecx, byte [eax + 2]
xor byte [esi + 2], cl
movzx edx, byte [eax + 3]
xor byte [esi + 3], dl
jmp 0x427536
cmp ecx, 6
jle 0x427536
cmp edx, 4
jne 0x427536
mov eax, esi
call fcn.00427380
mov eax, dword [ebx + 4]
add eax, eax
add eax, eax
mov ecx, edi
sub ecx, eax
movzx edx, byte [ecx + ebp]
xor dl, byte [esi]
mov ecx, edi
mov byte [edi + ebp], dl
mov eax, dword [ebx + 4]
add eax, eax
add eax, eax
sub ecx, eax
movzx edx, byte [ecx + ebp + 1]
xor dl, byte [esi + 1]
mov ecx, edi
mov byte [edi + ebp + 1], dl
mov eax, dword [ebx + 4]
add eax, eax
add eax, eax
sub ecx, eax
movzx edx, byte [ecx + ebp + 2]
xor dl, byte [esi + 2]
mov ecx, edi
mov byte [edi + ebp + 2], dl
mov eax, dword [ebx + 4]
add eax, eax
add eax, eax
sub ecx, eax
movzx edx, byte [ecx + ebp + 3]
xor dl, byte [esi + 3]
add edi, 4
mov byte [edi + ebp - 1], dl
mov eax, dword [ebx + 8]
inc eax
imul eax, dword [ebx]
add eax, eax
add eax, eax
cmp edi, eax
jl 0x427470
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004aa217
push esi
call fcn.004aa217
add esp, 8
pop edi
pop esi
pop ebp
pop ecx
ret 8
Function at 0x4276e0
Capabilities:
Check for peb beingdebugged flag
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x4cc939
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4ff0f4]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
mov eax, dword [0x4ff0f4]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x5c], ebx
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x10], ebx
xor eax, eax
mov word [esp + 0x38], ax
mov eax, ebp
mov dword [esp + 0x30], edi
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
lea ecx, [eax + 2]
jmp 0x427740
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x427740
sub eax, ecx
sar eax, 1
push eax
push ebp
lea ecx, [esp + 0x3c]
call fcn.00409920
mov dword [esp + 0x5c], 1
push ebx
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
xor ecx, ecx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
add esi, 2
mov word [edi + 4], cx
mov eax, esi
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x10], 1
neg ecx
or ecx, eax
push ecx
call fcn.004a9605
add esp, 4
push esi
mov ebx, eax
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, 7
test eax, eax
je 0x427814
push esi
xor eax, eax
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call fcn.00409920
mov byte [esp + 0x5c], 2
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.004082a0
mov byte [esp + 0x5c], 1
cmp dword [esp + 0x2c], 8
jb 0x427801
mov edx, dword [esp + 0x18]
push edx
call fcn.004a9741
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
push ebx
call fcn.004aa217
add esp, 4
mov byte [esp + 0x5c], 0
cmp dword [esp + 0x4c], 8
jb 0x427836
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004a9741
add esp, 4
xor edx, edx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], 0
mov word [esp + 0x38], dx
mov eax, edi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004a974c
add esp, 0x50
ret
Function at 0x427c40
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4d1429
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push edi
mov eax, dword [0x4ff0f4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x10], ebx
lea ebp, [esi + 4]
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov dword [esp + 0x30], esi
mov word [ebp], ax
mov dword [esp + 0x40], ebx
mov eax, ecx
mov dword [esp + 0x10], 1
lea edi, [eax + 2]
jmp 0x427ca0
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x427ca0
sub eax, edi
sar eax, 1
je 0x427d57
push ecx
lea edi, [esp + 0x18]
call fcn.004276e0
add esp, 4
mov dword [esp + 0x40], 1
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.004082a0
mov byte [esp + 0x40], bl
mov edi, 8
cmp dword [esp + 0x2c], edi
jb 0x427cf1
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004a9741
add esp, 4
xor edx, edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
cmp dword [esi + 0x18], edi
jb 0x427d0c
mov ebp, dword [ebp]
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.00427870
add esp, 8
mov dword [esp + 0x40], 2
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.004082a0
mov byte [esp + 0x40], bl
cmp dword [esp + 0x2c], edi
jb 0x427d44
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004a9741
add esp, 4
xor edx, edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x42b800
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4cc8ad
mov eax, dword fs:[0]
push eax
mov eax, 0x202c
call fcn.004ad450
mov eax, dword [0x4ff0f4]
xor eax, esp
mov dword [esp + 0x2028], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ff0f4]
xor eax, esp
push eax
lea eax, [esp + 0x2040]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x2048], ebx
mov edi, edx
mov dword [esp + 0x18], ebx
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
mov dword [esp + 0x1c], edi
mov word [edi + 4], ax
mov dword [esp + 0x2048], ebx
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push ebx
push ecx
lea edx, [esp + 0x44]
push edx
push ebx
mov dword [esp + 0x28], 1
call esi
test eax, eax
je 0x42b941
mov ebp, dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 0x1000
lea eax, [esp + 0x40]
push eax
mov ecx, eax
push ecx
call ebp
test eax, eax
je 0x42b941
lea eax, [esp + 0x3c]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42b8b0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x40]
push edx
mov ecx, edi
call fcn.00409920
push ebx
push 0x28
lea eax, [esp + 0x44]
push eax
push ebx
call esi
test eax, eax
je 0x42b93c
push 0x1000
lea ecx, [esp + 0x40]
push ecx
mov edx, ecx
push edx
call ebp
test eax, eax
je 0x42b93c
lea eax, [esp + 0x3c]
push 0x104
push eax
call fcn.004aadad
mov ecx, dword [edi + 0x14]
sub ecx, eax
add esp, 8
lea edx, [eax + 1]
lea eax, [esp + 0x20]
push eax
dec ecx
push edi
call fcn.0042d270
mov dword [esp + 0x2048], 1
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
call fcn.004082a0
mov byte [esp + 0x2048], bl
lea ecx, [esp + 0x20]
call fcn.004060d0
jmp 0x42b941
call fcn.004267d0
mov eax, edi
mov ecx, dword [esp + 0x2040]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2028]
xor ecx, esp
call fcn.004a974c
add esp, 0x2038
ret

Function at 0x42b970
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4cc852
mov eax, dword fs:[0]
push eax
mov eax, 0x200c
call fcn.004ad450
mov eax, dword [0x4ff0f4]
xor eax, esp
mov dword [esp + 0x2008], eax
push edi
mov eax, dword [0x4ff0f4]
xor eax, esp
push eax
lea eax, [esp + 0x2014]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x201c], edi
mov dword [esp + 8], edi
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0xc], esi
mov word [esi + 4], ax
mov dword [esp + 0x201c], edi
push edi
push ecx
lea edx, [esp + 0x18]
push edx
push edi
mov dword [esp + 0x18], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42ba2c
push 0x1000
lea eax, [esp + 0x14]
push eax
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x42ba2c
lea eax, [esp + 0x10]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x42ba10
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.00409920
mov eax, esi
mov ecx, dword [esp + 0x2014]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x2008]
xor ecx, esp
call fcn.004a974c
add esp, 0x2018
ret
Function at 0x42ba60
Capabilities:
Get user security identifier

Disassembly:
push 0xffffffffffffffff
push 0x4cfcb8
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x4ff0f4]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ff0f4]
xor eax, esp
push eax
lea eax, [esp + 0x24c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x25c]
xor edi, edi
push 0x44
push edi
mov esi, ecx
mov dword [esp + 0x24], eax
xor bl, bl
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], 0x44
mov dword [esp + 0x28], 0x104
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebp, eax
cmp ebp, edi
je 0x42bc55
push 0xc
call fcn.004aa724
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x254], edi
cmp eax, edi
je 0x42bb16
mov dword [eax], vtable.StartupAreas::IFreeProcPtr.0
mov byte [esp + 0x254], 1
mov ecx, dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [eax], vtable.StartupAreas::FreeProcPtr_void_____stdcall___void____void__.0
mov dword [eax + 4], ecx
mov dword [eax + 8], ebp
mov byte [esp + 0x254], 0
mov edi, eax
or ebx, 0xffffffff
mov dword [esp + 0x254], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x254], 2
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x34]
push edx
push ebp
mov ecx, esi
call fcn.004175b0
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x42bb79
mov dword [esp + 0x254], ebx
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
xor al, al
jmp 0x42bc57
lea esi, [esp + 0x30]
call fcn.0042e080
mov edx, dword [eax + 8]
lea ecx, [esp + 0x14]
push ecx
push ebp
call edx
test eax, eax
sete al
test al, al
jne 0x42bb58
mov esi, dword [esp + 0x14]
push 0xc
call fcn.004aa724
add esp, 4
mov dword [esp + 0x24], eax
mov cl, 3
mov byte [esp + 0x254], cl
test eax, eax
je 0x42bbe0
mov dword [eax], vtable.StartupAreas::IFreeProcPtr.0
mov byte [esp + 0x254], 4
mov edx, dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [eax], vtable.StartupAreas::FreeProcPtr_void_____stdcall___void____unsigned_short_int__.0
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov byte [esp + 0x254], cl
mov esi, eax
jmp 0x42bbe2
xor esi, esi
mov byte [esp + 0x254], 2
mov dword [esp + 0x24], esi
mov byte [esp + 0x254], 5
mov edx, dword [esp + 0x14]
mov eax, edx
lea ebp, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42bc00
mov ecx, dword [esp + 0x1c]
sub eax, ebp
sar eax, 1
push eax
push edx
call fcn.00409920
mov bl, 1
mov byte [esp + 0x254], 2
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
mov dword [esp + 0x254], 0xffffffff
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov al, bl
mov ecx, dword [esp + 0x24c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004a974c
add esp, 0x244
ret
Function at 0x42bc80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1a9c
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x4ff0f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov edi, edx
xor bl, bl
mov dword [ebp - 0x248], 0x104
xor eax, eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], eax
mov word [ebp - 0x238], ax
push 0x38
push 0x4e8a10
lea ecx, [ebp - 0x23c]
call fcn.00409920
mov dword [ebp - 4], 0
push 1
push 0x4e8a0c
lea eax, [ebp - 0x23c]
call fcn.0042e4a0
push 0
push esi
or eax, 0xffffffff
lea esi, [ebp - 0x23c]
call fcn.0042e390
cmp dword [ebp - 0x224], 8
mov eax, dword [ebp - 0x238]
jae 0x42bd31
lea eax, [ebp - 0x238]
lea ecx, [ebp - 0x244]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42be61
mov edx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
mov eax, dword [ebp - 0x244]
push eax
lea esi, [ebp - 0x24c]
call fcn.0042f800
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
push ecx
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x250]
push eax
push 0
push str.ProfileImagePath
mov ecx, dword [ebp - 0x244]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42be44
mov eax, dword [ebp - 0x250]
cmp eax, 1
je 0x42bdb5
cmp eax, 2
jne 0x42be44
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x248]
shr ecx, 1
lea edx, [ebp - 0x220]
lea esi, [ebp - 0x26c]
call fcn.0042d1f0
mov bl, 3
mov byte [ebp - 4], bl
cmp dword [eax + 0x18], 8
jb 0x42bde2
mov ecx, dword [eax + 4]
jmp 0x42bde5
lea ecx, [eax + 4]
lea esi, [ebp - 0x288]
call fcn.00427c40
mov byte [ebp - 4], 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.004082a0
mov byte [ebp - 4], bl
mov ecx, esi
call fcn.004060d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x26c]
call fcn.004060d0
mov bl, 1
mov byte [ebp - 0x23d], bl
mov dword [ebp - 4], 1
jmp 0x42be44
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x24c]
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx]
call eax
mov edx, dword [esi]
push 1
mov ecx, esi
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x224], 8
jb 0x42be80
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.004a9741
add esp, 4
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
xor edx, edx
mov word [ebp - 0x238], dx
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a974c
mov esp, ebp
pop ebp
ret
Function at 0x4346c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ebp
push esi
test eax, eax
je 0x434709
movzx esi, word [eax + 6]
test esi, esi
je 0x434709
movzx ecx, word [eax + 0x14]
lea ebx, [ecx + eax + 0x18]
xor eax, eax
test esi, esi
jbe 0x434709
lea ecx, [ebx + 0x10]
mov edx, dword [ecx - 4]
cmp edi, edx
jb 0x4346ef
mov ebp, dword [ecx]
add ebp, edx
cmp edi, ebp
jb 0x4346ff
inc eax
add ecx, 0x28
cmp eax, esi
jb 0x4346e0
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
lea edx, [eax + eax*4]
lea ecx, [ebx + edx*8]
test ecx, ecx
jne 0x434711
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
pop esi
add eax, dword [esp + 0xc]
pop ebp
add eax, edi
pop ebx
ret 4

Function at 0x4347c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ebx
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
xor ecx, ecx
test edi, edi
jl 0x434800
jg 0x4347da
cmp dword [ebp + 8], eax
jbe 0x434800
mov edx, dword [ebp + 0x10]
lea ecx, [ecx]
lea ebx, [edx + eax]
and ebx, 0xf
mov bl, byte [ebx + 0x512ae0]
xor byte [eax + esi], bl
add eax, 1
adc ecx, 0
cmp ecx, edi
jl 0x4347e0
jg 0x434800
cmp eax, dword [ebp + 8]
jb 0x4347e0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x434810
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x60
mov eax, dword [0x4ff0f4]
xor eax, esp
mov dword [esp + 0x5c], eax
xor eax, eax
push esi
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push str.2d5704bf1e2641ea8f86477905614a0c
mov eax, 0x21
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.004549c0
add esp, 4
lea esi, [esp + 8]
mov edi, 0x512ae0
call fcn.00454a60
mov ecx, dword [esp + 0x64]
pop edi
pop esi
xor ecx, esp
call fcn.004a974c
mov esp, ebp
pop ebp
ret
Function at 0x4351b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4c8d23
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4ff0f4]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov dword [esi], vtable.CAttrBase.0
mov dword [esi + 4], ecx
mov dword [esi + 0x18], eax
mov edx, dword [eax + 8]
mov dx, word [edx + 8]
mov word [esi + 8], dx
mov edx, dword [eax + 8]
mov edx, dword [edx + 0xc]
mov dword [esi + 0xc], edx
mov edx, dword [eax + 8]
mov edx, dword [edx + 0x14]
mov dword [esi + 0x10], edx
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x20]
mov dword [esi + 0x14], edx
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esi], vtable.CAttrNonResident.0
mov dword [esi + 0x20], vtable.CSList_struct_tagDataRun_Entry_.0
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x24], eax
mov byte [esp + 0x10], 1
mov eax, dword [esi + 0xc]
push eax
mov dword [esi + 0x1c], ecx
call fcn.004a9605
add esp, 4
push esi
mov dword [esi + 0x38], eax
call fcn.004353b0
mov dword [esi + 0x34], eax
mov dword [esp + 0x10], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 8

Function at 0x435bc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c9dfb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4ff0f4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CAttr_FileName.0
mov dword [esi + 0x28], vtable.CAttr_FileName.1.0
mov dword [esp + 0x14], 0
mov eax, dword [esi + 0x30]
mov dword [esi + 0x28], vtable.CFileName.0
test eax, eax
je 0x435c14
push eax
call fcn.004a9741
add esp, 4
or eax, 0xffffffff
mov dword [esp + 0x14], eax
mov dword [esi], vtable.CAttrResident.0
mov dword [esp + 0x14], eax
mov dword [esi], vtable.CAttrBase.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4362b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c8546
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4ff0f4]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
push 0x439be0
push 0x439bc0
push 0x10
push 0x14
lea eax, [esi + 0x5c]
push eax
mov dword [esi], vtable.CFileRecord.0
call fcn.004ab223
xor eax, eax
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
or ecx, 0xffffffff
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], ecx
mov dword [esp + 0x10], ecx
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 8
Function at 0x438050
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1f7d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x4ff0f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 4], esi
mov dword [0x512afc], 0x81d0
lea ecx, [ebp - 0x4c]
call fcn.0043cf00
mov byte [ebp - 4], 1
push esi
call fcn.004aa57a
add esp, 4
mov ebx, eax
cmp byte [ebp + 0xc], 0
je 0x438166
mov dword [ebp - 0x14], esi
lea esi, [ebp - 0x28]
call fcn.004183e0
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
xor edi, edi
mov esi, dword [ebp + 8]
call fcn.00406bd0
mov eax, dword [eax]
xor esi, esi
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x14]
push ecx
push esi
push esi
push eax
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x14]
xor eax, 0x33
mov dword [ebp - 0x14], eax
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x4c]
push edx
call fcn.0043e040
mov byte [ebp - 4], 3
mov eax, dword [eax]
push eax
call fcn.004aade2
add esp, 4
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00405410
add esi, 0x3f480
cmp ebx, esi
jge 0x438148
mov byte [ebp - 4], 0
lea eax, [ebp - 0x4c]
push eax
call fcn.0043d1a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push 0x4e59d4
push 0x64
lea edi, [ebp - 0x18]
call fcn.00448970
add esp, 0xc
mov byte [ebp - 4], 4
push eax
mov ecx, dword [ebp - 0x14]
push ecx
jmp 0x4381c0
push 0xa
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x4c]
push eax
call fcn.0043e040
mov byte [ebp - 4], 5
mov eax, dword [eax]
push eax
call fcn.004aade2
add esp, 4
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00405410
add esi, 0x3f480
cmp ebx, esi
jge 0x4381a6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
push ecx
jmp 0x438131
push ebx
push 0x4e59d8
push 0x64
lea edi, [ebp - 0x18]
call fcn.00448970
add esp, 0xc
mov byte [ebp - 4], 6
push eax
push 0xa
lea ecx, [ebp - 0x4c]
call fcn.0043df70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00405410
push 0x18
call fcn.004aa724
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x4381f3
push eax
call fcn.00438270
mov ebx, eax
jmp 0x4381f5
xor ebx, ebx
mov byte [ebp - 4], 1
xor edi, edi
mov dword [ebp - 0x1c], edi
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
sar edx, 2
cmp edi, edx
jae 0x43821e
call fcn.00406bd0
push eax
mov ecx, ebx
call fcn.004176a0
inc edi
jmp 0x4381fb
push 0
push 0
push ebx
push 0x4377d0
push 0
push 0
call fcn.004a9f99
add esp, 0x18
mov byte [ebp - 4], 0
lea eax, [ebp - 0x4c]
push eax
call fcn.0043d1a0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret