joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420fd0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a59fd
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4cc00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov byte [ebp - 4], 1
push 0x44
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.00441fc7
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x18], eax
test esi, esi
mov dword [ebp - 4], 2
mov edx, 0x4bb6b4
mov dword [ebp - 0x20], 1
cmovne edx, esi
mov dword [ebp - 0x1c], 1
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421080
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.00407400
push 0
push 0x4bb6b4
lea ecx, [ebp - 0x38]
call fcn.00407400
lea eax, [ebp - 0x50]
push eax
push 0x420db0
test ebx, ebx
jne 0x4210bd
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x4210c4
push ebx
call dword [sym.imp.USER32.dll_EnumChildWindows]
test edi, edi
je 0x42119a
lea eax, [ebp - 0x50]
cmp edi, eax
je 0x4210e6
cmp dword [ebp - 0x3c], 8
mov ecx, edi
push dword [ebp - 0x40]
cmovae eax, dword [ebp - 0x50]
push eax
call fcn.00407400
lea ecx, [edi + 0x18]
lea eax, [ebp - 0x38]
cmp ecx, eax
je 0x421101
cmp dword [ebp - 0x24], 8
push dword [ebp - 0x28]
cmovae eax, dword [ebp - 0x38]
push eax
call fcn.00407400
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x34], eax
add edi, 0x38
lea eax, [ebp - 0x18]
cmp edi, eax
je 0x42119a
mov esi, dword [edi]
mov ecx, edi
push dword [esi + 4]
push edi
call fcn.00429180
push dword [ebp - 0x54]
mov dword [esi + 4], esi
mov ecx, edi
mov dword [esi], esi
mov dword [esi + 8], esi
mov eax, dword [ebp - 0x18]
push dword [edi]
mov dword [edi + 4], 0
push dword [eax + 4]
call fcn.00429600
mov ecx, dword [edi]
mov dword [ecx + 4], eax
mov esi, dword [edi]
mov eax, dword [ebp - 0x14]
mov dword [edi + 4], eax
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x421193
mov ecx, dword [edx]
cmp byte [ecx + 0xd], 0
jne 0x421173
mov eax, dword [ecx]
mov edx, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x421167
mov dword [esi], edx
mov edx, dword [edi]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x42118e
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x421183
mov dword [edx + 8], ecx
jmp 0x42119a
mov dword [esi], esi
mov eax, dword [edi]
mov dword [eax + 8], eax
lea ecx, [ebp - 0x50]
call fcn.004211d0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00441dc6
mov esp, ebp
pop ebp
ret
Function at 0x421930
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push 0
push 0
push ebx
push str.open
push 0
mov esi, 0x32
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x42197b
mov eax, esi
dec esi
test eax, eax
jle 0x421984
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push 0
push 0
push ebx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x421954
pop edi
pop esi
mov eax, 1
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x423480
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a46fd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4cc00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push eax
push eax
sub esp, 0x18
mov dword [ebp - 4], eax
mov ecx, esp
mov esi, edi
mov dword [ecx], eax
lea edx, [esi + 2]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4234e5
sub esi, edx
sar esi, 1
push esi
push edi
call fcn.00407400
xor edx, edx
lea ecx, [ebp - 0x28]
call fcn.004174f0
add esp, 0x20
cmp dword [ebp - 0x18], 0
je 0x423534
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x423534
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.00422180
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x14]
mov esi, eax
cmp edx, 8
jb 0x423576
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42356c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423594
push edx
push ecx
call fcn.0044235d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00441dc6
mov esp, ebp
pop ebp
ret
call fcn.004452a7
int3

