joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fede
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x1a8]
sub esp, 0x228
mov eax, dword [0x451fbc]
xor eax, ebp
mov dword [ebp + 0x1a4], eax
test byte [0x453c2c], 1
push ebx
mov ebx, dword [ebp + 0x1b0]
push esi
push edi
jne 0x40ff28
or dword [0x453c2c], 1
push 0x94
push dword [0x455028]
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [0x453c28], eax
xor esi, esi
cmp ebx, esi
je 0x410080
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410080
cmp dword [0x453c24], esi
jne 0x40ff78
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, esi
je 0x40ff69
push str.PrivateExtractIconsW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x453c24], eax
cmp dword [0x453c24], esi
jne 0x40ff78
xor eax, eax
jmp 0x410085
push ebx
lea ecx, [ebp - 0x68]
call fcn.0040bfd5
lea ecx, [ebp - 0x68]
call fcn.00409bee
push dword [ebp - 0x68]
call dword [sym.imp.USER32.dll_CharLowerW]
mov edi, 0x453bc8
push edi
push dword [0x453be0]
lea ecx, [ebp - 0x78]
call fcn.004231cf
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x80]
push eax
mov ecx, edi
call fcn.0040f3fd
lea ecx, [ebp - 0x78]
push ecx
mov ecx, eax
call fcn.00410df2
test al, al
jne 0x40ffe0
lea eax, [ebp - 0x68]
push eax
mov ecx, edi
call fcn.0040fe53
mov esi, dword [eax]
lea ecx, [ebp - 0x68]
call fcn.0040813c
mov eax, esi
jmp 0x410085
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push ebx
mov dword [ebp - 0x6c], esi
call dword [0x453c24]
cmp eax, esi
je 0x410023
push esi
push 1
push esi
lea eax, [ebp - 0x6c]
push eax
push 0x20
push 0x20
push esi
push ebx
call dword [0x453c24]
cmp eax, 1
je 0x41006b
push 1
push esi
lea eax, [ebp - 0x6c]
push eax
push esi
push ebx
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x41006e
jmp 0x41006b
xor eax, eax
push 0x206
mov word [ebp - 0x64], ax
lea eax, [ebp - 0x62]
push esi
push eax
call fcn.0042bbb0
add esp, 0xc
push str.shell32.dll
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x41006e
push esi
push 1
push esi
lea eax, [ebp - 0x6c]
push eax
push 0x20
push 0x20
push 2
lea eax, [ebp - 0x64]
push eax
call dword [0x453c24]
cmp eax, 1
jne 0x41006e
mov esi, dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
push eax
mov ecx, edi
call fcn.0040fe53
mov dword [eax], esi
jmp 0x40ffd1
mov eax, dword [0x453c28]
mov ecx, dword [ebp + 0x1a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042bb9b
add ebp, 0x1a8
leave
ret
Function at 0x410728
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x454064], 0
push esi
mov esi, ecx
jne 0x41079c
push 0x24
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.0042bbb0
add esp, 0xc
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41076d
lea ecx, [ebp - 0x24]
push ecx
call eax
jmp 0x410777
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
inc eax
cmp word [ebp - 0x24], 9
je 0x410791
cmp word [ebp - 0x24], 6
je 0x410791
and dword [esi + 0xd5c], 0
jmp 0x410797
mov dword [esi + 0xd5c], eax
mov dword [0x454064], eax
mov eax, dword [esi + 0xd5c]
pop esi
leave
ret

Function at 0x41509e
Capabilities:
Hide graphical window
Terminate process

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x453be8
call fcn.0040e364
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x4150d4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 2
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
pop esi
ret 0x10

Function at 0x41756d
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x41758e
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
jmp dword [sym.imp.USER32.dll_PostQuitMessage]

Function at 0x41759e
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push str.360___
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0xea60
push 1
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
inc eax
pop esi
ret 0x10

Function at 0x41bf73
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x451fbc]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x110
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.0042bbb0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41bfcc
cmp dword [ebp - 0x7c], 5
jae 0x41bfc8
cmp dword [ebp - 0x7c], 4
jne 0x41bfcc
cmp dword [ebp - 0x78], 0x5a
jb 0x41bfcc
xor eax, eax
jmp 0x41bfcf
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0042bb9b
add ebp, 0x98
leave
ret
Function at 0x4215dd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.EnableUE
push str.Software360Safe
push SysReAllocString
mov dword [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp dword [ebp - 4], eax
setne al
leave
ret

Function at 0x423ff7
Capabilities:
Copy file

Disassembly:
push ebp
lea ebp, [esp - 0x614]
sub esp, 0x694
mov eax, dword [0x451fbc]
xor eax, ebp
mov dword [ebp + 0x610], eax
push esi
push edi
xor edi, edi
push edi
push str.dat_Files__.dat_
push 6
push edi
push str..dat
mov esi, ecx
push edi
lea ecx, [ebp - 0x7c]
call fcn.0041c1bf
mov dword [ebp - 0x7c], 0x4451cc
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0041c176
cmp eax, 1
jne 0x4240f2
push 0x208
lea eax, [ebp + 0x408]
push edi
push eax
call fcn.0042bbb0
add esp, 0xc
push 0x104
lea eax, [ebp + 0x408]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...wdbl.dat
lea eax, [ebp + 0x408]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push edi
push dword [ebp - 0x40]
lea eax, [ebp + 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x80]
test eax, eax
je 0x4240c2
push 0x8b
call fcn.0040bfd5
mov ecx, dword [esi + 0x30]
mov eax, dword [eax]
cmp ecx, edi
jne 0x4240bd
push 0x80004003
call fcn.0042b8e0
push edi
push edi
push edi
jmp 0x4240d9
push 0x8a
call fcn.0040bfd5
mov ecx, dword [esi + 0x30]
mov eax, dword [eax]
cmp ecx, edi
je 0x4240b3
push edi
push edi
push 0x10
push 0x443e00
push eax
call fcn.0040d124
push eax
call fcn.0040d137
lea ecx, [ebp - 0x80]
call fcn.0040813c
cmp dword [ebp - 0x68], edi
pop edi
pop esi
je 0x424101
push dword [ebp - 0x68]
call fcn.0042b679
mov ecx, dword [ebp + 0x610]
xor ecx, ebp
xor eax, eax
call fcn.0042bb9b
add ebp, 0x614
leave
ret 0x10
Function at 0x427754
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x451fbc]
xor eax, ebp
mov dword [ebp + 0x190], eax
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x10], edi
je 0x427792
cmp dword [esi], edi
je 0x42778b
cmp dword [esi + 4], edi
je 0x42778b
xor eax, eax
inc eax
jmp 0x42790c
xor eax, eax
jmp 0x42790c
lea eax, [esi + 0x20]
push eax
lea ecx, [ebp - 0x80]
call fcn.0042767d
cmp dword [esi + 0x10], edi
je 0x4277bb
cmp dword [esi], edi
je 0x4277b1
cmp dword [esi + 4], edi
je 0x4277b1
xor esi, esi
inc esi
jmp 0x4277b3
xor esi, esi
cmp dword [ebp - 0x80], edi
jmp 0x4278ff
push ebx
mov ebx, dword [0x44d4f4]
xor eax, eax
push 0x206
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push edi
push eax
mov dword [ebp - 0x7c], ebx
call fcn.0042bbb0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x78]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.....360base.dll
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42781b
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0040b1f5
mov ebx, dword [ebp - 0x7c]
cmp dword [ebx - 8], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x427857
lea eax, [ebp - 0x7c]
push eax
lea ecx, [esi + 0x38]
call fcn.0040b1a5
push ebx
call fcn.00409d1c
pop ecx
mov dword [esi + 0x14], eax
test eax, eax
je 0x427857
push str.CreateObject
push eax
call edi
push str.InitLibs
push dword [esi + 0x14]
mov dword [esi], eax
call edi
mov dword [esi + 8], eax
lea ecx, [ebp - 0x7c]
call fcn.00427736
xor eax, eax
mov word [ebp - 0x78], ax
push 0x104
lea eax, [ebp - 0x78]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.....360conf.dll
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4278a0
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0040b1f5
mov ebx, dword [ebp - 0x7c]
cmp dword [ebx - 8], 0
je 0x4278db
lea eax, [ebp - 0x7c]
push eax
lea ecx, [esi + 0x3c]
call fcn.0040b1a5
push ebx
call fcn.0040ae61
pop ecx
mov dword [esi + 0x18], eax
test eax, eax
je 0x4278db
push str.CreateObject
push eax
call edi
push str.InitLibs
push dword [esi + 0x14]
mov dword [esi + 4], eax
call edi
mov dword [esi + 0xc], eax
xor eax, eax
inc eax
cmp dword [esi], 0
mov dword [esi + 0x10], eax
pop ebx
je 0x4278f1
cmp dword [esi + 4], 0
je 0x4278f1
mov esi, eax
jmp 0x4278f3
xor esi, esi
lea ecx, [ebp - 0x7c]
call fcn.0040813c
cmp dword [ebp - 0x80], 0
je 0x42790a
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp + 0x190]
pop edi
xor ecx, ebp
pop esi
call fcn.0042bb9b
add ebp, 0x194
leave
ret
Function at 0x4279b8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x4279d7
xor ecx, ecx
cmp eax, 1
sete cl
mov eax, ecx
jmp 0x427ab4
push ebx
push esi
push 0x44768c
mov esi, 0x454de8
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
xor ebx, ebx
inc ebx
test eax, eax
jne 0x427a21
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0x445910
push str.SOFTWARE360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], ebx
mov dword [ebp - 4], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x427ab0
lea eax, [ebp - 0xc]
push eax
call fcn.0042f998
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0042f769
add esp, 0xc
test eax, eax
jne 0x427ab0
movzx eax, word [0x454e26]
sub eax, 0x61
je 0x427a5d
dec eax
je 0x427a59
dec eax
je 0x427a5d
dec eax
je 0x427a59
dec eax
je 0x427a5d
dec eax
jne 0x427a66
push 0x31
jmp 0x427a5f
push 0x30
pop eax
mov word [0x454e26], ax
movzx eax, word [0x454e26]
and eax, 0x80000001
jns 0x427a79
dec eax
or eax, 0xfffffffe
inc eax
jne 0x427a8d
mov ecx, dword [ebp - 0x24]
and ecx, 0x80000001
jns 0x427a8b
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x427aa2
test eax, eax
je 0x427aa9
mov eax, dword [ebp - 0x24]
and eax, 0x80000001
jns 0x427aa0
dec eax
or eax, 0xfffffffe
inc eax
je 0x427aa9
mov dword [edi + 8], ebx
mov eax, ebx
jmp 0x427ab2
mov dword [edi + 8], 2
xor eax, eax
pop esi
pop ebx
pop edi
leave
ret
Function at 0x428714
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x451fbc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov dword [ebp - 0x1c], ecx
push edi
lea ecx, [ebp - 0x3c]
call fcn.00429d63
mov esi, dword [ebp + 8]
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x428842
push dword [esi]
lea ecx, [ebp - 0x3c]
call fcn.00429e43
test eax, eax
jne 0x428842
mov eax, dword [0x44d4f4]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x30]
lea ecx, [ebp - 0x14]
call fcn.004282f0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x42880a
mov eax, dword [0x44d4f4]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x20], eax
call fcn.00417864
mov ebx, dword [eax + 0x118]
lea ecx, [ebp - 0xc]
call fcn.00417864
mov edi, eax
add edi, 4
je 0x4287b6
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x4287ba
xor eax, eax
jmp 0x4287ce
lea eax, [esi + esi]
call fcn.0042f610
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00428110
push eax
lea ecx, [ebp - 0x18]
call fcn.0040b1f5
test bl, 2
jne 0x4287e9
test ebx, 0x200
je 0x4287fa
test bl, 4
je 0x4287fa
lea ecx, [ebp - 0xc]
call fcn.00417864
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
lea ecx, [ebp - 0x20]
call fcn.0040813c
lea ecx, [ebp - 0xc]
call fcn.0042817f
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
call fcn.004282f0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.00410df2
test al, al
je 0x42877f
lea ecx, [ebp - 0x18]
call fcn.0040813c
lea ecx, [ebp - 0x3c]
call fcn.00427c87
xor eax, eax
inc eax
jmp 0x42884c
lea ecx, [ebp - 0x3c]
call fcn.00427c87
xor eax, eax
lea esp, [ebp - 0x48]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042bb9b
leave
ret 4
Function at 0x4295c9
Capabilities:
Delete file
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov esi, ecx
lea eax, [esi + 0x18]
push str..tmp
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
call fcn.0040f17b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebx, ebx
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x429622
xor esi, esi
inc esi
lea ecx, [ebp - 4]
call fcn.0040813c
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
mov edi, 0x12c
cdq
mov ecx, edi
idiv ecx
push ebx
mov dword [ebp - 0x1e], ebx
mov dword [ebp - 8], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x24], 0xe
mov dword [ebp - 0x1a], eax
lea eax, [edi - 0x2c]
mov word [ebp - 0x20], ax
lea eax, [ebp - 8]
push eax
push 0xe
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x4296e2
cmp dword [ebp - 8], 0xe
jne 0x4296e2
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
mov ecx, edi
cdq
idiv ecx
and dword [ebp - 0xc], 0
test eax, eax
jle 0x4296b8
push dword [ebp - 0xc]
mov ecx, esi
call fcn.0042911a
push 0
lea ecx, [ebp - 8]
push ecx
push edi
push eax
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x4296e2
cmp dword [ebp - 8], edi
jne 0x4296e2
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
mov ecx, edi
cdq
idiv ecx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], eax
jl 0x429685
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push 1
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4296db
push 6
pop esi
jmp 0x4296f4
xor esi, esi
jmp 0x429613
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x429613
Function at 0x429e43
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xd4]
sub esp, 0x154
mov eax, dword [0x451fbc]
xor eax, ebp
mov dword [ebp + 0xd0], eax
push ebx
mov ebx, dword [ebp + 0xdc]
push edi
mov edi, ecx
push ebx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x80], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x429e89
push ebx
lea ecx, [edi + 0x18]
call fcn.0040b1f5
xor eax, eax
jmp 0x429fa5
push esi
xor esi, esi
push esi
push esi
push 3
push esi
push 1
push SysReAllocString
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x60], eax
cmp eax, 0xffffffff
jne 0x429eaf
xor eax, eax
inc eax
jmp 0x429fa4
mov ecx, edi
call fcn.004299dd
xor eax, eax
mov dword [ebp - 0x7c], esi
lea edi, [ebp - 0x78]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
lea eax, [ebp - 0x64]
push eax
push 0xe
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x60]
mov dword [ebp - 0x64], esi
call edi
test eax, eax
je 0x429f96
cmp dword [ebp - 0x64], 0xe
jne 0x429f96
cmp dword [ebp - 0x7c], 0xe
jne 0x429f96
mov eax, pe_nt_image_headers32
cmp word [ebp - 0x78], ax
jne 0x429f96
push esi
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x429f19
push 4
jmp 0x429f98
mov ecx, dword [ebp - 0x72]
imul ecx, ecx, 0x12c
add ecx, 0xe
cmp eax, ecx
jne 0x429f15
cmp dword [ebp - 0x72], esi
mov dword [ebp - 0x68], esi
jle 0x429f7d
mov ebx, 0x12c
push 0x128
lea eax, [ebp - 0x58]
push esi
push eax
mov dword [ebp - 0x5c], esi
call fcn.0042bbb0
add esp, 0xc
push esi
lea eax, [ebp - 0x64]
push eax
push ebx
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x60]
call edi
test eax, eax
je 0x429f15
cmp dword [ebp - 0x64], ebx
jne 0x429f15
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x5c]
push eax
call fcn.00429de7
inc dword [ebp - 0x68]
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x72]
jl 0x429f36
mov ebx, dword [ebp - 0x80]
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x6c]
push ebx
add ecx, 0x18
call fcn.0040b1f5
xor eax, eax
jmp 0x429fa4
push 3
pop esi
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov ecx, dword [ebp + 0xd0]
pop edi
xor ecx, ebp
pop ebx
call fcn.0042bb9b
add ebp, 0xd4
leave
ret 4
Function at 0x42b72b
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x455080], 0
push esi
jne 0x42b69e
call fcn.0042b5c4
test eax, eax
je 0x42b6e1
mov eax, dword [0x455080]
cmp eax, 1
jne 0x42b6bf
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x42b6e1
pop esi
ret
push eax
call dword [0x455088]
test eax, eax
jne 0x42b729
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x42b6e5
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x455080]
call dword [0x455088]
mov edi, eax
test edi, edi
je 0x42b70a
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x42b726
mov edi, esi
add esi, 0xff0
push edi
push dword [0x455080]
call dword [0x455084]
add edi, 0x10
cmp edi, esi
jb 0x42b712
mov eax, edi
pop edi
pop esi
ret
jmp 0x42b68b

Function at 0x42bb9b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x451fbc]
jne 0x42bba5
repz ret
jmp fcn.0042fe64

Function at 0x43b62a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0043206c
and dword [ebp - 4], 0
cmp dword [0x455c40], 0
mov ebx, eax
jne 0x43b6db
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43b78c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43b78c
push eax
call fcn.00431ffa
mov dword [esp], 0x446ca0
push edi
mov dword [0x455c40], eax
call esi
push eax
call fcn.00431ffa
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x455c44], eax
call esi
push eax
call fcn.00431ffa
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x455c48], eax
call esi
push eax
call fcn.00431ffa
pop ecx
mov dword [0x455c50], eax
test eax, eax
je 0x43b6db
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00431ffa
pop ecx
mov dword [0x455c4c], eax
mov eax, dword [0x455c4c]
cmp eax, ebx
je 0x43b733
cmp dword [0x455c50], ebx
je 0x43b733
push eax
call fcn.00432075
push dword [0x455c50]
mov esi, eax
call fcn.00432075
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43b733
test edi, edi
je 0x43b733
call esi
test eax, eax
je 0x43b72a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43b72a
test byte [ebp - 0xc], 1
jne 0x43b733
or dword [ebp + 0x10], 0x200000
jmp 0x43b76c
mov eax, dword [0x455c44]
cmp eax, ebx
je 0x43b76c
push eax
call fcn.00432075
pop ecx
test eax, eax
je 0x43b76c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43b76c
mov eax, dword [0x455c48]
cmp eax, ebx
je 0x43b76c
push eax
call fcn.00432075
pop ecx
test eax, eax
je 0x43b76c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x455c40]
call fcn.00432075
pop ecx
test eax, eax
je 0x43b78c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43b78e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403206
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x403226
cmp dword [edi + 0x54], 0
jne 0x403226
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0040511d
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004031cd
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x40a1f7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40a23a
call fcn.0040511d
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40a23a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40a255
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00409dae
test ebx, ebx
mov esi, eax
je 0x40a253
test edi, edi
je 0x40a253
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53