joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417661
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x47d010]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4176a4
cmp word [esi], dx
jne 0x4176a4
or byte [edi + eax + 0x28], 4
jmp 0x4176a9
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4177fc
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4177dc
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4176eb
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x417721
cmp eax, edx
jae 0x41772d
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4176c3
jmp 0x4177fc
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4177d8
cmp dword [ebp - 0x14], 0
je 0x4177d8
mov eax, dword [ebx*4 + 0x47d010]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4177b0
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x417779
mov word [esi], cx
jmp 0x4177ac
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x47d010]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x47d010]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x47d010]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4177fc
pop ebx
cmp word [ebp - 4], bx
jne 0x4177c1
cmp esi, dword [ebp + 0xc]
jne 0x4177c1
mov word [esi], bx
jmp 0x4177f9
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00418096
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4177fc
push 0xd
jmp 0x4177f5
mov ecx, dword [ebx*4 + 0x47d010]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4177f3
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4177fc
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x401860
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x15c
push ebx
push ebp
push esi
lea esi, [edi + 0xc]
mov ecx, esi
call fcn.00407c40
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x50], 0x11c
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov dword [edi], ecx
lea ecx, [esp + 0x60]
mov dword [edi + 8], eax
push ecx
mov eax, esi
mov dword [edi + 4], edx
call fcn.00401b10
call fcn.00401450
mov eax, 0x47fcbc
mov ecx, esi
call fcn.004013c0
mov eax, dword [edi]
xor ebx, ebx
sub eax, 5
mov byte [edi + 0x26], bl
mov byte [edi + 0x20], bl
mov byte [edi + 0x21], bl
mov byte [edi + 0x1c], bl
mov byte [edi + 0x1d], bl
mov byte [edi + 0x22], bl
mov byte [edi + 0x23], bl
mov byte [edi + 0x24], bl
mov byte [edi + 0x25], bl
mov byte [edi + 0x1e], bl
mov byte [edi + 0x1f], bl
je 0x42af73
sub eax, 1
jne 0x401908
cmp byte [esp + 0x166], 1
mov byte [edi + 0x21], 1
mov byte [edi + 0x1d], 1
mov byte [edi + 0x25], 1
jne 0x42af62
mov byte [edi + 0x24], 1
lea esi, [esp + 0x10]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
call fcn.00401800
cmp dword [esp + 0x18], ebx
je 0x40194d
mov dword [esp + 0xc], ebx
call fcn.00401800
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x42afcb
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call esi
cmp dword [esp + 0xc], 1
jne 0x40194d
mov byte [edi + 0x26], 1
mov ebp, dword [sym.imp.KERNEL32.DLL_FreeLibrary]
xor eax, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
cmp byte [edi + 0x26], bl
je 0x42afef
lea esi, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
call fcn.00401830
cmp dword [esp + 0x24], ebx
je 0x42afdf
call fcn.00401830
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x42afd5
lea ecx, [esp + 0x28]
push ecx
call eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4019c0
push eax
call ebp
mov eax, dword [esp + 0x10]
mov cx, word [esp + 0x28]
mov word [edi + 0x28], cx
cmp eax, ebx
je 0x4019d4
push eax
call ebp
pop esi
pop ebp
mov eax, edi
pop ebx
add esp, 0x15c
ret
mov byte [edi + 0x23], 1
mov byte [edi + 0x1f], 1
mov byte [edi + 0x1e], 1
jmp 0x401908
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x42af87
mov byte [edi + 0x21], 1
mov byte [edi + 0x20], 1
jmp 0x401908
cmp eax, 1
jne 0x42af9a
mov byte [edi + 0x21], al
mov byte [edi + 0x1d], al
mov byte [edi + 0x1c], al
jmp 0x401908
cmp eax, 2
jne 0x401908
cmp byte [esp + 0x166], 1
mov byte [edi + 0x21], 1
mov byte [edi + 0x1d], 1
mov byte [edi + 0x23], 1
jne 0x42afc2
mov byte [edi + 0x1c], 1
jmp 0x401908
mov byte [edi + 0x22], 1
jmp 0x401908
mov esi, 0x439e0e
jmp 0x401934
mov eax, 0x43a5dc
jmp 0x4019ae
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
jmp 0x4019b5
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
jmp 0x4019c0
Function at 0x40e940
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
sub esp, 0x438
push ebx
push esi
push edi
mov edi, eax
lea eax, [esp + 0x20]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
push edi
call fcn.0040c880
call dword [sym.imp.KERNEL32.DLL_IsDebuggerPresent]
test eax, eax
jne 0x4338de
mov byte [esp + 0xf], al
mov esi, 0x4a0430
cmp dword [0x49f43c], eax
je 0x4338f7
push 0x49f43c
lea ecx, [esp + 0x13]
mov eax, 0x49f454
call fcn.0040fed0
test al, al
je 0x43391a
mov cl, byte [0x4a0430]
mov bl, byte [0x4a0431]
push 0x49f438
lea edx, [esp + 0x234]
push edx
push 0x104
push 0x49f454
mov byte [0x49f440], cl
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
mov eax, dword [0x49f43c]
push eax
push 0x49f454
call fcn.00401760
test eax, eax
jne 0x43392e
cmp bl, 1
je 0x433952
call fcn.00411590
call fcn.00411770
cmp byte [0x49f440], 0
jne 0x40ea0c
mov esi, 0x49fa58
call fcn.0040ee40
push 1
mov ecx, 0x49f660
call fcn.0040aef0
cmp byte [0x49f440], 0
jne 0x40ea2b
mov ecx, 0x49fa58
call fcn.0040ef40
mov ebx, 0x4a0430
call fcn.004011f0
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
pop edi
pop esi
pop ebx
add esp, 0x438
ret
push 0x10
push 0x47f69e
push str.This_is_a_compiled_AutoIt_script._AV_researchers_please_email_avsupport_autoitscript.com_for_support.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40ea40
mov ecx, dword [0x49f444]
push 0xffffffffffffffff
push ecx
push 1
xor bl, bl
call fcn.00410850
mov dl, byte [0x48e8cc]
mov byte [0x4a0432], dl
jmp 0x40e9ce
lea eax, [esp + 0x20]
mov dword [0x48e8e4], 1
push eax
jmp 0x40ea3a
mov ebx, 0x4a0430
call fcn.004011f0
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
mov dword [0x48e8e4], 1
jmp 0x40ea40
call fcn.004379f5
test al, al
jne 0x40e9ef
push 0x104
lea edx, [esp + 0x234]
push edx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
cmp byte [esp + 0xf], 0
je 0x4339d3
mov edi, 0x47f708
lea esi, [esp + 0x10]
call fcn.0040ccd0
mov edi, 0x49f454
mov eax, esi
call fcn.0040df00
mov edi, 0x47f708
mov eax, esi
call fcn.0040df00
mov ecx, dword [esp + 0x10]
push 1
lea eax, [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x23c]
push edx
push 0x47f70c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, esi
call fcn.0040c430
jmp 0x40ea2b
push 1
lea eax, [esp + 0x24]
push eax
push edi
lea ecx, [esp + 0x23c]
push ecx
push 0x47f70c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x40ea2b
Function at 0x4114b0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x10020
call fcn.00426210
push ebx
mov ebx, dword [esp + 0x10028]
push ebp
push esi
push edi
xor eax, eax
jmp 0x4114d0
mov cl, byte [eax + 0x48cf58]
mov dl, byte [eax + 0x48cf50]
mov byte [esp + eax + 0x1c], cl
mov byte [esp + eax + 0x24], dl
inc eax
cmp eax, 8
jl 0x4114d0
lea eax, [esp + 0x10]
push str.AU3_
push eax
call fcn.00414c40
push 4
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00412960
add esp, 0x14
mov dword [esp + 0x18], 0
mov eax, dword [ebx]
push eax
push 0x10000
lea ecx, [esp + 0x38]
push 1
push ecx
call fcn.00415c17
add esp, 0x10
cmp eax, 0x18
jl 0x41157e
mov ebp, eax
lea edi, [ebp - 0x14]
test edi, edi
jle 0x411561
xor edx, edx
lea esp, [esp]
xor ecx, ecx
lea esi, [esp + edx + 0x30]
mov al, byte [esp + ecx + 0x1c]
cmp al, byte [esi + ecx]
je 0x42992e
cmp ecx, 0x14
je 0x4299ad
inc edx
cmp edx, edi
jl 0x411540
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
push 1
lea edx, [ecx + ebp - 0x14]
push 0xffffffffffffffec
push eax
mov dword [esp + 0x24], edx
call fcn.004155ad
add esp, 0xc
jmp 0x411515
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10020
ret 4
mov bl, byte [esp + ecx + 0x1d]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x31]
jne 0x42997a
mov bl, byte [esp + ecx + 0x1e]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x32]
jne 0x429987
mov bl, byte [esp + ecx + 0x1f]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x33]
jne 0x429996
mov bl, byte [esp + ecx + 0x20]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x34]
mov ebx, dword [esp + 0x10034]
jne 0x4299a5
add ecx, 5
cmp ecx, 0x14
jge 0x411556
jmp 0x411546
mov ebx, dword [esp + 0x10034]
inc ecx
jmp 0x411553
mov ebx, dword [esp + 0x10034]
add ecx, 2
jmp 0x411553
mov ebx, dword [esp + 0x10034]
add ecx, 3
jmp 0x411553
add ecx, 4
jmp 0x411553
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
push 0
lea edx, [ecx + edx + 0x14]
push edx
push eax
call fcn.004155ad
mov ecx, dword [ebx]
push ecx
push 4
lea edx, [esp + 0x24]
push 1
push edx
call fcn.00415c17
lea eax, [esp + 0x2c]
push str.EA06
push eax
mov byte [esp + 0x38], 0
call fcn.00415260
add esp, 0x24
neg eax
sbb eax, eax
and eax, 4
jmp 0x411583

Function at 0x411770
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x48e910]
push esi
push 0
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
push 0
push 0
push 0x64
push 0x12c
push bind
push bind
push 0xcf0000
push str.AutoIt_v3
push str.AutoIt_v3
push 0
call esi
mov ecx, dword [0x48e910]
push 0
push ecx
push 1
push eax
push 0
push 0
push 0
push 0
push 0x50b008c4
push 0
push str.edit
push 0
mov dword [0x48e908], eax
call esi
mov edx, dword [0x48e908]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
mov dword [0x48e904], eax
call esi
mov eax, dword [0x48e908]
push 0
push eax
call esi
pop esi
ret
Function at 0x423308
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041832f
and dword [ebp - 4], 0
cmp dword [0x48e540], 0
mov ebx, eax
jne 0x4233b9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42346a
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x47eda4
push edi
call esi
test eax, eax
je 0x42346a
push eax
call fcn.004182bd
mov dword [esp], 0x47ed94
push edi
mov dword [0x48e540], eax
call esi
push eax
call fcn.004182bd
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x48e544], eax
call esi
push eax
call fcn.004182bd
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x48e548], eax
call esi
push eax
call fcn.004182bd
pop ecx
mov dword [0x48e550], eax
test eax, eax
je 0x4233b9
push 0x47ed4c
push edi
call esi
push eax
call fcn.004182bd
pop ecx
mov dword [0x48e54c], eax
mov eax, dword [0x48e54c]
cmp eax, ebx
je 0x423411
cmp dword [0x48e550], ebx
je 0x423411
push eax
call fcn.00418338
push dword [0x48e550]
mov esi, eax
call fcn.00418338
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x423411
test edi, edi
je 0x423411
call esi
test eax, eax
je 0x423408
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x423408
test byte [ebp - 0xc], 1
jne 0x423411
or dword [ebp + 0x10], 0x200000
jmp 0x42344a
mov eax, dword [0x48e544]
cmp eax, ebx
je 0x42344a
push eax
call fcn.00418338
pop ecx
test eax, eax
je 0x42344a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42344a
mov eax, dword [0x48e548]
cmp eax, ebx
je 0x42344a
push eax
call fcn.00418338
pop ecx
test eax, eax
je 0x42344a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48e540]
call fcn.00418338
pop ecx
test eax, eax
je 0x42346a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42346c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x435063
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x2c]
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
xor esi, esi
push edi
mov dword [esp + 0x3c], esi
cmp word [eax], si
je 0x43518c
push esi
push esi
push 3
push esi
push esi
push bind
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4350a6
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ebx, eax
push ebx
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push 0
lea ecx, [esp + 0x18]
push ecx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea edx, [esp + 0x10]
push edx
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x3c]
push eax
push 0x47d9f0
push 0
push 0
push ecx
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x43509a
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x18]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
cmp dword [ebp], 0
mov eax, dword [esp + 0x44]
jne 0x435161
cmp dword [eax], 0
jne 0x435161
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [ebp], ecx
mov dword [eax], edx
mov eax, dword [eax]
mov ecx, dword [ebp]
mov edx, dword [esp + 0x40]
push 0x2000
push eax
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x435190
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x38]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x4351a2
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x40]
push eax
push 0
mov dword [esi + 0x50], eax
mov esi, dword [esi]
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
Function at 0x435a71
Capabilities:
Create process on windows

Disassembly:
push 0x44
push 0
push 0x4a0898
call fcn.00414350
push 0x10
push 0
push 0x4a0888
call fcn.00414350
mov ecx, dword [esp + 0x1c]
add esp, 0x18
push 0x4a0888
push 0x4a0898
push 0
push 0
push 0x20
push 0
push 0
push 0
push ecx
mov eax, 1
push 0
mov dword [0x4a0898], 0x44
mov dword [0x4a08c4], 1
mov word [0x4a08c8], ax
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x435ae6
mov edx, dword [0x4a0888]
mov dword [esp + 4], edx
jmp dword [sym.imp.KERNEL32.DLL_CloseHandle]
ret 4

Function at 0x435dff
Capabilities:
Parse url

Disassembly:
sub esp, 0x840
mov ecx, dword [esp + 0x858]
mov edx, dword [esp + 0x85c]
push ebx
mov ebx, dword [esp + 0x84c]
push esi
mov esi, dword [esp + 0x84c]
mov eax, 0x400
push edi
mov edi, dword [esp + 0x860]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x85c]
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x4c]
push 0
push esi
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], eax
call fcn.004143ca
add esp, 4
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x435ea5
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x840
ret 0x1c
lea edx, [esp + 0x48]
push edx
push edi
call fcn.00412518
movzx eax, word [esp + 0x2c]
mov ecx, dword [esp + 0x860]
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
add esp, 8
sub eax, 1
je 0x435ef7
sub eax, 1
je 0x435ee3
pop edi
pop esi
mov dword [ebx], 3
mov al, 1
pop ebx
add esp, 0x840
ret 0x1c
pop edi
pop esi
mov dword [ebx], 2
mov al, 1
pop ebx
add esp, 0x840
ret 0x1c
pop edi
pop esi
mov dword [ebx], 1
mov al, 1
pop ebx
add esp, 0x840
ret 0x1c
Function at 0x43603f
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
lea eax, [esp + 0x10]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x436183
nop
lea edx, [esp + 0x3c]
push 0x481e54
push edx
call fcn.0041455e
add esp, 8
test eax, eax
je 0x4360c4
lea eax, [esp + 0x3c]
push 0x484c38
push eax
call fcn.0041455e
add esp, 8
test eax, eax
je 0x4360c4
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
or eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
not edx
and eax, edx
push eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
test eax, eax
je 0x43617c
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x43606f
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov ebx, dword [ebp + 0x14]
test bl, bl
je 0x436171
lea edx, [esp + 0x10]
push edx
push 0x484c30
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x43616a
mov edi, dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
test byte [esp + 0x10], 0x10
je 0x43615a
lea eax, [esp + 0x3c]
push 0x481e54
push eax
call fcn.0041455e
add esp, 8
test eax, eax
je 0x43615a
lea ecx, [esp + 0x3c]
push 0x484c38
push ecx
call fcn.0041455e
add esp, 8
test eax, eax
je 0x43615a
lea edx, [esp + 0x3c]
push edx
call edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.0043603f
test al, al
je 0x43617c
push 0x484c38
call edi
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x4360ff
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4364fc
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
mov ecx, dword [esp + 0x210]
push ecx
push 0
push 0x482328
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameW]
add esp, 0x20c
ret 4

Function at 0x4366a5
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x464]
test eax, eax
je 0x4366bb
cmp eax, 0x10000
jne 0x4366df
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x45c]
push eax
push 0x10000
push 1
push ecx
call fcn.00415c17
add esp, 0x10
mov dword [esi + 0x464], 0
mov ecx, dword [esi + 0x464]
mov edx, dword [esi + 0x45c]
mov al, byte [ecx + edx]
inc ecx
mov dword [esi + 0x464], ecx
pop esi
ret 4
Function at 0x437c1c
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0x28
push esi
mov esi, dword [esp + 0x30]
push edi
test esi, esi
jl 0x437ccc
jne 0x437c3d
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
pop edi
pop esi
add esp, 0x28
ret
cmp esi, 0xf
jae 0x437cc5
mov edi, dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
lea eax, [esp + 0x18]
push eax
call edi
test eax, eax
je 0x437cc5
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea edx, [esp + 0x10]
push edx
call edi
fnstcw word [esp + 0x34]
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sbb ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
fild qword [esp + 0x20]
movzx eax, word [esp + 0x34]
fild qword [esp + 0x28]
or eax, 0xc00
mov dword [esp + 8], eax
fdivp st(1)
fmul qword [0x487230]
fldcw word [esp + 8]
fistp qword [esp + 8]
mov edx, dword [esp + 8]
fldcw word [esp + 0x34]
cmp edx, esi
jb 0x437c62
pop edi
pop esi
add esp, 0x28
ret
push esi
call dword [sym.imp.KERNEL32.DLL_Sleep]
pop edi
pop esi
add esp, 0x28
ret

Function at 0x437efa
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x29c
push esi
mov esi, dword [esp + 0x2a4]
push edi
mov edi, dword [esp + 0x2ac]
lea eax, [esp + 0x110]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x437fd9
push 0x100
lea ecx, [esp + 0x14]
push ecx
call sub.WSOCK32.dll_gethostname
lea edx, [esp + 0x10]
push edx
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x437fd9
mov eax, dword [eax + 0xc]
xor edx, edx
cmp dword [eax], edx
je 0x437f63
mov ecx, eax
lea esp, [esp]
add ecx, 4
inc edx
cmp dword [ecx], 0
jne 0x437f5a
cmp esi, edx
jle 0x437f83
push str.0.0.0.0
push edi
call fcn.00412546
add esp, 8
call sub.WSOCK32.dll_WSACleanup
pop edi
pop esi
add esp, 0x29c
ret
mov eax, dword [eax + esi*4 - 4]
push 4
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00412960
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
call sub.WSOCK32.dll_inet_ntoa
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00414c40
lea ecx, [esp + 0x18]
push ecx
or eax, 0xffffffff
call fcn.00410200
mov esi, eax
push esi
push edi
call fcn.00412546
push esi
call fcn.00412949
add esp, 0x18
call sub.WSOCK32.dll_WSACleanup
pop edi
pop esi
add esp, 0x29c
ret
push 0x47f878
push edi
call fcn.00412546
add esp, 8
pop edi
pop esi
add esp, 0x29c
ret