Function at 0x426e80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6318
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4cc00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
test esi, esi
je 0x426f58
cmp word [esi], 0
je 0x426f58
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x426f58
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.0041e0a0
push 0x78
lea eax, [ebp - 0xa0]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00443950
add esp, 0xc
lea ecx, [ebp - 0xa0]
call fcn.00438910
push ecx
push edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xa0]
call fcn.00438a30
lea ecx, [ebp - 0xa0]
call fcn.0041eb50
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x426f51
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x426f47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426f75
push edx
push ecx
call fcn.0044235d
add esp, 8
mov eax, 1
jmp 0x426f5a
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00441dc6
mov esp, ebp
pop ebp
ret
call fcn.004452a7
int3
Function at 0x42a060
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a66a7
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x4cc00c]
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 - 0x24c], edx
mov esi, ecx
mov dword [ebp - 0x254], esi
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 4], 0
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x248], 0
movq qword [esi], xmm0
push 0x18
mov dword [ebp - 0x250], eax
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00441fc7
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
push 0
mov dword [ebp - 4], 0
push 2
mov dword [ebp - 0x248], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x42a1c8
push 0x228
lea eax, [ebp - 0x240]
push 0
push eax
call fcn.00443950
add esp, 0xc
mov dword [ebp - 0x244], 0x22c
lea eax, [ebp - 0x244]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x42a1c1
mov ebx, dword [ebp + 0xc]
nop word [eax + eax]
push dword [ebp - 0x24c]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42a1af
xor ecx, ecx
test ebx, ebx
je 0x42a182
push dword [ebp - 0x23c]
push ecx
push dword [ebp - 0x250]
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x264]
mov dword [ebp - 0x254], ecx
push eax
mov ecx, esi
call fcn.0042a6d0
cmp dword [ebp + 8], 0
jne 0x42a1c1
lea eax, [ebp - 0x244]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x42a150
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
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.00441dc6
mov esp, ebp
pop ebp
ret
Function at 0x42ca00
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4cc00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x42ca1f
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42cb80
cmp dword [esi + 0x14], 8
jb 0x42ca36
mov esi, dword [esi]
push 0
push 0x80
push 4
push 0
push 3
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
je 0x42cb80
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push str._checksum_:____roots_:__bookmark_bar_:__children_:_____date_added_:__13299917967783231___date_modified_:__13299918000343696___guid_:__0bc5d13f_2cba_5d74_951f_3f233fe6c908___id_:__1___name_:__
push 0
push 0x3a8
call edi
mov esi, eax
xor ecx, ecx
mov edx, 2
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049c875
add esp, 4
mov ebx, eax
push esi
push ebx
push 0xffffffffffffffff
push str._checksum_:____roots_:__bookmark_bar_:__children_:_____date_added_:__13299917967783231___date_modified_:__13299918000343696___guid_:__0bc5d13f_2cba_5d74_951f_3f233fe6c908___id_:__1___name_:__
push 0
push 0x3a8
call edi
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call esi
mov edi, eax
lea ecx, [edi + 1]
push ecx
call fcn.0049c875
add esp, 4
mov dword [ebp - 0x24], eax
push 0
push 0
push edi
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call esi
push ebx
call fcn.0044284a
mov edx, dword [ebp - 0x24]
add esp, 4
mov ecx, edx
mov byte [edx + edi], 0
mov dword [ebp - 0x20], 0
lea esi, [ecx + 1]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0xf
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42cb10
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.00407620
cmp dword [ebp - 0xc], 0x10
lea ecx, [ebp - 8]
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
push 0
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 8], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc]
cmp edx, 0x10
jb 0x42cb80
mov ecx, dword [ebp - 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42cb76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cb91
push edx
push ecx
call fcn.0044235d
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441dc6
mov esp, ebp
pop ebp
ret
call fcn.004452a7
int3
Function at 0x42e340
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6add
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4cc00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x28]
lea edi, [eax*2 + 2]
push edi
push esi
call fcn.00407620
test ebx, ebx
lea eax, [ebp - 0x28]
mov ecx, 0x4bb6b4
cmovne ecx, ebx
cmp dword [ebp - 0x14], 0x10
push edi
cmovae eax, dword [ebp - 0x28]
push eax
push 1
push dword [ebp - 0x2c]
push ecx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edx, dword [ebp - 0x14]
neg eax
sbb esi, esi
cmp edx, 0x10
jb 0x42e40a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e400
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e429
push edx
push ecx
call fcn.0044235d
add esp, 8
lea eax, [esi + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00441dc6
mov esp, ebp
pop ebp
ret
call fcn.004452a7
int3

Function at 0x42e680
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3f7d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4cc00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
mov edx, dword [ebp + 8]
or esi, 0xffffffff
push eax
call fcn.00417110
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x42e6e3
push 0x40
push str.CJHLogIni::Output____CJHString::FormatStr___failed:invalid_log_r_n
lea ecx, [ebp - 0x28]
call fcn.00407400
jmp 0x42e6e5
mov esi, eax
test bl, 1
je 0x42e6fc
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bl, 2
je 0x42e715
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0042ea60
add esp, 4
test bl, 4
je 0x42e72e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push ecx
mov ecx, edi
call fcn.0042e8c0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42e764
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e75a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e782
push edx
push ecx
call fcn.0044235d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00441dc6
mov esp, ebp
pop ebp
ret
call fcn.004452a7
int3
Function at 0x42f340
Capabilities:
Authenticate hmac
Encode data using xor
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x4cc00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x350], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34c], eax
push ebx
mov ebx, ecx
push esi
push edi
cmp edx, 0x40
jne 0x42f373
mov edi, edx
jmp 0x42f3bd
jbe 0x42f38b
lea eax, [ebp - 0x24]
mov edi, 0x20
push eax
call fcn.0042f7b0
add esp, 4
lea ebx, [ebp - 0x24]
jmp 0x42f38d
mov edi, edx
mov esi, 0x40
lea eax, [ebp - 0xa8]
sub esi, edi
add eax, edi
push esi
push 0x36
push eax
call fcn.00443950
add esp, 0xc
lea eax, [ebp - 0x68]
add eax, edi
push esi
push 0x5c
push eax
call fcn.00443950
add esp, 0xc
test edi, edi
jle 0x42f3e4
lea eax, [ebp - 0xa8]
sub ebx, eax
xor eax, eax
lea esi, [ebp - 0xa8]
add esi, eax
inc eax
mov dl, byte [ebx + esi]
mov cl, dl
xor dl, 0x5c
xor cl, 0x36
mov byte [esi + 0x40], dl
mov byte [esi], cl
cmp eax, edi
jl 0x42f3c7
push 0x40
lea edx, [ebp - 0xa8]
mov dword [ebp - 0x2c0], 0x6a09e667
lea ecx, [ebp - 0x348]
mov dword [ebp - 0x2bc], 0xbb67ae85
mov dword [ebp - 0x2b8], 0x3c6ef372
mov dword [ebp - 0x2b4], 0xa54ff53a
mov dword [ebp - 0x2b0], 0x510e527f
mov dword [ebp - 0x2ac], 0x9b05688c
mov dword [ebp - 0x2a8], 0x1f83d9ab
mov dword [ebp - 0x2a4], 0x5be0cd19
mov dword [ebp - 0x344], 0
mov dword [ebp - 0x348], 0
call fcn.0042f840
add esp, 4
mov dword [ebp - 0x218], 0x6a09e667
lea edx, [ebp - 0x68]
mov dword [ebp - 0x214], 0xbb67ae85
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x210], 0x3c6ef372
mov dword [ebp - 0x20c], 0xa54ff53a
push 0x40
mov dword [ebp - 0x208], 0x510e527f
mov dword [ebp - 0x204], 0x9b05688c
mov dword [ebp - 0x200], 0x1f83d9ab
mov dword [ebp - 0x1fc], 0x5be0cd19
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x2a0], 0
call fcn.0042f840
mov edx, dword [ebp - 0x34c]
lea esi, [ebp - 0x348]
mov ecx, 0x2a
lea edi, [ebp - 0x1f8]
rep movsd dword es:[edi], dword [esi]
add esp, 4
lea esi, [ebp - 0x2a0]
mov ecx, 0x2a
lea edi, [ebp - 0x150]
rep movsd dword es:[edi], dword [esi]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x348]
call fcn.0042f840
add esp, 4
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x348]
call fcn.0042f8e0
push 0x20
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x2a0]
call fcn.0042f840
add esp, 4
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x2a0]
call fcn.0042f8e0
mov eax, dword [ebp - 0x350]
movups xmm0, xmmword [ebp - 0x24]
mov ecx, dword [ebp - 4]
pop edi
movups xmmword [eax], xmm0
pop esi
movups xmm0, xmmword [ebp - 0x14]
xor ecx, ebp
pop ebx
movups xmmword [eax + 0x10], xmm0
call fcn.00441dc6
mov esp, ebp
pop ebp
ret
Function at 0x42f7b0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x4cc00c]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 8]
push edx
mov edx, ecx
mov dword [ebp - 0x2c], 0x6a09e667
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x28], 0xbb67ae85
mov dword [ebp - 0x24], 0x3c6ef372
mov dword [ebp - 0x20], 0xa54ff53a
mov dword [ebp - 0x1c], 0x510e527f
mov dword [ebp - 0x18], 0x9b05688c
mov dword [ebp - 0x14], 0x1f83d9ab
mov dword [ebp - 0x10], 0x5be0cd19
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xb4], 0
call fcn.0042f840
add esp, 4
lea ecx, [ebp - 0xb4]
mov edx, esi
call fcn.0042f8e0
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.00441dc6
mov esp, ebp
pop ebp
ret
Function at 0x431d50
Capabilities:
Prepare http request
Set http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4cc00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x18]
test eax, eax
je 0x431e8c
push edi
push 0
push 0
push 0
push ecx
push edx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
test edi, edi
je 0x431e5d
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
push 0x1f
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryOption]
test eax, eax
jne 0x431dd3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CJHHttp::OpenRequest
push str._s:WinHttpQueryOption___failed:_d
push ebx
call fcn.00431d20
add esp, 0x10
or dword [ebp - 8], 0x3300
lea eax, [ebp - 8]
push 4
push eax
push 0x1f
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x431e07
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CJHHttp::OpenRequest
push str._s:WinHttpSetOption___failed:_d
push ebx
call fcn.00431d20
add esp, 0x10
test esi, esi
je 0x431e48
mov eax, dword [esi]
test eax, eax
je 0x431e48
push 0xa0000000
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x431e3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CJHHttp::AddHeader
push str._s:WinHttpAddRequestHeaders___failed:_d
push ebx
call fcn.00431d20
add esp, 0x10
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
jne 0x431e11
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00441dc6
mov esp, ebp
pop ebp
ret 0x20
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CJHHttp::OpenRequest
push str._s:WinHttpOpenRequest___failed:_d
push ebx
call fcn.00431d20
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00441dc6
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441dc6
mov esp, ebp
pop ebp
ret 0x20
Function at 0x431eb0
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4cc00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
je 0x432022
mov ecx, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x431f81
push 0
lea edx, [ebp - 8]
mov dword [ebp - 8], 0
push edx
push 0
push 0
push 0x80000016
push eax
call ecx
mov dword [ebp - 0x14], eax
call ebx
cmp eax, 0x7a
jne 0x431f7b
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 8]
cmp eax, ecx
ja 0x431f30
mov dword [esi + 0x10], eax
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x431f28
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x431f3c
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00428b50
cmp dword [esi + 0x14], 8
jb 0x431f44
mov esi, dword [esi]
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push esi
push 0
push 0x80000016
push dword [ebp - 0xc]
call eax
test eax, eax
jne 0x431f86
call ebx
mov esi, dword [ebp - 0x10]
push eax
push str.CJHHttp::GetHeader
push str._s:WinHttpQueryHeaders___failed:_d
push esi
call fcn.00431d20
add esp, 0x10
jmp 0x431f89
cmp dword [ebp - 0x14], 0
jmp 0x431f5e
mov esi, dword [ebp - 0x10]
jmp 0x431f92
mov esi, dword [ebp - 0x10]
mov ecx, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov eax, dword [ebp - 0xc]
test edi, edi
je 0x432022
push 0
lea edx, [ebp - 8]
mov dword [ebp - 8], 0
push edx
push 0
push 0
push 0x16
push eax
call ecx
mov dword [ebp - 0x14], eax
call ebx
cmp eax, 0x7a
jne 0x432006
mov ecx, dword [edi + 0x10]
mov eax, dword [ebp - 8]
cmp eax, ecx
ja 0x431fd9
mov dword [edi + 0x10], eax
mov ecx, edi
cmp dword [edi + 0x14], 8
jb 0x431fd1
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x431fe5
sub eax, ecx
mov ecx, edi
push 0
push eax
call fcn.00428b50
cmp dword [edi + 0x14], 8
jb 0x431fed
mov edi, dword [edi]
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push edi
push 0
push 0x16
push dword [ebp - 0xc]
call eax
test eax, eax
jmp 0x43200a
cmp dword [ebp - 0x14], 0
jne 0x432022
call ebx
push eax
push str.CJHHttp::GetHeader
push str._s:WinHttpQueryHeaders___failed:_d
push esi
call fcn.00431d20
add esp, 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441dc6
mov esp, ebp
pop ebp
ret 0xc