joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d81f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
push ebx
push ebx
push 0x1c
mov edx, dword [edi + 0x148]
pop ecx
call fcn.00411da6
mov eax, dword [edi + 0x148]
pop ecx
pop ecx
push 0x50
push ebx
push ebx
push 1
add eax, 0x1224
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
mov ebx, eax
test ebx, ebx
jne 0x41d870
push 0x69
push dword [edi + 0xf0]
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebx, eax
push 0x1e8
call fcn.0043d6b0
mov esi, eax
xor eax, eax
push 0xfe
mov dword [esi], 0x1e8
mov ecx, dword [edi + 0xf4]
and dword [esi + 8], 0
mov dword [esi + 0x14], ebx
xor ebx, ebx
mov dword [esi + 4], ecx
mov dword [esi + 0xc], 7
mov dword [esi + 0x10], 0x406
mov word [ebp - 0x100], ax
lea eax, [ebp - 0xfe]
push ebx
push eax
call fcn.00443c10
push 0x23
mov edx, 0x80
lea ecx, [ebp - 0x100]
call fcn.0040e652
lea eax, [ebp - 0x100]
push eax
lea eax, [esi + 0x18]
push 0x481d54
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x20
mov dword [edi + 0x100], esi
push esi
push ebx
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 6
push dword [edi + 0xf4]
call esi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [edi + 0xf4]
mov byte [edi + 0x142], 1
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41da3a
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, ecx
push 5
push dword [edi + 0xf4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [edi + 0xf4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [edi + 0x100]
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov byte [edi + 0x142], 0
pop edi
ret
Function at 0x41dcf3
Capabilities:
Access peb ldr_data
Get kernel32 base address
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47480e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x268
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0040e0f6
mov esi, eax
xor eax, eax
push 0x206
push eax
mov word [esp + 0x70], ax
lea eax, [esp + 0x72]
push eax
call fcn.00443c10
add esp, 0xc
mov eax, 0x480b28
cmp dword [esi], 0
cmovne eax, dword [esi]
push eax
lea eax, [esp + 0x6c]
push 0x483e28
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
and dword [esp + 0x3c], 0
lea edi, [esp + 0x40]
add esp, 0xc
xor eax, eax
push 9
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0xf0]
push 0x69
push eax
mov dword [esp + 0x3c], 0x419e6f
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
xor edi, edi
mov dword [esp + 0x48], eax
push edi
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [esp + 0x48], eax
mov esi, 0x483f18
lea eax, [esp + 0x30]
mov dword [esp + 0x54], esi
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
lea eax, [esp + 0x58]
xorps xmm0, xmm0
push eax
push dword [ebx + 0xf4]
movdqu xmmword [esp + 0x60], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
movdqa xmm0, xmmword [0x486450]
lea eax, [esp + 0xc]
push edi
push edi
push eax
movdqu xmmword [esp + 0x18], xmm0
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
push ebx
push dword [ebx + 0xf0]
push edi
push dword [ebx + 0xf4]
push eax
push ecx
push edi
push edi
push 0xc80000
lea eax, [esp + 0x8c]
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x4c
mov dword [ebx + 0x120], eax
call fcn.0043d6b0
pop ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x27c], edi
test eax, eax
je 0x41de4d
push ecx
push ebx
lea ecx, [esp + 0x14]
push ecx
push dword [ebx + 0x120]
mov ecx, eax
call fcn.0041575d
jmp 0x41de4f
mov eax, edi
or dword [esp + 0x27c], 0xffffffff
mov ecx, eax
mov dword [ebx + 0x12c], eax
call fcn.0040ba54
mov ecx, dword [ebx + 0x12c]
push edi
push 1
mov eax, dword [ecx]
call dword [eax + 0x30]
push dword [ebp + 0xc]
mov ecx, dword [ebx + 0x12c]
push dword [ebp + 8]
call fcn.0040bb4a
mov ecx, dword [ebx + 0x12c]
call fcn.0041591b
lea eax, [esp + 0x1c]
xorps xmm0, xmm0
push eax
push dword [ebx + 0xf4]
movdqu xmmword [esp + 0x24], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x20]
push 1
push edi
push edi
add eax, 0x14
push eax
mov eax, dword [esp + 0x2c]
add eax, 0x14
push eax
push 0xffffffffffffffff
push dword [ebx + 0x120]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [ebx + 0x120]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x274]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41e9d3
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x474837
call fcn.00473e04
sub esp, 0x134
push ebx
push esi
push edi
push dword [ebp + 8]
mov dword [ebp - 0x10], ecx
xor ebx, ebx
lea ecx, [ebp - 0x1c]
call fcn.0040dacf
and dword [ebp - 4], ebx
mov ecx, eax
call fcn.0040db8d
mov ecx, eax
call fcn.00420d7a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.0040db31
test esi, esi
je 0x41eb4b
and dword [ebp - 0x20], 0
mov edi, 0x483fbc
and dword [ebp - 0x14], 0
inc ebx
mov dword [ebp - 0x30], edi
xor esi, esi
mov dword [ebp - 0x2c], 0x483fc8
mov dword [ebp - 0x28], 0x483fd8
mov dword [ebp - 0x24], 0x483fe8
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x148]
lea eax, [ecx + 0x1025c]
add eax, esi
push eax
lea eax, [ecx + 0x10258]
add eax, esi
push eax
lea eax, [ecx + 0xd851]
push eax
push edi
call fcn.004121bc
push 0x103
lea eax, [ebp - 0x13f]
mov byte [ebp - 0x140], 0
push 0
push eax
call fcn.00443c10
add esp, 0x1c
lea eax, [ebp - 0x140]
push edi
push dword [ebp + 8]
push 0x482d24
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
xor eax, eax
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x41eafc
mov ecx, dword [edi + 0x148]
lea edx, [ebp - 0x34]
push 0
push edx
push dword [ecx + esi + 0x1025c]
push dword [ecx + esi + 0x10258]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x18]
neg eax
sbb eax, eax
and ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esi + 0x10364]
add edx, dword [edi + 0x148]
lea ecx, [ebp - 0x140]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x41eb0e
mov eax, dword [edi + 0x148]
push dword [esi + eax + 0x10258]
add eax, 0xd851
push eax
call fcn.004121f1
mov eax, dword [ebp - 0x14]
add esi, 0x210
inc eax
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
mov edi, dword [ebp + eax*4 - 0x30]
test edi, edi
jne 0x41ea45
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41f093
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov esi, 0x4830dc
mov dword [ebp - 4], edi
push esi
mov dword [edi], ebx
mov dword [edi + 4], ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x41f1f0
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x41f1f0
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push ebx
push 3
push ebx
push 2
push ebx
push 0x484088
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41f19b
xor eax, eax
push eax
push 0x4000000
push eax
push eax
push eax
push eax
push 0x484090
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41f1f0
push 0
lea eax, [ebp - 0x58]
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x2c], eax
xor ecx, ecx
lea eax, [ebp - 0xc]
mov dword [ebp - 0x30], 3
push eax
push 0x1c
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28], 0x860
push eax
push 0x1c
inc ecx
mov dword [ebp - 0x24], 0x440d
push eax
push ecx
push ebx
mov dword [ebp - 0x18], ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x41f1e9
test byte [ebp - 0x18], 1
jne 0x41f1e9
and dword [edi], 0
and dword [edi + 4], 0
movzx edi, word [ebp - 0x51]
movzx edx, word [ebp - 0x44]
mov ecx, edi
mov esi, dword [ebp - 8]
mov eax, edx
not eax
shl ecx, 2
xor ecx, eax
not edi
mov eax, dword [ebp - 4]
xor ecx, esi
not esi
mov dword [eax], ecx
mov eax, edx
mov ecx, dword [ebp - 4]
shl eax, 2
xor eax, edi
xor eax, esi
mov dword [ecx + 4], eax
jmp 0x41f1e9
xor ecx, ecx
lea eax, [ebp - 4]
push ecx
push eax
push 0x18
lea eax, [ebp - 0x30]
push eax
push ecx
push ecx
push 0x70000
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x41f1e9
cmp dword [ebp - 4], 0
jbe 0x41f1e9
mov esi, dword [ebp - 0x1c]
mov ecx, esi
mov edx, dword [ebp - 0x20]
not esi
and dword [edi], 0
mov eax, edx
shl ecx, 2
not eax
xor ecx, eax
shl edx, 2
mov eax, dword [ebp - 8]
xor edx, esi
xor ecx, eax
not eax
xor edx, eax
mov dword [edi], ecx
mov dword [edi + 4], edx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41fad5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x114]
cmp eax, 0xffffffff
je 0x41fb0e
push ebx
xor ebx, ebx
lea ecx, [ebp - 4]
push ebx
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41fb09
cmp dword [ebp - 4], ebx
je 0x41fb09
inc ebx
mov al, bl
pop ebx
jmp 0x41fb38
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 0x118]
jb 0x41fb1d
xor al, al
jmp 0x41fb38
mov eax, dword [edi]
push esi
mov esi, dword [ebp + 0xc]
add eax, ecx
push esi
push eax
push dword [ebp + 8]
call fcn.00443520
add esp, 0xc
mov al, 1
add dword [edi + 4], esi
pop esi
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x41fde0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov eax, 0x474849
call fcn.00473e04
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push esi
push 0x47f554
push 1
push ebx
push 0x47f624
mov dword [esi], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x41fe12
xor al, al
jmp 0x41fea2
push edi
lea eax, [esi + 0x10c]
lea edi, [esi + 4]
push eax
lea ecx, [ebp - 0x10]
mov dword [edi], ebx
call fcn.0041fcbb
mov dword [ebp - 4], ebx
mov edx, dword [eax]
test edx, edx
je 0x41fe34
mov edx, dword [edx]
jmp 0x41fe36
mov edx, ebx
mov eax, dword [esi]
push edi
push ebx
push ebx
mov ecx, dword [eax]
push ebx
push ebx
push ebx
push ebx
push edx
push eax
call dword [ecx + 0xc]
or dword [ebp - 4], 0xffffffff
mov ebx, eax
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x41fe5f
call fcn.0041fd3b
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x41fe61
xor eax, eax
test ebx, ebx
jns 0x41fe6f
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x41fe9b
push eax
push eax
push 3
push 3
push eax
push eax
push 0xa
push dword [edi]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x41fe9f
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x41fea1
mov al, 1
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x42001f
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x64
push esi
mov edi, ecx
mov dword [ebp - 4], esi
mov ebx, esi
call dword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
test eax, eax
jne 0x420052
mov eax, dword [ebp - 4]
push eax
mov esi, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
jmp 0x42005d
push 0x4841ac
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [edi + 0x10c]
cmp esi, 6
jae 0x420080
mov ecx, 0x4841d0
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x42006f
jmp 0x420096
mov ecx, 0x484200
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x420087
push ebx
push esi
lea eax, [edi + 8]
push 0x48422c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42022d
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
and dword [eax], 0
push edi
push ecx
mov dword [ebp - 4], edx
mov byte [ebx], 0
call dword [sym.imp.WSOCK32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x4202ad
cmp word [esi + 8], 2
jne 0x42028f
push 4
pop eax
cmp word [esi + 0xa], ax
jne 0x42028f
mov edi, dword [esi + 0xc]
jmp 0x420289
push dword [eax]
mov edx, dword [ebp + 8]
push dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
call fcn.004201c4
mov ecx, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
test ecx, ecx
je 0x4202a8
lea eax, [ecx + 0x1c]
add edi, 4
mov dword [ebp + 0x14], eax
mov eax, dword [edi]
test eax, eax
jne 0x420265
push 0x400
push dword [esi]
push 0x401
push ebx
call fcn.004409a0
add esp, 0x10
xor eax, eax
jmp 0x4202c5
push 8
pop eax
jmp 0x4202c5
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov ecx, 0x2af9
sub eax, ecx
je 0x4202c3
dec eax
je 0x4202d5
dec eax
je 0x4202ce
dec eax
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, 0x2afb
jmp 0x4202c5
mov eax, 0x2afa
jmp 0x4202c5

Function at 0x4208cb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
cmp dword [0x4af9b4], 0
push ebx
push esi
push edi
mov dword [ebp - 0x18], 0x484248
mov dword [ebp - 0x14], 0x420443
mov dword [ebp - 0x10], 0x484254
mov dword [ebp - 0xc], 0x4206ff
mov dword [ebp - 8], 0x484260
mov dword [ebp - 4], fcn.00420405
jne 0x420a2a
push 0x104
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x420a20
lea eax, [ebp - 0x230]
mov ebx, 0x10c
push eax
lea eax, [ebp - 0x128]
push ebx
push eax
call fcn.0043e29a
push 0x484270
lea eax, [ebp - 0x128]
push ebx
push eax
call fcn.0043ee0f
add esp, 0x18
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, eax
xor edi, edi
test esi, esi
je 0x42098a
push 0x484248
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x420986
push esi
call ebx
mov esi, edi
test esi, esi
jne 0x4209e4
lea eax, [ebp - 0x230]
mov esi, 0x10c
push eax
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.0043e29a
push 0x484278
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.0043ee0f
add esp, 0x18
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x420a20
push 0x484248
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4209e0
push esi
call ebx
mov esi, edi
test esi, esi
je 0x420a20
mov ebx, edi
push dword [ebp + ebx*8 - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp + ebx*8 - 0x14], eax
test eax, eax
je 0x420a01
inc ebx
cmp ebx, 3
jl 0x4209e6
jmp 0x420a0a
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, edi
test esi, esi
je 0x420a20
mov eax, dword [ebp + edi - 0x14]
mov dword [edi + 0x4a73c4], eax
add edi, 8
cmp edi, 0x18
jl 0x420a0e
mov dword [0x4af9b4], 1
mov eax, dword [0x4a73c4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420a6c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x514
lea eax, [ebp - 0x114]
push esi
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
test esi, esi
jne 0x420aab
mov eax, 0x4af5b0
jmp 0x420b3b
push ebx
push edi
push esi
call fcn.0043d6b0
pop ecx
mov edi, eax
lea eax, [ebp - 0x114]
push edi
push esi
push dword [ebp - 0x10]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
and dword [ebp - 4], 0
lea eax, [ebp - 8]
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueA]
push eax
lea eax, [ebp - 4]
push eax
push 0x484280
push edi
call esi
mov ecx, dword [ebp - 4]
push 0x481da0
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x514]
push 0x48429c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x514]
push eax
push edi
call esi
mov edx, dword [ebp - 0xc]
mov ebx, 0x4af5b0
mov esi, ebx
sub esi, edx
mov cl, byte [edx]
mov byte [esi + edx], cl
inc edx
test cl, cl
jne 0x420b26
push edi
call fcn.0043d685
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x420b40
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x186c
call fcn.00443be0
push ebx
push esi
push edi
push 0x2e
pop eax
push eax
mov esi, ecx
mov dword [ebp - 4], eax
call fcn.0043d6b0
pop ecx
push dword [ebp - 4]
mov ebx, eax
push 0
push ebx
call fcn.00443c10
add esp, 0xc
mov byte [ebp - 0x468], 0
mov edi, 0x3ff
lea eax, [ebp - 0x467]
push edi
push 0
push eax
call fcn.00443c10
add esp, 0xc
mov byte [ebp - 0xc68], 0
lea eax, [ebp - 0xc67]
push edi
push 0
push eax
call fcn.00443c10
add esp, 0xc
mov byte [ebp - 0x1468], 0
lea eax, [ebp - 0x1467]
push edi
push 0
push eax
call fcn.00443c10
add esp, 0xc
mov byte [ebp - 0x868], 0
lea eax, [ebp - 0x867]
push edi
push 0
push eax
call fcn.00443c10
add esp, 0xc
mov byte [ebp - 0x1068], 0
lea eax, [ebp - 0x1067]
push edi
push 0
push eax
call fcn.00443c10
add esp, 0xc
mov byte [ebp - 0x1868], 0
lea eax, [ebp - 0x1867]
push edi
push 0
push eax
call fcn.00443c10
lea eax, [ebp - 0x468]
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x10], eax
add esp, 0xc
lea eax, [ebp - 0xc68]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x1468]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x868]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x1068]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1868]
mov dword [ebp - 0x28], eax
lea eax, [edi + 1]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x420c61
lea eax, [ebp - 0x44]
sub ecx, edx
push eax
push 0
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
and dword [ebp - 8], 0
lea edi, [ebp - 0x64]
movdqa xmm0, xmmword [0x486420]
xor eax, eax
mov esi, dword [ebp - 0x34]
push 8
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [0x4af9b0]
movdqu xmmword [ebp - 0x64], xmm0
test eax, eax
jne 0x420ca9
call fcn.004208cb
mov dword [0x4af9b0], eax
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push 0
push esi
call eax
mov esi, eax
push esi
call dword [sym.imp.WSOCK32.dll_WSASetLastError]
test esi, esi
jne 0x420d1c
mov esi, dword [ebp - 8]
jmp 0x420d18
mov eax, dword [esi + 4]
sub eax, 0
je 0x420d12
dec eax
dec eax
je 0x420cf6
sub eax, 0x15
jne 0x420d15
mov eax, dword [esi + 0x18]
lea ecx, [ebp - 4]
push ecx
push ebx
push 0
mov dword [ebp - 4], 0x2e
push dword [esi + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_WSAAddressToStringA]
jmp 0x420d15
mov eax, dword [esi + 0x18]
push dword [eax + 4]
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x420d06
jmp 0x420d15
mov byte [ebx], 0
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x420cc8
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420d7a
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
lea edx, [ebp - 0x108]
sub edx, ecx
push esi
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x420d8c
xor esi, esi
cmp byte [ebp - 0x108], al
je 0x420dd5
cmp byte [ebp + esi - 0x108], 0x5c
jne 0x420dca
cmp esi, 2
jle 0x420dca
lea ecx, [ebp - 0x108]
mov byte [ebp + esi - 0x108], 0
call fcn.0040a69c
mov byte [ebp + esi - 0x108], 0x5c
inc esi
cmp byte [ebp + esi - 0x108], 0
jne 0x420da0
lea ecx, [ebp - 0x108]
call fcn.0040a69c
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
neg eax
pop esi
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret

Function at 0x420e1b
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
push ebx
push esi
push edi
push 0x103
lea eax, [ebp - 0x34f]
mov byte [ebp - 0x350], 0
push 0
push eax
mov bl, dl
mov esi, ecx
call fcn.00443c10
add esp, 0xc
lea eax, [ebp - 0x350]
push esi
push 0x4842d8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
and dword [ebp - 0x140], 0
lea eax, [ebp - 0x13c]
add esp, 0xc
push 0x13c
push 0
push eax
call fcn.00443c10
add esp, 0xc
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x350]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
jmp 0x420f65
cmp byte [ebp - 0x114], 0x2e
je 0x420f49
test byte [ebp - 0x140], 0x10
je 0x420f02
test bl, bl
je 0x420f02
push 0x103
lea eax, [ebp - 0x247]
mov byte [ebp - 0x248], 0
push 0
push eax
call fcn.00443c10
lea edx, [ebp - 0x248]
add esp, 0xc
mov ecx, esi
sub edx, esi
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x420ed7
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov dl, bl
lea ecx, [ebp - 0x248]
call fcn.00420e1b
push 0x103
lea eax, [ebp - 0x457]
mov byte [ebp - 0x458], 0
push 0
push eax
call fcn.00443c10
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push esi
lea eax, [ebp - 0x458]
push 0x482748
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x140]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x420f65
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
or edi, 0xffffffff
cmp edi, 0xffffffff
jne 0x420e96
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret