joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4afc70
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov eax, dword [0x547008]
xor eax, ebp
mov dword [esp + 0x78], eax
lea esi, [ecx + 4]
xor eax, eax
push esi
push eax
push eax
push 0x8004
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4afcf8
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov bl, 1
test eax, eax
jne 0x4afd95
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
lea esi, [esp + 4]
push eax
push esi
call fcn.00516ab0
add esp, 8
lea ecx, [esp + 0x10]
push esi
push 0x3a
push str.HashData
push 1
call fcn.0045bec0
lea esi, [esp + 0x4c]
mov ecx, esi
push 0x536f56
push str.Failed_to_hash_data__error:
jmp 0x4afd31
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
lea esi, [esp + 4]
push eax
push esi
call fcn.00516ab0
add esp, 8
lea ecx, [esp + 0x10]
push esi
push 0x35
push str.HashData
push 1
call fcn.0045bec0
lea esi, [esp + 0x4c]
mov ecx, esi
push 0x536f39
push str.Failed_to_initialize_hash_object__error:
call fcn.004148f0
call edi
lea edi, [esp + 0x6c]
push eax
push edi
call fcn.004e5560
add esp, 8
movzx eax, byte [edi + 0xb]
test al, al
js 0x4afd53
and eax, 0x7f
jmp 0x4afd5b
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
mov ecx, esi
push eax
push edi
call fcn.0047cfe0
cmp byte [esp + 0x77], 0
jns 0x4afd77
push dword [esp + 0x6c]
call fcn.004e82d5
add esp, 4
lea ecx, [esp + 0x10]
call fcn.0045bf00
cmp byte [esp + 0xf], 0
jns 0x4afd93
push dword [esp + 4]
call fcn.004e82d5
add esp, 4
xor ebx, ebx
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.004e8be6
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x4b03c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4b0405
movzx eax, word [esi]
cmp eax, 0x5a4d
jne 0x4b0405
mov eax, dword [esi + 0x3c]
cmp dword [esi + eax], 0x4550
jne 0x4b0405
mov edx, dword [esi + eax + 0x98]
xor eax, eax
test edx, edx
je 0x4b0407
add edx, esi
je 0x4b0407
mov eax, edx
add eax, 8
je 0x4b0405
cmp byte [eax], 0x30
jne 0x4b0405
cmp byte [edx + 9], 0x82
je 0x4b040d
xor eax, eax
pop esi
pop edi
pop ebp
ret 0xc
movzx eax, word [edx + 0xa]
rol ax, 8
movzx eax, ax
add eax, 0x13
and eax, 0x1fff8
je 0x4b0405
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], edx
add edx, eax
add esi, dword [ecx + 0x10]
cmp edx, esi
jae 0x4b0405
cmp dword [edx], 0x74636159
jne 0x4b0405
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
movzx ecx, word [edx + 4]
rol cx, 8
movzx edi, cx
test esi, esi
je 0x4b0466
cmp dword [eax], edi
jle 0x4b0405
add edx, 6
push edi
push edx
push esi
call fcn.004ebca0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x4b0469
inc edi
mov dword [eax], edi
mov al, 1
jmp 0x4b0407
Function at 0x4b4940
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x547008]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x20]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea edi, [esp + 0x10]
push 0x4d
push str.file_version_info_win.cc
push str.CreateFileVersionInfoWin
push edi
call fcn.0049a500
add esp, 0x10
mov ecx, esi
push 0
push edi
call fcn.00490060
mov dword [esp + 0xc], 0xffffffff
cmp byte [ebx + 0xb], 0
jns 0x4b49a3
mov ebx, dword [ebx]
mov esi, dword [ebp + 8]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], ebx
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4b4a6c
mov ebx, eax
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
test eax, eax
js 0x4b4ad0
push ebx
call fcn.004e82a5
add esp, 4
mov edi, eax
mov dword [esp + 0x10], eax
add eax, ebx
mov dword [esp + 0x18], eax
mov ecx, edi
add ecx, esi
je 0x4b4ab5
mov byte [ecx], 0
inc esi
cmp ebx, esi
jne 0x4b49ea
mov dword [esp + 0x14], eax
push edi
push ebx
push dword [esp + 0x14]
push dword [esp + 0x14]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4b4a74
lea eax, [esp + 0x54]
mov dword [eax], 0
lea ecx, [esp + 0x50]
mov dword [ecx], 0xffffffff
push ecx
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4b4a74
mov esi, dword [esp + 0x54]
test esi, esi
je 0x4b4a74
push 0x1c
call fcn.004e82a5
add esp, 4
mov edi, eax
movzx eax, word [esi + 2]
movzx edx, word [esi]
mov ecx, edi
push eax
push edx
lea eax, [esp + 0x18]
push eax
call fcn.004b4af0
mov esi, dword [ebp + 8]
mov dword [esi], edi
mov edi, dword [esp + 0x10]
jmp 0x4b4a7d
mov dword [esi], 0
jmp 0x4b4a97
mov esi, dword [ebp + 8]
mov dword [esi], 0
test edi, edi
je 0x4b4a97
mov eax, dword [esp + 0x14]
mov ecx, eax
sub ecx, edi
dec eax
cmp ecx, eax
ja 0x4b4ad9
push edi
call fcn.004e82d5
add esp, 4
lea ecx, [esp + 0x20]
call fcn.004900e0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.004e8be6
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x28
push str....._third_partylibc_srcinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s_n
call fcn.00457520
lea ecx, [esp + 0x10]
call fcn.004171a0
push str.null_pointer_given_to_destroy_at
push str.__loc___nullptr
push 0x44
jmp 0x4b4ac1
Function at 0x4b4e30
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x230
mov edi, ecx
mov eax, dword [0x547008]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, word [ecx + 0x14]
mov word [ebp - 0x28], ax
movzx eax, word [ecx + 0x16]
mov word [ebp - 0x26], ax
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call esi
mov word [ebp - 0x24], ax
movzx eax, word [edi + 0x16]
mov word [ebp - 0x22], ax
mov dword [ebp - 0x23c], edi
movzx eax, word [edi + 0x14]
mov word [ebp - 0x20], ax
mov di, 0x4e4
mov word [ebp - 0x1e], di
call esi
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x1a], 0x40904e4
mov dword [ebp - 0x16], 0x40904b0
mov word [ebp - 0x12], di
xor esi, esi
lea edi, [ebp - 0x230]
push 0x208
push 0xff
push edi
call fcn.004ec220
add esp, 0xc
movzx eax, word [ebp + esi*4 - 0x26]
movzx ecx, word [ebp + esi*4 - 0x28]
push dword [ebp + 8]
push eax
push ecx
push str.StringFileInfo_04x_04x_ls
mov eax, 0x104
push eax
push eax
push edi
call fcn.004acf10
add esp, 0x1c
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x238], 0xffffffff
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x234]
push eax
push edi
mov eax, dword [ebp - 0x23c]
push dword [eax + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
setne cl
mov eax, dword [ebp - 0x234]
test eax, eax
setne dl
and dl, cl
mov ecx, dword [ebp - 0x238]
test ecx, ecx
setne bl
and bl, dl
cmp bl, 1
je 0x4b4f51
inc esi
cmp esi, 6
jne 0x4b4ea2
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e8be6
mov eax, ebx
add esp, 0x230
pop esi
pop edi
pop ebx
pop ebp
ret 8
dec ecx
push ecx
push eax
call fcn.005044d3
add esp, 8
mov edx, dword [ebp - 0x234]
test eax, eax
je 0x4b4f6e
test edx, edx
je 0x4b5013
mov edi, dword [ebp + 0xc]
mov cl, byte [edi + 0xb]
test cl, cl
js 0x4b4fa5
cmp eax, 4
jbe 0x4b4fcf
mov dword [ebp - 0x23c], edx
movzx esi, cl
mov edx, 4
mov ecx, edi
mov edi, eax
sub edi, edx
push dword [ebp - 0x23c]
push eax
push esi
push 0
push esi
push edi
push edx
call fcn.0042a9e0
jmp 0x4b4f38
mov dword [ebp - 0x23c], edx
mov ecx, dword [edi + 8]
mov esi, eax
mov edx, ecx
and edx, 0x7fffffff
dec edx
cmp edx, eax
jae 0x4b4fc2
mov esi, dword [edi + 4]
jmp 0x4b4f8b
shr ecx, 0x18
mov esi, dword [edi]
mov edx, dword [ebp - 0x23c]
jmp 0x4b4fd1
mov esi, edi
test eax, eax
je 0x4b4ff7
mov ecx, eax
add ecx, eax
push ecx
push edx
push esi
mov dword [ebp - 0x23c], esi
mov esi, eax
call fcn.004ebca0
mov eax, esi
mov esi, dword [ebp - 0x23c]
add esp, 0xc
mov cl, byte [edi + 0xb]
test cl, cl
js 0x4b500e
mov ecx, eax
and cl, 0x7f
mov byte [edi + 0xb], cl
mov word [esi + eax*2], 0
jmp 0x4b4f38
mov dword [edi + 4], eax
jmp 0x4b5003
push str.string::assign_received_nullptr
push str.__n__0____s___nullptr
push 0x988
push str....._third_partylibc_srcinclude_string
push str._s:_d:_assertion__s_failed:__s_n
call fcn.00457520
int3
Function at 0x4b91b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
cmp dword [ecx + 8], 0
mov eax, dword [ecx]
jne 0x4b91d1
test eax, eax
jne 0x4b91d1
cmp dword [esi + 0xc], 0
je 0x4b92c1
lea ecx, [eax + 1]
cmp ecx, 2
jb 0x4b91f0
call fcn.0049a530
push dword [esi]
call fcn.004844e0
add esp, 4
mov dword [esi], 0
xor eax, eax
mov ecx, dword [esi + 4]
lea edx, [ecx + 1]
cmp edx, 2
jb 0x4b9216
call fcn.0049a530
push dword [esi + 4]
call fcn.004844e0
add esp, 4
mov dword [esi + 4], 0
mov eax, dword [esi]
xor ecx, ecx
xor edx, edx
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
mov ebx, dword [edi]
cmp eax, ebx
je 0x4b9265
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jb 0x4b9249
call fcn.0049a530
push dword [esi]
call fcn.004844e0
add esp, 4
mov dword [esi], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4b9258
mov dword [esi], ebx
call fcn.0049a530
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esi + 4]
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 4]
cmp ecx, ebx
je 0x4b92ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 4]
inc eax
cmp eax, 2
jb 0x4b9294
call fcn.0049a530
push dword [esi + 4]
call fcn.004844e0
add esp, 4
mov dword [esi + 4], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4b92a4
mov dword [esi + 4], ebx
call fcn.0049a530
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp dword [esi + 4], 0
jne 0x4b91d1
xor ecx, ecx
xor eax, eax
jmp 0x4b921e
Function at 0x4bc9e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [0x547008]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
cmp eax, 0x30
ja 0x4bcaab
mov ecx, dword [ebp + 0xc]
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [ebp - 0x20], xmm0
movups xmm0, xmmword [ecx]
movups xmm1, xmmword [ecx + 0x10]
movups xmmword [ebp - 0x30], xmm1
movups xmmword [ebp - 0x40], xmm0
test eax, eax
jne 0x4bcaaf
mov esi, dword [ebp + 8]
xor eax, eax
mov cl, byte [eax + 0x537e30]
xor byte [ebp + eax - 0x40], cl
inc eax
cmp eax, 0x30
jne 0x4bca27
lea edi, [esi + 0xf4]
push 1
call fcn.004e8130
add esp, 4
bt eax, 0x19
jae 0x4bcac6
lea eax, [ebp - 0x40]
push esi
push 0x100
push eax
call fcn.00403380
add esp, 0xc
mov ecx, section..text
mov eax, 0x401b90
test edi, edi
je 0x4bca6f
mov dword [edi], ecx
mov dword [esi + 0xf8], eax
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [esi + 0xfc], xmm0
mov dword [esi + 0x114], 0
mov dword [esi + 0x110], 1
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e8be6
mov eax, esi
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
jmp 0x4bca97
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov bl, byte [ecx + edx]
xor byte [ebp + edx - 0x40], bl
inc edx
cmp eax, edx
je 0x4bca22
jmp 0x4bcab4
bt eax, 9
jae 0x4bcae7
lea eax, [ebp - 0x40]
push esi
push 0x100
push eax
call fcn.00403ea0
add esp, 0xc
xor eax, eax
mov ecx, 0x403f50
jmp 0x4bca69
lea eax, [ebp - 0x40]
push esi
push 0x100
push eax
call fcn.00518f20
add esp, 0xc
mov ecx, 0x518e30
mov eax, 0x519450
jmp 0x4bca69
Function at 0x4bcb10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [0x547008]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
cmp dword [ebp + 8], 0x30
ja 0x4bcc2b
mov edi, edx
mov esi, ecx
pcmpeqd xmm0, xmm0
lea eax, [ebp - 0x20]
movdqu xmmword [eax], xmm0
movdqu xmmword [eax - 0x10], xmm0
movdqu xmmword [eax - 0x20], xmm0
mov ecx, dword [ecx + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
lea ebx, [esi + 0xfc]
call dword [section..00cfg]
lea eax, [ebp - 0x40]
push esi
push eax
push ebx
call ecx
add esp, 0xc
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [section..00cfg]
push esi
lea eax, [ebp - 0x30]
push eax
push ebx
call ecx
add esp, 0xc
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [section..00cfg]
mov dword [ebp - 0x44], esi
push esi
lea eax, [ebp - 0x20]
push eax
push ebx
call ecx
mov edx, dword [ebp + 8]
add esp, 0xc
test edx, edx
je 0x4bcbde
xor eax, eax
mov cl, byte [edi + eax]
xor byte [ebp + eax - 0x40], cl
inc eax
cmp edx, eax
jne 0x4bcbd2
mov edi, dword [ebp - 0x44]
lea esi, [edi + 0xf4]
push 1
call fcn.004e8130
add esp, 4
bt eax, 0x19
jae 0x4bcc3f
push edi
push 0x100
lea eax, [ebp - 0x40]
push eax
call fcn.00403380
add esp, 0xc
mov ecx, section..text
mov eax, 0x401b90
test esi, esi
je 0x4bcc19
mov dword [esi], ecx
mov dword [edi + 0xf8], eax
lea eax, [ebp - 0x20]
movups xmm0, xmmword [eax]
movups xmmword [ebx], xmm0
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e8be6
mov eax, ebx
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
bt eax, 9
jae 0x4bcc63
mov edi, dword [ebp - 0x44]
push edi
push 0x100
lea eax, [ebp - 0x40]
push eax
call fcn.00403ea0
add esp, 0xc
xor eax, eax
mov ecx, 0x403f50
jmp 0x4bcc13
mov edi, dword [ebp - 0x44]
push edi
push 0x100
lea eax, [ebp - 0x40]
push eax
call fcn.00518f20
add esp, 0xc
mov ecx, 0x518e30
mov eax, 0x519450
jmp 0x4bcc13
Function at 0x4bf490
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edi, edx
mov esi, ecx
cmp byte [ebp + 8], 0
jne 0x4bf4b9
mov al, byte [0x55bef0]
test al, 1
je 0x4bf4b9
call fcn.004e8160
push edi
push esi
call fcn.004bc720
add esp, 8
jmp 0x4bf4ee
mov eax, dword [0x55bef8]
mov ecx, dword [0x54bb78]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4bf503
mov ecx, dword [0x55bef4]
test ecx, ecx
je 0x4bf4f2
call dword [section..00cfg]
push edi
push esi
call ecx
test eax, eax
je 0x4bf548
pop esi
pop edi
pop ebp
ret
test edi, edi
je 0x4bf4ee
push edi
push esi
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x4bf4ee
jmp 0x4bf54b
push 0x55bef8
call fcn.004e8347
add esp, 4
cmp dword [0x55bef8], 0xffffffff
jne 0x4bf4d6
push 0x52d67e
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4bf54e
push str.ProcessPrng
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x55bef4], eax
push 0x55bef8
call fcn.004e83bd
add esp, 4
jmp 0x4bf4d6
int3
int3
int3
Function at 0x4c7c00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
test ecx, ecx
je 0x4c7c2d
mov edx, dword [ebp + 0xc]
xor esi, esi
movzx edi, al
movzx ebx, byte [edx + esi]
xor ebx, edi
shr eax, 8
xor eax, dword [ebx*4 + 0x5383a8]
inc esi
cmp ecx, esi
jne 0x4c7c15
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4cc780
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.005043ab
add esp, 4
lea eax, [eax*2 + 2]
push eax
push ebx
push 1
push 0
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x4cec00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x547008]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
movzx ecx, byte [eax + 0xb]
test cl, cl
js 0x4cec26
and ecx, 0x7f
jmp 0x4cec2b
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test ecx, ecx
js 0x4ced2d
test eax, eax
jne 0x4cec3f
test ecx, ecx
jne 0x4ced1c
lea edx, [ebp - 0x2c]
push ecx
push eax
push edx
call fcn.004e4590
add esp, 0xc
lea eax, [ebp - 0x38]
mov byte [eax + 0xb], 0xa
cmp eax, str.partner_id
ja 0x4cec6a
lea ecx, [ebp - 0x2e]
cmp ecx, str.partner_id
ja 0x4ced06
add esi, 0x18
mov word [ebp - 0x30], 0x6469
mov dword [ebp - 0x34], 0x5f72656e
mov dword [ebp - 0x38], 0x74726170
mov byte [ebp - 0x2e], 0
lea edx, [ebp - 0x20]
mov dword [edx], eax
lea edi, [ebp - 0x19]
lea ebx, [ebp - 0x18]
mov ecx, esi
push edi
push edx
push 0x529a29
push eax
push ebx
call fcn.004157c0
mov eax, dword [ebx]
lea esi, [eax + 0x1c]
cmp byte [eax + 0x27], 0
jns 0x4cecb5
push dword [esi]
call fcn.004e82d5
add esp, 4
mov eax, dword [ebp - 0x24]
mov dword [esi + 8], eax
movsd xmm0, qword [ebp - 0x2c]
movsd qword [esi], xmm0
mov byte [ebp - 0x21], 0
mov word [ebp - 0x2c], 0
cmp byte [ebp - 0x2d], 0
js 0x4cece8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e8be6
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret 4
push dword [ebp - 0x38]
call fcn.004e82d5
add esp, 4
cmp byte [ebp - 0x21], 0
jns 0x4cecd4
push dword [ebp - 0x2c]
call fcn.004e82d5
add esp, 4
jmp 0x4cecd4
push str.char_traits::copy_overlapped_range
push str.__s2_____s1____s2_____s1____n
push 0xf3
push str....._third_partylibc_srcinclude__stringchar_traits.h
jmp 0x4ced41
push str.string_view::string_view__CharT___size_t_:_received_nullptr
push str.__len__0____s___nullptr
push 0x13c
jmp 0x4ced3c
push str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
push str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
push 0x13a
push str....._third_partylibc_srcinclude_string_view
push str._s:_d:_assertion__s_failed:__s_n
call fcn.00457520
int3
Function at 0x4cf010
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x547008]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
movzx ecx, byte [eax + 0xb]
test cl, cl
js 0x4cf036
and ecx, 0x7f
jmp 0x4cf03b
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test ecx, ecx
js 0x4cf139
test eax, eax
jne 0x4cf04f
test ecx, ecx
jne 0x4cf128
lea edx, [ebp - 0x2c]
push ecx
push eax
push edx
call fcn.004e4590
add esp, 0xc
lea eax, [ebp - 0x38]
mov byte [eax + 0xb], 9
cmp eax, str.banner_id
ja 0x4cf07a
lea ecx, [ebp - 0x2f]
cmp ecx, str.banner_id
ja 0x4cf112
add esi, 0x18
mov dword [ebp - 0x34], 0x695f7265
mov dword [ebp - 0x38], 0x6e6e6162
mov word [ebp - 0x30], 0x64
lea edx, [ebp - 0x20]
mov dword [edx], eax
lea edi, [ebp - 0x19]
lea ebx, [ebp - 0x18]
mov ecx, esi
push edi
push edx
push 0x529a29
push eax
push ebx
call fcn.004157c0
mov eax, dword [ebx]
lea esi, [eax + 0x1c]
cmp byte [eax + 0x27], 0
jns 0x4cf0c1
push dword [esi]
call fcn.004e82d5
add esp, 4
mov eax, dword [ebp - 0x24]
mov dword [esi + 8], eax
movsd xmm0, qword [ebp - 0x2c]
movsd qword [esi], xmm0
mov byte [ebp - 0x21], 0
mov word [ebp - 0x2c], 0
cmp byte [ebp - 0x2d], 0
js 0x4cf0f4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e8be6
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret 4
push dword [ebp - 0x38]
call fcn.004e82d5
add esp, 4
cmp byte [ebp - 0x21], 0
jns 0x4cf0e0
push dword [ebp - 0x2c]
call fcn.004e82d5
add esp, 4
jmp 0x4cf0e0
push str.char_traits::copy_overlapped_range
push str.__s2_____s1____s2_____s1____n
push 0xf3
push str....._third_partylibc_srcinclude__stringchar_traits.h
jmp 0x4cf14d
push str.string_view::string_view__CharT___size_t_:_received_nullptr
push str.__len__0____s___nullptr
push 0x13c
jmp 0x4cf148
push str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
push str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
push 0x13a
push str....._third_partylibc_srcinclude_string_view
push str._s:_d:_assertion__s_failed:__s_n
call fcn.00457520
int3
Function at 0x4cf2c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x547008]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
movzx ecx, byte [eax + 0xb]
test cl, cl
js 0x4cf2e6
and ecx, 0x7f
jmp 0x4cf2eb
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test ecx, ecx
js 0x4cf3ed
test eax, eax
jne 0x4cf2ff
test ecx, ecx
jne 0x4cf3dc
lea edx, [ebp - 0x2c]
push ecx
push eax
push edx
call fcn.004e4590
add esp, 0xc
lea eax, [ebp - 0x38]
mov byte [eax + 0xb], 0xa
cmp eax, str.yandex_uid
ja 0x4cf32a
lea ecx, [ebp - 0x2e]
cmp ecx, str.yandex_uid
ja 0x4cf3c6
add esi, 0x18
mov word [ebp - 0x30], 0x6469
mov dword [ebp - 0x34], 0x755f7865
mov dword [ebp - 0x38], 0x646e6179
mov byte [ebp - 0x2e], 0
lea edx, [ebp - 0x20]
mov dword [edx], eax
lea edi, [ebp - 0x19]
lea ebx, [ebp - 0x18]
mov ecx, esi
push edi
push edx
push 0x529a29
push eax
push ebx
call fcn.004157c0
mov eax, dword [ebx]
lea esi, [eax + 0x1c]
cmp byte [eax + 0x27], 0
jns 0x4cf375
push dword [esi]
call fcn.004e82d5
add esp, 4
mov eax, dword [ebp - 0x24]
mov dword [esi + 8], eax
movsd xmm0, qword [ebp - 0x2c]
movsd qword [esi], xmm0
mov byte [ebp - 0x21], 0
mov word [ebp - 0x2c], 0
cmp byte [ebp - 0x2d], 0
js 0x4cf3a8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e8be6
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret 4
push dword [ebp - 0x38]
call fcn.004e82d5
add esp, 4
cmp byte [ebp - 0x21], 0
jns 0x4cf394
push dword [ebp - 0x2c]
call fcn.004e82d5
add esp, 4
jmp 0x4cf394
push str.char_traits::copy_overlapped_range
push str.__s2_____s1____s2_____s1____n
push 0xf3
push str....._third_partylibc_srcinclude__stringchar_traits.h
jmp 0x4cf401
push str.string_view::string_view__CharT___size_t_:_received_nullptr
push str.__len__0____s___nullptr
push 0x13c
jmp 0x4cf3fc
push str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
push str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
push 0x13a
push str....._third_partylibc_srcinclude_string_view
push str._s:_d:_assertion__s_failed:__s_n
call fcn.00457520
int3
Function at 0x4d1340
Capabilities:
Check if file exists
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov edi, ecx
mov eax, dword [0x547008]
xor eax, ebp
mov dword [esp + 0x68], eax
xor eax, eax
push eax
push eax
push ecx
push 0x4d1430
push eax
push eax
call fcn.004f7e1e
add esp, 0x18
mov esi, eax
cmp dword [edi], eax
je 0x4d13b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [edi]
inc eax
cmp eax, 2
jb 0x4d1398
call fcn.0049a530
push dword [edi]
call fcn.004844e0
add esp, 4
mov dword [edi], 0
lea eax, [esi + 1]
cmp eax, 2
jb 0x4d13a7
mov dword [edi], esi
call fcn.0049a530
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [edi]
inc esi
cmp esi, 1
ja 0x4d140b
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [esp + 4]
push eax
push ebx
call fcn.00516ab0
add esp, 8
lea edi, [esp + 0x10]
mov ecx, edi
push ebx
push 0x71
push str.InitializeThread
push 1
call fcn.0045bec0
lea ecx, [esp + 0x4c]
push 0x53a13f
push str.Failed_to_create_thread_for_async_http_requests
call fcn.004148f0
mov ecx, edi
call fcn.0045bf00
cmp byte [ebx + 0xb], 0
jns 0x4d140b
push dword [esp + 4]
call fcn.004e82d5
add esp, 4
test esi, 0xfffffffe
setne bl
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.004e8be6
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret