joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5118d3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x5118ed
mov edi, dword [esi + 0xc]
jmp 0x51192d
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x511906
call fcn.00490eb4
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x51191b
call fcn.00490eb4
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x51192d
call fcn.00490eb4
call fcn.00491f54
cmp dword [eax + 0x3c], 0
je 0x511942
push edi
mov ecx, ebx
call fcn.0051100c
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00511b1f
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x51196b
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x511977
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x519801
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0048fb2e
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x51983d
call fcn.00519a23
mov dword [esi + 0xc], 1
jmp 0x519842
call fcn.00519a23
cmp dword [esi], 0
je 0x51988b
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x519865
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0047966f
jmp 0x519876
push 0xff
mov ecx, esi
call fcn.0040202f
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00479692
jmp 0x5198af
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x5198af
push dword [esi]
push dword [ebp - 4]
call fcn.00498969
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x519978
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.00519a23
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x5199c0
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0047966f
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00479692
jmp 0x5199cb
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00498969
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x5421d9
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x5fa304
call fcn.005bd067
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00402231
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x63fe60
call fcn.004053f6
cmp eax, 0xffffffff
jne 0x5422e3
push 0
push 0x6064c0
lea ecx, [ebp - 0x4d0]
call fcn.004053f6
cmp eax, 0xffffffff
jne 0x5422e3
push 0
push 0x6026cc
lea ecx, [ebp - 0x4d0]
call fcn.004053f6
cmp eax, 0xffffffff
jne 0x5422e3
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00402231
mov edi, eax
pop ecx
mov dword [ebp - 0x4d4], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x4d8], ecx
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea eax, [ebp - 0x218]
push eax
push 0x104
push edx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x5422b2
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.005bcfca
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.00402325
jmp 0x54231b
lea eax, [ebp - 0x218]
push eax
call fcn.005ce0d0
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.004020e3
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00402325
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x542309
mov edi, dword [ebp - 0x4cc]
jmp 0x54231b
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.005bcfca
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00402325
mov eax, edi
call fcn.005bd011
ret

