joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4db56c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.004e57e8
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4db59d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.004db5b0
pop edi
pop esi
pop ebx
ret 8

Function at 0x4dcb84
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4dcbbc
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004dabcd
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004daba5
jmp 0x4dcbc8
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4de474
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4de4b6
call fcn.004e57e8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4de4b6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4de4ad
xor eax, eax
jmp 0x4de4be
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004de4c4
pop edi
pop esi
pop ebx
ret 4

Function at 0x4e5d18
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4e5d46
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4e5d64
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004e5c7e
jmp 0x4e5d64
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4e5d64
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004e5c7e
test edi, edi
mov eax, edi
jne 0x4e5d4e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1000118c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100011e6
cmp dword [ebp + 0x10], 1
je 0x100011cb
cmp dword [ebp + 0x10], 2
je 0x100011cb
push 0xd
pop eax
jmp 0x100011e6
mov eax, dword [ebp - 4]
test edi, edi
je 0x100011e2
test eax, eax
je 0x100011df
cmp byte [eax + edi - 1], 0
je 0x100011e2
jmp 0x100011c6
mov byte [edi], 0
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc
Function at 0x10005700
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1006b490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x10c], esi
call fcn.1000113d
mov ebx, eax
cmp ebx, esi
je 0x10005771
lea ecx, [ebp - 0x114]
call fcn.100010ba
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002523b
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x1000578f
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x114]
call fcn.10005700
cmp eax, esi
jne 0x100057d6
lea eax, [ebp - 0x120]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp - 0x114]
mov dword [ebp - 0x108], 0x100
call ebx
test eax, eax
je 0x10005779
lea ecx, [ebp - 0x114]
call fcn.100010ba
push dword [ebp - 0x118]
mov ecx, edi
call fcn.10005690
lea ecx, [ebp - 0x114]
mov esi, eax
call fcn.100010ba
mov eax, esi
jmp 0x10005760

Function at 0x10005e40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
test eax, eax
jle 0x10005e9a
push 0
lea ecx, [ebp - 4]
push ecx
push eax
push dword [esi + 0x10]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10005e96
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
call fcn.10004318
mov ebx, eax
push ebx
push dword [esi + 4]
push edi
push 0x4e22
call fcn.10004432
push ebx
call fcn.10025a7c
add esp, 0x18
push 0xfffffffffffffffe
pop eax
pop edi
pop ebx
jmp 0x10005e9c
and dword [esi + 0x14], 0
xor eax, eax
pop esi
leave
ret

Function at 0x10005ee5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x18]
jge 0x10005ef8
xor eax, eax
jmp 0x10005f67
push ebx
xor ebx, ebx
cmp byte [esi + 0x1c], bl
je 0x10005f05
or eax, 0xffffffff
jmp 0x10005f66
push ebx
lea eax, [ebp - 4]
push eax
push dword [esi + 0xc]
push dword [esi + 0x10]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10005f4c
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
call fcn.10004318
mov ebx, eax
push ebx
push dword [esi + 4]
push edi
push 0x4e21
call fcn.10004432
push ebx
call fcn.10025a7c
add esp, 0x18
push 0xfffffffffffffffe
pop eax
pop edi
jmp 0x10005f66
mov eax, dword [ebp - 4]
cmp eax, ebx
jne 0x10005f57
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], eax
xor eax, eax
cmp byte [esi + 0x1c], bl
mov dword [esi + 0x14], ebx
sete al
dec eax
pop ebx
pop esi
leave
ret

Function at 0x1000621a
Capabilities:
Write file on windows

Disassembly:
cmp dword [ecx + 4], 1
jne 0x10006223
xor eax, eax
ret
mov ecx, dword [ecx + 0x20]
jmp fcn.10005e40
Function at 0x10006252
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100062a1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
call fcn.10004318
mov edi, eax
push edi
push dword [ebp + 8]
push esi
push 0x4e21
call fcn.10004432
push edi
call fcn.10025a7c
add esp, 0x18
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
leave
ret
cmp dword [ebp - 8], 0
je 0x100062ad
movzx eax, byte [ebp - 1]
leave
ret
or eax, 0xffffffff
leave
ret

Function at 0x1000681e
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov dword [ebp - 4], ebx
and ebx, 0xff
cmp dword [ebp + 0xc], 1
push edi
mov esi, ecx
jne 0x1000684a
push 3
mov eax, SysReAllocStringLen
pop ecx
mov dword [ebp + 0x10], 0x4e23
jmp 0x10006868
xor ecx, ecx
cmp dword [ebp + 0xc], 2
mov eax, 0x40000000
setne cl
lea ecx, [ecx + ecx + 2]
test ebx, ebx
jne 0x10006861
inc ebx
mov dword [ebp + 0x10], 0x4e24
push 0
push 0x80
push ecx
push 0
push 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100068b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
call fcn.10004318
mov edi, eax
movzx eax, word [ebp + 0x10]
push edi
push esi
push dword [ebp + 8]
push eax
call fcn.10004432
push edi
call fcn.10025a7c
add esp, 0x18
push 0xfffffffffffffffe
pop eax
jmp 0x10006915
push dword [ebp + 8]
call fcn.10004252
pop ecx
mov ecx, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov byte [esi + 0x10], 0
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edi
cmp eax, 1
jne 0x100068e7
mov ecx, esi
call fcn.100062ec
jmp 0x10006915
mov byte [esi + 0x24], 1
cmp eax, 3
jne 0x1000690c
xor ebx, ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
je 0x1000690c
push 2
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov byte [esi + 0x24], bl
mov ecx, esi
call fcn.10006511
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x100070bc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
test esi, esi
jne 0x100070cf
push 0xd
pop eax
jmp 0x100070f7
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x100070d2
push edi
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x1000bcf8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x100500c9
call fcn.100252e9
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x10]
xor edi, edi
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x424], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x418], edi
mov byte [ebp - 4], 1
cmp esi, edi
je 0x1000bdac
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
push eax
call fcn.10006e0d
add esp, 0xc
test eax, eax
js 0x1000bdac
mov ebx, dword [ebp - 0x41c]
cmp ebx, 0x400
jg 0x1000bd8c
push ebx
call fcn.10007ada
pop ecx
test al, al
je 0x1000bd8c
mov eax, ebx
call fcn.10027f50
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x1000bd9e
push ebx
lea ecx, [ebp - 0x424]
call fcn.10008980
mov edi, dword [ebp - 0x424]
push 3
push ebx
push esi
push eax
call fcn.10006ef3
test eax, eax
jne 0x1000bdde
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1000bdd0
lea ecx, [ebp - 0x418]
call fcn.10007a3f
jmp 0x1000bdd0
push edi
mov edi, dword [edi]
call fcn.10025a7c
pop ecx
test edi, edi
jne 0x1000bdc7
mov eax, 0x8007000e
jmp 0x1000befb
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
test ebx, ebx
jne 0x1000be01
call fcn.1000700b
mov esi, eax
jmp 0x1000bed1
push dword [ebp - 0x420]
push dword [ebp - 0x428]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x1000be24
call fcn.1000700b
jmp 0x1000bec3
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x1000be1a
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x428], esi
cmp eax, esi
jae 0x1000be54
mov esi, 0x8007000e
jmp 0x1000bec5
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.1000a03c
mov dword [ebp - 4], 1
jmp 0x1000be86
cmp dword [ebp - 0x418], 0
je 0x1000be4d
push esi
push dword [ebp - 0x420]
push esi
push dword [ebp - 0x418]
call fcn.10006fa7
mov eax, dword [ebp - 0x418]
add esp, 0x10
push dword [ebp + 0x14]
mov byte [eax + esi], 0
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.1000b20d
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1000bef5
lea ecx, [ebp - 0x418]
call fcn.10007a3f
jmp 0x1000bef5
push edi
mov edi, dword [edi]
call fcn.10025a7c
pop ecx
test edi, edi
jne 0x1000beec
mov eax, esi
lea esp, [ebp - 0x440]
call fcn.10025345
ret 0x10
Function at 0x1001947e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push str.Started
lea ecx, [ebp - 0xc]
call fcn.10001b63
push str.superAlert
lea ecx, [ebp - 8]
call fcn.10001b63
mov eax, dword [0x1006a014]
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100206ee
pop ecx
pop ecx
push eax
push 0x1006d2b4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10020985
add esp, 0xc
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10020985
add esp, 0xc
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10020985
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x14]
add esp, 0xc
xor ebx, ebx
push ebx
push eax
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.10001ca4
lea ecx, [ebp - 0x10]
call fcn.10001270
lea ecx, [ebp - 0x14]
call fcn.10001270
lea ecx, [ebp - 0x18]
call fcn.10001270
lea ecx, [ebp - 4]
call fcn.10001270
lea ecx, [ebp - 0x1c]
call fcn.10001270
lea ecx, [ebp - 8]
call fcn.10001270
lea ecx, [ebp - 0xc]
call fcn.10001270
push 4
call fcn.1002536f
pop ecx
cmp eax, ebx
je 0x10019552
mov ecx, dword [0x1006a014]
mov dword [eax], ecx
mov edi, eax
jmp 0x10019554
xor edi, edi
push str.:_t_t_n
lea ecx, [ebp - 8]
call fcn.10001b63
push str.Alert_From
lea ecx, [ebp - 0xc]
call fcn.10001b63
mov eax, dword [0x1006a014]
push dword [ebp + 0xc]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x20]
push eax
call fcn.100206ee
pop ecx
pop ecx
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.1001feef
pop ecx
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10020985
add esp, 0xc
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10020985
add esp, 0xc
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10020985
add esp, 0xc
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10020985
add esp, 0xc
push eax
mov ecx, edi
call fcn.100016b4
lea ecx, [ebp - 0x1c]
call fcn.10001270
lea ecx, [ebp - 0x18]
call fcn.10001270
lea ecx, [ebp - 0x14]
call fcn.10001270
lea ecx, [ebp - 0x10]
call fcn.10001270
lea ecx, [ebp + 8]
call fcn.10001270
lea ecx, [ebp - 4]
call fcn.10001270
lea ecx, [ebp - 0x20]
call fcn.10001270
lea ecx, [ebp - 0xc]
call fcn.10001270
lea ecx, [ebp - 8]
call fcn.10001270
lea eax, [ebp - 0x24]
push eax
push ebx
push edi
push 0x10016b1f
push ebx
push ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp byte [esi + 0x27], bl
jne 0x10019645
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8
Function at 0x10019c26
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x1006b490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push str.Started
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x1a8], eax
call fcn.10001b63
push str.resolveIp
lea ecx, [ebp - 0x1a4]
call fcn.10001b63
mov eax, dword [0x1006a014]
mov dword [ebp - 0x198], eax
lea eax, [ebp - 0x1a0]
push edi
push eax
call fcn.100206ee
pop ecx
pop ecx
push eax
push 0x1006d2b4
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x1b4]
push eax
call fcn.10020985
add esp, 0xc
push eax
lea eax, [ebp - 0x1b0]
push eax
call fcn.10020985
add esp, 0xc
push eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.10020985
mov ecx, dword [esi + 0x14]
add esp, 0xc
xor ebx, ebx
push ebx
push eax
lea eax, [ebp - 0x1a4]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.10001ca4
lea ecx, [ebp - 0x1ac]
call fcn.10001270
lea ecx, [ebp - 0x1b0]
call fcn.10001270
lea ecx, [ebp - 0x1b4]
call fcn.10001270
lea ecx, [ebp - 0x198]
call fcn.10001270
lea ecx, [ebp - 0x1a0]
call fcn.10001270
lea ecx, [ebp - 0x1a4]
call fcn.10001270
lea ecx, [ebp - 0x19c]
call fcn.10001270
cmp dword [ebp - 0x1a8], ebx
jne 0x10019d3c
xor eax, eax
inc eax
jmp 0x10019e3b
lea eax, [ebp - 0x194]
push eax
mov esi, 0x101
push esi
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x10019e39
cmp si, word [ebp - 0x194]
jne 0x10019e39
push edi
lea ecx, [ebp - 0x19c]
call fcn.10002110
mov ecx, dword [eax]
cmp ecx, ebx
je 0x10019d7d
call fcn.1000208b
jmp 0x10019d7f
xor eax, eax
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, dword [ebp - 0x19c]
mov edi, eax
cmp ecx, ebx
je 0x10019d9d
call fcn.100021fb
mov dword [ebp - 0x19c], ebx
cmp edi, ebx
je 0x10019d34
mov eax, dword [0x1006a014]
mov dword [ebp - 0x198], eax
mov eax, dword [edi + 0xc]
cmp dword [eax], ebx
je 0x10019e05
xor esi, esi
mov eax, dword [esi + eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, dword [ebp - 0x198]
add esi, 4
cmp dword [ecx - 8], ebx
mov dword [ebp - 0x1a0], eax
lea ecx, [ebp - 0x198]
jle 0x10019df7
push 0x10056ba0
call fcn.10005875
push dword [ebp - 0x1a0]
lea ecx, [ebp - 0x198]
call fcn.10005875
jmp 0x10019dfd
push eax
call fcn.10001707
mov eax, dword [edi + 0xc]
cmp dword [esi + eax], ebx
jne 0x10019db5
call dword [sym.imp.WS2_32.dll_WSACleanup]
push ecx
lea eax, [ebp - 0x198]
mov ecx, esp
mov dword [ebp - 0x1a0], esp
push eax
call fcn.10001b2d
call fcn.1002078c
pop ecx
mov ecx, dword [ebp - 0x1a8]
mov dword [ecx], eax
lea ecx, [ebp - 0x198]
call fcn.10001270
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002523b
leave
ret 0xc
Function at 0x1001c61d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
xor ebx, ebx
push str.Started
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x20], ebx
call fcn.10001b63
push str.crossDomainAjaxRequest
lea ecx, [ebp - 8]
call fcn.10001b63
mov eax, dword [0x1006a014]
push dword [ebp + 0x18]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100206ee
pop ecx
pop ecx
push eax
push 0x1006d2b4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10020985
add esp, 0xc
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10020985
add esp, 0xc
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10020985
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x14]
add esp, 0xc
push ebx
push eax
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.10001ca4
lea ecx, [ebp - 0x10]
call fcn.10001270
lea ecx, [ebp - 0x14]
call fcn.10001270
lea ecx, [ebp - 0x18]
call fcn.10001270
lea ecx, [ebp - 4]
call fcn.10001270
lea ecx, [ebp - 0x1c]
call fcn.10001270
lea ecx, [ebp - 8]
call fcn.10001270
lea ecx, [ebp - 0xc]
call fcn.10001270
push 0x34
call fcn.1002536f
mov edi, eax
pop ecx
test edi, edi
je 0x1001c77c
push dword [ebp + 0x24]
lea eax, [ebp - 4]
push eax
mov ebx, 0xff
call fcn.100206ee
pop ecx
pop ecx
push eax
push dword [ebp + 0x20]
lea eax, [ebp - 8]
push eax
call fcn.100206ee
pop ecx
pop ecx
push eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0xc]
push eax
call fcn.100206ee
pop ecx
pop ecx
push eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x10]
push eax
call fcn.100206ee
pop ecx
pop ecx
push eax
push dword [esi + 0x64]
lea eax, [esi + 0x18]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push eax
call fcn.100206ee
pop ecx
pop ecx
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.100206ee
pop ecx
pop ecx
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.100206ee
pop ecx
pop ecx
push eax
push 1
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.1001bc25
push eax
mov ecx, edi
call fcn.10015cc8
mov esi, eax
jmp 0x1001c77e
xor esi, esi
test bl, bl
jns 0x1001c790
lea ecx, [ebp + 8]
and ebx, 0xffffff7f
call fcn.10001270
test bl, 0x40
je 0x1001c7a0
lea ecx, [ebp - 0x1c]
and ebx, 0xffffffbf
call fcn.10001270
test bl, 0x20
je 0x1001c7b0
lea ecx, [ebp - 0x18]
and ebx, 0xffffffdf
call fcn.10001270
test bl, 0x10
je 0x1001c7c0
lea ecx, [ebp - 0x14]
and ebx, 0xffffffef
call fcn.10001270
test bl, 8
je 0x1001c7d0
lea ecx, [ebp - 0x10]
and ebx, 0xfffffff7
call fcn.10001270
test bl, 4
je 0x1001c7e0
lea ecx, [ebp - 0xc]
and ebx, 0xfffffffb
call fcn.10001270
test bl, 2
je 0x1001c7f0
lea ecx, [ebp - 8]
and ebx, 0xfffffffd
call fcn.10001270
test bl, 1
je 0x1001c7fd
lea ecx, [ebp - 4]
call fcn.10001270
xor eax, eax
lea ecx, [ebp - 0x20]
push ecx
push eax
push esi
push 0x100166a5
push eax
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x20
Function at 0x100224ac
Capabilities:
Get common file path

Disassembly:
push 0x114
mov eax, 0x100537d1
call fcn.100252b3
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x11c], ebx
mov eax, dword [0x1006a014]
mov dword [ebp - 0x120], esi
mov dword [esi], eax
push 0x103
xor edi, edi
lea eax, [ebp - 0x113]
push ebx
inc edi
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x11c], edi
mov byte [ebp - 0x114], bl
call fcn.100255c0
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push ebx
push ebx
push 5
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x1002253f
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x118]
call fcn.10001b63
mov eax, dword [eax]
push eax
push dword [eax - 8]
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.100057ea
lea ecx, [ebp - 0x118]
call fcn.10001270
jmp 0x1002254b
push 0x1005a584
mov ecx, esi
call fcn.10005875
mov eax, esi
call fcn.10025336
ret

Function at 0x10022553
Capabilities:
Query environment variable

Disassembly:
push 0x108
mov eax, 0x1005381b
call fcn.100252b3
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0xf9
lea eax, [ebp - 0x10b]
push ebx
mov dword [ebp - 0x110], ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x114], esi
mov byte [ebp - 0x10c], bl
call fcn.100255c0
add esp, 0xc
push 0xfa
lea eax, [ebp - 0x10c]
push eax
push str._userprofile_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [ebp - 0x10c]
push eax
mov ecx, esi
call fcn.10001b63
mov eax, dword [esi]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x110], 1
mov ecx, esi
cmp dword [eax - 8], ebx
je 0x100225d3
push str.AppDataLocalLow
jmp 0x100225d8
push 0x1005a584
call fcn.10005875
mov eax, esi
call fcn.10025336
ret

