joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40119f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 3
push 0x40c40c
mov eax, dword [0x40ddd8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov byte [0x40c40e], 0
push 0xa
push 0
push 0x40c40c
call fcn.004034a0
add esp, 0xc
mov dword [0x40c61c], eax
cmp dword [0x40c620], 0
jne 0x401259
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x41de60], eax
push 0x41de64
push 0x41dea4
call dword [0x41dea8]
mov dword [0x41deac], eax
cmp dword [0x41deac], 0
je 0x401217
push 0x40a672
call section..text
jmp 0x401348
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x41deb0], eax
push 0x40a65b
mov eax, dword [0x41deb0]
sub eax, dword [0x41de60]
push eax
push str.__4dms__s
push 0x40c40c
call fcn.00403460
add esp, 0x10
push 0x40c40c
call section..text
mov dword [0x40c620], 1
push 2
mov eax, dword [0x40c61c]
lea edx, [eax*4 + 0x41de64]
push edx
movsx eax, al
push eax
call dword [0x41deb4]
mov dword [0x41deac], eax
cmp dword [0x41deac], 0
je 0x40128f
push str.SAM
call section..text
jmp 0x401348
push 0x40c208
push 0x40c408
mov eax, dword [0x40c61c]
lea edx, [eax*4 + 0x41de64]
push edx
movsx eax, al
push eax
call dword [0x41deb8]
mov dword [0x41deac], eax
cmp dword [0x41deac], 0
je 0x4012cd
push str.SAM
call section..text
jmp 0x401348
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x41deb0], eax
push 0x40a63d
mov eax, dword [0x41deb0]
sub eax, dword [0x41de60]
push eax
push str.__4dms__s
push 0x40c40c
call fcn.00403460
add esp, 0x10
mov dword [0x41debc], 0
jmp 0x401331
mov eax, dword [0x41debc]
movzx eax, byte [eax + 0x40c208]
push eax
push 0x40c40c
push str._s_02X
push 0x40c40c
call fcn.00403460
add esp, 0x10
inc dword [0x41debc]
mov eax, dword [0x40c408]
cmp dword [0x41debc], eax
jl 0x401307
push 0x40c40c
call section..text
pop ebp
ret
Function at 0x401408
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 3
push 0x40c40c
mov eax, dword [0x40ddc8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov byte [0x40c40e], 0
push 0xa
push 0
push 0x40c40c
call fcn.004034a0
add esp, 0xc
mov dword [0x41dec8], eax
push 3
push 0x40c40c
mov eax, dword [0x40ddc0]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov byte [0x40c40e], 0
push 0xa
push 0
push 0x40c40c
call fcn.004034a0
add esp, 0xc
mov dword [0x41decc], eax
push 3
push 0x40c40c
mov eax, dword [0x40ddb8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov byte [0x40c40e], 0
push 0xa
push 0
push 0x40c40c
call fcn.004034a0
add esp, 0xc
mov dword [0x41ded0], eax
push 3
push 0x40c40c
mov eax, dword [0x40ddb0]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov byte [0x40c40e], 0
push 0xa
push 0
push 0x40c40c
call fcn.004034a0
add esp, 0xc
mov dword [0x41ded4], eax
push 3
push 0x40c40c
mov eax, dword [0x40dda8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov byte [0x40c40e], 0
push 0xa
push 0
push 0x40c40c
call fcn.004034a0
add esp, 0xc
mov dword [0x41ded8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x41de60], eax
mov eax, dword [0x41ded8]
push eax
mov eax, dword [0x41ded4]
push eax
mov eax, dword [0x41ded0]
push eax
mov eax, dword [0x41decc]
push eax
mov eax, dword [0x41dec8]
push eax
push 0x41dec0
mov eax, dword [0x40c61c]
lea edx, [eax*4 + 0x41de64]
push edx
movsx eax, al
push eax
mov eax, dword [0x40c618]
lea edx, [eax*4 + 0x41de64]
push edx
movsx eax, al
push eax
call dword [0x41dedc]
mov dword [0x41deac], eax
cmp dword [0x41deac], 0
je 0x40156e
push 0x40a615
call section..text
jmp 0x4015a6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x41deb0], eax
push 0x40a60a
mov eax, dword [0x41deb0]
sub eax, dword [0x41de60]
push eax
push str.__4dms__s
push 0x40c40c
call fcn.00403460
add esp, 0x10
push 0x40c40c
call section..text
pop ebp
ret
Function at 0x4015a8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 3
push 0x40c40c
mov eax, dword [0x40ddc8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov byte [0x40c40e], 0
push 0xa
push 0
push 0x40c40c
call fcn.004034a0
add esp, 0xc
mov dword [0x41dec8], eax
push 3
push 0x40c40c
mov eax, dword [0x40dda8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov byte [0x40c40e], 0
push 0xa
push 0
push 0x40c40c
call fcn.004034a0
add esp, 0xc
mov dword [0x41ded8], eax
push 3
push 0x40c40c
mov eax, dword [0x40dd9c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov byte [0x40c40e], 0
push 0xa
push 0
push 0x40c40c
call fcn.004034a0
add esp, 0xc
mov dword [0x41dee0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x41de60], eax
push 0x41dee4
mov eax, dword [0x41dee0]
push eax
mov eax, dword [0x41ded8]
push eax
mov eax, dword [0x41dec8]
push eax
mov eax, dword [0x40c61c]
lea edx, [eax*4 + 0x41de64]
push edx
movsx eax, al
push eax
mov eax, dword [0x40c618]
lea edx, [eax*4 + 0x41de64]
push edx
movsx eax, al
push eax
call dword [0x41def4]
mov dword [0x41deac], eax
cmp dword [0x41deac], 0
je 0x4016a2
push 0x40a5ff
call section..text
jmp 0x40171d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x41deb0], eax
mov eax, dword [0x41dee0]
push eax
push 0x40a5e2
mov eax, dword [0x41deb0]
sub eax, dword [0x41de60]
push eax
push str.__4dms__s___02d:
push 0x40c40c
call fcn.00403460
add esp, 0x14
mov dword [0x41debc], 0
mov eax, dword [0x41debc]
movzx eax, byte [eax + 0x41dee4]
push eax
push 0x40c40c
push str._s_02X
push 0x40c40c
call fcn.00403460
add esp, 0x10
inc dword [0x41debc]
cmp dword [0x41debc], 0x10
jl 0x4016e0
push 0x40c40c
call section..text
pop ebp
ret
Function at 0x40171f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push 3
push 0x40c40c
mov eax, dword [0x40ddc8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov byte [0x40c40e], 0
push 0xa
push 0
push 0x40c40c
call fcn.004034a0
add esp, 0xc
mov dword [0x41dec8], eax
push 3
push 0x40c40c
mov eax, dword [0x40dda8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov byte [0x40c40e], 0
push 0xa
push 0
push 0x40c40c
call fcn.004034a0
add esp, 0xc
mov dword [0x41ded8], eax
push 3
push 0x40c40c
mov eax, dword [0x40dd9c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov byte [0x40c40e], 0
push 0xa
push 0
push 0x40c40c
call fcn.004034a0
add esp, 0xc
mov dword [0x41dee0], eax
push 0x21
push 0x40c40c
mov eax, dword [0x40dd90]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [0x41debc], 0
mov eax, dword [0x41debc]
mov dword [ebp - 4], eax
lea edx, [eax + eax + 0x40c40c]
push edx
call fcn.004010ac
mov edx, dword [ebp - 4]
mov byte [edx + 0x41dee4], al
inc dword [0x41debc]
cmp dword [0x41debc], 0x10
jl 0x4017d2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x41de60], eax
push 0x41dee4
mov eax, dword [0x41dee0]
push eax
mov eax, dword [0x41ded8]
push eax
mov eax, dword [0x41dec8]
push eax
mov eax, dword [0x40c61c]
lea edx, [eax*4 + 0x41de64]
push edx
movsx eax, al
push eax
mov eax, dword [0x40c618]
lea edx, [eax*4 + 0x41de64]
push edx
movsx eax, al
push eax
call dword [0x41def8]
mov dword [0x41deac], eax
cmp dword [0x41deac], 0
je 0x401866
push 0x40a5d7
call section..text
jmp 0x4018a4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x41deb0], eax
mov eax, dword [0x41dee0]
push eax
push 0x40a5bc
mov eax, dword [0x41deb0]
sub eax, dword [0x41de60]
push eax
push str.__4dms__s___02d
push 0x40c40c
call fcn.00403460
add esp, 0x14
push 0x40c40c
call section..text
mov esp, ebp
pop ebp
ret

Function at 0x4018a8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 3
push 0x40c40c
mov eax, dword [0x40ddb8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov byte [0x40c40e], 0
push 0xa
push 0
push 0x40c40c
call fcn.004034a0
add esp, 0xc
mov dword [0x41ded0], eax
push 3
push 0x40c40c
mov eax, dword [0x40ddb0]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov byte [0x40c40e], 0
push 0xa
push 0
push 0x40c40c
call fcn.004034a0
add esp, 0xc
mov dword [0x41ded4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x41de60], eax
mov eax, dword [0x41ded4]
push eax
mov eax, dword [0x41ded0]
push eax
push 0x41dec0
mov eax, dword [0x40c61c]
lea edx, [eax*4 + 0x41de64]
push edx
movsx eax, al
push eax
mov eax, dword [0x40c618]
lea edx, [eax*4 + 0x41de64]
push edx
movsx eax, al
push eax
call dword [0x41defc]
mov dword [0x41deac], eax
cmp dword [0x41deac], 0
je 0x40196c
push 0x40a5ad
call section..text
jmp 0x4019a4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x41deb0], eax
push 0x40a59e
mov eax, dword [0x41deb0]
sub eax, dword [0x41de60]
push eax
push str.__4dms__s
push 0x40c40c
call fcn.00403460
add esp, 0x10
push 0x40c40c
call section..text
pop ebp
ret
Function at 0x4019d2
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x40a580
call section..text
push 3
push 0x40c40c
mov eax, dword [0x40dd9c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov byte [0x40c40e], 0
push 0xa
push 0
push 0x40c40c
call fcn.004034a0
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
cmp eax, 8
jl 0x401a29
cmp eax, 0x1f
jle 0x401a2e
cmp eax, 0x28
jge 0x401a2e
jmp 0x401a65
mov eax, dword [ebp - 4]
push eax
push 0x40a57d
push 0x40c40c
call fcn.00403460
add esp, 0xc
push 0x40c40c
mov eax, dword [0x40dd9c]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
call fcn.004015a8
cmp dword [0x41deac], 0
je 0x401a65
jmp 0x401a6e
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x40
jl 0x401a17
mov eax, dword [ebp - 8]
push eax
push 0x40a57d
push 0x40c40c
call fcn.00403460
add esp, 0xc
push 0x40c40c
mov eax, dword [0x40dd9c]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov esp, ebp
pop ebp
ret
Function at 0x401df4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x40a505
call section..text
push 3
push 0x40c40c
mov eax, dword [0x40dd9c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov byte [0x40c40e], 0
push 0xa
push 0
push 0x40c40c
call fcn.004034a0
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
cmp eax, 0
jle 0x401e4e
cmp eax, 4
jl 0x401e63
mov eax, dword [ebp - 4]
cmp eax, 0x20
jle 0x401e9d
cmp eax, 0x24
jge 0x401e9d
mov eax, dword [ebp - 4]
push eax
push 0x40a57d
push 0x40c40c
call fcn.00403460
add esp, 0xc
push 0x40c40c
mov eax, dword [0x40dd9c]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
call fcn.004015a8
cmp dword [0x41deac], 0
je 0x401e9d
jmp 0x401ea6
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x40
jl 0x401e39
mov eax, dword [ebp - 8]
push eax
push 0x40a57d
push 0x40c40c
call fcn.00403460
add esp, 0xc
push 0x40c40c
mov eax, dword [0x40dd9c]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov esp, ebp
pop ebp
ret
Function at 0x40300d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push 0xc8d0d4
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0x402275
mov dword [ebp - 4], str.SHC1112_TOOL
mov dword [ebp - 8], 0
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
push 0x1e0
push 0x3c0
push 0x96
push 0x96
push 0xcf0000
push str.SHC1112
push str.SHC1112_TOOL
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x40dde4], eax
cmp dword [0x40dde4], 0
jne 0x4030ba
mov eax, 1
jmp 0x4030db
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [0x40dde4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x40dde4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 0
mov esp, ebp
pop ebp
ret 8

Function at 0x405440
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
cmp byte [esi], 0
jne 0x405472
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea esi, [ebp - 0x10c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push esi
call fcn.00405290
add esp, 0x14
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea eax, [edx + eax*4]
push eax
call fcn.00406980
pop ecx
mov ebx, eax
test ebx, ebx
jne 0x4054a5
push 1
call fcn.00404da0
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
lea eax, [ebx + eax*4]
push eax
push ebx
push esi
call fcn.00405290
add esp, 0x14
mov eax, dword [ebp - 4]
dec eax
mov dword [0x40cb98], eax
mov dword [0x40cb9c], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4054e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov dword [ebp - 8], eax
test eax, eax
jne 0x4054fe
mov eax, dword [0x40cc6c]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 8]
jmp 0x405523
mov edx, ebx
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x40550f
lea esi, [eax + 1]
cmp byte [ebx], 0x3d
je 0x405521
add dword [ebp - 4], esi
add ebx, esi
cmp byte [ebx], 0
jne 0x40550a
mov eax, dword [ebp - 4]
inc eax
push eax
call fcn.00406980
pop ecx
mov edi, eax
mov dword [0x40cba4], eax
cmp dword [0x40cba4], 0
jne 0x40554b
push 1
call fcn.00404da0
pop ecx
mov ebx, dword [ebp - 8]
jmp 0x40557a
mov edx, ebx
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x405555
lea esi, [eax + 1]
cmp byte [ebx], 0x3d
je 0x405578
mov ecx, edi
mov edx, ebx
push ecx
sub ecx, edx
mov al, byte [edx]
mov byte [ecx + edx], al
inc edx
test al, al
jne 0x40556b
pop eax
add edi, esi
add ebx, esi
cmp byte [ebx], 0
jne 0x405550
mov byte [edi], 0
mov eax, dword [0x40cc6c]
cmp eax, dword [ebp - 8]
je 0x405596
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406d00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
jne 0x406d27
xor eax, eax
jmp 0x406ee9
mov eax, dword [ebp + 8]
mov edx, eax
and edx, 0x1f
imul edx, edx, 0x24
sar eax, 5
mov eax, dword [eax*4 + 0x41df3c]
test byte [eax + edx + 4], 0x20
je 0x406d53
push 2
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00406bf0
add esp, 0xc
mov eax, dword [ebp + 8]
mov edx, eax
and edx, 0x1f
imul edx, edx, 0x24
sar eax, 5
mov eax, dword [eax*4 + 0x41df3c]
test byte [eax + edx + 4], 0x80
je 0x406e34
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
jmp 0x406e20
lea edi, [ebp - 0x411]
jmp 0x406da2
mov eax, esi
inc esi
mov bl, byte [eax]
cmp bl, 0xa
jne 0x406d9d
inc dword [ebp - 4]
mov eax, edi
inc edi
mov byte [eax], 0xd
mov eax, edi
inc edi
mov byte [eax], bl
lea eax, [ebp - 0x411]
mov edx, edi
sub edx, eax
cmp edx, 0x400
jge 0x406dc2
mov eax, dword [ebp + 0xc]
mov edx, esi
sub edx, eax
mov eax, edx
cmp eax, dword [ebp + 0x10]
jb 0x406d8a
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x411]
mov edx, edi
sub edx, eax
mov eax, edx
push eax
lea eax, [ebp - 0x411]
push eax
mov eax, dword [ebp + 8]
mov edx, eax
and edx, 0x1f
imul edx, edx, 0x24
sar eax, 5
mov eax, dword [eax*4 + 0x41df3c]
mov eax, dword [eax + edx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x406e15
mov eax, dword [ebp - 8]
add dword [ebp - 0xc], eax
lea edx, [ebp - 0x411]
mov ecx, edi
sub ecx, edx
cmp eax, ecx
jge 0x406e20
jmp 0x406e7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
jmp 0x406e7d
mov eax, dword [ebp + 0xc]
mov edx, esi
sub edx, eax
mov eax, edx
cmp eax, dword [ebp + 0x10]
jb 0x406d82
jmp 0x406e7d
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
mov edx, eax
and edx, 0x1f
imul edx, edx, 0x24
sar eax, 5
mov eax, dword [eax*4 + 0x41df3c]
mov eax, dword [eax + edx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x406e74
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
jmp 0x406e7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0
jne 0x406ee3
cmp dword [ebp - 0x10], 0
je 0x406eab
cmp dword [ebp - 0x10], 5
jne 0x406e9c
call fcn.00403ed0
mov dword [eax], 9
jmp 0x406ea6
mov eax, dword [ebp - 0x10]
push eax
call fcn.00403d70
pop ecx
or eax, 0xffffffff
jmp 0x406ee9
mov eax, dword [ebp + 8]
mov edx, eax
and edx, 0x1f
imul edx, edx, 0x24
sar eax, 5
mov eax, dword [eax*4 + 0x41df3c]
test byte [eax + edx + 4], 0x40
je 0x406ed3
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x1a
jne 0x406ed3
xor eax, eax
jmp 0x406ee9
call fcn.00403ed0
mov dword [eax], 0x1c
or eax, 0xffffffff
jmp 0x406ee9
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4092c0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00409870
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
push 1
push 0
push ebx
call fcn.00406bf0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x409304
push 2
push 0
push ebx
call fcn.00406bf0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40930c
or eax, 0xffffffff
jmp 0x409400
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x4093b1
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.004098a0
add esp, 8
mov dword [ebp - 0x10], eax
cmp esi, 0x1000
jb 0x409356
mov dword [ebp - 0x1014], 0x1000
jmp 0x40935e
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.00406d00
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x409398
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x409392
call fcn.00403ed0
mov dword [eax], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x4093a2
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x409342
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.004098a0
add esp, 8
jmp 0x4093ee
test esi, esi
jge 0x4093ee
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00406bf0
add esp, 0xc
push ebx
call fcn.004071f0
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x4093ee
call fcn.00403ed0
mov dword [eax], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00406bf0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x66d6a2
Capabilities:
Hash data with md5

Disassembly:
lea esp, [esp + 4]
mov dword [eax], 0
pushal
mov word [esp + 6], sp
jmp 0x66d68b

Function at 0x66f34d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.0066f3b3
or ecx, reloc.RASAPI32.dll_RasHangUpA
jmp 0x66ed9c
lea esp, [esp + 4]
jge 0x66ec39
jl 0x66f336

Function at 0x66f5f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov word [esp], di
jmp 0x66f837
lea esp, [esp + 4]
jle 0x66ec8c
jmp 0x66ec1a

Function at 0x75e588
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
mov dword [esp + 0x3c], edi
lea esp, [esp + 0x3c]
jmp 0x75e5f1
push dword [esp + 8]
push dword [esp + 0xa]
mov word [esp + 0x11], di
push dword [esp + 0x11]
lea esp, [esp + 1]
jmp 0x75e56f
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x75e5be
Function at 0x4113c0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax], 0x67452301
ret
Function at 0x417454
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0x41f0e0
push dword fs:[0]
mov dword fs:[0], esp
push 0xffffffffffffffd4
sub esp, 0x20
push ebx
mov ebx, ecx
push edi
mov edi, eax
push esi
mov dword [ebp - 0x2c], 0
sub esp, 4
mov dword [ebp + 8], edi
mov dword [ebp - 0x24], 0x461930
mov eax, edx
mov dword [edi], edx
mov esi, dword [ebp + 0x18]
call fcn.0041daf2
imul eax, esi
mov ecx, eax
sar ecx, 0x1f
and ecx, 3
add eax, ecx
sar eax, 2
mov dword [edi + 0x10], eax
mov eax, dword [edi]
call fcn.0041dae0
imul eax, esi
mov ecx, eax
mov dword [edi + 0x44], esi
sar ecx, 0x1f
and ecx, 3
add eax, ecx
sar eax, 2
mov dword [edi + 0x14], eax
mov eax, dword [edi + 0x14]
imul eax, dword [edi + 0x10]
mov dword [ebp - 0x14], eax
call fcn.0041f0d0
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x14]
call fcn.0041f0d0
mov dword [edi + 0x1c], eax
mov eax, 0xd8
call fcn.0041f0d0
mov ecx, eax
mov eax, edi
mov dword [eax + 0x24], ecx
mov dword [eax + 8], ebx
mov dword [ebp - 0x18], eax
mov eax, 0xc4
call fcn.0041f040
add esp, 4
mov ecx, ebx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x41752b
mov dword [ebp - 0x2c], 1
sub esp, 8
mov edx, ecx
call fcn.00412720
add esp, 8
mov dword [ebp - 0x2c], 0
sub esp, 8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], ecx
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0x24]
mov eax, dword [ebx + 4]
call fcn.00411fcd
xor edx, edx
mov eax, ebx
call fcn.004173c7
mov eax, ebx
add esp, 8
pop esi
mov dword [eax + 0x28], 0
mov dword [eax + 0x30], 0x400
pop edi
mov dword [eax + 0x2c], 4
mov dword [eax + 0x34], 0xa
pop ebx
mov dword [eax + 0x38], 0x40
mov dword [eax + 0x48], 0x4000
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0xc], ecx
add esp, 0x24
pop dword fs:[0]
mov esp, ebp
pop ebp
ret
Function at 0x41c360
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov dword [ebp + 0x10], ecx
mov ecx, dword [0x430030]
push edi
mov dword [ebp + 0xc], edx
xor edi, edi
mov dword [ebp - 8], 0
cmp dword [ecx + 0x2c], 0
je 0x41c397
cmp dword [ecx + 0x38], 0
je 0x41c38f
cmp dword [ecx + 0x3c], 0
jne 0x41c397
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, eax
call fcn.0041c665
mov eax, ebx
cmp dword [eax + 8], 0
je 0x41c400
cmp dword [eax + 0xc], 0
jne 0x41c400
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
je 0x41c400
mov ecx, dword [0x430030]
cmp dword [ecx + 0x2c], 0
je 0x41c3e0
lea eax, [ebp - 8]
mov edx, dword [ebp + 0x10]
push eax
push edx
mov edx, dword [ebp + 0xc]
push edx
mov edx, dword [ecx + 0x34]
push edx
call dword [ecx + 0x5c]
add esp, 0x10
mov ecx, eax
jmp 0x41c3fb
mov ebx, dword [0x430030]
push 0
mov edx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push edx
mov edx, dword [ebx + 8]
push edx
call sub.WSOCK32.dll_send
mov ecx, eax
mov edi, ecx
jmp 0x41c402
xor edi, edi
call fcn.0041c654
mov eax, dword [0x430030]
cmp dword [eax + 0x2c], 0
je 0x41c417
mov eax, dword [ebp - 8]
mov edi, eax
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41c420
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [0x430030]
push edi
push esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
cmp dword [ebx + 0x2c], 0
je 0x41c457
cmp dword [ebx + 0x38], 0
je 0x41c44e
cmp dword [ebx + 0x3c], 0
jne 0x41c457
pop esi
xor eax, eax
pop edi
pop ebx
add esp, 8
ret
cmp dword [eax + 8], 0
je 0x41c4b0
mov ebx, dword [eax]
cmp dword [ebx + 0x58], 0
je 0x41c4b0
mov ebx, dword [0x430030]
cmp dword [ebx + 0x2c], 0
je 0x41c490
xchg ecx, ebx
lea esi, [esp + 0xc]
mov edi, edx
push esi
mov esi, dword [ecx + 0x34]
push ebx
push edi
push esi
call dword [ecx + 0x58]
mov edx, edi
mov ecx, ebx
add esp, 0x10
mov esi, eax
jmp 0x41c4a4
mov eax, dword [0x430030]
push 0
push ecx
push edx
mov esi, dword [eax + 8]
push esi
call sub.WSOCK32.dll_recv
mov esi, eax
mov dword [esp + 0x10], esi
jmp 0x41c4b8
mov dword [esp + 0x10], 0
mov eax, dword [0x430030]
cmp dword [eax + 0x2c], 0
je 0x41c4cb
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
pop esi
pop edi
pop ebx
add esp, 8
ret