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

Disassembly:
mov edx, dword [esp + 4]
sub esp, 8
push ebx
push esi
push edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
push 0x49f310
call fcn.00443663
test al, al
je case.0x449bc2.5
mov eax, dword [esp + 0x18]
mov ecx, dword [0x49f370]
mov edx, dword [ecx + eax*4]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x49f384]
mov ebx, dword [edx]
mov edx, dword [ecx + eax*4]
mov esi, dword [edx]
mov edi, dword [esi]
lea eax, [esp + 0x1c]
push eax
call fcn.0043772f
movzx eax, byte [esi + 0x78]
dec eax
add esp, 4
cmp eax, 0x1a
ja case.0x449bc2.5
movzx ecx, byte [eax + 0x449d11]
jmp dword [ecx*4 + 0x449cf1]
mov ebx, dword [esp + 0x1c]
cmp ebx, 0xfe000000
jne 0x449be6
mov dword [esi + 0x44], ebx
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 8
ret 8
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 0
push 0x1001
push edi
call esi
push ebx
push 0
push 0x1026
push edi
call esi
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 8
ret 8
mov edx, dword [esp + 0x1c]
push edx
push 0
push 0x2001
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 8
ret 8
mov eax, dword [esp + 0x1c]
push eax
push 0
push 0x111d
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 8
ret 8
mov edx, dword [esi + 0x30]
mov ecx, dword [esp + 0x1c]
push 1
push 0
push edx
mov dword [esi + 0x44], ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 8
ret 8
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0xb
push eax
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esp + 0x1c]
push 1
push esi
push ebx
mov dword [esi + 0x44], eax
call fcn.00435b2c
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 8
ret 8
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
jl case.0x449bc2.5
test byte [esi + 0x7a], 0x20
mov dword [esi + 0x44], eax
jne 0x449cd6
push 0
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
call edi
mov ecx, dword [esi]
push 5
push ecx
call edi
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 8
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 8

Function at 0x44b4ef
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xdc
push ebx
mov ebx, dword [esp + 0xe4]
push esi
push edi
mov edi, dword [esp + 0xf0]
lea eax, [esp + 0x10]
push eax
call fcn.00443d72
mov ecx, dword [esp + 0xf4]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.00443ccc
xor esi, esi
test edi, edi
jbe 0x44b541
lea esp, [esp]
lea eax, [esp + 0x10]
push eax
call fcn.00443d44
xor byte [esi + ebx], al
inc esi
cmp esi, edi
jb 0x44b52f
pop edi
pop esi
pop ebx
add esp, 0xdc
ret 0xc
Function at 0x44b7fc
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
sub dword [0x48caac], 1
jne 0x44b80b
call fcn.00443f22
mov ecx, dword [0x49e92c]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x49e92c], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
mov dword [esp], edx
fild dword [esp]
test edx, edx
jge 0x44b854
fadd qword [0x487110]
fmul qword [0x487108]
pop ecx
ret

Function at 0x44c4b2
Capabilities:
Delete directory
Delete file

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x22c
lea eax, [esp + 0x20]
call fcn.0040ff60
lea eax, [esp + 0x20]
push eax
call fcn.004383c4
add esp, 4
test al, al
jne 0x44c4dd
add esp, 0x22c
ret
push ebx
xor ebx, ebx
cmp byte [esp + 0x238], bl
jne 0x44c501
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
pop ebx
add esp, 0x22c
ret
lea edx, [esp + 0x24]
push edx
call fcn.004143fa
xor ecx, ecx
mov word [esp + eax*2 + 0x2a], cx
add esp, 4
lea ecx, [esp + 4]
lea edx, [esp + 0x24]
mov eax, 0x614
push ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1e], ebx
mov dword [esp + 0x22], ebx
mov dword [esp + 0x1a], ebx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 3
mov word [esp + 0x18], ax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
pop ebx
add esp, 0x22c
ret
Function at 0x44c55b
Capabilities:
Copy file
Move file

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x438
push ebx
mov bl, byte [esp + 0x448]
lea eax, [esp + 0x230]
call fcn.0040ff60
mov ecx, dword [esp + 0x444]
lea eax, [esp + 0x24]
call fcn.0040ff60
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x44c5da
test bl, bl
je 0x44c603
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x234]
push eax
call fcn.0041458e
add esp, 8
test eax, eax
je 0x44c5d0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov al, 1
pop ebx
add esp, 0x438
ret
lea eax, [esp + 0x230]
push eax
call fcn.004383c4
add esp, 4
test al, al
je 0x44c603
lea ecx, [esp + 0x24]
push ecx
call fcn.004383c4
add esp, 4
test al, al
je 0x44c60d
test bl, bl
jne 0x44c62f
xor al, al
pop ebx
add esp, 0x438
ret
lea edx, [esp + 0x24]
push edx
call fcn.00438065
add esp, 4
test al, al
je 0x44c603
lea eax, [esp + 0x24]
push eax
call fcn.004383c4
add esp, 4
test al, al
je 0x44c603
lea ecx, [esp + 0x230]
push str..
push ecx
call fcn.00412548
lea edx, [esp + 0x238]
push edx
call fcn.004143fa
lea edx, [esp + 0x30]
xor ecx, ecx
push edx
mov word [esp + eax*2 + 0x242], cx
call fcn.004143fa
xor ecx, ecx
mov word [esp + eax*2 + 0x36], cx
lea edx, [esp + 0x240]
lea eax, [esp + 0x34]
mov dword [esp + 0x1c], edx
add esp, 0x10
mov dword [esp + 0x10], eax
xor eax, eax
lea edx, [esp + 4]
mov ecx, 0x614
push edx
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov word [esp + 0x18], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
pop ebx
add esp, 0x438
ret
Function at 0x44c6bb
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xca8
mov ecx, dword [ebp + 8]
push ebx
push esi
lea eax, [esp + 0x10]
mov byte [esp + 0xf], 0
call fcn.0040ff60
lea eax, [esp + 0x10]
push eax
call fcn.004383c4
add esp, 4
test al, al
je 0x44c6fd
lea ecx, [esp + 0x10]
push str..
push ecx
call fcn.00412548
add esp, 8
lea edx, [esp + 0xaa0]
push edx
lea eax, [esp + 0x894]
push eax
lea ecx, [esp + 0x478]
push ecx
lea edx, [esp + 0x68c]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00415090
add esp, 0x14
lea ecx, [esp + 0x220]
push ecx
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov bl, 1
cmp esi, 0xffffffff
je 0x44c7d1
nop
cmp bl, 1
jne 0x44c7d1
test byte [esp + 0x220], 0x10
jne 0x44c7ab
lea eax, [esp + 0x680]
push eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x17], bl
call fcn.00412576
lea edx, [esp + 0x478]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00412548
lea ecx, [esp + 0x25c]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00412548
add esp, 0x18
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x44c7c2
lea ecx, [esp + 0x220]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44c74b
xor bl, bl
jmp 0x44c74b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [esp + 0xf]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44dcac
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov eax, dword [ebx]
push ebp
push esi
push edi
push 0
push 0
push 0xe
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jne 0x44dcce
mov edi, 0x7fff
xor ecx, ecx
lea ebp, [edi + 1]
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004122b8
add esp, 4
mov esi, eax
mov eax, dword [ebx]
push esi
push ebp
push 0xd
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
test eax, eax
mov eax, dword [esp + 0x18]
mov word [esi + edi*2], cx
jne 0x44dd25
push 0x47f878
call fcn.00401b00
push esi
call fcn.00412979
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 8
push esi
call fcn.00401b00
push esi
call fcn.00412979
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 8
Function at 0x44e650
Capabilities:
Get graphical window text

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
mov ebp, dword [esp + 0x10]
mov edx, dword [ebp]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0xb0
push edx
call ebx
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0x10]
jne 0x44e684
pop ebp
xor al, al
pop ebx
pop ecx
ret 8
mov ecx, dword [ebp]
push esi
push 0
push 0
push 0xe
push ecx
call ebx
mov esi, eax
test esi, esi
jne 0x44e6a0
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 8
xor ecx, ecx
lea eax, [esi + 0x101]
mov edx, 2
mul edx
seto cl
push edi
neg ecx
or ecx, eax
push ecx
call fcn.004122b8
mov ecx, dword [ebp]
add esp, 4
mov edi, eax
push edi
lea eax, [esi + 1]
push eax
push 0xd
push ecx
call ebx
test eax, eax
je 0x44e705
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x44e6e1
xor edx, edx
mov word [edi + eax*2], dx
mov eax, dword [esp + 0x10]
lea ecx, [edi + eax*2]
mov eax, dword [esp + 0x1c]
push ecx
call fcn.00401b00
push edi
call fcn.00412979
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret 8
push edi
call fcn.00412979
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 8
Function at 0x451e78
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
sub esp, 0x264
push ebp
mov ebp, dword [esp + 0x278]
push esi
mov esi, dword [esp + 0x274]
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
call fcn.00407c30
lea ecx, [esp + 0x18]
call fcn.00407c30
lea ecx, [esp + 0x38]
call fcn.00407c30
push str.SOFTWAREClasses_
lea eax, [esp + 0x2c]
call fcn.00401b00
mov edi, dword [esp + 0x274]
lea eax, [esp + 0x28]
call fcn.0040dc50
mov edi, str.CLSID
lea eax, [esp + 0x28]
call fcn.0040dc50
push 0x47f878
lea eax, [esp + 0x1c]
call fcn.00401b00
test esi, esi
je 0x451f1e
cmp word [esi], 0x5c
je 0x451f1e
cmp word [esi + 2], 0x5c
je 0x451f1e
push 0x4854c0
lea eax, [esp + 0x1c]
call fcn.00401b00
mov edi, esi
lea eax, [esp + 0x18]
call fcn.0040dc50
test ebp, ebp
je 0x451f7c
push 0x20
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.00414380
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea esi, [esp + 0x3c]
mov dword [esp + 0x50], 0
call fcn.0040ee30
mov edi, str.IPC_
mov eax, esi
call fcn.0040dc50
mov eax, dword [esp + 0x284]
mov edx, dword [esp + 0x38]
push 0
push ebp
push eax
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x6c], edx
call sub.MPR.dll_WNetAddConnection2W
mov esi, eax
test esi, esi
jne 0x45202f
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push reloc.WSOCK32.dll_bind
push eax
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov esi, eax
test esi, esi
jne 0x45202f
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push eax
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0x452028
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x6c]
push edx
push 0
push 0
push 0
push eax
mov dword [esp + 0x28], 0x1fe
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x452021
mov eax, dword [esp + 0x10]
shr eax, 1
xor ecx, ecx
lea edi, [esp + 0x68]
mov dword [esp + 0x10], eax
mov word [esp + eax*2 + 0x68], cx
call fcn.0040ffa0
mov edx, dword [esp + 0x27c]
mov edi, eax
push edx
push edi
call dword [sym.imp.ole32.dll_CLSIDFromString]
push edi
mov esi, eax
call fcn.00412979
add esp, 4
mov eax, dword [esp + 0xc]
push eax
call ebp
mov ecx, dword [esp + 0x14]
push ecx
call ebp
lea ecx, [esp + 0x38]
call fcn.0040c3f0
lea ecx, [esp + 0x18]
call fcn.0040c3f0
lea ecx, [esp + 0x28]
call fcn.0040c3f0
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x264
ret
Function at 0x452056
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x24c
push ebx
push ebp
mov ebp, dword [esp + 0x258]
push esi
push edi
lea ecx, [esp + 0x30]
call fcn.00407c30
fld1
lea eax, [esp + 0x24]
fstp qword [esp + 0x28]
push eax
push ebp
call dword [sym.imp.ole32.dll_StringFromIID]
mov esi, eax
test esi, esi
jl 0x452257
mov edi, dword [esp + 0x24]
call fcn.0040ffa0
mov esi, eax
push str.interface_
lea eax, [esp + 0x34]
call fcn.00401b00
mov edi, esi
lea eax, [esp + 0x30]
call fcn.0040dc50
mov edi, str.TypeLib
lea eax, [esp + 0x30]
call fcn.0040dc50
push esi
call fcn.00412979
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x452257
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x54]
push edx
push eax
push eax
push eax
mov eax, dword [esp + 0x30]
push eax
mov dword [esp + 0x2c], 0x1fe
call ebx
mov esi, eax
test esi, esi
jne 0x45224c
mov eax, dword [esp + 0x14]
shr eax, 1
xor ecx, ecx
lea edi, [esp + 0x50]
mov dword [esp + 0x14], eax
mov word [esp + eax*2 + 0x50], cx
call fcn.0040ffa0
lea edx, [esp + 0x40]
mov edi, eax
push edx
push edi
call dword [sym.imp.ole32.dll_CLSIDFromString]
push edi
mov esi, eax
call fcn.00412979
add esp, 4
test esi, esi
jl 0x45224c
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x54]
push ecx
push 0
push 0
push str.Version
push edx
mov dword [esp + 0x2c], 0x1fe
call ebx
test eax, eax
jne 0x4521a7
mov eax, dword [esp + 0x14]
shr eax, 1
lea edx, [esp + 0x50]
xor ecx, ecx
push edx
mov dword [esp + 0x18], eax
mov word [esp + eax*2 + 0x54], cx
call fcn.00415277
fstp qword [esp + 0x2c]
add esp, 4
fld1
lea eax, [esp + 0x20]
push eax
push 0
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esp + 0x40]
fstp qword [esp]
call fcn.00417220
fnstcw word [esp + 0x2a]
add esp, 0x10
movzx eax, word [esp + 0x1a]
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp dword [esp + 0x20]
mov cx, word [esp + 0x20]
movzx edx, cx
push edx
fldcw word [esp + 0x1e]
lea edx, [esp + 0x4c]
fld qword [esp + 0x34]
fnstcw word [esp + 0x1e]
movzx eax, word [esp + 0x1e]
or eax, 0xc00
mov dword [esp + 0x24], eax
fldcw word [esp + 0x24]
fistp dword [esp + 0x24]
mov ax, word [esp + 0x24]
movzx ecx, ax
push ecx
fldcw word [esp + 0x22]
push edx
call dword [sym.imp.OLEAUT32.dll_RegisterTypeLib]
mov esi, eax
test esi, esi
jl 0x45224c
mov edx, dword [esp + 0x264]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push edx
push ebp
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x30]
call fcn.0040c3f0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24c
ret
Function at 0x45226d
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x284
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x20]
mov esi, 0x80004002
xor ebx, ebx
mov dword [esp + 0x14], 0x28
call fcn.00407c30
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x1c]
push eax
push 0x20019
push ebx
push str.interface
push accept
call ebp
test eax, eax
jne 0x4523b2
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x20]
push 0
push 0
push 0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x4c]
push eax
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4523a7
mov eax, dword [esp + 0x14]
xor edx, edx
mov word [esp + eax*2 + 0x38], dx
push str.interface_
lea eax, [esp + 0x24]
mov dword [esp + 0x18], 0x1fe
call fcn.00401b00
lea edi, [esp + 0x38]
lea eax, [esp + 0x20]
call fcn.0040dc50
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push 0
push edx
push accept
call ebp
test eax, eax
jne 0x452395
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x8c]
push ecx
push 0
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45238a
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x29c]
shr eax, 1
xor ecx, ecx
mov dword [esp + 0x14], eax
mov word [esp + eax*2 + 0x88], cx
push edx
lea eax, [esp + 0x8c]
push eax
call fcn.004124b5
add esp, 8
test eax, eax
jne 0x45238a
mov ecx, dword [esp + 0x298]
push ecx
push edi
call dword [sym.imp.ole32.dll_IIDFromString]
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4523a7
inc ebx
mov dword [esp + 0x14], 0x28
jmp 0x4522b4
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
call fcn.0040c3f0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x284
ret
Function at 0x452f08
Capabilities:
Create http request

Disassembly:
sub esp, 0x38
push ebx
mov ebx, dword [esp + 0x48]
push ebp
push esi
push edi
mov edi, dword [esp + 0x4c]
mov eax, dword [edi + 0xd8]
mov ecx, dword [edi + 0xdc]
mov edx, dword [edi + 0xd4]
mov ebp, dword [edi + 0xd0]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0xe0]
inc dword [eax]
mov esi, dword [edi + 0xe8]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0xec]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0xf0]
mov dword [esp + 0x40], ecx
mov ecx, dword [edi + 0xe4]
inc dword [eax]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0xfc]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x100]
mov dword [esp + 0x38], edx
mov edx, dword [edi + 0xf8]
mov dword [esp + 0x28], ecx
mov ecx, dword [edi + 0xf4]
inc dword [eax]
cmp dword [esp + 0x50], 1
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
jne 0x452fdc
mov ebp, dword [edi + 0x104]
lea edx, [edi + 0x108]
push edx
lea esi, [esp + 0x3c]
call fcn.0040ee30
lea eax, [edi + 0x118]
push eax
lea esi, [esp + 0x2c]
call fcn.0040ee30
add edi, 0x128
push edi
lea esi, [esp + 0x1c]
call fcn.0040ee30
mov esi, dword [esp + 0x2c]
push 0
cmp ebp, 1
jne 0x452fea
push 0
push 0
push ebp
jmp 0x453003
cmp ebp, 2
jne 0x452ffd
mov ecx, dword [esp + 0x3c]
push str._local_
push ecx
push 3
jmp 0x453003
push 0
push 0
push 0
push 0x47f818
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebx], eax
test eax, eax
jne 0x45303b
lea ecx, [esp + 0x18]
call fcn.0040c3f0
lea ecx, [esp + 0x28]
call fcn.0040c3f0
lea ecx, [esp + 0x38]
call fcn.0040c3f0
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 0xc
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 8
lea edx, [esp + 0x14]
push edx
push 0x32
push 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
call edi
cmp ebp, 2
jne 0x453087
test esi, esi
je 0x453087
mov eax, dword [esp + 0x28]
mov ecx, dword [ebx]
inc esi
push esi
push eax
push 0x2b
push ecx
call edi
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx]
inc edx
push edx
push eax
push 0x2c
push ecx
call edi
lea ecx, [esp + 0x18]
call fcn.0040c3f0
lea ecx, [esp + 0x28]
call fcn.0040c3f0
lea ecx, [esp + 0x38]
call fcn.0040c3f0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x38
ret 0xc
Function at 0x453c0a
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x434
push ebx
push esi
mov esi, dword [esp + 0x440]
push edi
mov eax, dword [esi]
push eax
push 4
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.00415c47
add esp, 0x10
push 0x18ee
push 4
lea edx, [esp + 0x1c]
push edx
call fcn.0044b4ef
lea eax, [esp + 0x14]
push str.FILE
push eax
mov byte [esp + 0x20], 0
call fcn.00415290
add esp, 8
test eax, eax
jne 0x453d83
mov ecx, dword [esi]
push ecx
push 1
lea edx, [esp + 0x18]
push 4
push edx
call fcn.00415c47
mov edi, dword [esp + 0x20]
mov eax, dword [esi]
push eax
xor edi, 0xadbc
lea ebx, [edi + edi]
push ebx
lea ecx, [esp + 0x38]
push 1
push ecx
call fcn.00415c47
add esp, 0x20
add edi, 0xb33f
push edi
push ebx
lea edx, [esp + 0x28]
push edx
call fcn.0044b4ef
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x234]
xor eax, eax
push edx
mov word [esp + ebx + 0x28], ax
call fcn.00412576
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0x20]
push 4
push ecx
call fcn.00415c47
mov edi, dword [esp + 0x28]
mov edx, dword [esi]
push edx
xor edi, 0xf820
lea ebx, [edi + edi]
push ebx
lea eax, [esp + 0x40]
push 1
push eax
call fcn.00415c47
add esp, 0x28
add edi, 0xf479
push edi
push ebx
lea ecx, [esp + 0x28]
push ecx
call fcn.0044b4ef
mov ecx, dword [esp + 0x44c]
lea eax, [esp + 0x20]
push eax
xor edx, edx
push ecx
mov word [esp + ebx + 0x28], dx
call fcn.00412576
mov edx, dword [esp + 0x450]
push edx
lea eax, [esp + 0x23c]
push eax
call fcn.0041458e
add esp, 0x10
test eax, eax
je 0x453d75
mov ecx, dword [esi]
push 1
push 1
push ecx
call fcn.004155dd
mov edx, dword [esi]
add esp, 0xc
push edx
push 1
lea eax, [esp + 0x24]
push 4
push eax
call fcn.00415c47
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi]
xor eax, 0x87bc
mov dword [esp + 0x2c], eax
push 1
add eax, 0x18
push eax
push ecx
call fcn.004155dd
add esp, 0x1c
jmp 0x453c1a
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x434
ret 0xc
pop edi
pop esi
mov eax, 6
pop ebx
add esp, 0x434
ret 0xc
Function at 0x453d94
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x688
xor eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0x69c]
push esi
mov esi, dword [esp + 0x698]
push edi
push eax
xor ecx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
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 + 0x478], eax
mov eax, dword [esi + 4]
mov word [esp + 0x48], cx
mov ecx, dword [esi]
push eax
xor edx, edx
push ecx
mov word [esp + 0x25a], dx
mov dword [esp + 0x28], 1
call fcn.004155dd
add esp, 0xc
lea edx, [esp + 0x488]
push edx
push str.___AUTOIT_SCRIPT___
push esi
call fcn.00453c0a
test eax, eax
je 0x453e2b
mov eax, 6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x688
ret 0xc
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0x1b]
push 1
push ecx
call fcn.00415c47
mov edx, dword [esi]
push edx
push 1
lea eax, [esp + 0x30]
push 4
push eax
call fcn.00415c47
mov ecx, dword [esi]
mov edi, dword [esp + 0x38]
push ecx
push 1
lea edx, [esp + 0x40]
push 4
push edx
xor edi, 0x87bc
call fcn.00415c47
mov ecx, dword [esi]
mov eax, dword [esp + 0x48]
push ecx
push 1
lea edx, [esp + 0x50]
xor eax, 0x87bc
push 4
push edx
mov dword [ebp], eax
call fcn.00415c47
mov eax, dword [esi]
mov ebx, dword [esp + 0x58]
add esp, 0x40
push 1
push 0x10
push eax
xor ebx, 0xa685
call fcn.004155dd
mov ecx, dword [ebp]
add esp, 0xc
push ecx
call fcn.00414b0a
add esp, 4
push edi
mov dword [esp + 0x18], eax
call fcn.00414b0a
mov edx, dword [esi]
add esp, 4
push edx
push 1
mov ebp, eax
push edi
push ebp
call fcn.00415c47
mov eax, dword [esi + 8]
add esp, 0x10
add eax, 0x2477
push eax
push edi
push ebp
call fcn.0044b4ef
push edi
push ebp
lea ecx, [esp + 0x24]
push ecx
call fcn.004368d4
cmp ebx, dword [esp + 0x1c]
je 0x453f15
mov edx, dword [esp + 0x14]
push edx
call fcn.00414d68
add esp, 4
push ebp
call fcn.00414d68
add esp, 4
mov eax, 0xa
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x688
ret 0xc
cmp byte [esp + 0x13], 1
jne 0x453f75
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
xor ecx, ecx
mov dword [esp + 0x474], eax
mov eax, 1
mov word [esp + 0x44], cx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
xor edx, edx
push ecx
mov word [esp + 0x252], dx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], eax
call fcn.0044b6a8
push ebp
call fcn.00414d68
jmp 0x453f83
mov edx, dword [esp + 0x14]
push edx
call fcn.00414d68
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x6a4]
mov ecx, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebp
mov dword [eax], ecx
xor eax, eax
pop ebx
add esp, 0x688
ret 0xc