Function at 0x100229f9
Capabilities:
Get graphical window text

Disassembly:
push 0x214
mov eax, 0x10053912
call fcn.100252b3
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x218], eax
cmp eax, ebx
je 0x10022af9
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
push ebx
mov edi, str.IEFrame
push edi
push ebx
push ebx
call esi
mov dword [ebp - 0x214], eax
cmp eax, ebx
je 0x10022af9
push str.Navigation_Bar
push str.WorkerW
push ebx
push dword [ebp - 0x214]
call esi
push ebx
push str.ReBarWindow32
push ebx
push eax
call esi
push ebx
push str.Address_Band_Root
push ebx
push eax
call esi
push ebx
push str.Edit
push ebx
push eax
call esi
push 0x1ff
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x20f]
push ebx
push eax
mov byte [ebp - 0x210], bl
call fcn.100255c0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x200
push 0xd
push dword [ebp - 0x220]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x21c]
call fcn.10001b63
mov ecx, dword [ebp - 0x218]
lea eax, [ebp - 0x214]
push eax
mov dword [ebp - 4], ebx
call fcn.1000d460
push ebx
push edi
push dword [ebp - 0x214]
push ebx
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x214], eax
call fcn.10001270
cmp dword [ebp - 0x214], ebx
jne 0x10022a3a
call fcn.10025336
ret