joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a7c1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [esi]
call fcn.0055e04c
push dword [esi]
mov ebx, eax
push 1
push edi
push dword [ebp + 8]
call fcn.0055eaea
add esp, 0x14
cmp eax, 1
jne 0x42a7f2
lea eax, [ebx + edi]
cmp eax, dword [esi + 8]
jbe 0x42a7ee
mov dword [esi + 8], eax
mov al, 1
jmp 0x42a7f4
xor al, al
pop ebx
pop ebp
ret 4

Function at 0x42ab3e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a3a99
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x631350]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push esi
mov eax, dword [0x631350]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov esi, dword [ebx]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x20], eax
cmp esi, eax
jne 0x42ab96
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
jmp 0x42ac5f
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0xc]
call fcn.0042b9f3
mov esi, dword [esp + 0x1c]
xor ecx, ecx
push ecx
mov dword [esp + 0x54], ecx
mov eax, dword [ebx + 0xc]
push ecx
push eax
push dword [esi + 0x40]
call fcn.0055e3f2
add esp, 0x10
test eax, eax
je 0x42abee
push str.Cannot_seek_to_data_position
lea esi, [esp + 0x28]
call fcn.004037ae
mov byte [esp + 0x50], 1
push 0x105
mov ecx, str.srcBlobStorage.cpp
mov eax, esi
call fcn.0040277f
push dword [esi + 0x40]
mov ebx, dword [ebx]
push 1
push ebx
mov ebx, dword [esp + 0x18]
push ebx
call fcn.0055e976
add esp, 0x10
cmp eax, 1
je 0x42ac29
push str.Cannot_read_blob_data
lea esi, [esp + 0x28]
call fcn.004037ae
mov byte [esp + 0x50], 2
push 0x109
mov ecx, str.srcBlobStorage.cpp
mov eax, esi
jmp 0x42abe9
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
lea eax, [esp + 0xc]
cmp edi, eax
je 0x42ac54
mov esi, edi
call fcn.0043460f
mov eax, dword [esp + 0x10]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x14]
mov dword [edi], ebx
mov dword [edi + 8], eax
xor ebx, ebx
test ebx, ebx
je 0x42ac5f
push ebx
call fcn.0055da69
pop ecx
mov eax, edi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0055c9d4
mov esp, ebp
pop ebp
ret 4
Function at 0x42c1e9
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a6905
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x631350]
xor eax, esp
mov dword [esp + 0xb4], eax
push esi
push edi
mov eax, dword [0x631350]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
push 0x190
mov esi, ecx
push 0
push esi
call fcn.0055fda0
add esp, 0xc
push esi
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov edi, eax
test edi, edi
je 0x42c29e
lea eax, [esp + 0xc]
push eax
call fcn.00403aba
mov esi, eax
and dword [esp + 0xd0], 0
push str.WSAStartup_failed_with
push esi
call fcn.0040635f
pop ecx
pop ecx
push edi
push esi
call fcn.004050f8
lea eax, [esp + 0xa4]
push eax
mov eax, esi
call fcn.00403b24
push 0x1b
mov ecx, 0x5d0b14
lea eax, [esp + 0xa8]
mov byte [esp + 0xd4], 1
call fcn.0040277f
mov eax, esi
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.0055c9d4
mov esp, ebp
pop ebp
ret
Function at 0x475c32
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x475beb
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x475c09
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x475c67
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
inc eax
inc eax
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x475c4e
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x475c57
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x475c61
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x475c43
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x475bcd
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x475cb4
dec eax
je 0x475cab
sub eax, 3
je 0x475ca2
mov dword [ebp - 4], 0x40
jmp 0x475cd1
mov dword [ebp - 4], 4
jmp 0x475cb7
mov dword [ebp - 4], 0x20
jmp 0x475cb7
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x475d03
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x475c83
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00475514
pop eax
aaa
dec ebx
arpl di, di
jne 0x475d0e
push 1
push esi
call edi
mov eax, esi
jmp 0x475d0f
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4763f6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ebp, 0xfffffed5
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.004754f2
or byte [eax + 0x2ff845c6], ah
Function at 0x476439
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
sub al, 0xc6
test dword [edx + 0x14fffffc], ebp
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.00475524
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004754d9
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.00475514
int1
pop ds
test al, 0x86
push 0x104
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.00475514
dec ebx
cmp eax, 0x658026bc
loopne 0x476532
and byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0x1d
and byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0xa5
mov byte [ebp - 0x1b], 0x87
mov byte [ebp - 0x1a], 0x96
mov byte [ebp - 0x19], 0xb6
mov byte [ebp - 0x18], 0x87
mov byte [ebp - 0x17], 0x8f
mov byte [ebp - 0x16], 0x92
mov byte [ebp - 0x15], 0xb2
jmp 0x476510
mov byte [ebp - 0x14], 0x83
mov byte [ebp - 0x13], 0x96
mov byte [ebp - 0x12], 0x8a
mov byte [ebp - 0x11], 0xa3
mov byte [ebp - 0x10], 0xe2
lea eax, [ebp - 0x20]
push eax
call fcn.00475524
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004754d9
add esp, 0xc
mov dword [ebp - 0x370], eax
lea eax, [ebp - 0x654]
push eax
push 0x104
invalid
xchg ebp, eax
nop
Function at 0x401870
Capabilities:
Create process on windows
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40e0d8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoInitialize]
push dword [ebp + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00401980
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jg 0x4018cb
mov byte [ebp - 4], 0
lea edx, [eax - 0x10]
jmp 0x40194a
push str.GingerMSWordAddin.WordAddin
push eax
call fcn.00402541
add esp, 8
test eax, eax
jne 0x40190f
call fcn.00401400
test eax, eax
je 0x4018ef
cmp dword [0x4170d4], 0
je 0x401940
push 0
push str.OpusApp
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x401940
push 0
push 0x401370
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x401940
push str.GingerMSOutlookAddin.GingerOutlookAddIn
push dword [ebp - 0x14]
call fcn.00402541
add esp, 8
test eax, eax
jne 0x40192a
call fcn.00401680
jmp 0x401940
push 5
push 0
push 0
push dword [ebp + 0x10]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401961
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x401eb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401ec9
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401f04
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x401f00
lea ebx, [ebx]
cmp esi, edx
jae 0x401f04
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x401ef0
cmp esi, edx
jb 0x401f0b
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x407fa5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00405e85
mov dword [ebp - 0x14], eax
cmp dword [0x41708c], esi
jne 0x408098
push 0x800
push esi
push 0x413480
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x408025
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x408178
push esi
push esi
push 0x413480
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x408178
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x408178
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x41708c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x417090], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x417094], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41709c], eax
test eax, eax
je 0x408095
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x417098], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4080bd
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4080b0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4080d2
push 4
pop eax
jmp 0x40817a
cmp dword [ebp - 0x14], esi
je 0x4080d2
push dword [0x41708c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4080b7
mov eax, dword [0x417098]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x408130
cmp dword [0x41709c], edi
je 0x408130
push eax
call ebx
push dword [0x41709c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x408130
test eax, eax
je 0x408130
call ecx
test eax, eax
je 0x408125
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x408125
test byte [ebp - 8], 1
jne 0x408130
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x408160
mov eax, dword [0x417090]
cmp eax, edi
je 0x40815d
push eax
call ebx
test eax, eax
je 0x40815d
call eax
mov esi, eax
test esi, esi
je 0x40815d
mov eax, dword [0x417094]
cmp eax, edi
je 0x40815d
push eax
call ebx
test eax, eax
je 0x40815d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x41708c]
call ebx
test eax, eax
je 0x408178
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40817a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004023e0
mov esp, ebp
pop ebp
ret
Function at 0x5c2620
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x522015
lea edi, [esi - 0x121015]
push edi
or ebp, 0xffffffff
jmp 0x5c2642
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5c2649
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c2638
mov eax, 1
add ebx, ebx
jne 0x5c265b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5c266c
jne 0x5c268b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c268b
dec eax
add ebx, ebx
jne 0x5c2678
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5c2650
add ebx, ebx
jne 0x5c2687
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5c26dd
xor ecx, ecx
sub eax, 3
jb 0x5c26a3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5c2712
sar eax, 1
mov ebp, eax
jmp 0x5c26ae
add ebx, ebx
jne 0x5c26ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c267c
inc ecx
add ebx, ebx
jne 0x5c26bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c267c
add ebx, ebx
jne 0x5c26c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5c26be
jne 0x5c26da
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5c26be
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5c26fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5c26ee
jmp 0x5c263e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5c26fc
add edi, ecx
jmp 0x5c263e
pop esi
mov edi, esi
mov ecx, 0x4c67
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5c271a
cmp byte [edi], 0xb
jne 0x5c271a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5c271f
lea edi, [esi + 0x1bc000]
mov eax, dword [edi]
or eax, eax
je 0x5c278e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1c2314]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1c233c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5c274c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1c2344]
or eax, eax
je 0x5c2788
mov dword [ebx], eax
add ebx, 4
jmp 0x5c2769
call dword [esi + 0x1c2340]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5c27bf
cmp al, 0xef
ja 0x5c27b2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5c2794
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5c27a1
mov ebp, dword [esi + 0x1c2348]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5c27f3
sub esp, 0xffffff80
jmp 0x45f3a0
Function at 0x40104e
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 1
jne 0x401063
and dword [esi + 0x10], 0
pop esi
ret

Function at 0x402300
Capabilities:
Reference http user-agent string

Disassembly:
push 0x30
mov eax, 0x4fb113
call fcn.00446110
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
cmp dword [edi], 0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x38], eax
je 0x40249f
mov edx, dword [esi + 0x14]
cmp edx, 0x10
jb 0x402339
mov ebx, dword [esi]
jmp 0x40233b
mov ebx, esi
cmp edx, 0x10
jb 0x402344
mov ecx, dword [esi]
jmp 0x402346
mov ecx, esi
mov eax, dword [esi + 0x10]
add eax, ecx
cmp edx, 0x10
jb 0x402354
mov ecx, dword [esi]
jmp 0x402356
mov ecx, esi
push fcn.0044634d
push ebx
push eax
push ecx
lea eax, [ebp - 0x3c]
push eax
call fcn.00401eab
mov ebx, str.post
push ebx
call fcn.00445aa0
add esp, 0x18
push eax
push ebx
push dword [esi + 0x10]
mov ecx, esi
push 0
call fcn.00401491
test eax, eax
jne 0x4023a8
push 1
push 0x2f
push dword [edi]
call fcn.00407268
mov eax, dword [ebp - 0x38]
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x4023a0
mov eax, dword [eax]
push eax
push 0x271f
jmp 0x4023d4
mov ebx, 0x4ff5e8
push ebx
call fcn.00445aa0
pop ecx
push eax
push ebx
push dword [esi + 0x10]
mov ecx, esi
push 0
call fcn.00401491
test eax, eax
je 0x4023de
cmp dword [esi + 0x14], 0x10
jb 0x4023ce
mov esi, dword [esi]
push esi
push 0x2734
push dword [edi]
call fcn.00407268
add esp, 0xc
xor esi, esi
push esi
push 0x40
push dword [edi]
call fcn.00407268
push esi
push 0x51
push dword [edi]
call fcn.00407268
add esp, 0x18
push str.Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_47.0.2526.111_Safari_537.36
lea ecx, [ebp - 0x2c]
call fcn.004021e8
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], esi
jae 0x402413
lea eax, [ebp - 0x2c]
push eax
push 0x2722
push dword [edi]
call fcn.00407268
mov ebx, dword [ebp - 0x34]
add esp, 0xc
cmp dword [ebx + 0x10], 0
je 0x402452
mov esi, 0x4ff570
push esi
call fcn.00445aa0
pop ecx
push eax
push esi
mov esi, dword [ebp - 0x30]
mov ecx, esi
call fcn.00401f26
push 0xffffffffffffffff
push 0
push ebx
mov ecx, esi
call fcn.00401a05
jmp 0x402455
mov esi, dword [ebp - 0x30]
cmp dword [esi + 0x14], 0x10
jb 0x40245d
mov esi, dword [esi]
push esi
push 0x2712
push dword [edi]
call fcn.00407268
push 0xfa0
mov esi, 0x9b
push esi
push dword [edi]
call fcn.00407268
add esp, 0x18
cmp dword [ebp + 0x18], 0
je 0x402493
push dword [ebp + 0x18]
push esi
push dword [edi]
call fcn.00407268
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040152e
call fcn.00446193
ret
Function at 0x4034f4
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0xc
push esi
push edi
xor edi, edi
xor eax, eax
cmp ecx, edi
je 0x4035ff
mov esi, dword [ebp + 0x10]
cmp esi, edi
je 0x4035ff
mov dword [ebp - 4], edi
cmp dword [ebp + 0xc], edi
jbe 0x403601
mov dword [ebp - 8], 1
sub dword [ebp - 8], ecx
mov dword [ebp - 0xc], 2
sub dword [ebp - 0xc], ecx
push ebx
jmp 0x40353c
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
add edi, ecx
movzx ecx, byte [edi]
shr ecx, 2
mov cl, byte [ecx + 0x4ff7c8]
mov byte [eax + esi], cl
mov cl, byte [edi]
and cl, 3
add edx, edi
shl cl, 4
cmp edx, dword [ebp + 0xc]
jae 0x4035d3
mov ebx, dword [ebp - 4]
mov edx, dword [ebp + 8]
lea edx, [ebx + edx + 1]
mov bl, byte [edx]
shr bl, 4
add bl, cl
movzx ecx, bl
mov cl, byte [ecx + 0x4ff7c8]
mov byte [eax + esi + 1], cl
mov cl, byte [edx]
mov edx, dword [ebp - 0xc]
and cl, 0xf
add edx, edi
shl cl, 2
cmp edx, dword [ebp + 0xc]
jae 0x4035bf
mov edx, dword [ebp - 4]
mov edi, dword [ebp + 8]
mov dl, byte [edx + edi + 2]
mov bl, dl
and bl, 0x3f
shr dl, 6
add dl, cl
movzx ecx, dl
mov cl, byte [ecx + 0x4ff7c8]
mov byte [eax + esi + 2], cl
movzx ecx, bl
mov cl, byte [ecx + 0x4ff7c8]
mov byte [eax + esi + 3], cl
jmp 0x4035e7
movzx ecx, cl
mov cl, byte [ecx + 0x4ff7c8]
mov byte [eax + esi + 2], cl
mov byte [eax + esi + 3], 0x3d
jmp 0x4035e7
movzx ecx, cl
mov cl, byte [ecx + 0x4ff7c8]
mov byte [eax + esi + 1], cl
mov word [eax + esi + 2], 0x3d3d
mov edi, dword [ebp - 4]
add edi, 3
add eax, 4
mov dword [ebp - 4], edi
cmp edi, dword [ebp + 0xc]
jb 0x403539
pop ebx
jmp 0x403601
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x4038f2
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x547e80]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
cmp dword [0x551a60], edi
je 0x4039bc
push ebx
push esi
push edi
push 0x4ff834
call dword [sym.imp.USER32.dll_FindWindowW]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
sub ebx, dword [ebp - 0x14]
sub esi, dword [ebp - 0x10]
push 8
pop ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
xor eax, eax
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x48]
push eax
push 5
mov dword [ebp - 0x48], 0x24
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
cmp dword [ebp - 0x3c], 3
jne 0x403964
mov dword [ebp - 0x4c], esi
jmp 0x40396d
cmp dword [ebp - 0x3c], 2
jne 0x40396d
mov dword [ebp - 0x50], ebx
lea eax, [ebp - 0x24]
push eax
push dword [0x551a60]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
xor edi, edi
push edi
call esi
push 1
mov ebx, eax
call esi
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x18]
push 0x2051
sub ecx, dword [ebp - 0x4c]
push edi
add ecx, eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x1c]
push edi
sub eax, dword [ebp - 0x50]
push ecx
add eax, ebx
push eax
push edi
push dword [0x551a60]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00446098
leave
ret