joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451930
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1ec
mov eax, dword [0x4cfcf0]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x451af0
mov dword [ebx], 0xffffffff
lea eax, [ebp - 0x1bc]
mov dword [ebx + 4], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], 0
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1c0]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x1c4]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x1c8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4516f0
mov dword [esp], esi
call sub.msvcrt.dll_sscanf
cmp eax, 4
je 0x451ab4
mov dword [esp], esi
call sub.WSOCK32.DLL_gethostbyname
sub esp, 4
test eax, eax
je 0x451aa7
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x1cc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 2
call sub.WSOCK32.DLL_socket
mov dword [ebx], eax
sub esp, 0xc
inc eax
je 0x451a90
cld
xor eax, eax
lea edi, [ebp - 0x1b8]
mov ecx, 4
rep stosd dword es:[edi], eax
movzx eax, word [ebp + 0x10]
mov edi, 2
mov word [ebp - 0x1b8], di
mov dword [esp], eax
call sub.WSOCK32.DLL_htons
mov word [ebp - 0x1b6], ax
sub esp, 4
mov eax, dword [ebp - 0x1cc]
mov dword [esp + 8], 0x10
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x1b8]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov dword [esp], eax
call sub.WSOCK32.DLL_connect
sub esp, 0xc
test eax, eax
jne 0x451a60
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], esi
mov eax, dword [ebp + 0x10]
mov dword [esp], 0x4516fc
mov dword [esp + 8], eax
call fcn.00433d70
mov eax, dword [ebx]
mov dword [esp], eax
call sub.WSOCK32.DLL_closesocket
mov dword [ebx], 0xffffffff
sub esp, 4
jmp 0x451a54
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [esp + 4], eax
mov dword [esp], 0x451713
call fcn.00433d70
jmp 0x451a54
mov dword [esp + 4], esi
mov dword [esp], 0x45172b
jmp 0x451aa0
movzx eax, byte [ebp - 0x1c8]
mov byte [ebp - 0x1cc], al
movzx eax, byte [ebp - 0x1c4]
mov byte [ebp - 0x1cb], al
movzx eax, byte [ebp - 0x1c0]
mov byte [ebp - 0x1ca], al
movzx eax, byte [ebp - 0x1bc]
mov byte [ebp - 0x1c9], al
jmp 0x4519cb
mov dword [esp], 0x101
mov eax, 1
mov dword [0x4cfcf0], eax
lea eax, [ebp - 0x1a8]
mov dword [esp + 4], eax
call sub.WSOCK32.DLL_WSAStartup
sub esp, 8
jmp 0x45194f

Function at 0x451be0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], esi
mov esi, dword [ebp + 8]
mov dword [ebp - 8], ebx
mov dword [esp], esi
call fcn.00451b40
test eax, eax
mov edx, 0xffffffff
je 0x451c2c
mov dword [esp + 0xc], 0
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [esi]
mov dword [esp], eax
call sub.WSOCK32.DLL_send
sub esp, 0x10
mov ebx, eax
cmp eax, 0xffffffff
je 0x451c38
mov edx, ebx
mov ebx, dword [ebp - 8]
mov eax, edx
mov esi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp], esi
call fcn.00451ef0
jmp 0x451c2a
Function at 0x451c50
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], esi
mov dword [esp], ebx
call fcn.00451b40
test eax, eax
mov ecx, 0xffffffff
je 0x451c8a
mov eax, dword [ebx + 4]
test eax, eax
je 0x451cf2
mov edx, dword [ebx + 8]
cmp edx, dword [ebx + 0xc]
je 0x451ce0
mov eax, 0x400
xor ecx, ecx
sub eax, edx
jne 0x451c96
mov ebx, dword [ebp - 8]
mov eax, ecx
mov esi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
add edx, eax
mov dword [esp + 4], edx
mov eax, dword [ebx]
mov dword [esp], eax
call sub.WSOCK32.DLL_recv
sub esp, 0x10
mov esi, eax
test eax, eax
jle 0x451cc5
add dword [ebx + 8], eax
mov ecx, esi
jmp 0x451c8a
test eax, eax
jns 0x451cc1
mov eax, dword [ebx + 0xc]
cmp dword [ebx + 8], eax
jne 0x451cc1
mov dword [esp], ebx
call fcn.00451ef0
jmp 0x451cc1
mov dword [ebx + 0xc], 0
xor edx, edx
mov dword [ebx + 8], 0
jmp 0x451c7f
mov dword [esp], 0x403
call fcn.00475ce0
mov dword [ebx + 4], eax
jmp 0x451c77

Function at 0x4543a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [esp + 0x10], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0x4cfd60
mov dword [esp + 8], 0x454310
mov dword [0x4cfd60], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [0x4cfd64], eax
lea eax, [ebp - 4]
mov dword [esp + 0x14], eax
call sub.KERNEL32.DLL_CreateThread
sub esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x47e22c
Capabilities:
Link many functions at runtime
Terminate process

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push edi
push 0
call esi
push dword [0x4bdc10]
mov edi, eax
call esi
push dword [0x4bdc0c]
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push dword [0x4bdbec]
mov ebp, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebp
and dword [esp + 0x1c], 0
mov ebx, eax
push dword [0x4bdc40]
fmul qword [ebx]
mov ecx, dword [edi + 0xd55f4]
call ecx
pop ecx
push dword [0x4bdc28]
mov esi, eax
push dword [esp + 0x18]
call ebp
push 0x104
push esi
xor edi, edi
push edi
call eax
push esi
call ebx
mov esi, dword [0x4bdbd0]
mov ebx, eax

Function at 0x47e270
Capabilities:
Link many functions at runtime
Terminate process

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push edi
push 0
call esi
push dword [0x4bdc10]
mov edi, eax
call esi
push dword [0x4bdc0c]
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push dword [0x4bdbec]
mov ebp, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebp
and dword [esp + 0x1c], 0
mov ebx, eax
push dword [0x4bdc40]
fmul qword [ebx]
mov ecx, dword [edi + 0xd55f4]
call ecx
pop ecx
push dword [0x4bdc28]
mov esi, eax
push dword [esp + 0x18]
call ebp
push 0x104
push esi
xor edi, edi
push edi
call eax
push esi
call ebx
mov esi, dword [0x4bdbd0]
mov ebx, eax

Function at 0x47e2a0
Capabilities:
Terminate process

Disassembly:
cmp dword [esi], edi
je 0x47e2e1
push ebx
call fcn.0047e1f2
pop ecx
cmp al, byte [esi]
je fcn.0047e2d0
cmp al, byte [esi + 1]
je fcn.0047e2d0
push 0x10
push dword [0x4bdc24]
push dword [0x4bdbc4]
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
push dword [0x4bdc18]
add ebx, 0x20a
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push dword [0x4bdbd4]
mov esi, eax
push esi
call ebp
push dword [0x4bdbf4]
mov edi, eax
push esi
call ebp
push dword [0x4bdbe8]
mov dword [esp + 0x1c], eax
push esi
call ebp
mov esi, eax
xor eax, eax
push eax
push eax
push eax
push 1
push dword [0x4bdc14]
mov dword [esp + 0x24], eax
call edi
xor edi, edi
test eax, eax
je 0x47e2b4
push edi
push dword [0x4bdbd8]
push edi
push edi
push dword [0x4bdc04]
push eax
call dword [esp + 0x30]
test eax, eax
je 0x47e2b4
lea ecx, [esp + 0x10]
push ecx
push dword [0x4bdc40]
push ebx
push eax
call esi
test eax, eax
je 0x47e2b4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x47e2b4

Function at 0x47e2d0
Capabilities:
Terminate process

Disassembly:
push ebx
call fcn.0047e207
pop ecx
cmp eax, dword [esi + 4]
je 0x47e2e1
cmp eax, dword [esi + 8]
jne 0x47e2b4
Function at 0x47e370
Capabilities:
Terminate process

Disassembly:
lea edx, [eax + ebx]
cmp edx, ebx
je 0x47e2b4
mov esi, dword [ebx]
mov ecx, edi
mov eax, dword [0x4bdbcc]
mov eax, dword [eax + ecx]
add eax, esi
mov dword [ecx + edx], eax
add ecx, 4
cmp ecx, 0x20
stc
invalid
jl 0x47e37f
push edx
push dword [esp + 0x18]
call ebp
test eax, eax
je 0x47e2b4
push edi
push edi
push dword [0x4bdc00]
lea ecx, [esp + 0x28]
push ecx
call eax
jmp 0x47e2b4

Function at 0x47e390
Capabilities:
Terminate process

Disassembly:
lea edx, [eax + ebx]
cmp edx, ebx
je 0x47e2b4
mov esi, dword [ebx]
mov ecx, edi
mov eax, dword [0x4bdbcc]
mov eax, dword [eax + ecx]
add eax, esi
mov dword [ecx + edx], eax
add ecx, 4
cmp ecx, 0x20
stc
invalid
jl 0x47e37f
push edx
push dword [esp + 0x18]
call ebp
test eax, eax
je 0x47e2b4
push edi
push edi
push dword [0x4bdc00]
lea ecx, [esp + 0x28]
push ecx
call eax
jmp 0x47e2b4
Function at 0x53deab
Capabilities:
Encode data using xor

Disassembly:
push cs
xchg esp, eax
mov dx, 0xe2e2
inc esp
mov dword [0x60b7d2b7], eax
mov edx, 0xa344e2e2
mov bh, 0xd2
mov bh, 0x60
and eax, dword [ecx]
jno 0x53deed
cmp dword [eax + ebp - 0x44], 0x2e95dffb
xor al, 0x34
and eax, 0x43dce374
jns 0x53decd
fist word [ebp + 0x2534342e]
je 0x53de96
fadd qword [ebx - 0xd]
jns 0x53decd
insb byte es:[edi], dx
popal
mov word [esi + 0x27], ss
scasb al, byte es:[edi]
cmp dword [ebp + eax*2 + 0x40a198ae], esp
js 0x53de99
outsb dx, byte [esi]
inc ebx
mov byte [0x82c2b150], al
outsd dx, dword [esi]
mov bh, 0x29
invalid
ret 0x6f82
shr dword [ebp - 0x30762f33], 1
int 0x12
lodsb al, byte [esi]
cli
mov byte [0x9d85ba47], al
sahf
mov bl, 0x4e
cmp al, 0x32
pop ebp
inc edx
int1
pop ebx
mov bl, 0x69
scasb al, byte es:[edi]
cmp byte [esi], cl
cmp dword [ebx - 0x5e78c379], esp
jno 0x53de97
pop ds
add esi, dword [eax - 0x2a]
add byte [ecx - 0x6c38c40c], dl
out 0x46, al
push edi
popal
xor eax, 0x1ff16906
invalid

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x5b265f
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x6ee903c2
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4158f4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x531304]
jne 0x4158fe
repz ret
jmp fcn.0041b8ed

