joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d8c0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x516957
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x568e30]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [edi], 0x53bc44
mov dword [edi + 0x54], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 4]
mov dword [esp + 0x1c], ebx
push edi
mov edx, esi
mov dword [esp + 0x14], 1
call fcn.0042db10
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [edi + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov ecx, esi
call fcn.00428110
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov edx, dword [0x5711c0]
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x42ea50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x51619a
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x568e30]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x568e30]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x14], ecx
mov edi, edx
mov dword [esp + 0x18], esi
call fcn.00405fd0
mov dword [esp + 0x98], esi
mov ebx, 1
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], ebx
call fcn.004029f0
lea ecx, [esp + 0x38]
mov dword [esp + 0x98], ebx
xor ebp, ebp
call fcn.004011a0
test eax, eax
jbe 0x42eb5b
cmp esi, dword [esp + 0x4c]
jbe 0x42eadc
call fcn.004b9938
lea ecx, [esp + 0x38]
call fcn.00402bb0
add eax, esi
movsx eax, byte [eax]
cmp eax, dword [esp + 0xa0]
jne 0x42eb49
mov eax, esi
sub eax, ebp
push eax
push ebp
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x44]
call fcn.00401280
push 0xd
lea edi, [esp + 0x74]
lea ebx, [esp + 0x20]
mov byte [esp + 0x9c], 2
lea ebp, [esi + 1]
call fcn.0042e9e0
mov byte [esp + 0x98], 3
mov ecx, dword [esp + 0x14]
push eax
call fcn.00406060
mov ecx, ebx
call fcn.00402a30
mov ecx, edi
mov byte [esp + 0x98], 1
call fcn.00402a30
lea ecx, [esp + 0x38]
inc esi
call fcn.004011a0
cmp esi, eax
jb 0x42ead1
push 0xffffffffffffffff
push ebp
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x44]
call fcn.00401280
push 0xd
lea edi, [esp + 0x58]
lea ebx, [esp + 0x20]
mov byte [esp + 0x9c], 4
call fcn.0042e9e0
mov byte [esp + 0x98], 5
mov esi, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.00406060
mov ecx, ebx
call fcn.00402a30
mov ecx, edi
call fcn.00402a30
lea ecx, [esp + 0x38]
call fcn.00402a30
mov eax, esi
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004b8dd5
add esp, 0x88
ret 4
Function at 0x431a90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x914
mov eax, dword [0x568e30]
xor eax, esp
mov dword [esp + 0x910], eax
push esi
push edi
push 0xff
lea eax, [esp + 0x1d]
push 0
push eax
mov esi, ecx
or edi, 0xffffffff
mov dword [esp + 0x14], 0
mov byte [esp + 0x24], 0
call fcn.004b8df0
push esi
lea ecx, [esp + 0x28]
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_sConnection
push ecx
call fcn.004bc526
add esp, 0x18
lea edx, [esp + 8]
push edx
push 0x20019
push 0
lea eax, [esp + 0x24]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x431bbd
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [esp + 0x122]
push edx
mov word [esp + 0x124], cx
call fcn.004b8df0
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x11c]
push ecx
push 0
push 0
push str.PnpInstanceID
push edx
mov dword [esp + 0x28], 0x800
call esi
test eax, eax
jne 0x431bb2
push 3
push 0x53bea4
lea eax, [esp + 0x120]
push eax
push 0
call dword [sym.imp.SHLWAPI.dll_StrIsIntlEqualW]
test eax, eax
je 0x431bb2
mov eax, dword [esp + 8]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push 0
push str.MediaSubType
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 4
call esi
cmp eax, 2
je 0x431bb0
test eax, eax
jne 0x431bb2
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x431bb0
cmp eax, 2
jne 0x431bb2
lea edi, [eax - 1]
jmp 0x431bb2
xor edi, edi
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x918]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004b8dd5
add esp, 0x914
ret
Function at 0x432a20
Capabilities:
Reference http user-agent string

