joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452bb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4cb27b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push ebx
push esi
lea eax, [esp + 0x28]
push edi
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
push 0x80
mov dword [esp + 0x14], 0x4cc9f4
call fcn.004be967
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x1f
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x40
push 0xffffffffffffffff
mov edx, dword [esp + 0x30]
push 0xffffffffffffffff
push 0x40590000
push 0
mov eax, dword [esp + 0x40]
sub esp, 0x10
mov edi, dword [esp + 0x17c]
mov ecx, esp
mov dword [esp + 0x16c], 0
mov dword [ecx], edx
mov edx, dword [esp + 0x54]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x58]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x178]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x174]
lea ecx, [esp + 0x30]
push ecx
push 0
push edi
push edx
push eax
lea ecx, [esp + 0x70]
call fcn.0044d450
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x3c]
push ecx
push 0x44d390
push edx
push 0x1f8
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
xor ecx, ecx
cmp eax, 1
sete cl
mov eax, ecx
test eax, eax
mov dword [esp + 0xc], eax
je 0x452cb2
mov ecx, 0xc
lea esi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0xa8]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push edx
call esi
mov eax, dword [esp + 0xac]
push eax
call esi
mov eax, dword [esp + 0x134]
mov dword [esp + 0x124], 0x4cca6c
test eax, eax
je 0x452d5a
mov eax, dword [esp + 0x12c]
xor ebx, ebx
test eax, eax
jle 0x452d5a
cmp ebx, eax
jge 0x452d55
test ebx, ebx
jl 0x452d55
mov ecx, dword [esp + 0x128]
mov esi, dword [ecx + ebx*4]
test esi, esi
je 0x452d55
mov eax, dword [esi + 0x10]
mov dword [esi], 0x4cca70
test eax, eax
je 0x452d3c
mov eax, dword [esi + 8]
xor edi, edi
test eax, eax
jle 0x452d3c
cmp edi, eax
jge 0x452d34
test edi, edi
jl 0x452d34
mov edx, dword [esi + 4]
mov ecx, dword [edx + edi*4]
test ecx, ecx
je 0x452d34
push 1
call fcn.00452ed0
mov eax, dword [esi + 8]
inc edi
cmp edi, eax
jl 0x452d1f
mov eax, dword [esi + 4]
push eax
call fcn.004be975
push esi
call fcn.004be975
mov eax, dword [esp + 0x134]
add esp, 8
inc ebx
cmp ebx, eax
jl 0x452cf3
mov eax, dword [esp + 0x128]
push eax
call fcn.004be975
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
mov dword [esp + 0x14c], 0xffffffff
mov dword [esp + 0x10], 0x4cc9f4
je 0x452dbb
mov eax, dword [esp + 0x18]
xor edi, edi
test eax, eax
jle 0x452dbb
cmp edi, eax
jge 0x452db6
test edi, edi
jl 0x452db6
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x452db6
mov ecx, esi
call fcn.00459f00
push esi
call fcn.004be975
mov eax, dword [esp + 0x1c]
add esp, 4
inc edi
cmp edi, eax
jl 0x452d93
mov edx, dword [esp + 0x14]
push edx
call fcn.004be975
mov ecx, dword [esp + 0x148]
mov eax, dword [esp + 0x10]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x144
ret
Function at 0x453480
Capabilities:
Get common file path

Disassembly:
sub esp, 8
lea eax, [esp]
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x45356d
mov eax, dword [esp + 4]
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x10]
mov ecx, dword [eax]
push edx
push 0x4cca10
push 0
push esi
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x4534c9
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
pop esi
add esp, 8
ret
push ebx
lea edx, [esp + 0xc]
push edi
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ebx, dword [esp + 0x10]
test esi, esi
je 0x453539
test ebx, ebx
je 0x453539
mov ax, word [esi]
mov edx, esi
test ax, ax
mov ecx, 2
je 0x453506
and eax, 0xffff
add edx, eax
add ecx, eax
mov ax, word [edx]
test ax, ax
jne 0x4534f5
mov ax, word [ebx]
mov edx, ebx
test ax, ax
mov edi, 2
je 0x453526
and eax, 0xffff
add edx, eax
add edi, eax
mov ax, word [edx]
test ax, ax
jne 0x453515
cmp ecx, edi
jne 0x453539
mov edi, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
mov edx, eax
sete dl
mov esi, edx
jmp 0x45353b
xor esi, esi
mov eax, dword [0x4eba38]
mov edi, ebx
test eax, eax
jne 0x453556
push 0x4eba38
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [0x4eba38]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x14]
mov eax, dword [esp + 0xc]
pop edi
test esi, esi
pop ebx
jne 0x45356f
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
pop esi
add esp, 8
ret
Function at 0x453580
Capabilities:
Get common file path

Disassembly:
sub esp, 0x224
lea eax, [esp + 8]
push ebp
push esi
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
push eax
call edi
test eax, eax
jne 0x453712
mov edx, dword [esp + 0x234]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push 0x104
push ecx
push 0xffffffffffffffff
push edx
push 1
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x28]
lea ecx, [esp + 0x2c]
push edx
push ecx
push 0
push 0
push esi
call dword [eax + 0xc]
mov esi, dword [esp + 0x10]
xor edx, edx
test eax, eax
mov eax, dword [esp + 0x14]
setl dl
mov ecx, dword [eax]
dec edx
and edx, esi
push eax
mov ebp, edx
call dword [ecx + 8]
test ebp, ebp
je 0x453712
lea edx, [esp + 0xc]
push edx
call edi
test eax, eax
jne 0x4536e4
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
push 0x4cca10
mov ecx, dword [eax]
push 0
push ebp
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x45363d
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [esp + 0x18]
jmp 0x4536e6
lea edx, [esp + 0x1c]
push ebx
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x4536ab
mov ax, word [ebp]
mov edx, ebp
test ax, ax
mov ecx, 2
je 0x453676
and eax, 0xffff
add edx, eax
add ecx, eax
mov ax, word [edx]
test ax, ax
jne 0x453665
mov ax, word [ebx]
mov edx, ebx
test ax, ax
mov esi, 2
je 0x453696
and eax, 0xffff
add edx, eax
add esi, eax
mov ax, word [edx]
test ax, ax
jne 0x453685
cmp ecx, esi
jne 0x4536ab
mov edi, ebx
mov esi, ebp
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
mov edx, eax
sete dl
mov esi, edx
jmp 0x4536ad
xor esi, esi
mov eax, dword [0x4eba38]
mov edi, ebx
test eax, eax
pop ebx
jne 0x4536c9
push 0x4eba38
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [0x4eba38]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x14]
test esi, esi
je 0x4536da
mov esi, dword [esp + 0xc]
jmp 0x4536e6
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
xor esi, esi
mov eax, dword [0x4eba38]
test eax, eax
jne 0x4536ff
push 0x4eba38
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [0x4eba38]
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x224
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x224
ret
Function at 0x453720
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x210
lea eax, [esp]
push eax
push 0x4dcd50
push 1
push 0
push 0x4dcd40
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4537d1
mov eax, dword [esp]
mov edx, dword [esp + 0x214]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp + 0x21c]
test eax, eax
je 0x45376f
mov ecx, dword [esp]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov eax, dword [esp]
lea edx, [esp + 4]
push esi
push edx
mov ecx, dword [eax]
push 0x4dcd60
push eax
call dword [ecx]
mov esi, eax
test esi, esi
jl 0x4537c4
mov ecx, dword [esp + 0x21c]
lea eax, [esp + 0xc]
push 0x104
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push 1
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov esi, eax
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
pop esi
add esp, 0x210
ret
Function at 0x457bb0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, dword [esp + 0x1c]
push edi
push 0x218
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [esp + 0xc]
push ecx
push esi
call ebx
lea edx, [esp + 0x14]
push edx
push esi
call ebx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
add eax, ecx
mov ecx, dword [0x4eba60]
cdq
fld qword [0x4e2780]
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
mov dword [0x4eba68], eax
mov eax, dword [esp + 0x18]
add eax, edx
push 0
cdq
sub eax, edx
push 0
sar eax, 1
mov dword [0x4eba6c], eax
fstp qword [ecx + 0x70]
mov ecx, dword [0x4eba60]
call fcn.0045fcf0
mov eax, dword [0x4eba5c]
test eax, eax
je 0x457d34
mov ebx, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0x1fd
push esi
call ebx
test eax, eax
je 0x457cb2
mov edx, dword [0x4eba5c]
mov ecx, dword [0x4eba60]
push 0
push edx
call fcn.0045fcf0
mov ecx, dword [0x4eba60]
push 0
call fcn.00460f30
mov eax, dword [0x4eba74]
mov ecx, dword [0x4eba70]
push eax
push ecx
mov ecx, dword [0x4eba60]
call fcn.004611c0
mov ecx, dword [0x4eba60]
push 1
push 1
call fcn.00460010
mov edx, dword [0x4eba60]
mov eax, dword [0x4eba78]
push 0
mov dword [edx + 0x7c], eax
mov ecx, dword [0x4eba60]
call fcn.00460cc0
mov ecx, dword [0x4eba5c]
test ecx, ecx
je 0x457d34
push 0xffffffffffffffff
call fcn.0045ac50
test eax, eax
je 0x457d34
push 0x1fd
push esi
call ebx
test eax, eax
je 0x457d34
mov ecx, dword [0x4eba5c]
push 0xffffffffffffffff
call fcn.0045ac50
mov ecx, dword [0x4eba5c]
push 0xffffffffffffffff
mov esi, eax
call fcn.0045acc0
lea ecx, [eax + 2]
push 0x44
lea edx, [esi + 2]
push ecx
mov ecx, dword [0x4eba6c]
push edx
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, esi
cdq
sub eax, edx
mov edx, dword [0x4eba68]
sar eax, 1
sub edx, eax
dec ecx
dec edx
push ecx
push edx
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [0x4eba60]
call fcn.004605c0
pop edi
pop esi
pop ebx
add esp, 0x10
ret
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x458810
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x68
lea eax, [esp + 0x70]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jl 0x45890f
push esi
lea eax, [esp + 0xc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
push 0xc9
cdq
push 0x2a69c000
push edx
push eax
call fcn.004bf680
add esi, eax
lea eax, [esp + 0x20]
adc edi, edx
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push esi
push str._08X_08X
push eax
call edi
mov al, byte [esp + 0x30]
add esp, 0x10
test al, al
lea esi, [esp + 0x20]
je 0x4588ad
movsx ecx, byte [esi]
push ecx
call fcn.004bf29c
add esp, 4
test eax, eax
je 0x4588a5
add byte [esi], 0x17
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x458892
lea edx, [esp + 0x20]
push 0x45e4f33
push edx
call fcn.004591d0
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 8
push eax
lea eax, [esp + 0x24]
push str._08X
push eax
call esi
lea ecx, [esp + eax + 0x28]
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x20]
push edx
call esi
mov ecx, dword [esp + 0x78]
inc eax
push eax
lea eax, [esp + 0x24]
push eax
push 1
push 0
push str.Evaluation
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x78]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
add esp, 0x68
ret
Function at 0x458920
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x80
lea eax, [esp]
push esi
push edi
mov edi, dword [esp + 0x94]
push eax
push ecx
push edx
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jl 0x458a78
lea eax, [esp + 0xc]
lea ecx, [esp + 0x38]
push eax
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push str.Evaluation
push eax
mov dword [esp + 0x24], 0x50
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 8]
mov esi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jl 0x458a76
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x18
je 0x4589ae
pop edi
mov eax, 0x80004005
pop esi
add esp, 0x80
ret
lea eax, [esp + 0x10]
lea ecx, [esp + 0x48]
push eax
push str._08X
push ecx
call fcn.004bf63d
lea edx, [esp + 0x44]
push 0x45e4f33
push edx
mov byte [esp + 0x5c], 0
call fcn.004591d0
mov ecx, dword [esp + 0x24]
add esp, 0x14
cmp eax, ecx
je 0x4589ef
pop edi
mov eax, 0x80004005
pop esi
add esp, 0x80
ret
mov al, byte [esp + 0x38]
lea ecx, [esp + 0x38]
test al, al
je 0x458a0d
mov al, byte [ecx]
cmp al, 0x46
jle 0x458a05
sub al, 0x17
mov byte [ecx], al
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4589fb
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x40]
push str._08X_08X
push edx
call fcn.004bf63d
add esp, 0x10
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
sub edx, eax
mov eax, dword [esp + 0x1c]
push 0xc9
sbb eax, ecx
add edx, 0x2a69bfff
adc eax, 0xc9
push 0x2a69c000
push eax
push edx
call fcn.004bf6c0
mov dword [edi], eax
mov eax, esi
pop edi
pop esi
add esp, 0x80
ret
Function at 0x458b80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x814
push ebx
mov ebx, dword [esp + 0x820]
push ebp
push esi
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
mov ecx, dword [esp + 0x828]
mov dword [esp + 0x1c], edi
mov al, byte [ecx]
test al, al
je 0x458bc1
movsx eax, al
add edx, eax
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x458bb4
push edx
call fcn.00459be0
movsx ebp, di
add esp, 4
mov dword [esp + 0x10], esi
test ebp, ebp
jle 0x458c7f
movsx eax, word [esp + 0x834]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x20], eax
jmp 0x458bf0
mov eax, dword [esp + 0x20]
movsx ecx, word [esp + 0x10]
cmp ecx, eax
jge 0x458c7f
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x14], ecx
mov word [esp + 0x18], cx
cmp esi, ebp
jge 0x458c4a
movsx edx, byte [esi + ebx]
push edx
call fcn.004bf29c
add esp, 4
test eax, eax
jne 0x458c36
cmp esi, ebp
jge 0x458c42
movsx eax, byte [esi + ebx + 1]
inc esi
push eax
call fcn.004bf29c
add esp, 4
test eax, eax
je 0x458c1f
cmp esi, ebp
jge 0x458c42
mov cl, byte [esi + ebx]
inc esi
mov byte [esp + edi + 0x14], cl
inc edi
cmp edi, 5
jl 0x458c0a
cmp esi, ebp
jg 0x458d7d
lea edx, [esp + 0x14]
push edx
call fcn.004bf3fc
movsx edi, word [esp + 0x14]
xor ecx, ecx
add esp, 4
mov cl, ah
mov byte [esp + edi*2 + 0x24], al
mov byte [esp + edi*2 + 0x25], cl
mov ecx, dword [esp + 0x10]
inc ecx
cmp esi, ebp
mov dword [esp + 0x10], ecx
jl 0x458bec
cmp esi, ebp
jg 0x458d7d
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [edx + edx]
cmp ecx, 5
mov dword [esp + 0x10], esi
jae 0x458caa
dec esi
mov dword [esp + 0x10], esi
movsx ebx, si
push ebp
mov byte [esp + ebx + 0x28], 0
call fcn.004be967
add esp, 4
cmp word [esp + 0x1c], 0
mov edi, eax
jle 0x458cde
mov esi, edi
push 0x100
call fcn.00459bf0
add esp, 4
mov byte [esi], al
inc esi
dec ebp
jne 0x458cc7
mov esi, dword [esp + 0x10]
test si, si
jle 0x458d02
mov ecx, edi
lea edx, [esp + 0x24]
lea eax, [esp + 0x24]
sub ecx, edx
mov esi, ebx
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x458cf1
mov esi, dword [esp + 0x10]
push edi
call fcn.004be975
mov edi, dword [esp + 0x838]
push 0
lea eax, [esp + 0x42c]
push edi
push eax
lea ecx, [esp + 0x34]
push esi
push ecx
call fcn.00459400
add esp, 0x18
test eax, eax
jle 0x458d7d
movsx ecx, di
lea edx, [eax - 1]
cmp edx, ecx
jg 0x458d7d
mov byte [esp + eax + 0x424], 0
lea edi, [esp + 0x425]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x830]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
movsx eax, byte [esp + 0x424]
mov ecx, edx
and ecx, 3
sub eax, 0x41
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x814
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x814
ret
Function at 0x459cd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4cb44b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
push 4
mov dword [esp + 0xc], esi
mov dword [esi + 0x38], 0x4ccaa8
call fcn.004be967
mov dword [esi + 0x3c], eax
xor eax, eax
add esp, 4
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 0x40
mov edi, dword [esp + 0x1c]
mov dword [esi + 0x48], 1
cmp edi, eax
mov dword [esp + 0x14], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], 0xfffffffe
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov word [esi + 0x30], ax
mov word [esi + 0x32], ax
mov dword [esi + 0x34], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
je 0x459d7a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
call fcn.004be967
add esp, 4
mov dword [esi], eax
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x460cc0
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x710]
test eax, eax
jne 0x460d34
mov eax, dword [esi + 0x70c]
mov dword [esi + 0x710], 1
push eax
mov dword [esi + 0x714], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 0x708]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea edx, [esp + 4]
push edx
push 4
push esi
push 0x460d40
push 0
push 0
call fcn.004bf407
mov ecx, dword [esp + 0x24]
add esp, 0x18
mov dword [esi + 0x704], eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [esi + 0x704]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop ecx
ret 4
Function at 0x464d20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x6e0]
cmp eax, 1
jne 0x464d90
mov eax, dword [esi + 0x6e4]
xor edi, edi
cmp eax, edi
jne 0x464d4c
mov dword [esi + 0x708], 3
pop edi
pop esi
xor eax, eax
pop ebx
ret
cmp dword [esi + 0x6ec], edi
je 0x464d62
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, esi
call fcn.00464e90
mov ecx, dword [esi + 0x6e4]
push 0x40
push ecx
call dword [sym.imp.KERNEL32.dll__lopen]
cmp eax, 0xffffffff
mov dword [esi + 0x6ec], eax
jne 0x464e3c
mov dword [esi + 0x708], 3
pop edi
pop esi
xor eax, eax
pop ebx
ret
cmp eax, 3
jne 0x464d9c
xor edi, edi
jmp 0x464e30
cmp eax, 4
jne 0x464e4b
mov edx, dword [esi + 0x6f4]
mov eax, dword [esi + 0x6f0]
push 0xa
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
xor edi, edi
cmp ebx, edi
jne 0x464dd3
mov dword [esi + 0x708], 3
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov ecx, dword [esi + 0x6f0]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
mov dword [esi + 0x6f8], eax
jne 0x464dfb
mov dword [esi + 0x708], 3
pop edi
pop esi
xor eax, eax
pop ebx
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, edi
mov dword [esi + 0x6e8], eax
jne 0x464e1c
mov dword [esi + 0x708], 3
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov edx, dword [esi + 0x6f0]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esi + 0x700], eax
mov dword [esi + 0x6fc], edi
mov dword [esi + 0x704], edi
mov dword [esi + 0x708], edi
pop edi
pop esi
mov eax, 1
pop ebx
ret
cmp eax, 2
jne 0x464e7c
mov eax, dword [esi + 0x6fc]
mov ecx, dword [esi + 0x6ec]
xor edi, edi
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll__llseek]
cmp eax, 0xffffffff
jne 0x464e36
mov dword [esi + 0x708], 6
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov dword [esi + 0x708], 1
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x46bf70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 0xa
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x46bf91
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x46bfa4
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x46bfb6
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push ecx
push eax
push ebx
push 0
push 0
push 0
push 0
call fcn.0046b8f0
add esp, 0x2c
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x475837
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4cbcee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x4ccdbc
xor edi, edi
push 0x80
mov dword [esp + 0x1c], edi
mov dword [esi + 0xc], 0x4ccee0
call fcn.004be967
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], 0x1f
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 0x40
mov ebx, 1
push 0x80
mov byte [esp + 0x20], bl
mov dword [esi + 0x28], 0x4ccedc
call fcn.004be967
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 0x1f
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], 0x40
push 0x80
mov byte [esp + 0x24], 2
mov dword [esi + 0x44], 0x4cc6f4
call fcn.004be967
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], 0x1f
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], 0x40
mov dword [esi], 0x4cced8
mov dword [esi + 0x1c], ebx
add esp, 0xc
mov dword [esi + 0x38], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x60], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret