joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101d722
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push 0x10
mov dword [ebp - 8], esi
call fcn.01002259
xor ebx, ebx
pop ecx
cmp eax, ebx
je 0x101d794
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
je 0x101d790
push edi
add esi, 0xd0
xor edi, edi
cmp dword [esi], ebx
ja 0x1021fcc
push ebx
push ebx
push dword [ebp - 4]
push fcn.0101d79e
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1098118], eax
pop edi
cmp eax, ebx
je 0x1021feb
mov ecx, dword [ebp - 8]
add ecx, 0xcc
call fcn.01005844
pop esi
pop ebx
leave
ret
mov dword [ebp - 4], ebx
jmp 0x101d74c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xcc]
push dword [eax + edi*4]
mov ecx, dword [ebp - 4]
call fcn.0100deb7
inc edi
cmp edi, dword [esi]
jae 0x101d762
jmp 0x1021fcc
push dword [ebp - 4]
call fcn.0101d79e
jmp 0x101d782

Function at 0x102c9b1
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
xor ebx, ebx
xor esi, esi
mov edi, ecx
mov dword [ebp - 8], esi
mov byte [ebp - 1], bl
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 2
jne 0x102ca47
lea eax, [ebp - 8]
push eax
push 1
push dword [ebp + 8]
mov ecx, edi
call fcn.010116f2
cmp eax, ebx
mov esi, dword [ebp - 8]
mov dword [ebp + 8], eax
jl 0x102ca52
lea eax, [ebp - 1]
push eax
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0102dbf9
cmp eax, ebx
mov dword [ebp + 8], eax
jl 0x102ca52
push esi
mov ecx, edi
call fcn.0101c7a6
cmp dword [ebp + 8], ebx
jne 0x102ca39
push ebx
push esi
lea eax, [esi + 0x20e]
push eax
lea ecx, [edi + 0x18]
call fcn.010117c2
cmp eax, ebx
mov dword [ebp + 8], eax
jge 0x102ca52
mov ecx, esi
call fcn.0101cfe7
xor esi, esi
jmp 0x102ca52
mov ecx, esi
call fcn.0101cfe7
xor esi, esi
mov dword [ebp + 8], ebx
jmp 0x102ca52
mov dword [ebp + 8], 0x80070005
mov byte [ebp - 1], 1
cmp byte [ebp - 1], bl
jne 0x102ca91
cmp dword [ebp + 8], ebx
jl 0x102ca62
cmp dword [ebp + 8], 1
jne 0x102ca91
cmp esi, ebx
je 0x102ca71
mov ecx, esi
call fcn.0102cc4a
test al, al
jne 0x102ca91
push 0x1772
push 0x1771
push 0x1770
push dword [0x1098320]
push ebx
push 0x80004005
call fcn.0103eb20
cmp esi, ebx
je 0x102cb05
mov ecx, esi
call fcn.01016f27
test eax, eax
jl 0x102cb05
mov ecx, esi
call fcn.01011826
cmp eax, 2
jne 0x102cb05
call fcn.01004fff
mov edi, eax
push 1
lea eax, [ebp + 0x10]
push eax
mov ecx, esi
mov dword [ebp + 0x10], ebx
call fcn.0102cebf
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jl 0x102caf7
xor eax, eax
test byte [ebp + 0x14], 1
jne 0x102caee
cmp edi, ebx
je 0x102cae3
push ebx
push ebx
push 0x7e9
push edi
call esi
xor ecx, ecx
cmp eax, ebx
setne cl
inc ecx
inc ecx
mov eax, ecx
push dword [ebp + 0x10]
push eax
call fcn.01034035
cmp edi, ebx
je 0x102cb05
push ebx
push ebx
push 0x7f8
push edi
call esi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x1031b27
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x10]
xor esi, esi
push esi
push dword [ebp + 8]
push 0x1031a9c
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
cmp eax, esi
jne 0x1031b6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
je 0x1031b66
jle 0x1031b62
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x1031b6b
mov esi, 0x80004005
mov eax, esi
pop esi
pop ebp
ret 0xc