Disassembly:
push ebx
push esi
push 2
call fcn.004d93e0
call fcn.004d9470
push 1
mov esi, eax
push 0x29
push esi
call fcn.004d94b0
push str.User_Agent:Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_42.0.2311.90_Safari_537.36
push 0
call fcn.004d92f0
push str.Accept:_
push eax
call fcn.004d92f0
mov ebx, eax
push ebx
push 0x2727
push esi
call fcn.004d94b0
add esp, 0x2c
mov ecx, edi
call fcn.00402980
push eax
push 0x2712
push esi
call fcn.004d94b0
push 0x432990
push 0x4e2b
push esi
call fcn.004d94b0
push edi
push 0x2711
push esi
call fcn.004d94b0
push 0
push 0x2b
push esi
call fcn.004d94b0
push edi
push 0x2749
push esi
call fcn.004d94b0
push 0x4329d0
push 0x4e58
push esi
call fcn.004d94b0
mov eax, dword [edi + 0x20]
add esp, 0x48
test eax, eax
je 0x432ad9
push eax
push 0x13
push esi
call fcn.004d94b0
mov eax, dword [edi + 0x24]
push eax
push 0x14
push esi
call fcn.004d94b0
add esp, 0x18
push esi
call fcn.004d96b0
add esp, 4
test eax, eax
je 0x432b0f
push eax
call fcn.004d9710
add esp, 4
push eax
lea ecx, [edi + 0x30]
call fcn.00402960
cmp dword [edi + 0x28], 0
je 0x432b09
mov ecx, dword [edi + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
pop esi
or eax, 0xffffffff
pop ebx
ret
lea ecx, [edi + 0x2c]
push ecx
push 0x200002
push esi
call fcn.004d96f0
add esp, 0xc
test eax, eax
jne 0x432ae6
push esi
call fcn.004d96d0
push ebx
call fcn.004d9330
add esp, 8
cmp dword [edi + 0x28], 0
je 0x432b44
mov ecx, dword [edi + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx]
push edi
call eax
pop esi
xor eax, eax
pop ebx
ret
Function at 0x432fc0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x51674d
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x568e30]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x568e30]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xcc]
xor ebx, ebx
mov dword [esp + 0xc4], ebx
lea eax, [esp + 0x30]
mov dword [esp + 0x24], ebx
push eax
mov dword [esp + 0x2c], ebp
mov esi, ecx
mov dword [esp + 0x30], vtable.CHttpPageClient.0
call fcn.0040a160
lea ecx, [esp + 0x58]
call fcn.004029a0
lea ecx, [esp + 0x74]
call fcn.004029a0
lea ecx, [esp + 0x90]
call fcn.004029a0
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0x54], 0x3c
mov dword [esp + 0x50], 0x1e
mov edi, 1
mov ecx, esi
mov dword [esp + 0xc4], edi
call fcn.00402980
push eax
lea esi, [esp + 0x30]
call fcn.00433cc0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [esp + 0xb0]
mov ecx, ebp
add esi, 0xc
call fcn.004029a0
mov dword [esp + 0x24], edi
mov edi, dword [esi + 0xc]
lea ecx, [esp + 0x14]
call fcn.00450960
cmp dword [esi + 0xc], edi
ja 0x4330bb
cmp edi, dword [esi + 0x10]
jbe 0x4330c0
call fcn.004b9938
push esi
lea ecx, [esp + 0x18]
call fcn.004025f0
mov dword [esp + 0x18], edi
mov edi, edi
mov edi, dword [esi + 0x10]
lea ecx, [esp + 0x1c]
call fcn.00450960
cmp dword [esi + 0xc], edi
ja 0x4330e6
cmp edi, dword [esi + 0x10]
jbe 0x4330eb
call fcn.004b9938
push esi
lea ecx, [esp + 0x20]
call fcn.004025f0
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], edi
call fcn.00405f00
test al, al
je 0x433118
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call fcn.00407690
test al, al
jne 0x43311d
call fcn.004b9938
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x20]
je 0x433193
lea ecx, [esp + 0x14]
call fcn.00405f00
test al, al
jne 0x433139
call fcn.004b9938
lea ecx, [esp + 0x14]
call fcn.00405e20
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x433150
call fcn.004b9938
mov edx, dword [esp + 0x18]
movzx eax, byte [edx]
push eax
push 1
mov ecx, ebp
call fcn.00401b40
lea ecx, [esp + 0x14]
call fcn.00405f00
test al, al
jne 0x433173
call fcn.004b9938
lea ecx, [esp + 0x14]
call fcn.00405e20
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x43318a
call fcn.004b9938
inc dword [esp + 0x18]
jmp 0x4330d0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc4], bl
call fcn.00433c00
mov eax, ebp
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.004b8dd5
add esp, 0xb4
ret 4
Function at 0x433cc0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x5166fb
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x568e30]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
push 0x5c
call fcn.004b9963
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], 0
test eax, eax
je 0x433d05
push eax
call fcn.00433960
jmp 0x433d07
xor eax, eax
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 8]
mov dword [esi + 0x80], eax
call fcn.00402960
mov edx, dword [esi + 0x80]
mov dword [edx + 4], 1
mov ecx, dword [esi + 0x80]
push str.GET_test1
add ecx, 0x3c
call fcn.00402960
lea eax, [esi + 0x1c]
push eax
push 0
push esi
push 0x433d90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x20], eax
test eax, eax
je 0x433d7e
cmp eax, 0xffffffff
je 0x433d7e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x20], 0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret 4
Function at 0x434790
Capabilities:
Encode data using base64

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, eax
test edi, edi
je 0x4348ef
lea ecx, [edi*8]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
add ecx, ecx
mov edx, ecx
lea ecx, [edi*8]
sub ecx, edx
sub ecx, 2
je 0x4347da
sub ecx, 2
jne 0x4347dd
add eax, 2
jmp 0x4347dd
add eax, 3
inc eax
cmp dword [ebx], eax
jge 0x4347ee
pop edi
mov dword [ebx], eax
pop esi
mov eax, 0xfffffff0
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x18]
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
xor edx, edx
push ebp
test eax, eax
jle 0x43488c
lea edx, [eax - 1]
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
inc edx
lea eax, [edx + edx*2]
mov dword [esp + 0x10], eax
movzx eax, byte [esi]
movzx ebp, byte [esi + 1]
mov ebx, eax
sar ebx, 2
inc esi
movzx edi, byte [esi + 1]
and ebx, 0x3f
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], bl
inc esi
shl eax, 4
mov ebx, ebp
sar ebx, 4
add ebx, eax
and ebx, 0x3f
movzx eax, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
inc ecx
mov eax, edi
sar eax, 6
lea eax, [eax + ebp*4]
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
and edi, 0x3f
movzx eax, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc esi
inc ecx
sub edx, 1
jne 0x434822
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
cmp edx, edi
jge 0x4348e3
movzx eax, byte [esi]
lea ebp, [edx + 1]
cmp ebp, edi
jge 0x4348a0
movzx esi, byte [esi + 1]
jmp 0x4348a2
xor esi, esi
mov edx, eax
sar edx, 2
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
mov edx, esi
sar edx, 4
shl eax, 4
add edx, eax
and edx, 0x3f
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
cmp ebp, edi
jge 0x4348db
and esi, 0xf
mov dl, byte [esi*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
jmp 0x4348de
mov byte [ecx], 0x3d
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov eax, ecx
sub eax, dword [esp + 0x1c]
pop ebp
mov dword [ebx], eax
mov byte [ecx], 0
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x435660
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x435676
xor eax, eax
jmp 0x4356af
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 0xc]
push edx
call fcn.004b8548
add esp, 0x10
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
cmp eax, dword [ebp - 4]
jne 0x4356a1
xor eax, eax
jmp 0x4356af
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.004b8274
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x4356c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x4356d6
xor eax, eax
jmp 0x43570f
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 0xc]
push edx
call fcn.004b86c7
add esp, 0x10
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
cmp eax, dword [ebp - 4]
jne 0x435701
xor eax, eax
jmp 0x43570f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.004b8274
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x436d30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x568e30]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x436d62
xor eax, eax
jmp 0x436d6e
cmp dword [ebp - 0x11c], 5
sbb eax, eax
add eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b8dd5
mov esp, ebp
pop ebp
ret

Function at 0x4391e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x4391f8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jae 0x43924b
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x439219
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jae 0x43923c
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp - 8]
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
xor eax, ecx
mov dword [ebp - 8], eax
jmp 0x439210
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx*4 + 0x56b120], eax
jmp 0x4391ef
jmp 0x439256
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x800
jae 0x43928e
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x56ad20]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
mov edx, dword [ebp - 0x10]
shr edx, 8
xor edx, dword [ecx*4 + 0x56b120]
mov eax, dword [ebp - 4]
mov dword [eax*4 + 0x56b120], edx
jmp 0x43924d
mov dword [0x56d120], fcn.004392b0
call fcn.00436c00
test eax, eax
jne 0x4392ab
mov dword [0x56d120], 0x4393c0
mov esp, ebp
pop ebp
ret
Function at 0x446dc0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e369
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x568e30]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], 0
lea ecx, [ebp - 0x34]
call fcn.004012d0
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 0xf0000000
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x446e45
push 0
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x446efa
cmp dword [ebp + 0xc], 0
je 0x446eee
lea edx, [ebp - 0x10]
push edx
push 0
push 0
push 0x8003
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov dword [ebp - 0x38], 0x10
mov byte [ebp - 0x48], 0
xor ecx, ecx
mov dword [ebp - 0x47], ecx
mov dword [ebp - 0x43], ecx
mov dword [ebp - 0x3f], ecx
mov word [ebp - 0x3b], cx
mov byte [ebp - 0x39], cl
push 0
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x48]
push eax
push 2
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0x10
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.00446f40
add esp, 0xc
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x70]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040b180
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00401340
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp + 8]
call fcn.00401300
mov eax, dword [ebp - 0x68]
or eax, 1
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00401340
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004b8dd5
mov esp, ebp
pop ebp
ret
Function at 0x447620
Capabilities:
Get file size
Hash data with crc32
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e4db
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x568e30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x430], 0
push 0
mov eax, dword [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x418], eax
push 0
push 0x8000000
push 3
push 0
push 3
push connect
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x430], eax
push 0
mov edx, dword [ebp - 0x430]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x418], eax
mov eax, dword [ebp - 0x418]
push eax
push 0x20
lea ecx, [ebp - 0x42c]
call fcn.00447860
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x434]
push ecx
mov edx, dword [ebp - 0x418]
push edx
mov eax, dword [ebp - 0x418]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00427fe0
push eax
mov ecx, dword [ebp - 0x430]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x430]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
lea ecx, [ebp - 0x42c]
call fcn.00447940
mov dword [ebp - 0x424], 0x4c10db7
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x41c], 0
jmp 0x447732
mov eax, dword [ebp - 0x41c]
add eax, 1
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0x100
jge 0x4477b7
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x420], ecx
mov dword [ebp - 0x440], 0
jmp 0x447765
mov edx, dword [ebp - 0x440]
add edx, 1
mov dword [ebp - 0x440], edx
cmp dword [ebp - 0x440], 8
jge 0x44779f
mov eax, dword [ebp - 0x420]
and eax, 1
je 0x44778f
mov ecx, dword [ebp - 0x420]
shr ecx, 1
xor ecx, 0xedb88320
mov dword [ebp - 0x420], ecx
jmp 0x44779d
mov edx, dword [ebp - 0x420]
shr edx, 1
mov dword [ebp - 0x420], edx
jmp 0x447756
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x420]
mov dword [ebp + eax*4 - 0x414], ecx
jmp 0x447723
mov dword [ebp - 0x10], 0xffffffff
mov edx, dword [ebp - 0x418]
mov dword [ebp - 0x428], edx
lea ecx, [ebp - 0x42c]
call fcn.00429450
mov dword [ebp - 0x438], eax
mov eax, dword [ebp - 0x428]
mov ecx, dword [ebp - 0x428]
sub ecx, 1
mov dword [ebp - 0x428], ecx
test eax, eax
je 0x447828
mov edx, dword [ebp - 0x10]
shr edx, 8
mov eax, dword [ebp - 0x10]
and eax, 0xff
mov ecx, dword [ebp - 0x438]
movzx ecx, byte [ecx]
xor eax, ecx
xor edx, dword [ebp + eax*4 - 0x414]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x438]
add edx, 1
mov dword [ebp - 0x438], edx
jmp 0x4477db
mov eax, dword [ebp - 0x10]
xor eax, 0xffffffff
mov dword [ebp - 0x444], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call fcn.004272d0
mov eax, dword [ebp - 0x444]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret