joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a567
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x4b22d4]
xor eax, esp
mov dword [esp + 0x198], eax
push edi
xor eax, eax
push 0x18e
push eax
mov word [esp + 0x10], ax
lea eax, [esp + 0x12]
push eax
call fcn.00401f80
add esp, 0xc
test esi, esi
je 0x45a5e2
cmp dword [ebp + 8], 0
jle 0x45a5e2
lea eax, [esp + 8]
push eax
push 0x101
mov byte [esi], 0
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x45a5de
push dword [ebp + 8]
push esi
call dword [sym.imp.WSOCK32.dll_gethostname]
mov edi, eax
call dword [sym.imp.WSOCK32.dll_WSACleanup]
test edi, edi
jne 0x45a5de
push esi
call fcn.00401a80
pop ecx
test eax, eax
jne 0x45a5e2
xor eax, eax
jmp 0x45a5e4
mov eax, esi
mov ecx, dword [esp + 0x19c]
pop edi
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret

Function at 0x45a5f7
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
push edi
xor ebx, ebx
push ebx
lea eax, [ebp - 4]
push eax
push ebx
mov dword [ebp - 4], ebx
xor edi, edi
call esi
cmp eax, 0x7a
jne 0x45a636
push 1
push dword [ebp - 4]
call fcn.00401a3a
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
jne 0x45a62e
xor eax, eax
jmp 0x45a685
push ebx
lea eax, [ebp - 4]
push eax
push edi
call esi
cmp eax, ebx
je 0x45a647
cmp edi, ebx
je 0x45a62a
push edi
call fcn.00401a00
pop ecx
jmp 0x45a62a
mov edx, dword [edi]
xor eax, eax
cmp edx, ebx
jle 0x45a67c
lea ecx, [edi + 4]
mov esi, dword [ebp + 0xc]
cmp esi, 0xffffffff
je 0x45a65f
cmp dword [ecx + 0x10], esi
jne 0x45a66b
mov esi, dword [ecx]
cmp esi, dword [ebp + 8]
jne 0x45a66b
cmp dword [ecx + 0xc], ebx
jne 0x45a675
inc eax
add ecx, 0x38
cmp eax, edx
jl 0x45a652
jmp 0x45a67c
imul eax, eax, 0x38
mov ebx, dword [eax + edi + 0x10]
push edi
call fcn.00401a00
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45b835
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4b22d4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
push esi
push edi
xor ebx, ebx
mov byte [ebp - 0x18], bl
lea edi, [ebp - 0x17]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [ebp - 0x2c], bl
lea edi, [ebp - 0x2b]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, ecx
stosw word es:[edi], ax
mov edx, esi
mov dword [ebp - 0x38], esi
stosb byte es:[edi], al
call fcn.00436c5d
test eax, eax
jne 0x45b93e
mov al, byte [esi]
cmp al, bl
je 0x45b897
mov ecx, esi
cmp al, 0x2e
je 0x45b897
cmp al, 0x3f
je 0x45b937
inc ecx
mov al, byte [ecx]
cmp al, bl
jne 0x45b884
mov eax, esi
call fcn.0045acf7
test eax, eax
je 0x45b93e
mov eax, str._._._._
call fcn.0045acf7
test eax, eax
je 0x45b93e
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
push ebx
lea eax, [ebp - 0x34]
push eax
push ebx
mov dword [ebp - 0x34], ebx
call edi
cmp eax, 0x7a
jne 0x45b93e
push 1
push dword [ebp - 0x34]
call fcn.00401a3a
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x45b93e
push ebx
lea eax, [ebp - 0x34]
push eax
push esi
call edi
mov dword [ebp - 0x30], ebx
cmp dword [esi], ebx
jle 0x45b95f
lea edi, [esi + 4]
mov ecx, dword [edi]
lea eax, [ebp - 0x18]
call fcn.0045a50e
mov ecx, dword [edi + 0xc]
lea eax, [ebp - 0x2c]
call fcn.0045a50e
mov ecx, dword [ebp - 0x38]
lea edx, [ebp - 0x18]
call fcn.0045b3a0
test eax, eax
je 0x45b957
lea edx, [ebp - 0x2c]
mov ecx, str._._._._
call fcn.0045b3a0
test eax, eax
je 0x45b957
push edi
call dword [sym.imp.IPHLPAPI.DLL_DeleteIpForwardEntry]
test eax, eax
jne 0x45b950
inc dword [ebp - 0x30]
jmp 0x45b957
mov byte [0x4c5a55], 1
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
mov byte [0x4c5a56], 1
inc ebx
add edi, 0x38
cmp ebx, dword [esi]
jl 0x45b8f2
push esi
call fcn.00401a00
mov eax, dword [ebp - 0x30]
pop ecx
jmp 0x45b941
Function at 0x45bbf1
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x338
mov eax, dword [0x4b22d4]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x328], eax
xor eax, eax
push 0x18e
mov word [ebp - 0x324], ax
xor ebx, ebx
lea eax, [ebp - 0x322]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x32c], edi
call fcn.00401f80
push 0x7f
lea eax, [ebp - 0x8b]
push ebx
push eax
mov byte [ebp - 0x8c], bl
call fcn.00401f80
mov esi, 0x103
push esi
lea eax, [ebp - 0x193]
push ebx
push eax
mov byte [ebp - 0x194], bl
call fcn.00401f80
add esp, 0x24
mov dword [ebp - 0x330], ebx
mov dword [ebp - 0x334], ebx
cmp dword [ebp - 0x328], ebx
je 0x45bdb9
cmp edi, ebx
je 0x45bdb9
call fcn.00419a8b
push dword [ebp - 0x328]
lea eax, [ebp - 0x8c]
push 0x7e
pop ecx
mov byte [edi], bl
call fcn.00435b27
lea eax, [ebp - 0x194]
call fcn.00435ba1
mov edi, 0x494e4c
push edi
lea eax, [ebp - 0x334]
lea ecx, [ebp - 0x8c]
call fcn.004360f6
pop ecx
pop ecx
mov dword [ebp - 0x328], eax
cmp eax, ebx
je 0x45bce4
push edi
lea eax, [ebp - 0x334]
xor ecx, ecx
call fcn.004360f6
pop ecx
mov dword [ebp - 0x328], eax
mov edx, dword [ebp - 0x328]
call fcn.00436c5d
test eax, eax
jne 0x45bd1a
push dword [ebp - 0x328]
mov ecx, 0x104
lea eax, [ebp - 0x194]
call fcn.00435b27
push 0x3a
xor eax, eax
lea edi, [ebp - 0x194]
call fcn.004357b6
pop ecx
pop ecx
lea ebx, [ebp - 0x8c]
call fcn.0045ad58
test eax, eax
je 0x45bdb9
call fcn.0044bacf
test eax, eax
jne 0x45bdca
mov ebx, dword [ebp - 0x32c]
mov byte [ebx], al
lea eax, [ebp - 0x324]
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x45bdb9
lea ecx, [ebp - 0x8c]
call fcn.0045b0fc
push 2
mov dword [ebp - 0x330], eax
push 4
lea eax, [ebp - 0x330]
push eax
call dword [sym.imp.WSOCK32.dll_gethostbyaddr]
mov edi, eax
test edi, edi
je 0x45bda1
mov eax, dword [edi]
test eax, eax
je 0x45bda1
push eax
call fcn.00401a80
pop ecx
test eax, eax
je 0x45bda1
push dword [edi]
mov ecx, esi
mov eax, ebx
call fcn.00435b27
pop ecx
xor edi, edi
jmp 0x45bda4
or edi, 0xffffffff
call dword [sym.imp.WSOCK32.dll_WSACleanup]
test edi, edi
jne 0x45bdb9
push ebx
call fcn.00401a80
pop ecx
test eax, eax
jne 0x45bdf5
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
cmp eax, 1
jne 0x45bdd6
push str.WebSrv22
jmp 0x45bde7
cmp eax, 2
jne 0x45bde2
push str.WebSrv21
jmp 0x45bde7
push str.Mission_Control
mov eax, dword [ebp - 0x32c]
mov ecx, esi
call fcn.00435b27
pop ecx
lea eax, [ebp - 0x194]
push eax
mov eax, esi
mov esi, dword [ebp - 0x32c]
call fcn.00436c1c
pop ecx
call fcn.00419a8b
mov eax, esi
jmp 0x45bdbb
Function at 0x45c692
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4b22d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
xor edi, edi
lea eax, [ebp - 0x10f]
mov esi, ecx
push edi
push eax
mov dword [ebp - 0x114], esi
mov byte [ebp - 0x110], 0
call fcn.00401f80
add esp, 0xc
cmp esi, edi
jne 0x45c6d9
xor eax, eax
jmp 0x45c7a2
push str.lnd.reg
push edi
push edi
call fcn.0044bf6e
pop ecx
pop ecx
push eax
push 0x48de20
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.004362e2
add esp, 0x14
movsx eax, byte [esi]
call fcn.00435bfd
cmp eax, 0x61
jl 0x45c713
cmp eax, 0x7a
jle 0x45c72c
inc edi
add esi, 0x27c
cmp edi, 0x1a
jl 0x45c701
lea eax, [ebp - 0x110]
call fcn.00474fee
jmp 0x45c7a2
push 0x2f5a
mov edi, str.Network.c
mov esi, 0x48d22c
push edi
mov edx, esi
lea ecx, [ebp - 0x110]
call fcn.00473c34
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x45c77b
push 0x96
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x2f5d
push edi
mov edx, esi
lea ecx, [ebp - 0x110]
call fcn.00473c34
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x45c6d2
push ebx
push 0x1a
push 0x27c
push dword [ebp - 0x114]
call fcn.0040257f
add esp, 0x10
mov ecx, ebx
mov esi, eax
call fcn.00475e84
xor eax, eax
cmp esi, 0x1a
sete al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret

Function at 0x45c7b1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4b22d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.00401f80
add esp, 0xc
push str.lnd.reg
push ebx
push ebx
call fcn.0044bf6e
pop ecx
pop ecx
push eax
push 0x48de20
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.004362e2
push 0x2f27
push str.Network.c
mov edx, 0x48d1ec
lea ecx, [ebp - 0x110]
call fcn.00473c34
mov edi, eax
add esp, 0x1c
cmp edi, ebx
jne 0x45c830
xor eax, eax
jmp 0x45c85b
call fcn.0045a481
mov esi, eax
cmp esi, ebx
je 0x45c82c
push edi
push 0x1a
push 0x27c
push esi
call fcn.00402244
mov ecx, edi
call fcn.00475e84
push ebx
mov eax, esi
call fcn.0045a44a
add esp, 0x14
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x45e429
Capabilities:
Delete file

Disassembly:
push edi
push str.TempWMICCred.tmp
push 0
call fcn.0044bf6e
push 0
push 0
mov edi, eax
call fcn.0045db9c
push eax
push str.NetCredential__s.log
push 0
call fcn.0044bf6e
add esp, 0x1c
mov eax, edi
pop edi
jmp fcn.00474fee
Function at 0x45ec05
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x4b22d4]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor ebx, ebx
push 0x31
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x3b]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x248], ebx
mov byte [ebp - 0x3c], bl
call fcn.00401f80
add esp, 0xc
push 0xff
lea eax, [ebp - 0x13b]
push ebx
push eax
mov byte [ebp - 0x13c], bl
call fcn.00401f80
add esp, 0xc
push 0x103
lea eax, [ebp - 0x243]
push ebx
push eax
mov byte [ebp - 0x244], bl
call fcn.00401f80
add esp, 0xc
mov edx, esi
call fcn.00436c5d
test eax, eax
je 0x45ec88
xor eax, eax
jmp 0x45edef
push esi
lea edi, [ebp - 0x244]
call fcn.0045abea
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
pop ecx
push ebx
mov edi, 0x80000020
push edi
push 1
push ebx
push 7
push 6
lea eax, [ebp - 0x244]
push eax
call esi
mov dword [ebp - 0x250], eax
cmp eax, 0xffffffff
jne 0x45ecf1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push edi
push 4
push ebx
push 7
push 6
lea eax, [ebp - 0x244]
push eax
call esi
mov dword [ebp - 0x250], eax
cmp eax, 0xffffffff
jne 0x45ecf1
call fcn.00419a8b
call fcn.00419a8b
mov dword [0x5a95bc], eax
jmp 0x45ec81
lea eax, [ebp - 0x3c]
push 0x32
push eax
call fcn.0045db9c
pop ecx
pop ecx
cmp dword [ebp + 8], ebx
je 0x45ed14
push 0x48d2a0
push 0x32
pop eax
lea esi, [ebp - 0x3c]
call fcn.00436c1c
pop ecx
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x13c]
push str._nLock_was_initiated_by:__s
push eax
call fcn.00401954
add esp, 0xc
push ebx
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.00401a80
mov esi, dword [ebp - 0x250]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
pop ecx
push eax
lea eax, [ebp - 0x13c]
push eax
push esi
call edi
test eax, eax
jne 0x45ed62
inc dword [0x5a931c]
mov edx, dword [ebp - 0x24c]
call fcn.00436c5d
test eax, eax
jne 0x45edab
push dword [ebp - 0x24c]
lea eax, [ebp - 0x13c]
push str._nIn_Source_File:__s
push eax
call fcn.00401954
add esp, 0xc
push ebx
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.00401a80
pop ecx
push eax
lea eax, [ebp - 0x13c]
push eax
push esi
call edi
cmp dword [ebp + 0x10], ebx
jle 0x45ede7
push dword [ebp + 0x10]
lea eax, [ebp - 0x13c]
push str._nFrom_Source_Line:__d
push eax
call fcn.00401954
add esp, 0xc
push ebx
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.00401a80
pop ecx
push eax
lea eax, [ebp - 0x13c]
push eax
push esi
call edi
call fcn.00473b95
xor eax, eax
inc eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x468668
Capabilities:
Terminate process

Disassembly:
push 0x110
push 0x4b0430
call fcn.00487850
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x11c], bl
push 0xff
push ebx
lea eax, [ebp - 0x11b]
push eax
call fcn.00401f80
add esp, 0xc
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x4686fb
cmp dword [ebp + 0xc], ebx
je 0x4686c8
mov edi, dword [0x4c9160]
cmp edi, ebx
jne 0x4686bf
mov dword [ebp - 4], 0xfffffffe
jmp 0x468828
mov ebx, esi
call fcn.0043c9f5
jmp 0x4686b3
mov eax, dword [0x4c9160]
cmp eax, ebx
jne 0x4686df
call fcn.0043c742
mov dword [0x4c9160], eax
cmp eax, ebx
je 0x4686b3
mov ebx, esi
mov edi, eax
call fcn.0043c8d4
test eax, eax
jne 0x4686b3
push esi
mov ebx, dword [0x4c9160]
call fcn.0043c6f1
pop ecx
jmp 0x4686b3
cmp dword [0x5a2ed4], ebx
jle 0x46870d
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4686fb
inc dword [0x5a2ed4]
xor ecx, ecx
call fcn.0045a88f
call fcn.004390b8
test eax, eax
je 0x46872d
push 1
call fcn.0047ff82
add esp, 4
call fcn.00419a8b
mov dword [ebp - 0x120], eax
call fcn.004391d0
mov esi, str.Counting_Dumps_
push esi
push ebx
call fcn.0044bd82
push eax
call fcn.004732c3
add esp, 0xc
test eax, eax
je 0x468766
push esi
push ebx
call fcn.0044bd82
pop ecx
pop ecx
mov ecx, eax
call fcn.00475982
push 0x3a0a
push str.MainPAULA.c
push 0x999
call fcn.0045f6b5
call fcn.00476b44
call fcn.00433ccd
call fcn.00476b2c
call fcn.00455bc3
lea eax, [ebp - 0x11c]
push eax
call fcn.00434b46
add esp, 0x10
call fcn.0044e618
call fcn.00481a40
call fcn.00480465
xor eax, eax
call fcn.0047f97d
call fcn.004488df
call fcn.0043903b
cmp dword [0x4c9160], ebx
je 0x4687ea
call fcn.0043ca72
cmp eax, ebx
je 0x4687d5
call fcn.00466598
jmp 0x4687c5
mov esi, dword [0x4c9160]
cmp esi, ebx
je 0x4687ea
call fcn.0043c705
mov dword [0x4c9160], ebx
call fcn.0043bf72
dec dword [0x5a2ed4]
jmp 0x4687fe
mov dword [ebp - 4], 0xfffffffe
call fcn.00419a8b
mov esi, 0x2ee
jmp 0x46881e
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00419a8b
sub eax, dword [ebp - 0x120]
cmp eax, esi
jb 0x468811
call fcn.00487898
ret
Function at 0x46abc9
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
xor ebx, ebx
push edi
xor eax, eax
cmp dword [eax*4 + 0x5a2a20], ebx
je 0x46abdf
inc eax
cmp eax, 2
jl 0x46abd0
mov edi, 0x6cc5c
cmp eax, 2
jge 0x46accc
mov esi, eax
imul esi, esi, 0x6cc5c
add esi, 0x4c9168
mov dword [eax*4 + 0x5a2a20], 1
push edi
push ebx
push esi
call fcn.00401f80
add esp, 0xc
push 0x64
lea ecx, [esi + 0x4c0]
lea eax, [esi + 0x32c]
pop edx
mov dword [eax - 0x194], ecx
mov dword [eax], ecx
add eax, 4
dec edx
jne 0x46ac20
push ebx
push ebx
mov dword [esi + 0x37608], 1
call fcn.0044bf6e
push eax
push 0x48d2b4
mov edi, 0x104
lea eax, [esi + 0x240c]
push edi
push eax
call fcn.004362e2
add esp, 0x18
push str.PaulaConfig.cfg
push ebx
push ebx
call fcn.0044bd82
pop ecx
pop ecx
push eax
mov ebx, 0x48de20
push ebx
lea eax, [esi + 0x22a8]
push edi
push eax
call fcn.004362e2
add esp, 0x14
push str.PaulaEmpConfig.cfg
push 0
push 0
call fcn.0044bd82
pop ecx
pop ecx
push eax
push ebx
lea eax, [esi + 0x21a4]
push edi
push eax
call fcn.004362e2
add esp, 0x14
xor eax, eax
call fcn.00466598
test eax, eax
je 0x46acb5
push esi
mov ebx, eax
call fcn.0043c6f1
pop ecx
push esi
call fcn.0046882e
pop ecx
mov ecx, 0x468a5b
call fcn.0045a88f
mov eax, esi
pop edi
pop esi
pop ebx
ret
push edi
push 1
call fcn.00401a3a
pop ecx
pop ecx
mov esi, eax
cmp esi, ebx
jne 0x46ac06
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
jmp 0x46acc8
Function at 0x4732c3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4732dd
test al, 0x10
je 0x4732dd
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4733ea
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x4b22d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x147]
push ebx
push eax
mov byte [ebp - 0x148], bl
call fcn.00401f80
push 0x3f
lea eax, [ebp - 0x43]
push ebx
push eax
mov byte [ebp - 0x44], bl
call fcn.00401f80
add esp, 0x18
cmp edi, ebx
je 0x473490
mov eax, edi
call fcn.00435ba1
push 0x21e88e
lea eax, [esi - 0x25]
call fcn.00463257
push eax
push str.P2_Tmp__d
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.004362e2
add esp, 0x14
lea eax, [ebp - 0x148]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x473490
push edi
push ebx
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x473490
mov edx, edi
call fcn.00436c5d
test eax, eax
jne 0x473490
mov eax, edi
jmp 0x473492
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x473531
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x35c
mov eax, dword [0x4b22d4]
xor eax, esp
mov dword [esp + 0x358], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [esp + 0x25d]
push ebx
push eax
mov byte [esp + 0x264], bl
call fcn.00401f80
push esi
lea eax, [esp + 0x161]
push ebx
push eax
mov byte [esp + 0x168], bl
call fcn.00401f80
push 0x13c
lea eax, [esp + 0x30]
push ebx
push eax
mov dword [esp + 0x34], ebx
call fcn.00401f80
add esp, 0x24
cmp edi, ebx
je 0x473677
cmp byte [edi], bl
je 0x473677
push edi
lea ecx, [esi + 1]
lea eax, [esp + 0x25c]
call fcn.00435b27
push eax
lea eax, [esp + 0x158]
push eax
call fcn.00401ba0
add esp, 0xc
lea esi, [esp + 0x150]
call fcn.004359d7
mov ecx, dword [0x4c6720]
mov eax, dword [0x4c671c]
add ecx, 0xf
cmp eax, ecx
jle 0x4735ef
mov dword [0x4c6720], eax
inc eax
mov dword [0x4c671c], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
dec dword [0x4c671c]
mov esi, eax
cmp esi, 0xffffffff
je 0x473677
cmp byte [esp + 0x3c], 0x2e
je 0x473660
lea edx, [esp + 0x3c]
call fcn.00436c5d
test eax, eax
jne 0x473660
cmp byte [esp + 0x150], 0x2a
jne 0x473690
cmp byte [esp + 0x152], 0x2a
jne 0x473690
cmp byte [esp + 0x151], 0x3f
je 0x473690
movsx eax, byte [esp + 0x151]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.004035e0
pop ecx
pop ecx
test eax, eax
jne 0x473690
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x473615
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov ecx, dword [esp + 0x364]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
inc eax
jmp 0x473679
Function at 0x47369c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
push 6
xor ebx, ebx
pop ecx
xor eax, eax
mov dword [ebp - 0x24], ebx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.00436c5d
test eax, eax
jne 0x473787
mov edx, dword [ebp + 0xc]
call fcn.00436c5d
test eax, eax
jne 0x473787
push dword [ebp + 8]
call fcn.00401a80
push dword [ebp + 8]
call fcn.00401a80
add eax, 0xa
push eax
push 1
call fcn.00401a3a
push dword [ebp + 0xc]
mov esi, eax
call fcn.00401a80
add eax, 0xa
push eax
push 1
call fcn.00401a3a
add esp, 0x1c
mov edi, eax
cmp esi, ebx
je 0x473787
cmp edi, ebx
je 0x473787
push dword [ebp + 8]
push esi
call fcn.00401ba0
push dword [ebp + 0xc]
push edi
call fcn.00401ba0
push esi
call fcn.00401a80
push edi
mov byte [eax + esi + 1], bl
call fcn.00401a80
mov byte [eax + edi + 1], bl
mov eax, 0x1694
mov word [ebp - 0x14], ax
add esp, 0x18
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xe], ebx
mov dword [ebp - 0xa], ebx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call fcn.00401a00
push edi
call fcn.00401a00
xor eax, eax
cmp dword [ebp - 4], ebx
pop ecx
pop ecx
sete al
jmp 0x473789
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x47378e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push edi
push 6
xor ebx, ebx
pop ecx
xor eax, eax
mov dword [ebp - 0x20], ebx
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 8]
mov edx, edi
call fcn.00436c5d
test eax, eax
je 0x4737b9
xor eax, eax
jmp 0x473833
push esi
push edi
call fcn.00401a80
push edi
call fcn.00401a80
add eax, 0xa
push eax
push 1
call fcn.00401a3a
mov esi, eax
add esp, 0x10
cmp esi, ebx
jne 0x4737de
xor eax, eax
jmp 0x473832
push edi
push esi
call fcn.00401ba0
push esi
call fcn.00401a80
mov byte [eax + esi + 1], bl
mov eax, 0x614
mov word [ebp - 0x10], ax
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xa], ebx
mov dword [ebp - 6], ebx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call fcn.00401a00
xor eax, eax
cmp edi, ebx
pop ecx
sete al
pop esi
pop edi
pop ebx
leave
ret
Function at 0x4741f3
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4b22d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x107]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x210], edi
mov byte [ebp - 0x108], bl
call fcn.00401f80
push esi
lea eax, [ebp - 0x20b]
push ebx
push eax
mov byte [ebp - 0x20c], bl
call fcn.00401f80
add esp, 0x18
mov edx, edi
call fcn.00436c5d
test eax, eax
jne 0x47432b
mov edx, dword [ebp - 0x214]
call fcn.00436c5d
test eax, eax
jne 0x47432b
push dword [ebp - 0x214]
lea edi, [esi + 1]
mov ecx, edi
lea eax, [ebp - 0x108]
call fcn.00435b27
mov edx, eax
call fcn.0043680a
mov esi, edx
call fcn.00436761
mov eax, esi
push eax
call fcn.00401a80
pop ecx
pop ecx
jmp 0x4742ac
lea ecx, [ebp + eax - 0x108]
cmp byte [ecx], 0x5c
jne 0x4742b1
mov byte [ecx], bl
dec eax
cmp eax, ebx
jg 0x47429e
lea esi, [ebp - 0x108]
call fcn.004359d7
push dword [ebp - 0x210]
mov ecx, edi
lea eax, [ebp - 0x20c]
call fcn.00435b27
mov edx, eax
call fcn.0043680a
mov esi, edx
call fcn.00436761
mov eax, esi
push eax
call fcn.00401a80
pop ecx
pop ecx
jmp 0x4742f7
lea ecx, [ebp + eax - 0x20c]
cmp byte [ecx], 0x5c
jne 0x4742fc
mov byte [ecx], bl
dec eax
cmp eax, ebx
jg 0x4742e9
lea eax, [ebp - 0x20c]
call fcn.00435996
mov edx, eax
lea ecx, [ebp - 0x108]
call fcn.0043794f
push 0xb
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
jmp 0x47432d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x4746f7
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [0x4c82b0]
xor ebx, ebx
call fcn.0043c968
xor esi, esi
jmp 0x47472d
cmp esi, 0x56ce
jge 0x474735
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xa8]
je 0x474733
mov edi, dword [0x4c82b0]
call fcn.0043c91b
inc esi
test eax, eax
jne 0x47470e
jmp 0x474735
mov ebx, eax
mov eax, ebx
call fcn.00473be9
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop edi
pop esi
pop ebx
pop ebp
ret 4