Function at 0x1033b1e
Capabilities:
Create process on windows
Parse url

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov ecx, dword [ecx + 0x14]
push ebx
push esi
call fcn.010357c1
xor ebx, ebx
push 0x38
mov esi, eax
lea eax, [ebp - 0x40]
push ebx
push eax
mov dword [ebp - 4], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x44], 0x3c
lea eax, [ebp - 4]
cmp esi, ebx
je 0x1033b57
push esi
jmp 0x1033b5c
push 0x1001b2c
push eax
call fcn.01003f76
test eax, eax
jl 0x1033c21
lea eax, [ebp - 0x44]
push eax
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x1033ba2
cmp dword [ebp - 0x38], 3
je 0x1033b8d
cmp dword [ebp - 0x38], 4
jne 0x1033c21
push 1
push ebx
push ebx
push dword [ebp - 4]
push 0x1026e5c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1033c21
push edi
push dword [ebp - 4]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantInit]
mov dword [ebp - 8], ebx
call edi
add eax, 8
mov esi, 0x824
cmp eax, esi
jae 0x1033bc7
push dword [ebp - 4]
call edi
mov esi, eax
add esi, 8
push esi
push ebx
lea eax, [ebp - 8]
push eax
call fcn.01003f99
pop edi
test eax, eax
jl 0x1033c18
push 0x1026e78
push esi
push dword [ebp - 8]
call fcn.010022e3
test eax, eax
jl 0x1033c18
push dword [ebp - 4]
call fcn.010100f0
test al, al
jne 0x1033c05
push dword [ebp - 4]
push esi
push dword [ebp - 8]
call fcn.0100c9db
test eax, eax
jl 0x1033c18
push 1
push ebx
push ebx
push dword [ebp - 8]
push 0x1026e5c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [ebp - 8]
push eax
call fcn.0100229b
lea eax, [ebp - 4]
push eax
call fcn.0100229b
pop esi
pop ebx
leave
ret
Function at 0x1035232
Capabilities:
Create directory
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x10980dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edx, edx
mov ebx, ecx
push 6
xor eax, eax
mov dword [ebp - 0x134], edx
pop ecx
lea edi, [ebp - 0x130]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x110], edx
stosw word es:[edi], ax
cmp dword [ebp + 8], edx
jne 0x1035283
mov dword [ebp - 0x10c], 0x80004003
jmp 0x10353a7
push dword [ebp + 8]
mov edi, 0x104
push edi
lea esi, [ebx + 0x20c]
push esi
call fcn.010022e3
mov dword [ebp - 0x10c], eax
test eax, eax
jl 0x10353a7
mov eax, 0x414
mov word [ebp - 0x124], ax
lea eax, [ebp - 0x134]
push eax
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x130], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x103539d
push 0x1099e30
push 0xffffffffffffffff
push 0x1034f15
push fcn.01034f04
push 0x1034ef3
push 0x1034ee2
push 0x1034ed1
push 0x1034ebc
push 0x1034ea5
call fcn.0107e391
add esp, 0x24
mov dword [ebp - 0x114], eax
test eax, eax
jne 0x1035328
mov dword [ebp - 0x10c], 0x8000ffff
jmp 0x10353a7
lea eax, [ebp - 0x110]
push eax
lea eax, [ebx + 4]
push eax
call fcn.0103d497
mov dword [ebp - 0x10c], eax
test eax, eax
jl 0x10353a7
push 0x5c
push dword [ebp - 0x110]
call dword [sym.imp.msvcrt.dll_strrchr]
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x103531c
inc esi
push esi
push edi
lea eax, [ebp - 0x108]
push eax
call fcn.01035064
mov dword [ebp - 0x10c], eax
test eax, eax
jl 0x10353a7
push ebx
push 0
push 0x10350cc
push 0
mov byte [esi], 0
push dword [ebp - 0x110]
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x114]
call fcn.0107f528
add esp, 0x1c
test eax, eax
jne 0x10353d6
mov dword [ebp - 0x10c], 0x80004005
mov eax, 0x414
mov word [ebp - 0x124], ax
lea eax, [ebp - 0x134]
add ebx, 0x20c
push eax
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x130], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp dword [ebp - 0x114], 0
pop edi
pop esi
pop ebx
je 0x10353ee
push dword [ebp - 0x114]
call fcn.0107efc4
pop ecx
cmp dword [ebp - 0x110], 0
je 0x1035403
push dword [ebp - 0x110]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10c]
xor ecx, ebp
call fcn.0100235f
leave
ret 4
Function at 0x1036124
Capabilities:
Parse url

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x484
mov eax, dword [0x10980dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov dword [ebp - 0x444], eax
mov eax, dword [ebp + 0x14]
push 0x38
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x480]
push 0
push eax
mov esi, ecx
call sub.msvcrt.dll_memset
lea edi, [ebp - 0x238]
mov eax, edi
mov dword [ebp - 0x458], eax
lea eax, [ebp - 0x440]
mov dword [ebp - 0x450], eax
lea eax, [ebp - 0x2c]
add esp, 0xc
mov dword [ebp - 0x480], eax
lea eax, [ebp - 0x484]
push eax
push 0x10000000
push dword [esi + 0x30]
mov dword [ebp - 0x484], 0x3c
mov dword [ebp - 0x454], 0x105
mov dword [ebp - 0x44c], 0x104
mov dword [ebp - 0x47c], 0x14
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push dword [esi + 0x30]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x10361f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10361ec
jle 0x1036242
and eax, 0xffff
or eax, 0x80070000
jmp 0x1036242
mov eax, 0x80004005
jmp 0x1036242
cmp word [ebp - 0x238], 0x2f
jne 0x1036203
lea edi, [ebp - 0x236]
push edi
push dword [ebp + 0xc]
push dword [ebp - 0x444]
call fcn.010022e3
test eax, eax
jl 0x1036242
push 0x100d828
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
push dword [ebp - 0x448]
neg eax
sbb eax, eax
and eax, 3
mov dword [ebx], eax
lea eax, [ebp - 0x440]
push eax
mov ecx, esi
call fcn.01035ed7
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100235f
leave
ret 0x10

