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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x20]
test eax, eax
jle 0x70374bcc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], eax
mov esi, dword [edi + 0x1c]
push dword [0x703bde5c]
add esi, ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [esi + 4]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x10]
add esi, 8
push esi
call fcn.70371244
add ebx, 0xc
dec dword [ebp - 4]
jne 0x70374b9e
pop esi
pop ebx
lea ecx, [edi + 0x1c]
call fcn.70371900
pop edi
leave
ret

Function at 0x7037567e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
push dword [0x703bde5c]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [esi]
test edx, edx
je 0x7037569e
lea ecx, [edx - 4]
jmp 0x703756a0
xor ecx, ecx
mov edi, dword [ebp + 8]
mov edx, dword [eax]
push ebx
lea ebx, [edi*4 + 4]
push ebx
push ecx
mov ecx, eax
call dword [edx + 8]
test eax, eax
pop ebx
je 0x703756c9
add eax, 4
push edi
mov ecx, esi
mov dword [esi], eax
call fcn.70375628
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 8

Function at 0x70376ff2
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor eax, eax
sub esp, 0x20
cmp dword [0x703c1068], eax
je 0x70377057
mov ecx, dword [0x703d2944]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [0x703d2940]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0xc]
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 8], ecx
call sym.UXCore.dll_DUserSendEvent
cmp eax, 0x40001
jne 0x70377048
mov eax, dword [ebp - 4]
jmp 0x70377066
push 0x7030b268
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x70377066
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
leave
ret 0xc

Function at 0x7037706f
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x703c1068], 0
je 0x703770b6
mov eax, dword [0x703d2948]
mov dword [ebp - 0xc], eax
mov eax, dword [0x703d2940]
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], 0x10
call sym.UXCore.dll_DUserSendEvent
cmp eax, 0x40001
je 0x703770c1
push 0x7030b298
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
leave
ret
push 0x703d295c
call dword [0x703d2928]
leave
ret
Function at 0x7037779d
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xor esi, esi
cmp dword [0x703d2934], esi
je 0x703777b7
xor eax, eax
jmp 0x70377853
cmp dword [0x703d293c], esi
jne 0x703777da
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, esi
mov dword [0x703d293c], eax
jne 0x703777da
mov esi, 0x8007000e
jmp 0x70377851
lea eax, [ebp - 8]
push eax
push esi
push esi
push 0x7037767c
push esi
push esi
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
cmp eax, esi
mov dword [0x703d2934], eax
je 0x703777d3
mov ecx, dword [0x703d293c]
push 0xffffffffffffffff
mov dword [ebp - 0xc], eax
push esi
lea eax, [ebp - 0x10]
push eax
push 2
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
sub eax, esi
je 0x70377845
dec eax
je 0x70377822
mov esi, 0x80004005
jmp 0x70377845
lea eax, [ebp - 4]
push eax
push dword [0x703d2934]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
mov esi, dword [ebp - 4]
jne 0x7037783e
mov esi, 0x80004005
push 1
call fcn.70376fab
push dword [0x703d293c]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, esi
pop esi
leave
ret

Function at 0x703779ab
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x703c1050]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 5
sbb eax, eax
and dword [0x703d29a0], 0
inc eax
mov dword [0x703d29a4], eax
call fcn.7037798c
mov ecx, dword [ebp - 4]
mov dword [0x703d29a8], eax
neg eax
sbb eax, eax
and eax, 0x7ff8fff2
xor ecx, ebp
add eax, 0x8007000e
call fcn.7038fba1
leave
ret

Function at 0x70377ef8
Capabilities:
Get thread local storage value

