joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423a40
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 0x423a83
call fcn.004272b3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x423a83
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x423a9e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.004235fa
test ebx, ebx
mov esi, eax
je 0x423a9c
test edi, edi
je 0x423a9c
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x42516b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x445b89
call fcn.0043098a
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.004272b3
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x4251b6
call fcn.004272b3
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x4251c7
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x4251d4
or eax, 0xffffffff
jmp 0x425330
mov ecx, esi
call fcn.00424cbd
mov dword [ebp - 0x14], eax
call fcn.00420f16
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x425252
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x425252
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x425252
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.0041faa5
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x425252
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x425252
mov ecx, ebx
call fcn.00426573
test eax, eax
je 0x425252
push 0
mov ecx, ebx
call fcn.0042658e
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.00422901
push dword [ebp - 0x14]
call fcn.00420e6e
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.00424f73
xor edi, edi
cmp eax, edi
je 0x4252af
test byte [esi + 0x3c], 0x10
je 0x425299
push 4
pop edi
mov ecx, esi
call fcn.00426430
test ax, 0x100
je 0x42528f
push 5
pop edi
push edi
mov ecx, esi
call fcn.004209df
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x4252af
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.004265f5
or dword [ebp - 4], 0xffffffff
jmp 0x4252da
cmp dword [ebp - 0x28], edi
je 0x4252e8
push 1
mov ecx, ebx
call fcn.0042658e
cmp dword [ebp - 0x2c], edi
je 0x4252f8
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x425311
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x425311
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.00424cf7
cmp dword [esi + 0x58], edi
je 0x42532d
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.004309f6
ret
Function at 0x4290d2
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x4290db
xor eax, eax
jmp 0x429144
cmp dword [esp + 8], 0
jne 0x4290e7
call fcn.00427c75
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.00433886
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x429122
push dword [esi + 0x10]
call fcn.0043358c
test eax, eax
pop ecx
jne 0x429122
mov esi, dword [esi + 0xc]
call fcn.00430d1b
push esi
push dword [eax]
push 1
call fcn.0042ca5e
push dword [esi + 0x10]
call fcn.004335bb
test eax, eax
pop ecx
je 0x429141
push dword [esi + 0x10]
call fcn.004334e0
push eax
call fcn.00402b70
pop ecx
pop ecx
jmp 0x429110
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x42914d
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x429157
call fcn.00427c75
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00433a00
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x429184
mov esi, dword [esi + 0xc]
call fcn.00430d1b
push esi
push dword [eax]
push 1
call fcn.0042ca5e
pop esi
ret 8

Function at 0x429e3c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x460cd0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x429e79
push 0x44c6a8
push 4
push eax
call fcn.0042f50c
push eax
call fcn.00402b70
add esp, 0x10
jmp 0x429e8b
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x429ef6
push edi
call fcn.00430d08
mov edi, dword [eax]
call fcn.00430d08
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.00430cae
add esp, 0x18
mov ebx, eax
call fcn.00430d08
cmp dword [eax], 0
je 0x429ed6
call fcn.00430d08
push dword [eax]
call fcn.0041e7a8
pop ecx
jmp 0x429edd
call fcn.00430d08
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x429ef6
cmp ebx, esi
jae 0x429ef6
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x429ef8
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042f002
leave
ret
Function at 0x42f002
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x460cd0]
jne 0x42f00c
repz ret
jmp fcn.004363a5
Function at 0x4335ea
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x433627
cmp dword [ebp + 0x14], edi
je 0x433627
cmp ecx, edi
jne 0x43362e
call fcn.00430d08
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0042f9cb
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x433642
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x433663
cmp ebx, 0xffffffff
je 0x433652
push ebx
push edi
push ecx
call fcn.00430500
add esp, 0xc
cmp esi, edi
je 0x43360f
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x43360f
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x43367f
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x433686
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x433777
test word [esi + 0xc], 0x10c
je 0x4336da
mov eax, dword [esi + 4]
test eax, eax
je 0x4336da
jl 0x4337d8
cmp ebx, eax
mov edi, ebx
jb 0x4336ab
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x43377f
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0042f84a
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x43376f
cmp ebx, dword [ebp - 0xc]
jb 0x433747
cmp dword [ebp - 0xc], 0
je 0x433704
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x4336f9
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x433700
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x43370f
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x43370f
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x4337ab
push eax
push dword [ebp - 8]
push esi
call fcn.0043323f
pop ecx
push eax
call fcn.0043d5b8
add esp, 0xc
test eax, eax
je 0x4337ea
cmp eax, 0xffffffff
je 0x4337d8
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x43376f
push esi
call fcn.0043ced7
cmp eax, 0xffffffff
pop ecx
je 0x4337dc
cmp dword [ebp - 4], 0
je 0x4337ab
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x43368e
mov eax, dword [ebp + 0x14]
jmp 0x433629
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x433796
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00430500
add esp, 0xc
call fcn.00430d08
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x43361f
cmp dword [ebp + 0xc], 0xffffffff
je 0x4337c1
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00430500
add esp, 0xc
call fcn.00430d08
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x43361f
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x433629
or dword [esi + 0xc], 0x10
jmp 0x4337dc
Function at 0x434dc3
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x460e60]
je 0x434dde
inc edi
cmp edi, 0x17
jb 0x434dcf
cmp edi, 0x17
jae 0x434f5e
push ebp
push 3
call fcn.0043f35b
cmp eax, 1
pop ecx
je 0x434f2a
push 3
call fcn.0043f35b
test eax, eax
pop ecx
jne 0x434e12
cmp dword [0x460cac], 1
je 0x434f2a
cmp ebx, 0xfc
je 0x434f5d
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x464448
push ebp
call fcn.004397d0
add esp, 0xc
test eax, eax
je 0x434e48
push esi
push esi
push esi
push esi
push esi
call fcn.0042f8cf
add esp, 0x14
push 0x104
mov esi, 0x464461
push esi
push 0
mov byte [0x464565], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x434e8c
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004397d0
add esp, 0xc
test eax, eax
je 0x434e8c
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0042f8cf
add esp, 0x14
push esi
call fcn.00439840
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x434ed1
push esi
call fcn.00439840
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x46475c
push 0x44d18c
sub ecx, eax
push ecx
push eax
call fcn.0043f2a8
add esp, 0x14
test eax, eax
je 0x434ed1
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0042f8cf
add esp, 0x14
jmp 0x434ed3
xor esi, esi
push 0x44d188
push ebx
push ebp
call fcn.0043f237
add esp, 0xc
test eax, eax
je 0x434ef3
push esi
push esi
push esi
push esi
push esi
call fcn.0042f8cf
add esp, 0x14
push dword [edi*8 + 0x460e64]
push ebx
push ebp
call fcn.0043f237
add esp, 0xc
test eax, eax
je 0x434f15
push esi
push esi
push esi
push esi
push esi
call fcn.0042f8cf
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0043f07a
add esp, 0xc
jmp 0x434f5d
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x434f5d
cmp ebp, 0xffffffff
je 0x434f5d
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x460e64]
push dword [esi]
call fcn.00439840
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x43f07a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00435973
xor ebx, ebx
cmp dword [0x464f44], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x43f150
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43f230
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x43f230
push eax
call fcn.00435905
mov dword [esp], 0x44d3e0
push edi
mov dword [0x464f44], eax
call esi
push eax
call fcn.00435905
mov dword [esp], 0x44d3cc
push edi
mov dword [0x464f48], eax
call esi
push eax
call fcn.00435905
mov dword [0x464f4c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043417e
test eax, eax
pop ecx
pop ecx
je 0x43f11e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042f8cf
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x43f150
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00435905
cmp eax, ebx
pop ecx
mov dword [0x464f54], eax
je 0x43f150
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00435905
pop ecx
mov dword [0x464f50], eax
mov eax, dword [0x464f50]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x43f1d5
cmp dword [0x464f54], ecx
je 0x43f1d5
push eax
call fcn.0043597c
push dword [0x464f54]
mov esi, eax
call fcn.0043597c
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x43f1d5
cmp edi, ebx
je 0x43f1d5
call esi
cmp eax, ebx
je 0x43f1a2
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43f1a2
test byte [ebp - 0x18], 1
jne 0x43f1d5
lea eax, [ebp - 0x10]
push eax
call fcn.004341b5
test eax, eax
pop ecx
je 0x43f1bd
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042f8cf
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x43f1cc
or dword [ebp + 0x10], 0x200000
jmp 0x43f210
or dword [ebp + 0x10], 0x40000
jmp 0x43f210
mov eax, dword [0x464f48]
cmp eax, dword [ebp - 8]
je 0x43f210
push eax
call fcn.0043597c
cmp eax, ebx
pop ecx
je 0x43f210
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43f210
mov eax, dword [0x464f4c]
cmp eax, dword [ebp - 8]
je 0x43f210
push eax
call fcn.0043597c
cmp eax, ebx
pop ecx
je 0x43f210
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x464f44]
call fcn.0043597c
cmp eax, ebx
pop ecx
je 0x43f230
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43f232
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4454e3
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x460cd0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00445478
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00430500
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x445532
cmp dword [ebp - 0x1c], 5
jb 0x44554a
jmp 0x445546
cmp dword [ebp - 0x10], 1
jne 0x44554a
cmp dword [ebp - 0x1c], 4
ja 0x445546
jne 0x44554a
cmp dword [ebp - 0x18], 0
jbe 0x44554a
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x44e624
call fcn.00445369
test eax, eax
jge 0x44556b
mov byte [0x466564], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042f002
add ebp, 0x78
leave
ret
Function at 0x440130
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.tJrdyPER
lea edi, [esi - 0x13000]
push edi
or ebp, 0xffffffff
jmp 0x440152
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x440159
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x440148
mov eax, 1
add ebx, ebx
jne 0x44016b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x440160
jne 0x44017c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x440160
xor ecx, ecx
sub eax, 3
jb 0x440190
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x440202
mov ebp, eax
add ebx, ebx
jne 0x44019b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4401a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4401cc
inc ecx
add ebx, ebx
jne 0x4401b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4401ad
jne 0x4401c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4401ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4401ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4401dd
jmp 0x44014e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4401ec
add edi, ecx
jmp 0x44014e
pop esi
lea edi, [esi + 0x3e000]
mov eax, dword [edi]
or eax, eax
je 0x440254
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4020c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x402b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x440209
mov ecx, edi
jns 0x440238
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x402bc]
or eax, eax
je 0x44024e
mov dword [ebx], eax
add ebx, 4
jmp 0x440226
call dword [esi + 0x402b8]
mov ebp, dword [esi + 0x402c0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x440288
sub esp, 0xffffff80
jmp section.NDltoTPW
Function at 0x445f85
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20020
call fcn.0042f8a0
push esi
lea eax, [ebp - 0x20020]
mov esi, edx
push eax
mov edx, 0x7fff
call fcn.00446ebb
lea eax, [ebp - 0x10020]
push eax
mov edx, 0x7fff
mov ecx, esi
call fcn.00446ebb
pop ecx
pop ecx
lea eax, [ebp - 0x10020]
push eax
lea eax, [ebp - 0x20020]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
pop esi
test eax, eax
jne 0x44600e
cmp byte [ebp + 8], al
je 0x44600a
lea eax, [ebp - 0x10020]
push eax
lea eax, [ebp - 0x20020]
push eax
call fcn.004215e3
pop ecx
pop ecx
test eax, eax
je 0x446006
lea eax, [ebp - 0x10020]
push eax
lea eax, [ebp - 0x20020]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov al, 1
leave
ret
xor al, al
leave
ret
lea ecx, [ebp - 0x20020]
call fcn.004472cb
test al, al
je 0x44600a
lea ecx, [ebp - 0x10020]
call fcn.004472cb
test al, al
je 0x4460b8
cmp byte [ebp + 8], 0
je 0x44600a
lea eax, [ebp - 0x20020]
push 0x4b3744
push eax
call fcn.00420cf4
lea eax, [ebp - 0x20020]
push eax
call fcn.00420cdb
xor ecx, ecx
mov word [ebp + eax*2 - 0x2001e], cx
lea eax, [ebp - 0x10020]
push eax
call fcn.00420cdb
xor ecx, ecx
mov word [ebp + eax*2 - 0x1001e], cx
lea eax, [ebp - 0x20020]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10020]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 6], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0x20], eax
mov eax, 0x614
add esp, 0x10
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb al, al
inc al
leave
ret
lea ecx, [ebp - 0x10020]
call fcn.00446318
test al, al
je 0x44600a
lea ecx, [ebp - 0x10020]
call fcn.004472cb
test al, al
jmp 0x446034
Function at 0x4460dd
Capabilities:
Copy file
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x40864
call fcn.0042f8a0
push ebx
push esi
push edi
lea eax, [ebp - 0x20860]
mov esi, edx
mov edi, 0x7fff
xor ebx, ebx
push eax
mov edx, edi
mov byte [ebp - 1], bl
call fcn.00446ebb
pop ecx
lea eax, [ebp - 0x40860]
push eax
mov edx, edi
mov ecx, esi
call fcn.00446ebb
pop ecx
lea edx, [ebp - 0x40860]
lea ecx, [ebp - 0x20860]
call fcn.0044725e
lea ecx, [ebp - 0x20860]
mov byte [ebp - 3], al
call fcn.004472cb
mov esi, 0x4b3744
test al, al
je 0x446150
lea eax, [ebp - 0x20860]
push esi
push eax
call fcn.00420cf4
pop ecx
pop ecx
lea ecx, [ebp - 0x40860]
call fcn.004472cb
test al, al
je 0x44616e
lea eax, [ebp - 0x40860]
push esi
push eax
call fcn.00420cf4
pop ecx
pop ecx
lea eax, [ebp - 0x860]
push eax
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20860]
push eax
call fcn.00421dfc
add esp, 0x14
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x20860]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov al, 1
mov byte [ebp - 2], al
cmp esi, 0xffffffff
je 0x446307
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp al, 1
jne 0x446307
test byte [ebp - 0x260], 0x10
jne 0x4462d9
lea eax, [ebp - 0x30860]
push eax
lea eax, [ebp - 0x40860]
push eax
lea eax, [ebp - 0x860]
push eax
lea edx, [ebp - 0x460]
lea ecx, [ebp - 0x234]
call fcn.0044690b
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10860]
push eax
call fcn.00420d23
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 0x10860]
push eax
call fcn.00420cf4
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x10860]
push eax
call fcn.00420cf4
add esp, 0x18
lea ecx, [ebp - 0x30860]
call fcn.00446524
test al, al
je 0x446270
cmp byte [ebp + 8], bl
je 0x4462fc
lea eax, [ebp - 0x30860]
push eax
lea eax, [ebp - 0x10860]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
lea eax, [ebp - 0x30860]
push eax
je 0x446291
call edi
cmp byte [ebp + 0xc], 1
lea eax, [ebp - 0x30860]
jne 0x4462c2
cmp byte [ebp - 3], bl
jne 0x4462a4
push eax
lea eax, [ebp - 0x10860]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x4462d1
lea eax, [ebp - 0x10860]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x44630a
jmp 0x4462d5
push ebx
push eax
lea eax, [ebp - 0x10860]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4462fc
lea eax, [ebp - 0x10860]
push eax
call edi
jmp 0x4462d1
push ebx
push eax
lea eax, [ebp - 0x10860]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4462fc
mov byte [ebp - 1], 1
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov al, byte [ebp - 2]
jne 0x4461c0
mov al, bl
mov byte [ebp - 2], al
jmp 0x4461c0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x446313
mov bl, byte [ebp - 1]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, bl
pop edi
pop esi
pop ebx
leave
ret