Function at 0x1036a31
Capabilities:
Get file system object information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x10980dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
push 0x2b0
lea eax, [ebp - 0x2b4]
push ebx
push eax
mov dword [ebp - 0x2c0], ecx
mov dword [ebp - 0x2b8], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x128
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push ebx
push esi
mov dword [ebp - 0x2bc], ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jne 0x1036ab8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x1036ab1
jg 0x1036aa5
mov esi, eax
jmp 0x1036af9
and eax, 0xffff
or eax, 0x80070000
jmp 0x1036aa1
mov esi, 0x80004005
jmp 0x1036af9
lea eax, [ebp - 0x2bc]
push eax
push dword [ebp - 0x2b8]
mov eax, dword [ebp + 0xc]
push dword [eax]
call fcn.010368d1
mov esi, eax
cmp esi, ebx
mov ebx, dword [ebp - 0x2bc]
jl 0x1036aed
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x2c0]
push edi
push ebx
call fcn.010362cd
mov esi, eax
test ebx, ebx
je 0x1036af9
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
cmp dword [ebp - 0x2b8], 0
je 0x1036b0e
push dword [ebp - 0x2b8]
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100235f
leave
ret 0x10
Function at 0x1037ce1
Capabilities:
Get thread local storage value
Parse url

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x10980dc]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x250], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push 0x38
lea eax, [ebp - 0x24c]
push 0
push eax
mov dword [ebp - 0x214], ecx
call sub.msvcrt.dll_memset
add esp, 0xc
push dword [0x10980d8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x210], eax
test eax, eax
jne 0x1037d50
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1037dc4
jle 0x1037db4
and eax, 0xffff
or eax, 0x80070000
jmp 0x1037db4
lea eax, [ebp - 0x250]
push eax
push 0
push 0
push esi
mov dword [ebp - 0x250], 0x3c
mov dword [ebp - 0x220], 1
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x1037d34
mov ecx, dword [ebp - 0x214]
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call fcn.01037b80
test eax, eax
jl 0x1037db4
mov ecx, dword [ebp - 0x210]
push ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.0102d10c
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0100235f
leave
ret 8
mov eax, 0x80004005
jmp 0x1037db4
Function at 0x1037dd0
Capabilities:
Get file size
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x10980dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push dword [0x10980d8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x108], ebx
mov dword [ebp - 0x10c], 0x80
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1037e3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x1037e2e
jg 0x1037e22
mov dword [ebp - 0x108], eax
jmp 0x1037f29
and eax, 0xffff
or eax, 0x80070000
jmp 0x1037e17
mov dword [ebp - 0x108], 0x80004005
jmp 0x1037f29
push edi
push ebx
push ebx
push 3
push ebx
push 3
push 0x80000000
lea edi, [esi + 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1037e8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1037e7c
jle 0x1037e71
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x108], eax
jmp 0x1037f28
mov dword [ebp - 0x108], 0x80004005
jmp 0x1037f28
lea eax, [ebp - 0x114]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1037ec7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1037ebb
jle 0x1037eb3
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x108], eax
jmp 0x1037f1c
mov dword [ebp - 0x108], 0x80004005
jmp 0x1037f1c
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
mov dword [esi + 0x30], ebx
push edi
or ebx, 0xffffffff
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
push 0xe
push 0x30
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
test eax, eax
jl 0x1037f05
mov eax, dword [esi + 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x104]
push edx
push 0x16
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x114]
mov esi, dword [esi + 0x28]
push dword [ebp - 0x114]
mov eax, dword [esi]
push 0xd
push esi
call dword [eax + 0x14]
cmp ebx, 0xffffffff
je 0x1037f28
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x108]
pop esi
xor ecx, ebp
pop ebx
call fcn.0100235f
leave
ret

Function at 0x103c180
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push dword [ebp + 0xc]
xor edi, edi
push dword [ebp + 8]
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x103c1c9
mov eax, dword [ebp + 0x18]
add eax, eax
push eax
push dword [ebp + 0x14]
push 1
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_RegSetValueExW]
cmp eax, esi
je 0x103c1d7
jle 0x103c1d5
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp dword [ebp - 4], esi
je 0x103c1e5
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp edi, esi
pop edi
setge al
pop esi
leave
ret 0x14
Function at 0x103c1f7
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push dword [ebp + 0xc]
xor edi, edi
push dword [ebp + 8]
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x103c23d
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 7
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_RegSetValueExW]
cmp eax, esi
je 0x103c24b
jle 0x103c249
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp dword [ebp - 4], esi
je 0x103c259
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp edi, esi
pop edi
setge al
pop esi
leave
ret 0x14

Function at 0x103c26b
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10980dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_RegLoadMUIStringW]
push edi
mov edi, dword [ebp + 8]
push 0
push 1
mov dword [ebp - 0x218], ecx
mov ecx, dword [ebp + 0x18]
push 0
add ecx, ecx
push ecx
push ebx
push eax
push edi
mov dword [ebp - 0x214], eax
mov byte [ebp - 0x20d], 1
call esi
cmp eax, 2
jne 0x103c2eb
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp + 0x18]
push 1
push 0
add eax, eax
push eax
push ebx
push dword [ebp - 0x214]
push edi
call esi
test eax, eax
je 0x103c309
push 0
push dword [ebp + 0x18]
push ebx
push dword [ebp - 0x218]
push 0
push edi
call fcn.0100b311
mov byte [ebp - 0x20d], al
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x20d]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100235f
leave
ret 0x14
Function at 0x103d1c3
Capabilities:
Create process on windows
Parse url

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x108c
call fcn.010050d9
mov eax, dword [0x10980dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x38
xor edi, edi
lea eax, [ebp - 0x1088]
push edi
push eax
mov dword [ebp - 0x1050], esi
xor ebx, ebx
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x108c]
push eax
push edi
push edi
push esi
mov dword [ebp - 0x108c], 0x3c
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x103d235
cmp dword [ebp - 0x1080], 3
je 0x103d22e
cmp dword [ebp - 0x1080], 4
jne 0x103d282
push 1
push edi
push edi
push esi
jmp 0x103d276
push 0x1026e78
mov esi, 0x824
push esi
lea eax, [ebp - 0x104c]
push eax
call fcn.010022e3
mov ebx, eax
cmp ebx, edi
jl 0x103d282
push dword [ebp - 0x1050]
lea eax, [ebp - 0x104c]
push esi
push eax
call fcn.0100c9db
mov ebx, eax
cmp ebx, edi
jl 0x103d282
push 1
push edi
push edi
lea eax, [ebp - 0x104c]
push eax
push 0x1026e5c
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0100235f
leave
ret 4

Function at 0x103df75
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
call fcn.01002a28
test al, al
jne 0x103df91
mov eax, 0x40000
jmp 0x103e016
call fcn.0100246c
cmp dword [eax + 0x18], 0
je 0x103dfa6
call fcn.0100246c
mov eax, dword [eax + 0x18]
jmp 0x103dfa9
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 8]
and dword [esi + 0xc], 0
push edi
push 0
push esi
mov dword [esi], 0x28
mov dword [esi + 4], 0x8003
mov dword [esi + 0x10], 1
mov dword [esi + 8], eax
call fcn.01003bce
mov edi, eax
cmp edi, 0x40000
jne 0x103e012
cmp dword [esi + 0x14], 2
jne 0x103e012
cmp word [esi + 0x20], 9
jne 0x103e012
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setge al
xor ecx, ecx
test al, al
sete cl
inc ecx
or ecx, 4
push ecx
call fcn.0100246c
push dword [eax + 0x18]
mov ecx, dword [ebp - 4]
call fcn.0100a9dd
mov eax, edi
pop edi
pop esi
leave
ret 4
Function at 0x10489e6
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10980dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, ecx
xor edi, edi
cmp eax, dword [esi + 0x100]
je 0x1048b02
push ebx
push 0x1048b18
push dword [0x10982bc]
push dword [0x10982b8]
call dword [sym.imp.ADVAPI32.dll_EventEnabled]
test al, al
je 0x1048ab8
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [0x109897c], edi
je 0x1048ab8
mov al, byte [0x1098980]
cmp al, 4
jae 0x1048a5a
test al, al
jne 0x1048ab8
mov eax, dword [0x1098968]
mov ecx, dword [0x109896c]
mov edx, 0x10000
mov edi, 0x80000000
and eax, edx
and ecx, edi
or eax, ecx
je 0x1048ab8
mov eax, dword [0x1098970]
mov ebx, dword [0x1098974]
mov ecx, eax
and ecx, edx
mov edx, ebx
and edx, edi
cmp ecx, eax
jne 0x1048ab8
cmp edx, ebx
jne 0x1048ab8
push dword [esi + 4]
lea eax, [ebp - 0x20c]
push dword [esi + 0x110]
push eax
push 0x1048b18
push dword [0x10982bc]
push dword [0x10982b8]
call fcn.0103f49c
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x1048acb
cmp ebx, 1
je 0x1048acb
mov edi, 0x80070057
jmp 0x1048b01
mov ecx, dword [esi + 0xc8]
call fcn.0104425b
test eax, eax
jl 0x1048ae1
mov byte [esi + 0xe4], 1
mov eax, dword [esi + 0x10c]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x2c]
mov edi, eax
test edi, edi
jl 0x1048b01
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov dword [esi + 0x100], ebx
pop ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0100235f
leave
ret 4
Function at 0x1057fd9
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
xor edi, edi
push 0x38
lea eax, [ebp - 0x3c]
push edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x40], edi
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push edi
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x50]
mov esi, eax
cmp esi, edi
jl 0x1058059
mov eax, dword [ebp - 4]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x24], 5
mov dword [ebp - 0x34], 0x1026e5c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x1058059
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
je 0x1058054
jle 0x1058050
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x1058059
mov esi, 0x80004005
cmp dword [ebp - 4], edi
je 0x1058067
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop edi
mov eax, esi
pop esi
leave
ret 8

Function at 0x1058074
Capabilities:
Parse url

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
xor ebx, ebx
push 0x38
lea eax, [ebp - 0x3c]
push ebx
push eax
mov dword [ebp - 4], ebx
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x40], 0x3c
push eax
call dword [ecx + 0x50]
cmp eax, ebx
mov dword [ebp + 8], eax
jl 0x1058141
lea eax, [ebp - 0x40]
push eax
push ebx
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x38], 1
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x10580f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x10580e9
jle 0x10580e4
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp + 8], eax
jmp 0x1058141
mov dword [ebp + 8], 0x80004005
jmp 0x1058141
push esi
push dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CompareStringW]
push 0x100d774
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 1
push 0x7f
call esi
cmp eax, 2
je 0x105813a
push dword [ebp - 0x38]
push 0x1027558
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 1
push 0x7f
call esi
cmp eax, 2
je 0x105813a
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
and ecx, 0xfffffffe
or ecx, 2
mov dword [eax], ecx
jmp 0x1058140
mov eax, dword [ebp + 0x10]
and dword [eax], 0xfffffffd
pop esi
cmp dword [ebp - 4], ebx
pop ebx
je 0x1058150
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp + 8]
leave
ret 0xc
Function at 0x105815c
Capabilities:
Parse url

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
xor ebx, ebx
push 0x38
lea eax, [ebp - 0x40]
push ebx
push eax
mov byte [ebp - 1], bl
mov dword [ebp - 8], ebx
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
add esp, 0xc
lea edx, [ebp - 8]
push edx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x44], 0x3c
push eax
call dword [ecx + 0x50]
test eax, eax
jl 0x10581d9
lea eax, [ebp - 0x44]
push eax
push ebx
push ebx
push dword [ebp - 8]
mov dword [ebp - 0x3c], 1
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x10581ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10581d9
push dword [ebp - 0x3c]
push 0x1027558
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
sete byte [ebp - 1]
cmp dword [ebp - 8], ebx
pop ebx
je 0x10581e8
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, byte [ebp - 1]
leave
ret 8