Function at 0x584025
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x67cdc4], 0
push edi
mov edi, ecx
jne 0x58403e
xor eax, eax
jmp 0x5840d8
push ebx
push esi
xor ebx, ebx
push ebx
push 0x40
push ebx
call fcn.0049009e
push ebx
push 1
mov ecx, edi
call fcn.00583fc1
push eax
call fcn.0053720e
push eax
mov ecx, edi
call fcn.00584d65
push 1
push ebx
mov ecx, edi
call fcn.00583fc1
push eax
call fcn.0053720e
push eax
mov ecx, edi
call fcn.00584d65
mov eax, dword [edi]
mov esi, dword [eax + 0x194]
mov ecx, esi
call fcn.005bcfca
mov ecx, edi
call esi
cmp dword [edi + 0x154], ebx
jne 0x5840d3
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
js 0x5840d3
mov eax, dword [edi]
lea ecx, [ebp - 0xc]
push ecx
mov esi, dword [eax + 0x188]
mov ecx, esi
call fcn.005bcfca
mov ecx, edi
call esi
push dword [ebp - 8]
mov ecx, dword [0x67cdc4]
call fcn.0047a89e
xor eax, eax
pop esi
inc eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x58416b
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xddc
mov eax, dword [0x677010]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test ecx, ecx
je 0x5843a3
test ebx, ebx
je 0x5843a3
mov eax, dword [ebp + 0x10]
xor edi, edi
mov dword [ebp - 0x644], edi
mov dword [ebp - 0x640], edi
mov dword [ebp - 0x63c], edi
mov dword [ebp - 0x638], edi
mov dword [ebp - 0x634], edi
mov dword [ebp - 0x630], edi
mov dword [ebp - 0x874], edi
mov dword [ebp - 0x870], edi
mov dword [ebp - 0x86c], edi
mov dword [ebp - 0x868], edi
mov dword [ebp - 0x864], edi
mov dword [ebp - 0x860], edi
sub eax, edi
je 0x58436c
sub eax, 1
je 0x584203
sub eax, 1
je 0x5842d4
sub eax, 1
jne 0x58438e
lea eax, [ebp - 0x20c]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x584367
push edi
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0051a4be
test eax, eax
je 0x584367
lea eax, [ebp - 0x414]
push eax
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x584362
push edi
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0051a4be
test eax, eax
je 0x584362
xor edx, edx
inc edx
cmp dword [ebp + 0x10], edx
jne 0x58432b
test byte [ebp - 0x624], 0x10
jne 0x584367
test byte [ebp - 0x854], 0x10
jne 0x5842cd
mov ecx, dword [ebp - 0x858]
mov eax, dword [ebp - 0x85c]
cmp dword [ebp - 0x628], ecx
ja 0x5842cd
jb 0x584367
cmp dword [ebp - 0x62c], eax
jb 0x584367
cmp dword [ebp - 0x628], ecx
jb 0x58438e
ja 0x5842cd
cmp dword [ebp - 0x62c], eax
jbe 0x58438e
mov edi, edx
jmp 0x58438e
mov esi, 0x408
lea eax, [ebp - 0xddc]
push esi
push 0x2b4
push eax
push edi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x58438e
push esi
push 0x2b4
lea eax, [ebp - 0xb28]
push eax
push edi
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x58438e
lea eax, [ebp - 0x914]
push eax
lea eax, [ebp - 0xbc8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, eax
jmp 0x58438e
mov ecx, dword [ebp - 0x868]
mov eax, dword [ebp - 0x86c]
cmp dword [ebp - 0x638], ecx
jg 0x5842cd
jl 0x584367
cmp dword [ebp - 0x63c], eax
jb 0x584367
cmp dword [ebp - 0x638], ecx
jl 0x58438e
jg 0x5842cd
cmp dword [ebp - 0x63c], eax
jmp 0x5842c7
xor edi, edi
inc edi
jmp 0x58438e
or edi, 0xffffffff
jmp 0x58438e
mov eax, dword [ecx]
push dword [ebx + 8]
push dword [ecx + 8]
mov esi, dword [eax]
push edi
push eax
mov ecx, dword [esi + 0x1c]
call fcn.005bcfca
call dword [esi + 0x1c]
test eax, eax
jns 0x58438b
xor eax, eax
jmp 0x584390
movsx edi, ax
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005bc745
mov esp, ebp
pop ebp
ret 0xc
call fcn.00477c7d
int3
Function at 0x5849d1
Capabilities:
Get file system object information

Disassembly:
push 0x6f4
mov eax, 0x5fc743
call fcn.005bd067
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
test ecx, ecx
jne 0x5849f1
call fcn.00477c7d
mov eax, dword [ebp + 0x10]
xor esi, esi
sub eax, esi
je 0x584b33
sub eax, 1
je 0x584a4b
sub eax, 1
je 0x584a23
sub eax, 1
je 0x584a4b
push 0x63abd4
mov ecx, edi
call fcn.004030b4
mov eax, edi
call fcn.005bd011
ret 0x10
push 0x408
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x584a0d
lea eax, [ebp - 0x4e8]
push eax
jmp 0x584a12
lea eax, [ebp - 0x218]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x584a0d
push esi
lea eax, [ebp - 0x448]
mov dword [ebp - 0x448], esi
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x444], esi
push eax
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x434], esi
call fcn.0051a4be
test eax, eax
je 0x584a0d
call fcn.004771d4
push eax
lea ecx, [ebp - 0x700]
call fcn.004022fc
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x584aea
test byte [ebp - 0x428], 0x18
jne 0x584b0b
mov eax, dword [ebx]
lea ecx, [ebp - 0x700]
push ecx
push dword [ebp - 0x42c]
mov esi, dword [eax + 0x1a0]
mov ecx, esi
push dword [ebp - 0x430]
call fcn.005bcfca
mov ecx, ebx
call esi
jmp 0x584b0b
mov eax, dword [ebx]
lea ecx, [ebp - 0x700]
push ecx
lea ecx, [ebp - 0x440]
push ecx
mov esi, dword [eax + 0x1a4]
mov ecx, esi
call fcn.005bcfca
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x700]
add eax, 0xfffffff0
push eax
call fcn.00402231
pop ecx
mov ecx, dword [ebp - 0x700]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.00402325
jmp 0x584a19
push 0x208
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x584a0d
lea eax, [ebp - 0x6f0]
jmp 0x584a48

Function at 0x584ced
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.005b7e6b
call fcn.00491fa8
cmp dword [eax + 0x14], 0
jne 0x584d08
mov ecx, esi
pop esi
jmp fcn.00584025
pop esi
ret
Function at 0x591385
Capabilities:
Get common file path

Disassembly:
push 0x78
mov eax, 0x5fd254
call fcn.005bd033
mov ebx, ecx
cmp dword [0x67cdc4], 0
jne 0x5913a1
call fcn.00477c7d
lea eax, [ebp - 0x14]
xor esi, esi
push eax
push esi
push esi
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jns 0x5913b9
xor eax, eax
jmp 0x5914c4
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x5913b2
push 0xc
push 0x40
mov dword [ebp - 0x40], 0x67
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x59139c
mov eax, dword [ebp - 0x14]
mov dword [edi + 8], eax
push dword [ebp - 0x14]
mov ecx, dword [0x67cdc4]
call fcn.0047a80f
mov dword [edi], esi
lea ecx, [ebp - 0x10]
mov dword [edi + 4], eax
mov eax, dword [ebx]
push edi
push ecx
mov dword [ebp - 0x1c], edi
mov esi, dword [eax + 0x164]
mov ecx, esi
call fcn.005bcfca
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
and dword [ebp - 4], 0
push dword [eax - 0xc]
call fcn.0040202f
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
push 0
push edi
mov esi, dword [eax + 0x168]
mov ecx, esi
call fcn.005bcfca
mov ecx, ebx
call esi
mov dword [ebp - 0x28], eax
mov eax, dword [ebx]
push 1
push edi
mov esi, dword [eax + 0x168]
mov ecx, esi
call fcn.005bcfca
mov ecx, ebx
call esi
push 0xa
pop ecx
mov dword [ebp - 0x24], eax
lea esi, [ebp - 0x40]
lea eax, [ebp - 0x84]
mov dword [ebp - 0x20], 1
push eax
push 0
push 0x1132
push dword [ebx + 0x20]
lea edi, [ebp - 0x7c]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x80], 0xffff0002
mov dword [ebp - 0x84], 0xffff0000
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 2
push 0x1102
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call fcn.005bcfca
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402325
xor eax, eax
inc eax
call fcn.005bcffc
ret

Function at 0x591714
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x677010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test eax, eax
je 0x59177a
push 0x208
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, esi
test eax, eax
je 0x59175d
lea eax, [ebp - 0x2ac]
push eax
jmp 0x591762
push 0x623bc8
call fcn.004030b4
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005bc745
mov esp, ebp
pop ebp
ret 8
call fcn.00477c7d
int3

Function at 0x591c4d
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.00401f00
call fcn.00491fa8
cmp dword [eax + 0x14], 0
jne 0x591c68
mov ecx, esi
pop esi
jmp fcn.005914d0
pop esi
ret
Function at 0x59ba43
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x677010]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
jne 0x59ba66
xor eax, eax
jmp 0x59bb27
cmp dword [ebp + 0xc], 0
je 0x59ba5f
xor ebx, ebx
call fcn.00491f54
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x59ba5f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x59ba5f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x59bb3d
push eax
call fcn.005ce0f0
pop ecx
lea edx, [eax + 1]
lea eax, [edx + edx]
mov dword [ebp - 8], edx
lea ecx, [eax + 8]
cmp eax, ecx
sbb eax, eax
and eax, ecx
je 0x59baf7
cmp eax, 0x400
ja 0x59badc
call fcn.005bcfd0
mov esi, esp
test esi, esi
je 0x59baf2
mov dword [esi], 0xcccc
jmp 0x59baef
push eax
call fcn.005c9188
mov esi, eax
pop ecx
test esi, esi
je 0x59baf2
mov dword [esi], 0xdddd
add esi, 8
mov edx, dword [ebp - 8]
jmp 0x59baf9
mov esi, ebx
test esi, esi
je 0x59bb3d
push edx
push dword [ebp - 0xc]
push esi
call fcn.004771bd
test eax, eax
je 0x59bb17
mov ecx, dword [ebp - 0x10]
push eax
call fcn.0059d3b7
xor ebx, ebx
inc ebx
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call fcn.0059d3d3
pop ecx
mov eax, ebx
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005bc745
mov esp, ebp
pop ebp
ret 8
call fcn.00477c7d
int3

Function at 0x5bc73b
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x670f00
call fcn.005bd110
push 1
call fcn.005bc7ec
pop ecx
test al, al
jne 0x5bc5f2
push 7
call fcn.005bd4ce
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.005bc7b7
mov byte [ebp - 0x24], al
mov eax, dword [0x682470]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x5bc5eb
test eax, eax
jne 0x5bc65c
mov dword [0x682470], ecx
push 0x601d90
push 0x601d68
call fcn.005d50aa
pop ecx
pop ecx
test eax, eax
je 0x5bc63f
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x5bc735
push 0x601d64
push 0x601a74
call fcn.005d504e
pop ecx
pop ecx
mov dword [0x682470], 2
jmp 0x5bc661
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.005bc959
pop ecx
call fcn.005bd4c2
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x5bc691
push esi
call fcn.005bc8cf
pop ecx
test al, al
je 0x5bc691
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.005bcfca
call esi
call fcn.005bd4c8
mov esi, eax
cmp dword [esi], edi
je 0x5bc6af
push esi
call fcn.005bc8cf
pop ecx
test al, al
je 0x5bc6af
push dword [esi]
call fcn.005d534d
pop ecx
call fcn.005bd5ea
movzx eax, ax
push eax
call fcn.005d5008
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.005d525c
test al, al
jne 0x5bc6da
push esi
call fcn.005d5385
test bl, bl
jne 0x5bc6e3
call fcn.005d5328
push edi
push 1
call fcn.005bc976
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x5bc735
call fcn.005bd156
ret
call fcn.005bd413
jmp 0x5bc5d3
Function at 0x5c28e3
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x630cd0
push 0x630cc8
push str.FlsAlloc
push 0
call fcn.005c2863
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5c2915
push dword [ebp + 8]
mov ecx, esi
call fcn.005bcfca
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x5c2957
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x630ce0
push 0x630cd8
push str.FlsGetValue
push 2
call fcn.005c2863
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x5c2988
mov ecx, esi
call fcn.005bcfca
call esi
jmp 0x5c298e
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x5c2991
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x630ce8
push 0x630ce0
push str.FlsSetValue
push 3
call fcn.005c2863
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x5c29c5
mov ecx, esi
call fcn.005bcfca
call esi
jmp 0x5c29cb
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x5de144
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005dde07

Function at 0x5de14f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005ddf88

Function at 0x5df546
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005df206
Function at 0x4030f0
Capabilities:
Check for sandbox and av modules
Print debug messages

Disassembly:
push 0x5e8818
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x40310e
push 0x5e8818
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x40311a
push 0x5e8830
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
mov esi, 0x5ed1d8
mov dword [0x627960], eax
test eax, eax
mov edx, str.DbgHelp.dll
mov ecx, esi
cmove ecx, edx
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.004031a0
call fcn.00403250
call fcn.00403420
call fcn.004034e0
call fcn.00403630
push 0x5e9264
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x40316f
push 0x5e9264
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x40317b
push str.GetDpiForMonitor
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x6279d8], eax
mov ecx, str.Shcore.dll
cmove esi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop esi
ret

Function at 0x4041d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599f68
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x618190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x78]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x14], 0
call fcn.004021f0
push esi
mov dword [ebp - 4], 0
call fcn.00413d50
cmp dword [ebp - 0x64], 8
lea eax, [ebp - 0x78]
cmovae eax, dword [ebp - 0x78]
cmp dword [esi + 0x14], 8
jb 0x404234
mov esi, dword [esi]
push eax
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.00552e24
add esp, 0xc
lea ecx, [ebp - 0x78]
mov esi, eax
call fcn.00402150
test esi, esi
je 0x404254
xor eax, eax
jmp 0x404291
test ebx, ebx
je 0x404281
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x404281
push dword [ebp - 0x14]
push edi
push 1
push ebx
call fcn.0055316f
push dword [ebp - 0x14]
mov esi, eax
call fcn.00552f9f
xor eax, eax
add esp, 0x14
cmp esi, edi
sete al
jmp 0x404291
push dword [ebp - 0x14]
call fcn.00552f9f
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550cb3
mov esp, ebp
pop ebp
ret 0x10
Function at 0x405990
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a4ea
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x618190]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov dword [ebp - 0x14], esi
mov word [esi], ax
mov dword [ebp - 4], eax
mov dword [esi + 0x2c], 0xf
mov dword [esi + 0x28], eax
mov byte [esi + 0x18], al
mov dword [esi + 0x44], 7
mov dword [esi + 0x40], eax
mov word [esi + 0x30], ax
mov dword [esi + 0x5c], 0xf
mov dword [esi + 0x58], eax
mov byte [esi + 0x48], al
push eax
push 0x5ed1d8
mov byte [ebp - 4], 3
call fcn.0041f200
lea ecx, [esi + 0x64]
mov dword [ebp - 4], 4
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov dword [ebp - 0x14], ecx
mov word [ecx], ax
mov dword [ecx + 0x2c], 0xf
mov dword [ecx + 0x28], eax
mov byte [ecx + 0x18], al
mov dword [ecx + 0x44], 7
mov dword [ecx + 0x40], eax
mov word [ecx + 0x30], ax
mov dword [ecx + 0x5c], 0xf
mov dword [ecx + 0x58], eax
mov byte [ecx + 0x48], al
push eax
push 0x5ed1d8
mov byte [ebp - 4], 8
call fcn.0041f200
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x407430
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a7d7
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x618190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x428], esi
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov dword [ebp - 4], 1
mov dword [esi + 0x2c], 0xf
mov dword [esi + 0x28], eax
mov byte [esi + 0x18], al
mov dword [esi + 0x44], 7
mov dword [esi + 0x40], eax
mov word [esi + 0x30], ax
mov dword [esi + 0x5c], 0xf
mov dword [esi + 0x58], eax
mov byte [esi + 0x48], al
push eax
push 0x5ed1d8
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.0041f200
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 0x23
push 0
mov dword [ebp - 0x424], 1
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x407531
cmp word [ebp - 0x218], ax
jne 0x407508
xor ecx, ecx
lea eax, [ebp - 0x218]
push ecx
push eax
mov ecx, esi
call fcn.0041f200
jmp 0x40757f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407511
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0041f200
jmp 0x40757f
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.005557a0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 3
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
call fcn.004145d0
push 0xb
push str.ProgramData
mov ecx, esi
call fcn.004145d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550cb3
mov esp, ebp
pop ebp
ret 4