Disassembly:
push 4
mov eax, 0x7039585f
call fcn.7038fbb5
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 1
and dword [ebp - 4], 0
lea ecx, [esi + 0xc]
mov dword [esi], 0x7030b35c
call fcn.70367c15
push dword [0x703bf6e8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [eax + 0x116c], esi
mov eax, esi
call fcn.7038fc63
ret

Function at 0x70377f49
Capabilities:
Get thread local storage value

Disassembly:
push 4
mov eax, 0x70395ba6
call fcn.7038fbb5
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x7030b35c
push 2
mov dword [ebp - 4], 1
lea edi, [esi + 0x44]
pop ebx
mov eax, dword [edi]
test eax, eax
je 0x70377f7c
push eax
call fcn.70378254
and dword [edi], 0
add edi, 4
dec ebx
jne 0x70377f6d
mov eax, dword [esi + 0x28]
test eax, eax
je 0x70377f8f
push eax
call fcn.70367682
push dword [0x703bf6e8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and dword [eax + 0x116c], 0
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.70390cbe
call fcn.7038fc63
ret
Function at 0x70378198
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebx
push esi
mov ebx, ecx
lea esi, [ebx + 0x1000]
mov eax, dword [esi]
test eax, eax
push edi
mov edi, 0x80
jg 0x703781d5
push dword [0x703bde5c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [eax]
push edi
push 0x200
push ebx
push esi
mov ecx, eax
call dword [edx + 0xc]
mov eax, dword [esi]
test eax, eax
jne 0x703781d5
xor ebx, ebx
jmp 0x703781e7
dec eax
push edi
mov dword [esi], eax
mov ebx, dword [ebx + eax*4]
push 0
push ebx
call sub.MSVCR80.dll_memset
add esp, 0xc
pop edi
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x703781f2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
push esi
mov esi, ecx
je 0x7037824a
mov ecx, dword [esi + 0x1000]
mov dword [esi + ecx*4], eax
inc dword [esi + 0x1000]
cmp dword [esi + 0x1000], 0x400
jl 0x7037824a
push dword [0x703bde5c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [eax]
push 0x80
lea ecx, [esi + 0x800]
push ecx
push 0x200
mov ecx, eax
call dword [edx + 0x14]
add dword [esi + 0x1000], 0xfffffe00
pop esi
pop ebp
ret 4

Function at 0x703786fa
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push edi
push dword [0x703bf6e8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor edi, edi
cmp eax, edi
je 0x7037871f
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
jmp 0x703787b7
push ebx
push esi
mov dword [ebp - 4], 0x80070057
call fcn.703786b8
mov esi, eax
cmp esi, edi
jne 0x7037873f
mov dword [ebp - 4], 0x8007000e
jmp 0x703787d9
push edi
push edi
push edi
push edi
call dword [sym.imp.GDI32.dll_CreateRectRgn]
cmp eax, edi
mov dword [esi + 8], eax
jne 0x70378759
mov dword [ebp - 4], 0x8007000e
jmp 0x703787c3
lea eax, [esi + 0x1184]
mov ecx, dword [eax]
xor ecx, dword [ebp + 8]
mov ebx, 0x703bf734
and ecx, 1
xor dword [eax], ecx
lea edi, [esi + 0x1178]
mov ecx, dword [ebx]
test ecx, ecx
je 0x703787bc
mov eax, dword [ecx]
push esi
call dword [eax]
test eax, eax
mov dword [edi], eax
je 0x703787c3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test eax, eax
mov dword [ebp - 4], eax
jl 0x703787c3
add ebx, 4
add edi, 4
cmp ebx, 0x703bf738
jl 0x70378774
push esi
push dword [0x703bf6e8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
xor eax, eax
pop esi
pop ebx
pop edi
leave
ret 8
mov dword [ebp - 4], 0x80004003
mov eax, dword [esi + 8]
xor edi, edi
cmp eax, edi
je 0x703787d3
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call fcn.70377241
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, dword [ebp - 4]
jmp 0x703787b5

Function at 0x70378949
Capabilities:
Get thread local storage value

Disassembly:
add ecx, 0xd8
jmp fcn.70378859
Function at 0x70379670
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
mov ebx, 0x80070057
je 0x70379721
mov esi, dword [edi + 8]
test esi, esi
je 0x70379721
cmp dword [edi + 4], 0x8000
jl 0x70379721
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov dword [ebp + 8], eax
shr eax, 1
test al, 1
je 0x70379721
push dword [0x703bf6e8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x703796c8
mov ecx, dword [eax + 0x116c]
jmp 0x703796ca
xor ecx, ecx
test ecx, ecx
mov eax, dword [esi + 0x10]
je 0x70379721
test eax, eax
je 0x70379721
test byte [ecx + 0x34], 4
jne 0x70379721
test byte [eax + 0x34], 4
jne 0x70379721
cmp ecx, eax
jne 0x7037970e
test byte [ebp + 0xc], 1
lea ecx, [esi + 0x14]
je 0x70379703
mov eax, dword [ebp + 8]
shr eax, 2
test al, 1
je 0x70379703
push 0
push edi
push esi
call fcn.7036b4f9
jmp 0x7037971f
push 0
push edi
push esi
call fcn.7036b338
jmp 0x7037971f
push dword [ebp + 0xc]
mov eax, dword [eax + 0x44]
mov ecx, dword [ecx + 0x44]
push esi
push edi
push eax
call fcn.70379412
mov ebx, eax
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8

Function at 0x7037c050
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x703bf6e8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x7037c068
mov eax, dword [eax + 0x116c]
jmp 0x7037c06a
xor eax, eax
test eax, eax
je 0x7037c079
mov eax, dword [eax + 0x44]
mov ecx, dword [eax + 0xc]
call fcn.70379a45
xor eax, eax
inc eax
ret

Function at 0x7037f0ef
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x7037f149
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x7037f13a
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x7037f136
cmp esi, eax
jae 0x7037f13a
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x7037f128
cmp esi, eax
jb 0x7037f13e
xor eax, eax
jmp 0x7037f148
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret 0xc
Function at 0x7037f7b2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], edi
call fcn.7037f08a
mov eax, dword [ebp + 0x14]
cmp eax, edi
je 0x7037f7d5
mov dword [eax], edi
mov eax, dword [ebp + 0x18]
cmp eax, edi
je 0x7037f7de
mov dword [eax], edi
mov dword [ebp - 4], 1
add esi, 4
mov eax, dword [esi]
test eax, eax
je 0x7037f817
mov ecx, dword [ebp - 4]
test dword [ebp + 0x10], ecx
je 0x7037f817
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x7037f817
mov eax, dword [esi]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x7037f825
shl dword [ebp - 4], 1
inc edi
add esi, 0x10
cmp edi, 4
jl 0x7037f7e8
jmp 0x7037f85a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebp - 8], eax
je 0x7037f84e
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x7037f84e
mov eax, dword [ebp - 0xc]
shl edi, 4
mov edi, dword [edi + eax + 4]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esi], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x7037f85a
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x703810ab
Capabilities:
Check if file exists
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x703d2adc]
push esi
push edi
xor edi, edi
test eax, eax
mov dword [ebp - 4], eax
mov esi, 0x703d2ad8
jbe 0x7038114b
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
push edi
mov ecx, esi
call fcn.70380e85
cmp dword [eax], 0
je 0x70381144
push edi
mov ecx, esi
call fcn.70380e85
xor ecx, ecx
push ecx
push 0x80
push 3
push ecx
push ecx
push 0xc0000000
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x7038110d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x70381113
cmp byte [ebp + 8], 0
je 0x70381144
push edi
mov ecx, esi
call fcn.70380e85
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x7038115e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x7038115e
cmp byte [ebp + 8], 0
je 0x70381144
push edi
mov ecx, esi
call fcn.70380e85
push dword [eax]
call ebx
inc edi
cmp edi, dword [ebp - 4]
jb 0x703810d1
pop ebx
cmp byte [ebp + 8], 0
je 0x70381158
mov ecx, esi
call fcn.7037fcf8
pop edi
pop esi
leave
ret 4
push edi
mov ecx, esi
call fcn.70380e85
push dword [eax]
call ebx
push edi
mov ecx, esi
call fcn.7037fda5
dec dword [ebp - 4]
jmp 0x70381145

Function at 0x7038117c
Capabilities:
Generate random numbers via winapi
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x703c1050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
xor ebx, ebx
mov dword [ebp - 0x18], eax
xor eax, eax
cmp word [0x703d2ae8], bx
mov word [ebp - 0xc], bx
lea edi, [ebp - 0xa]
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ebx
mov edi, 0x703d2ae8
jne 0x703811c4
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xf0000000
push 1
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
cmp eax, 1
jne 0x7038127c
push esi
xor esi, esi
lea eax, [ebp - 0x1c]
push eax
push 4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0x7030b6e8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, eax
mov eax, dword [ebp - 0x1c]
xor edx, edx
div ecx
inc esi
cmp esi, 3
mov ax, word [edx*2 + 0x7030b6e8]
mov word [ebp + esi*2 - 0xe], ax
jb 0x703811e3
cmp dword [ebp - 0x10], ebx
mov word [ebp - 6], bx
je 0x7038122c
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov esi, dword [ebp - 0x14]
inc dword [0x703bfa54]
add esi, 0x6a
push esi
push dword [0x703bfa54]
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x7038127b
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
cmp dword [ebp - 0x18], ebx
je 0x7038127b
cmp eax, ebx
je 0x7038127b
push dword [ebp - 0x18]
inc eax
inc eax
mov ecx, eax
sub ecx, dword [ebp - 0x14]
mov edx, 0x104
sub ecx, 0x6a
sar ecx, 1
sub edx, ecx
push edx
push eax
call fcn.703369b8
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.7038fba1
leave
ret 4
Function at 0x70381590
Capabilities:
Check if file exists
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
push edi
mov esi, ecx
call fcn.703810ab
add esi, 0x6a
cmp word [esi], di
je 0x70381601
push edi
push 0x80
push 3
push edi
push edi
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x703815e2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x703815fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x703815fe
push esi
call dword [sym.imp.SHLWAPI.dll_StrDupW]
cmp eax, edi
mov dword [ebp - 4], eax
je 0x703815fe
lea eax, [ebp - 4]
push eax
mov ecx, 0x703d2ad8
call fcn.7037fff8
mov word [esi], di
pop edi
pop esi
leave
ret
Function at 0x703868fc
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 4], 0
jne 0x70386915
mov eax, 0x80004003
jmp 0x70386a70
push ebx
push edi
push 0x74
pop ebx
push ebx
lea edi, [esi + 0xc]
push 0
push edi
call sub.MSVCR80.dll_memset
mov ecx, dword [esi + 4]
or dword [esi + 0x10], 0x20000000
add esp, 0xc
lea eax, [ebp - 4]
push eax
mov dword [edi], ebx
call fcn.703467d2
push eax
push 0x20
lea eax, [esi + 0x26]
push eax
call fcn.70336970
mov ecx, dword [ebp - 4]
call fcn.70313a92
push dword [esi + 8]
or dword [esi + 0x10], 0x80000000
mov byte [esi + 0x25], 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0x5a
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ecx, dword [esi + 4]
mov ebx, eax
call fcn.703467f5
push ebx
push 0x48
neg eax
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
imul eax, eax, 0x14
push edi
push dword [esi + 8]
mov dword [esi + 0x18], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esi + 4]
xor ebx, ebx
inc ebx
or dword [esi + 0x10], ebx
call fcn.70346818
cmp eax, 0x258
jl 0x703869af
or dword [esi + 0x14], ebx
mov ecx, dword [esi + 4]
or dword [esi + 0x10], 0xe
call fcn.7034683b
test bl, al
je 0x703869c3
or dword [esi + 0x14], 2
test al, 4
je 0x703869cb
or dword [esi + 0x14], 8
test al, 2
je 0x703869d3
or dword [esi + 0x14], 4
or dword [esi + 0x10], 0x10000000
and dword [esi + 0x1c], 0
mov eax, dword [sym.UXCore.dll_struct_DirectUI::PropertyInfo__DirectUI::Element::ForegroundProp]
mov ecx, dword [esi + 4]
push 2
push dword [eax]
call dword [fcn.7030d138]
mov edi, eax
movzx eax, word [edi + 4]
cmp ax, bx
jne 0x70386a0d
or dword [esi + 0x10], 0x40000000
push dword [edi + 0xc]
call dword [0x7030d1dc]
jmp 0x70386a51
cmp ax, 9
jne 0x70386a54
lea eax, [edi + 0xc]
cmp byte [eax], 0
jne 0x70386a54
or dword [esi + 0x10], 0x40000000
test eax, eax
je 0x70386a44
test byte [edi + 0xd], bl
je 0x70386a44
mov ecx, dword [esi + 4]
push 0xb4
call fcn.7034685e
push eax
push dword [edi + 0x10]
call dword [0x7030d1d8]
jmp 0x70386a47
mov eax, dword [edi + 0x10]
and eax, 0xffffff
or eax, 0x2000000
mov dword [esi + 0x20], eax
mov ecx, edi
call fcn.70313a92
or dword [esi + 0x10], 0xc000000
or dword [esi + 0x14], 0x4000000
pop edi
mov byte [esi + 0x24], bl
xor eax, eax
pop ebx
pop esi
leave
ret
Function at 0x70387c13
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 8]
push esi
xor esi, esi
cmp eax, esi
push edi
mov edi, ecx
mov byte [ebp - 1], 0
je 0x70387c35
cmp eax, 2
jne 0x70387ca5
mov eax, dword [ebx + 0xc]
sub eax, esi
je 0x70387c49
dec eax
jne 0x70387c97
call sym.UXCore.dll_public:_bool___thiscall_WLEditT::GetPinBottom_void_const
mov byte [ebp - 1], al
jmp 0x70387c97
mov eax, dword [ebx + 0x10]
dec eax
je 0x70387c7b
dec eax
jne 0x70387c97
lea eax, [edi + 0xa4]
cmp dword [eax], esi
je 0x70387c97
mov cl, byte [ebx + 0x20]
cmp cl, 1
je 0x70387c69
cmp cl, 2
jne 0x70387c97
or dword [edi + 0xac], 1
mov ecx, edi
mov dword [eax], esi
call fcn.703870fc
jmp 0x70387c97
lea eax, [edi + 0xa4]
cmp dword [eax], esi
jne 0x70387c97
cmp byte [ebx + 0x20], 1
jne 0x70387c97
push esi
mov dword [eax], 1
call sym.UXCore.dll_protected:_long_int___thiscall_WLEditT::SetPinBottomEnabled_bool_
push ebx
push dword [sym.UXCore.dll_struct_DirectUI::PropertyInfo__WLEditT::ContextMenuResIDProp]
push edi
call dword [0x7030d220]
lea eax, [ebp + 8]
push eax
push esi
push esi
mov dword [ebp + 8], esi
call fcn.7038799a
test eax, eax
jl 0x70387d8d
push dword [ebp + 8]
mov eax, edi
neg eax
lea ecx, [edi + 0x4c]
sbb eax, eax
and eax, ecx
push eax
push ebx
call sym.UXCore.dll_EventToWin32Msg
test eax, eax
jl 0x70387d85
mov eax, dword [ebp + 8]
cmp dword [eax + 8], esi
mov dword [ebp - 0xc], esi
jle 0x70387d85
mov dword [ebp - 8], esi
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x10]
add esi, dword [ebp - 8]
je 0x70387d6d
mov eax, dword [esi]
cmp eax, 0x207
je 0x70387d69
cmp eax, 0x208
je 0x70387d69
cmp eax, 0x209
je 0x70387d69
cmp eax, 0x102
jne 0x70387d26
cmp dword [esi + 4], 9
jne 0x70387d26
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x70387d6d
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push dword [esi + 8]
mov ecx, edi
push dword [esi + 4]
push dword [esi]
call fcn.70385bff
mov esi, eax
cmp esi, 0x40201
jne 0x70387d55
mov ecx, edi
call sym.UXCore.dll_public:_int___thiscall_WLEditT::GetRichEditStyle_void_const
test eax, 0x800000
jne 0x70387d6d
xor eax, eax
inc eax
cmp dword [ebx + 0xc], eax
je 0x70387d64
xor eax, eax
test esi, esi
sete al
mov byte [ebx + 4], al
jmp 0x70387d6d
mov byte [ebx + 4], 1
inc dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
add dword [ebp - 8], 0xc
cmp ecx, dword [eax + 8]
jl 0x70387cea
xor esi, esi
push dword [ebp + 8]
call fcn.703851e1
cmp byte [ebp - 1], 0
je 0x70387da4
test byte [edi + 0xac], 1
je 0x70387da4
push esi
mov ecx, edi
call sym.UXCore.dll_protected:_long_int___thiscall_WLEditT::SetPinBottomEnabled_bool_
cmp byte [ebx + 4], 0
jne 0x70387db3
push ebx
mov ecx, edi
call dword [0x7030d21c]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x7038de93
Capabilities:
Connect to http server
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi + 0x3c]
xor ebx, ebx
push dword [esi + 0x38]
mov edi, ecx
mov dword [ebp - 4], ebx
mov dword [esi + 4], 1
call fcn.7038de3d
cmp dword [edi + 0xc], ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov dword [ebp + 8], ebx
jne 0x7038def8
push 0x10000000
push ebx
push ebx
push ebx
push dword [edi + 0x30]
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp eax, ebx
mov dword [edi + 0xc], eax
je 0x7038deec
push 0x7038dd7b
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
cmp dword [edi + 0xc], ebx
jne 0x7038def8
mov dword [ebp - 4], 0x80004005
cmp dword [ebp - 0xc], ebx
jne 0x7038df13
mov eax, dword [esi + 0x38]
neg eax
sbb eax, eax
and eax, 0x6c00b
add eax, 0x80004003
mov dword [ebp - 4], eax
jmp 0x7038df7e
cmp dword [ebp - 4], ebx
jl 0x7038dfda
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x7038df46
push dword [esi + 0x48]
push eax
call fcn.7038de3d
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x7038df3a
mov dword [ebp - 4], 0x8007000e
mov eax, dword [esi + 0x4c]
cmp eax, ebx
je 0x7038df7e
push dword [esi + 0x50]
jmp 0x7038df6a
mov eax, dword [edi + 0x28]
cmp eax, ebx
je 0x7038df7e
push ebx
push eax
call fcn.7038de3d
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x7038df62
mov dword [ebp - 4], 0x8007000e
mov eax, dword [edi + 0x2c]
cmp eax, ebx
je 0x7038df7e
push ebx
push eax
call fcn.7038de3d
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x7038df7e
mov dword [ebp - 4], 0x8007000e
cmp dword [ebp - 4], ebx
jl 0x7038dfbc
lea eax, [esi + 0xb4]
push eax
movzx eax, word [esi + 0x40]
push ebx
push 3
push dword [ebp + 8]
push dword [ebp - 8]
push eax
push dword [ebp - 0xc]
push dword [edi + 0xc]
call dword [sym.imp.WININET.dll_InternetConnectW]
test eax, eax
jne 0x7038dfbc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x7038dfbc
mov dword [ebp - 4], 0x80004005
cmp dword [ebp + 8], ebx
je 0x7038dfcb
push dword [ebp + 8]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
cmp dword [ebp - 8], ebx
je 0x7038dfda
push dword [ebp - 8]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
cmp dword [ebp - 0xc], ebx
pop edi
pop esi
pop ebx
je 0x7038dfec
push dword [ebp - 0xc]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
mov eax, dword [ebp - 4]
leave
ret 4