Function at 0x426e06
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00420e12
xor ebx, ebx
cmp dword [0x55af28], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x426edb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x426e46
xor eax, eax
jmp 0x426f9f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x426e3f
push eax
call fcn.00420daf
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x55af28], eax
call esi
push eax
call fcn.00420daf
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x55af2c], eax
call esi
push eax
call fcn.00420daf
mov dword [0x55af30], eax
lea eax, [ebp - 8]
push eax
call fcn.0041cbef
test eax, eax
pop ecx
pop ecx
je 0x426ea9
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004192be
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x426edb
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00420daf
cmp eax, ebx
pop ecx
mov dword [0x55af38], eax
je 0x426edb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00420daf
pop ecx
mov dword [0x55af34], eax
mov eax, dword [0x55af34]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x426f54
cmp dword [0x55af38], esi
je 0x426f54
push eax
call fcn.00420e1b
pop ecx
call eax
cmp eax, ebx
je 0x426f21
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x55af38]
call fcn.00420e1b
pop ecx
call eax
test eax, eax
je 0x426f21
test byte [ebp - 0x18], 1
jne 0x426f54
lea eax, [ebp - 0xc]
push eax
call fcn.0041cc26
test eax, eax
pop ecx
je 0x426f3c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004192be
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x426f4b
or dword [ebp + 0x10], 0x200000
jmp 0x426f85
or dword [ebp + 0x10], 0x40000
jmp 0x426f85
mov eax, dword [0x55af2c]
cmp eax, esi
je 0x426f85
push eax
call fcn.00420e1b
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x426f85
mov eax, dword [0x55af30]
cmp eax, esi
je 0x426f85
push dword [ebp - 4]
push eax
call fcn.00420e1b
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x55af28]
call fcn.00420e1b
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4333f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
cmp dword [ebp + 8], 0
jne 0x433416
push 0
push 0
push 0
push 2
mov ecx, dword [ebp - 0x24]
call fcn.00430e20
xor al, al
jmp 0x43359d
mov ecx, dword [ebp - 0x24]
call fcn.00432ae0
mov ecx, dword [ebp - 0x24]
add ecx, 4
call fcn.00414c20
mov dword [ebp - 8], 0
push 2
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00416afd
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call fcn.004169d3
add esp, 4
mov dword [ebp - 8], eax
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.00416afd
add esp, 0xc
cmp dword [ebp - 8], 0
jg 0x43347c
push 0
push 0
push 0
push 0xc
mov ecx, dword [ebp - 0x24]
call fcn.00430e20
xor al, al
jmp 0x43359d
mov eax, dword [ebp - 8]
add eax, 1
push eax
call fcn.00418aea
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov byte [edx], 0
mov eax, dword [ebp + 8]
push eax
push 1
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041651a
add esp, 0x10
cmp eax, 1
je 0x4334de
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0041895f
add esp, 4
push 0
push 0
push 0
push 2
mov ecx, dword [ebp - 0x24]
call fcn.00430e20
xor al, al
jmp 0x43359d
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x12], 0xd
mov byte [ebp - 0x11], 0xa
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 8]
mov byte [ecx], 0
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
test eax, eax
je 0x43355c
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
cmp edx, 0xd
jne 0x43353e
mov eax, dword [ebp - 0xc]
mov byte [eax], 0xa
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
cmp ecx, 0xa
jne 0x43353c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x43355a
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x4334fb
mov edx, dword [ebp - 0xc]
mov byte [edx], 0
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0041895f
add esp, 4
mov ecx, dword [ebp - 0x24]
call fcn.00415400
movzx eax, al
neg eax
sbb eax, eax
add eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x434990
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4349b9
or eax, 0xffffffff
jmp 0x4349d5
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret

Function at 0x4349e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x531304]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x138], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], 0x128
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
call sub.KERNEL32.dll_Process32First
mov edx, dword [ebp + 8]
push edx
call fcn.00415e20
add esp, 4
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00416e3e
add esp, 0xc
test eax, eax
jne 0x434a66
mov edx, dword [ebp - 0x128]
push edx
call fcn.00434990
add esp, 4
mov dword [ebp - 0x138], 1
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x434a29
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004158f4
mov esp, ebp
pop ebp
ret
Function at 0x434aa0
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x531304]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x434ac6
jmp 0x434c91
mov byte [ebp - 0x250], 0
push 0x103
push 0
lea ecx, [ebp - 0x24f]
push ecx
call fcn.00415fc0
add esp, 0xc
mov byte [ebp - 0x460], 0
push 0x103
push 0
lea edx, [ebp - 0x45f]
push edx
call fcn.00415fc0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x104
lea ecx, [ebp - 0x250]
push ecx
call fcn.004188fa
add esp, 0xc
push str..
push 0x104
lea edx, [ebp - 0x250]
push edx
call fcn.004189df
add esp, 0xc
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x250]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x464], 0xffffffff
je 0x434c91
mov edx, dword [ebp - 0x148]
and edx, 0x10
je 0x434c68
movsx eax, byte [ebp - 0x11c]
cmp eax, 0x2e
je 0x434c68
push 0x104
push 0
lea ecx, [ebp - 0x460]
push ecx
call fcn.00415fc0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x104
lea eax, [ebp - 0x460]
push eax
call fcn.004188fa
add esp, 0xc
push 0x5142bc
push 0x104
lea ecx, [ebp - 0x460]
push ecx
call fcn.004189df
add esp, 0xc
lea edx, [ebp - 0x11c]
push edx
push 0x104
lea eax, [ebp - 0x460]
push eax
call fcn.004189df
add esp, 0xc
push 0x5142c0
push 0x104
lea ecx, [ebp - 0x460]
push ecx
call fcn.004189df
add esp, 0xc
mov edx, dword [ebp + 0x10]
push edx
push 0x104
lea eax, [ebp - 0x460]
push eax
call fcn.004189df
add esp, 0xc
lea ecx, [ebp - 0x460]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x434c1d
jmp 0x434c68
push 0x104
push 0
lea edx, [ebp - 0x358]
push edx
call fcn.00415fc0
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
call fcn.00415e20
add esp, 4
push eax
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x358]
push edx
call fcn.00415910
add esp, 0xc
lea eax, [ebp - 0x358]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00413c40
lea ecx, [ebp - 0x148]
push ecx
mov edx, dword [ebp - 0x464]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x434b58
mov eax, dword [ebp - 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004158f4
mov esp, ebp
pop ebp
ret
Function at 0x434ca0
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x531304]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x434cc6
jmp 0x434e9e
mov byte [ebp - 0x250], 0
push 0x103
push 0
lea ecx, [ebp - 0x24f]
push ecx
call fcn.00415fc0
add esp, 0xc
mov byte [ebp - 0x460], 0
push 0x103
push 0
lea edx, [ebp - 0x45f]
push edx
call fcn.00415fc0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x104
lea ecx, [ebp - 0x250]
push ecx
call fcn.004188fa
add esp, 0xc
push 0x5142a4
push 0x104
lea edx, [ebp - 0x250]
push edx
call fcn.004189df
add esp, 0xc
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x250]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x464], 0xffffffff
je 0x434e9e
mov edx, dword [ebp - 0x148]
and edx, 0x10
je 0x434e75
movsx eax, byte [ebp - 0x11c]
cmp eax, 0x2e
je 0x434e75
push 0x104
push 0
lea ecx, [ebp - 0x460]
push ecx
call fcn.00415fc0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x104
lea eax, [ebp - 0x460]
push eax
call fcn.004188fa
add esp, 0xc
push 0x5142ac
push 0x104
lea ecx, [ebp - 0x460]
push ecx
call fcn.004189df
add esp, 0xc
lea edx, [ebp - 0x11c]
push edx
push 0x104
lea eax, [ebp - 0x460]
push eax
call fcn.004189df
add esp, 0xc
push 0x5142b0
push 0x104
lea ecx, [ebp - 0x460]
push ecx
call fcn.004189df
add esp, 0xc
mov edx, dword [ebp + 0x10]
push edx
push 0x104
lea eax, [ebp - 0x460]
push eax
call fcn.004189df
add esp, 0xc
lea ecx, [ebp - 0x460]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x434e1d
jmp 0x434e75
lea edx, [ebp - 0x460]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push 0x104
push 0
lea eax, [ebp - 0x358]
push eax
call fcn.00415fc0
add esp, 0xc
lea ecx, [ebp - 0x460]
push ecx
call fcn.00415e20
add esp, 4
push eax
lea edx, [ebp - 0x460]
push edx
lea eax, [ebp - 0x358]
push eax
call fcn.00415910
add esp, 0xc
lea ecx, [ebp - 0x358]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00413c40
lea edx, [ebp - 0x148]
push edx
mov eax, dword [ebp - 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x434d58
mov ecx, dword [ebp - 0x464]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004158f4
mov esp, ebp
pop ebp
ret