joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4035ac
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x409538
call fcn.00404db0
mov edi, 0x94
mov eax, edi
call fcn.00403220
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x40dc20], ecx
mov eax, dword [esi + 4]
mov dword [0x40dc2c], eax
mov edx, dword [esi + 8]
mov dword [0x40dc30], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x40dc24], esi
cmp ecx, 2
je 0x40360c
or esi, 0x8000
mov dword [0x40dc24], esi
shl eax, 8
add eax, edx
mov dword [0x40dc28], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x403647
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x403647
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x40365f
cmp eax, 0x20b
je 0x40364c
mov dword [ebp - 0x1c], esi
jmp 0x403673
cmp dword [ecx + 0x84], 0xe
jbe 0x403647
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x40366d
cmp dword [ecx + 0x74], 0xe
jbe 0x403647
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.00404d5d
pop ecx
test eax, eax
jne 0x40369f
cmp dword [0x40dc10], 1
jne 0x40368c
call fcn.00404506
push 0x1c
call fcn.0040438f
push 0xff
call fcn.0040417a
pop ecx
pop ecx
call fcn.00404cbb
mov dword [ebp - 4], esi
call fcn.00404b10
test eax, eax
jge 0x4036b8
push 0x1b
call fcn.00403587
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x40f154], eax
call fcn.004049ee
mov dword [0x40dc08], eax
call fcn.0040494c
test eax, eax
jge 0x4036de
push 8
call fcn.00403587
pop ecx
call fcn.00404719
test eax, eax
jge 0x4036ef
push 9
call fcn.00403587
pop ecx
call fcn.004041aa
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x403702
push eax
call fcn.00403587
pop ecx
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004046b0
mov dword [ebp - 0x68], eax
test byte [ebp - 0x38], 1
je 0x403723
movzx eax, word [ebp - 0x34]
jmp 0x403726
push 0xa
pop eax
push eax
push dword [ebp - 0x68]
push esi
push esi
call edi
push eax
call fcn.00401a16
mov edi, eax
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x1c], esi
jne 0x403744
push edi
call fcn.004042d1
call fcn.004042f3
jmp 0x403776
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00404deb
ret
Function at 0x40420f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
inc esi
cmp dword [0x40dc60], esi
push edi
jne 0x40422f
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp + 0xc], 0
mov al, byte [ebp + 0x10]
mov dword [0x40dc5c], esi
mov byte [0x40dc58], al
jne 0x404295
mov ecx, dword [0x40f148]
test ecx, ecx
je 0x404276
mov eax, dword [0x40f144]
sub eax, 4
cmp eax, ecx
jmp 0x40426f
mov eax, dword [eax]
test eax, eax
je 0x404261
call eax
mov eax, dword [0x40f144]
sub eax, 4
cmp eax, dword [0x40f148]
mov dword [0x40f144], eax
jae 0x404259
mov eax, 0x40b020
mov esi, 0x40b028
cmp eax, esi
mov edi, eax
jae 0x404295
mov eax, dword [edi]
test eax, eax
je 0x40428e
call eax
add edi, 4
cmp edi, esi
jb 0x404286
mov eax, 0x40b02c
mov esi, 0x40b030
cmp eax, esi
mov edi, eax
jae 0x4042b4
mov eax, dword [edi]
test eax, eax
je 0x4042ad
call eax
add edi, 4
cmp edi, esi
jb 0x4042a5
cmp dword [ebp + 0x10], 0
pop edi
pop esi
jne 0x4042cf
push dword [ebp + 8]
mov dword [0x40dc60], 1
call fcn.0040417a
pop ecx
pop ebp
ret

Function at 0x40438f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x40b478]
xor eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x40b0b8]
je 0x4043bc
inc eax
cmp eax, 0x12
jb 0x4043ad
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x40b0b8]
jne 0x4044f0
mov eax, dword [0x40dc10]
cmp eax, 1
je 0x4044cb
cmp eax, edx
jne 0x4043ec
cmp dword [0x40b094], 1
je 0x4044cb
cmp ecx, 0xfc
je 0x4044f0
push 0x104
lea eax, [ebp - 0x10c]
push eax
push edx
mov byte [ebp - 8], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x404425
lea eax, [ebp - 0x10c]
push str._program_name_unknown_
push eax
call fcn.00402ff0
pop ecx
pop ecx
lea eax, [ebp - 0x10c]
push eax
lea edi, [ebp - 0x10c]
call fcn.00403190
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x404467
lea eax, [ebp - 0x10c]
push eax
call fcn.00403190
mov edi, eax
lea eax, [ebp - 0x10c]
sub eax, 0x3b
push 3
add edi, eax
push 0x409d30
push edi
call fcn.00406160
add esp, 0x10
push edi
call fcn.00403190
push dword [esi + 0x40b0bc]
mov ebx, eax
call fcn.00403190
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00403220
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00402ff0
push edi
push ebx
call fcn.00403000
push 0x409d10
push ebx
call fcn.00403000
push dword [esi + 0x40b0bc]
push ebx
call fcn.00403000
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00406059
add esp, 0x2c
jmp 0x4044f0
push edx
lea eax, [ebp + 8]
push eax
lea esi, [esi + 0x40b0bc]
push dword [esi]
call fcn.00403190
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x118]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.004051f8
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404e88
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x40b478]
xor eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
cmp ecx, dword [0x40f02c]
push ebx
push esi
mov dword [ebp - 4], eax
push edi
jae 0x405018
mov eax, ecx
sar eax, 5
lea ebx, [eax*4 + 0x40f040]
mov eax, dword [ebx]
mov esi, ecx
and esi, 0x1f
shl esi, 3
mov al, byte [eax + esi + 4]
test al, 1
mov dword [ebp - 0x18], ebx
je 0x405018
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], edi
jne 0x404ee7
xor eax, eax
jmp 0x40502c
test al, 0x20
je 0x404ef8
push 2
push edi
push edi
push ecx
call fcn.00406bf5
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x404fb4
cmp dword [ebp + 0x10], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp + 8], edi
jbe 0x404fec
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x41c]
cmp ecx, dword [ebp + 0x10]
jae 0x404f4e
mov edx, dword [ebp - 8]
inc dword [ebp - 8]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x404f3f
inc dword [ebp - 0x14]
mov byte [eax], 0xd
inc eax
inc edi
mov ebx, dword [ebp - 0x18]
mov byte [eax], dl
inc eax
inc edi
cmp edi, 0x400
jl 0x404f24
mov edi, eax
lea eax, [ebp - 0x41c]
sub edi, eax
push 0
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x41c]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x404f8e
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], eax
cmp eax, edi
jl 0x404f97
mov eax, dword [ebp - 8]
sub eax, dword [ebp + 0xc]
xor edi, edi
cmp eax, dword [ebp + 0x10]
jb 0x404f18
jmp 0x404f99
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], eax
xor edi, edi
mov eax, dword [ebp - 0xc]
cmp eax, edi
jne 0x405013
cmp dword [ebp + 8], edi
je 0x404fec
push 5
pop eax
cmp dword [ebp + 8], eax
jne 0x404fe1
mov dword [0x40dc18], eax
jmp 0x40501f
push edi
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x404fd6
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], edi
mov dword [ebp - 0xc], eax
jmp 0x404f99
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], eax
jmp 0x404f99
push dword [ebp + 8]
call fcn.00406ae0
pop ecx
jmp 0x405029
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x405001
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x1a
je 0x404ee0
mov dword [0x40dc14], 0x1c
mov dword [0x40dc18], edi
jmp 0x405029
sub eax, dword [ebp - 0x14]
jmp 0x40502c
and dword [0x40dc18], 0
mov dword [0x40dc14], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
pop esi
pop ebx
call fcn.004051f8
leave
ret
Function at 0x406059
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x40ddac], ebx
push esi
push edi
jne 0x4060d9
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x406114
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x409de4
push edi
call esi
test eax, eax
mov dword [0x40ddac], eax
je 0x406114
push 0x409dd4
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x40ddb0], eax
call esi
cmp dword [0x40dc20], 2
mov dword [0x40ddb4], eax
jne 0x4060d9
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x40ddbc], eax
je 0x4060d9
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x40ddb8], eax
mov eax, dword [0x40ddb8]
test eax, eax
je 0x40611e
call eax
test eax, eax
je 0x406105
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x40ddbc]
test eax, eax
je 0x406105
test byte [ebp - 8], 1
jne 0x40611e
cmp dword [0x40dc2c], 4
jb 0x406118
or byte [ebp + 0x12], 0x20
jmp 0x40613d
xor eax, eax
jmp 0x40614d
or byte [ebp + 0x12], 4
jmp 0x40613d
mov eax, dword [0x40ddb0]
test eax, eax
je 0x40613d
call eax
mov ebx, eax
test ebx, ebx
je 0x40613d
mov eax, dword [0x40ddb4]
test eax, eax
je 0x40613d
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x40ddac]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40770f
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.00403220
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4077a4
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x40dc20]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x4077a4
cmp eax, 1
je 0x4077bc
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4077a4
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x407779
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x4077a0
xor eax, eax
inc eax
jmp 0x4077d8
cmp esi, ebx
jae 0x4077a8
xor eax, eax
jmp 0x4077d8
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x40dc20]
jmp 0x4077be
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x64002970
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6401c014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x6401cf28]
push edi
xor edi, edi
test esi, esi
jne 0x64002a70
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x20c]
push str._sdriversetchosts
push edx
call fcn.64004b03
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea esi, [ebp - 0x210]
call fcn.64002550
test eax, eax
jne 0x64002ab0
mov esi, dword [ebp - 0x210]
lea edx, [ebp - 0x210]
mov ecx, esi
call fcn.64001b20
test eax, eax
jne 0x64002a2b
mov edi, dword [ebp - 0x210]
call fcn.64001930
test eax, eax
je 0x64002a13
mov ecx, dword [0x6401cf28]
mov dword [edi + 0x10], ecx
mov dword [0x6401cf28], edi
jmp 0x64002a1a
mov eax, edi
call fcn.64001a60
lea edx, [ebp - 0x210]
mov ecx, esi
call fcn.64001b20
test eax, eax
je 0x640029f3
mov eax, dword [esi + 4]
test eax, eax
je 0x64002a42
push eax
call fcn.64003b3b
add esp, 4
mov dword [esi + 4], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x64002a59
push eax
call fcn.640041a3
add esp, 4
mov dword [esi + 8], 0
push esi
call fcn.64003b3b
mov esi, dword [0x6401cf28]
add esp, 4
test esi, esi
je 0x64002a85
lea esp, [esp]
mov eax, dword [ebp + 8]
mov ecx, esi
call fcn.64001990
test eax, eax
jne 0x64002a99
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x64002a70
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.64003b2c
mov esp, ebp
pop ebp
ret 4
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.64003b2c
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.64003b2c
mov esp, ebp
pop ebp
ret 4

Function at 0x64005566
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x640055a1
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x64005588
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x64005599
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x640055a3
inc edi
add eax, 0x28
cmp edi, esi
jb 0x6400557e
xor eax, eax
pop edi
pop esi
ret
Function at 0x6400591b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [0xa345c635], al
and al, 0xc6
inc ebp
movsb byte es:[edi], byte [esi]
and al, dh
inc ebp
movsd dword es:[edi], dword [esi]
xor eax, 0x41a645c6
call fcn.64005536
push eax
push esi
push dword [ebp + 8]
call fcn.640054eb
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.64005536
push eax
push esi
push dword [ebp + 8]
invalid
push ebp
sti
Function at 0x64005b81
Capabilities:
Inspect section memory permissions

Disassembly:
add eax, esi
cmp dword [eax], ebx
je 0x64005bda
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x64005bd5
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x64005bbf
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x64005bc7
cmp edx, ebx
jne 0x64005d15
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x64005b96
add eax, dword [eax + 4]
jmp 0x64005b83
mov dword [ebp + 0xc], ebx
jmp 0x64005be5
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x64005bfd
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x64005c1b
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x64005c79
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x64005c60
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x64005c69
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x64005c73
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x64005c55
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x64005bdf
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x64005cc6
dec eax
je 0x64005cbd
sub eax, 3
je 0x64005cb4
mov dword [ebp - 4], 0x40
jmp 0x64005ce3
mov dword [ebp - 4], 4
jmp 0x64005cc9
mov dword [ebp - 4], 0x20
jmp 0x64005cc9
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x64005d15
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x64005c95
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.64005526
mov cl, byte [0x75ffa2ef]
adc al, 0x6a
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x64005d21
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6400753f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
test eax, eax
je 0x640075cc
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x640070a1
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
mov byte [ebp - 0x76f], 0x96
mov byte [ebp - 0x76e], 0xdb
mov byte [ebp - 0x76d], 0xbd
mov byte [ebp - 0x76c], 0x92
mov byte [ebp - 0x76b], 0x97
mov byte [ebp - 0x76a], 0x9e
mov byte [ebp - 0x769], 0x88
mov byte [ebp - 0x768], 0xa7
mov byte [ebp - 0x767], 0xb8
mov byte [ebp - 0x766], 0x94
mov byte [ebp - 0x765], 0x96
mov byte [ebp - 0x764], 0x96
mov byte [ebp - 0x763], 0x94
mov byte [ebp - 0x762], 0x95
mov byte [ebp - 0x761], 0xdb
mov byte [ebp - 0x760], 0xbd
mov byte [ebp - 0x75f], 0x92
mov byte [ebp - 0x75e], 0x97
mov byte [ebp - 0x75d], 0x9e
mov byte [ebp - 0x75c], 0x88
mov byte [ebp - 0x75b], 0xa7
mov byte [ebp - 0x75a], 0xa8
mov byte [ebp - 0x759], 0x82
mov byte [ebp - 0x758], 0x88
mov byte [ebp - 0x757], 0x8f
mov byte [ebp - 0x756], 0x9e
mov byte [ebp - 0x755], 0x96
mov byte [ebp - 0x754], 0xa7
mov byte [ebp - 0x753], 0x88
mov byte [ebp - 0x752], 0x82
mov byte [ebp - 0x751], 0x96
mov byte [ebp - 0x750], 0x88
mov byte [ebp - 0x74f], 0x89
mov cl, pe_nt_image_headers32
invalid
dec dword [ecx - 0x74d7a3a]
invalid
dec dword [ebp - 0x74c7a3a]
invalid
call ebp
mov byte [ebp - 0x74c], 0x9f
mov byte [ebp - 0x74b], 0x97
mov byte [ebp - 0x74a], 0x97
mov byte [ebp - 0x749], 0xfb
lea eax, [ebp - 0x77c]
push eax
call fcn.64005536
pop ecx
mov al, byte [ebp - 0x12c]
je 0x64007570
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x64007575
jmp 0x64006ec8
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x640075bc
lea eax, [ebp - 0x714]
push eax
call fcn.64005536
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.640054eb
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x640075c7
jmp 0x640075cc
jmp 0x64006ec8
cmp dword [ebp - 0x37c], 0
jne 0x64007676
invalid
invalid
Function at 0x407969
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
xor ebx, ebx
push dword [ebp + 8]
mov dword [esi + 8], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4079ec
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x4079a1
push 0
push 0
jmp 0x4079ee
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esi + 4], eax
test eax, eax
je 0x40799b
lea edi, [eax + 0x40]
push edi
call fcn.0043fd86
pop ecx
mov dword [esi], eax
test eax, eax
je 0x40799b
push edi
push 0
push eax
call fcn.004400d0
add esp, 0xc
push dword [esi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [esi]
call fcn.004403a0
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
push ebx
push ebx
call fcn.0044006f
int3

Function at 0x409f55
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x487db8]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0x74736e49
mov dword [ebp - 0x18], 0x536c6c61
mov dword [ebp - 0x14], 0x6c656968
mov word [ebp - 0x10], 0x64
cmp byte [ebp + 0xc], al
je 0x409f9c
mov dword [ebp - 0xf], 0x7a695720
mov dword [ebp - 0xb], 0x647261
push 1
lea eax, [ebp - 0x1d]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.00406872
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00440060
leave
ret 8
Function at 0x41b0be
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x487db8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x41c], eax
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor edi, edi
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.004400d0
movzx eax, word [esi]
add esp, 0xc
push 0x5c
pop ecx
cmp ax, cx
jne 0x41b148
cmp word [esi + 2], cx
jne 0x41b148
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x46d690
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x41b16a
mov word [ebp - 0x414], ax
mov ax, word [esi + 2]
mov word [ebp - 0x412], ax
xor eax, eax
mov word [ebp - 0x410], cx
mov word [ebp - 0x40e], ax
push dword [ebp - 0x41c]
cmp word [ebp - 0x20c], di
push dword [ebp - 0x428]
lea ecx, [ebp - 0x414]
push dword [ebp - 0x424]
lea eax, [ebp - 0x20c]
cmove eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp word [ebp - 0x20c], di
mov esi, eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
lea ecx, [ebp - 0x20c]
cmove ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x41b1e7
mov ecx, dword [ebp - 0x420]
imul ecx, dword [ebp - 0x418]
mov dword [ebx], ecx
test esi, esi
je 0x41b1f2
test eax, eax
je 0x41b1f2
xor edi, edi
inc edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00440060
leave
ret

Function at 0x4204c6
Capabilities:
Get file size

Disassembly:
push 0x108
mov eax, 0x469077
call fcn.004414e8
mov edi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 4], ebx
je 0x42053a
test eax, eax
je 0x4204e7
mov dword [eax], ebx
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov esi, eax
cmp esi, 0xffffffff
jne 0x420597
push ebx
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4745e4
mov dword [ebp - 0x48], 0x46ef78
call fcn.00406676
push 1
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x114]
mov dword [ebp - 4], ebx
call fcn.00412dec
push 0x47e3e0
lea eax, [ebp - 0x114]
push eax
call fcn.0044006f
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x420597
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
je 0x420597
push 0
lea ecx, [edi + 0xc]
push ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4745e4
mov dword [ebp - 0x18], 0x46ef78
call fcn.00406676
xor eax, eax
inc eax
push eax
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00412ab3
push 0x47e36c
lea eax, [ebp - 0xc0]
jmp 0x420534
mov eax, esi
call fcn.00441497
ret 4