joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c170
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebp, dword [0x4f8030]
mov esi, dword [esp + 0x40]
test ebp, ebp
jne 0x41c198
mov eax, dword [esi + 8]
test eax, eax
je 0x41c1f0
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [esi + 8]
test edi, edi
je 0x41c200
mov ebx, dword [0x4f8a60]
call sub.KERNEL32.dll_GetLastError
mov dword [esp], ebx
mov ebp, eax
call sub.KERNEL32.dll_TlsGetValue
sub esp, 4
mov ebx, eax
mov dword [esp], ebp
call sub.KERNEL32.dll_SetLastError
sub esp, 4
test ebx, ebx
je 0x41c290
mov ebp, dword [ebx]
cmp ebp, edi
jb 0x41c2e0
lea ebx, [ebx + edi*4]
mov eax, dword [ebx]
test eax, eax
jne 0x41c18c
mov eax, esi
call fcn.0041c060
mov dword [ebx], eax
jmp 0x41c18c
mov eax, esi
call fcn.0041c060
mov dword [esi + 8], eax
jmp 0x41c18c
mov edi, dword [0x4f8030]
test edi, edi
je 0x41c368
mov ebx, dword [0x4af0a8]
test ebx, ebx
je 0x41c338
mov dword [esp], 0x4f8a64
call sub.KERNEL32.dll_InterlockedIncrement
sub esp, 4
test eax, eax
jne 0x41c3ab
mov edi, dword [esi + 8]
test edi, edi
je 0x41c373
mov eax, dword [0x4f8030]
test eax, eax
je 0x41c19f
mov dword [esp], 0x4f8a64
call sub.KERNEL32.dll_InterlockedDecrement
sub esp, 4
test eax, eax
js 0x41c19f
mov eax, dword [0x4f8a68]
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.KERNEL32.dll_ReleaseSemaphore
sub esp, 0xc
jmp 0x41c19f
lea eax, [edi + 0x21]
mov dword [esp + 4], 4
lea ebp, [edi + 0x20]
mov dword [esp], eax
call sub.msvcrt.dll_calloc
mov ebx, eax
test eax, eax
je 0x4a83fe
mov dword [eax], ebp
mov eax, dword [0x4f8a60]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.KERNEL32.dll_TlsSetValue
sub esp, 8
test eax, eax
jne 0x41c1d6
call sub.KERNEL32.dll_GetLastError
jmp 0x41c1d6
lea edx, [ebp + ebp]
cmp edi, edx
jbe 0x41c2eb
lea edx, [edi + 0x20]
lea eax, [edx*4 + 4]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 0x1c], edx
call fcn.0040fa50
mov ebx, eax
test eax, eax
je 0x4a83fe
mov edx, dword [esp + 0x1c]
mov dword [eax], edx
sub edx, ebp
lea eax, [eax + ebp*4 + 4]
shl edx, 2
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp], eax
call sub.msvcrt.dll_memset
jmp 0x41c2b2
mov dword [esp], 0x4af0ac
call sub.KERNEL32.dll_InterlockedIncrement
sub esp, 4
test eax, eax
jne 0x41c39f
call fcn.0041c100
mov dword [0x4af0a8], 1
mov edx, dword [0x4f8030]
test edx, edx
jne 0x41c21c
mov edi, dword [esi + 8]
test edi, edi
jne 0x41c19f
mov eax, dword [0x4f8a5c]
lea edi, [eax + 1]
mov dword [0x4f8a5c], edi
mov dword [esi + 8], edi
jmp 0x41c23e
mov dword [esp], 0
call sub.KERNEL32.dll_Sleep
sub esp, 4
mov ecx, dword [0x4af0a8]
test ecx, ecx
je 0x41c390
jmp 0x41c35a
mov eax, dword [0x4f8a68]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sub.KERNEL32.dll_WaitForSingleObject
sub esp, 8
test eax, eax
je 0x41c233
mov dword [esp], 0x4f8a64
call sub.KERNEL32.dll_InterlockedDecrement
sub esp, 4
jmp 0x41c233
Function at 0x41f310
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ecx, 0x1a
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x80]
mov esi, 0x4b1f85
push ebx
sub esp, 0x9c
mov eax, dword [str.not_enough_space_for_format_expansion__Please_submit_full_bug_report_at_https:__gcc.gnu.org_bugs__:_n]
mov dword [ebp - 0x81], eax
mov eax, dword [0x4b1fe9]
mov dword [ebp - 0x1c], eax
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp + 8]
lea eax, [edx + 0x84]
and eax, 0xfffffff0
call fcn.00417b40
mov ecx, 0x1a
sub esp, eax
lea esi, [ebp - 0x81]
mov dword [ebp - 0x8c], edx
lea ebx, [esp + 0x1b]
and ebx, 0xfffffff0
mov edi, ebx
lea eax, [ebx + 0x68]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x8c]
mov byte [ebx + edx + 0x68], 0
mov dword [esp], ebx
call fcn.004a7018
nop
nop
nop
nop
nop
nop
nop
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
cmp byte [0x4b0b1c], 0
jne 0x4a8218
mov byte [0x4b0b1c], 1
call fcn.004a55f0
test eax, eax
je 0x4a824a
mov ebx, dword [eax + 4]
xor eax, eax
cmp byte [ebx], 0x2a
mov dword [esp + 8], 0
sete al
mov dword [esp + 4], 0
add ebx, eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call fcn.0040b800
mov edi, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x30
mov dword [esp + 4], 1
mov esi, eax
lea ebp, [edi + 0x40]
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
mov dword [esp + 0xc], ebp
call sub.msvcrt.dll_fwrite
mov edx, dword [esp + 0x1c]
mov dword [esp + 4], ebp
test edx, edx
jne 0x41f3e8
mov dword [esp], esi
call sub.msvcrt.dll_fputs
lea eax, [edi + 0x40]
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4b2cd9
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4a8245
mov dword [esp], esi
call fcn.0040fad0
jmp 0x4a8245
mov dword [esp], ebx
call sub.msvcrt.dll_fputs
jmp 0x41f3ac
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1d
mov dword [esp + 4], 1
add eax, 0x40
mov dword [esp], str.terminate_called_recursively_n
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
call fcn.004a59c0
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x2d
mov dword [esp + 4], 1
add eax, 0x40
mov dword [esp], str.terminate_called_without_an_active_exception_n
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
sub edx, 1
mov dword [esp], eax
jne 0x4a82d3
call fcn.004a54d0
add edi, 0x40
mov ecx, eax
mov eax, dword [eax]
call dword [eax + 8]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0xb
mov ebx, eax
mov dword [esp + 4], 1
mov dword [esp], str.__what__:
call sub.msvcrt.dll_fwrite
mov dword [esp + 4], edi
mov dword [esp], ebx
call sub.msvcrt.dll_fputs
mov dword [esp + 4], edi
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
call fcn.004a5640
jmp 0x4a8272
call fcn.004a54d0
call fcn.004a5640
jmp 0x4a8272
Function at 0x10008ec6
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x10008f28
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 8]
push ebx
mov ebx, ecx
test edx, edx
jne 0x10008f38
push 0xd
pop eax
jmp 0x10008f6e
push ebp
push esi
push edi
xor esi, esi
mov edi, edx
mov ecx, edi
lea ebp, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008f44
sub ecx, ebp
lea eax, [ecx + 1]
add edi, eax
add esi, eax
cmp eax, 1
jne 0x10008f3f
push esi
push edx
push 7
push 0
push dword [esp + 0x24]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x1000bb8b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x1000bb9a
pop dword [ebp - 0x4c]
mov eax, 0xe6ab8b1e
sub eax, 0xd6aacf84
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x34da2
push 0
mov eax, 0x210403e6
sub eax, 0x110332de
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x3de8
mov edi, eax
mov esi, 0x10021400
add esi, dword [ebp - 0x4c]
mov ebx, 0x3bfda8df
add ebx, 0x117f63fc
add dword [ebp - 0x40], 0x1745bc0e
mov edx, dword [esi]
sub dword [ebp - 0x34], 0x20359489
xor edx, ebx
xor dword [ebp - 0x2c], 0x5400ec47
mov dword [edi], edx
add dword [ebp - 0x10], 0x364d1331
add edi, 0x872c9579
add edi, 0x78d36a8b
add esi, 0x81083217
add esi, 0x7ef7cded
loop 0x1000bbed
add eax, 0xb6ab5260
add eax, 0x49559813
mov ebx, eax
add eax, 0xa8bca4e5
add eax, 0x57435b20
mov ecx, 0x61e8f8b3
sub ecx, 0x51e8f8b3
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x100015a0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
push ebx
push ebp
push edi
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [esp + 0x14], 0x3e8
jge 0x1000160c
mov edi, dword [sym.imp.USER32.dll_UpdateWindow]
mov ebx, dword [sym.imp.USER32.dll_SetFocus]
mov ebp, dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, edi
push esi
call edi
push esi
call ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 1
push 0
push 0
push ecx
push edx
push 0xfffffffffffffffe
push esi
call ebp
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0x3e8
mov dword [esp + 0x14], eax
jl 0x100015d0
push 0
push esi
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 0x18
ret
Function at 0x10004f40
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014757b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x10189710]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x470]
inc eax
push eax
call fcn.101264a0
mov ebx, eax
add esp, 4
mov dword [ebp - 0x21c], ebx
test ebx, ebx
je 0x100050e3
mov ecx, dword [edi + 0x470]
inc ecx
push ecx
push 0
push ebx
call fcn.1012e060
mov edx, dword [edi + 0x470]
inc edx
add esp, 0xc
push edx
lea esi, [edi + 0x480]
push str.WinHttpReadData___u_
mov edx, esi
call fcn.100027f0
add esp, 8
cmp dword [0x101a8978], 0
je 0x10004fe3
push esi
push 0x10153fb0
push 0
call fcn.1006ed90
add esp, 0xc
mov eax, dword [edi + 0x470]
lea ecx, [eax + 1]
add dword [edi + 0x454], ecx
mov ecx, dword [edi + 0x454]
push ecx
inc eax
push eax
lea edx, [edi + 0x350]
push str.HttpReadData___u___Total:__u_
push edx
call fcn.1006ed90
add esp, 0x10
call fcn.10089550
mov eax, dword [edi + 0x470]
mov ecx, dword [edi + 0x46c]
push 0
push eax
push ebx
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x100050fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push ebx
push esi
push str._s:_Error__d_encountered.
lea edx, [ebp - 0x218]
call fcn.100027f0
add esp, 0xc
xor edx, edx
lea eax, [ebp - 0x218]
mov word [ebp - 0x234], dx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10005076
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x238]
call fcn.10009fd0
push 0xffffffffffffffff
mov byte [ebp - 4], 1
push 0
lea ecx, [edi + 0x230]
mov eax, esi
mov dword [edi + 0x22c], 1
call fcn.10009c90
cmp dword [ebp - 0x220], 8
mov dword [edi + 0x228], ebx
jb 0x100050d4
mov eax, dword [ebp - 0x234]
push eax
call fcn.10128f9e
add esp, 4
mov ecx, dword [ebp - 0x21c]
push ecx
call fcn.10128f5b
add esp, 4
xor al, al
jmp 0x100050fe
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10127db1
mov esp, ebp
pop ebp
ret
Function at 0x1000ed80
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x24
push ebp
push esi
push edi
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
push 0
push 5
push ebx
mov dword [esp + 0x1c], eax
call ebp
mov esi, eax
mov edi, 1
cmp esi, 0x102
jne 0x1000ee33
cmp edi, 0x14
jl 0x1000edcb
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x34]
ja 0x1000ee33
cmp dword [esp + 0xc], 0
jne 0x1000ee21
push 0
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1000ee21
cmp dword [esp + 0x18], 0x12
je 0x1000ee19
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetMessageA]
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x1000edd2
mov dword [esp + 0xc], 1
push 0
push 5
push ebx
call ebp
mov esi, eax
inc edi
cmp esi, 0x102
je 0x1000edb4
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x24
ret

Function at 0x1000ee40
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101833e8
push 0x10132540
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10189710]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x1000eed5
jle 0x1000ee96
cmp byte [esi + edi - 1], 0x2e
je 0x1000eed5
push 0x2e
push edi
call fcn.10128490
add esp, 8
test eax, eax
je 0x1000eed5
add esi, 2
push esi
call fcn.10128320
add esp, 4
mov esi, eax
test esi, esi
je 0x1000eed5
mov ebx, 1
mov dword [ebp - 0x20], ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x10157178
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x1000eed7
mov esi, edi
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
test ebx, ebx
je 0x1000eef6
push esi
call fcn.10128243
add esp, 4
push edi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
jmp 0x1000ef17
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000f050
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101833a8
push 0x10132540
mov eax, dword fs:[0]
push eax
sub esp, 0x128
push ebx
push esi
push edi
mov eax, dword [0x10189710]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor esi, esi
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
xor edi, edi
lea ebx, [esi + 1]
mov ecx, dword [0x101aacf4]
mov dword [ebp - 0x2c], edi
cmp edi, dword [ebp + 0xc]
jge 0x1000f155
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x138], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x1c], 4
cmp ecx, esi
je 0x1000f0ff
or eax, 0xffffffff
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x1c], 5
lea ecx, [ebp - 0x28]
push ecx
push esi
push esi
lea edx, [ebp - 0x138]
push edx
push esi
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 6
mov ecx, dword [0x101aacf4]
cmp ecx, esi
jne 0x1000f0e0
mov dword [ebp - 0x1c], 7
cmp eax, esi
jne 0x1000f14e
add edi, ebx
mov dword [ebp - 0x1c], 8
mov dword [ebp - 0x1c], 0xa
jmp 0x1000f0a4
mov dword [ebp - 0x1c], 9
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000f1b0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10183388
push 0x10132540
mov eax, dword fs:[0]
push eax
sub esp, 0x118
push ebx
push esi
push edi
mov eax, dword [0x10189710]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 0xa
mov dword [ebp - 0x128], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x128], 1
cmp dword [0x101aacf4], esi
jne 0x1000f23e
lea ecx, [ebp - 0x24]
push ecx
push esi
push esi
lea edx, [ebp - 0x128]
push edx
push esi
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x1c], eax
cmp dword [0x101aacf4], esi
je 0x1000f25f
mov dword [ebp - 0x1c], 0xffffffff
jmp 0x1000f25f
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000f9c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10183368
push 0x10132540
mov eax, dword fs:[0]
push eax
sub esp, 0xc1c
mov eax, dword [0x10189710]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov ebx, edx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov ecx, dword [0x101b594c]
push 0
push edi
push eax
push ebx
test ecx, ecx
je 0x1000fa1a
call ecx
jmp 0x1000fa20
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x1000fa77
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0xc28], eax
push 0x400
lea esi, [ebp - 0x424]
call fcn.10065360
add esp, 4
mov eax, esi
push eax
mov ecx, dword [ebp - 0xc28]
push ecx
push ebx
push edi
push str.Error:_SendBuffer___of__ld_bytes_to_socket__d_failed___Error_no:__d___s_
lea edx, [ebp - 0xc24]
push edx
call fcn.10127dc0
lea eax, [ebp - 0xc24]
push eax
push 0x1014d8cc
call fcn.10017540
add esp, 0x20
jmp 0x1000fa9d
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x1000faa6
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.10127db1
mov esp, ebp
pop ebp
ret
Function at 0x10011980
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
push edi
push 0x207
xor edi, edi
lea eax, [esp + 0x15]
push edi
push eax
mov byte [esp + 0x1c], 0
call fcn.1012e060
add esp, 0xc
mov dword [esp + 8], edi
call fcn.1006b040
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x100
xor ecx, ecx
add esi, 0x20019
call fcn.1007aaf0
test eax, eax
je 0x100119ef
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.10127db1
add esp, 0x214
ret
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 8]
push edx
push esi
lea eax, [esp + 0x18]
push eax
push reloc.WS2_32.dll_accept
call fcn.1007ebc0
test eax, eax
jne 0x100119d6
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
push eax
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x18]
push str.ProxyServer
push eax
mov dword [esp + 0x24], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10011a61
push eax
lea ecx, [esp + 0x14]
push str.cgglobal
push ecx
call fcn.10063340
add esp, 0xc
cmp eax, 0xffffffff
je 0x10011a61
mov edi, 1
mov eax, dword [esp + 8]
test eax, eax
je 0x10011a70
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x218]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.10127db1
add esp, 0x214
ret
Function at 0x100195a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x5004]
mov eax, 0x5004
call fcn.10140530
push 0xfffffffffffffffe
push 0x10183228
push 0x10132540
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10189710]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x5000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp + 0x500c]
mov eax, dword [ebp + 0x5010]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
mov byte [ebp], 0
push 0x4fff
xor esi, esi
push esi
lea eax, [ebp + 1]
push eax
call fcn.1012e060
add esp, 0xc
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
mov ecx, 9
mov esi, str.SOFTWAREMicroWorldMailScan_for_SMTP_
lea edi, [ebp]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, ebx
mov edx, ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10019634
sub eax, edx
lea edi, [ebp]
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10019641
mov ecx, eax
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [ebp]
call fcn.10065240
lea ecx, [ebp - 0x1c]
push ecx
mov edx, esi
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
je 0x10019695
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x1001974c
lea edx, [ebp + 0x5014]
push edx
mov edi, dword [ebp - 0x24]
push edi
lea eax, [ebp - 0x2c]
push eax
push 0
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10019735
cmp eax, 0xea
jne 0x100196e7
mov edx, dword [ebp - 0x20]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x5014]
mov dword [ebp - 4], 0xfffffffe
jmp 0x1001974c
mov esi, dword [ebp - 0x20]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [ebp + 0x5018], 1
jne 0x10019735
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10019700
sub eax, edx
inc eax
push eax
push esi
push 1
push 0
push ebx
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x10019735
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1001974a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x5000]
xor ecx, ebp
call fcn.10127db1
add ebp, 0x5004
mov esp, ebp
pop ebp
ret