joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40adee
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b3700
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x128]
shr ecx, 9
call fcn.00406530
mov ecx, eax
mov edx, 0x200
mov eax, dword [esi + 0x128]
shl edx, cl
cmp edx, eax
je 0x40add0
push eax
lea eax, [ebp - 0x168]
push str.m_options.sectorsize___d
push eax
call fcn.00439c20
add esp, 0xc
mov dword [ebp - 0x14], 0x4e9108
mov ecx, 0x4e9108
mov edx, eax
call fcn.00432940
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
cmp eax, 1
jne 0x40adbf
push 0
push 0x4c87fe
push edx
push str._512u____log2i__m_options.sectorsize___512______m_options.sectorsize
call fcn.0042d5c0
add esp, 0x10
mov ecx, 0x4e9108
mov dword [ebp - 4], 0xffffffff
call fcn.00432950
movzx eax, word [esi + 0x44]
cmp eax, 3
ja case.default.0x40add9
jmp dword [eax*4 + 0x40af98]
mov edi, 0x20
jmp 0x40ae52
mov edi, 0x2c
jmp 0x40ae52
mov edi, 0xd0
jmp 0x40ae52
push ecx
mov ecx, str.false
call fcn.0042d880
add esp, 4
mov ecx, 0x4e9108
mov dword [ebp - 0x14], 0x4e9108
call fcn.00432940
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
cmp eax, 1
jne 0x40ae3c
push 0
push 0x4c87fe
push 0x4c87fe
push str.false
call fcn.0042d5c0
add esp, 0x10
mov ecx, 0x4e9108
mov dword [ebp - 4], 0xffffffff
call fcn.00432950
mov edi, 0x44
lea ecx, [esi + 0x38]
lea eax, [ecx + 0xd0]
lea edx, [ebp - 0xe8]
cmp edx, eax
jae 0x40ae7c
lea eax, [ebp - 0x18]
cmp eax, ecx
jbe 0x40ae7c
push 0xd0
push ecx
mov eax, edx
push eax
call fcn.0048a330
jmp 0x40ae8e
push 0xd0
push ecx
lea eax, [ebp - 0xe8]
push eax
call fcn.00488cb0
mov ecx, dword [esi + 0x128]
add esp, 0xc
mov eax, dword [esi + 0x64]
shr ecx, 9
mov dword [ebp - 0xe8], 0x1a51504d
mov dword [ebp - 0xe4], edi
mov dword [ebp - 0xe0], eax
call fcn.00406530
cmp word [ebp - 0xdc], 2
mov word [ebp - 0xda], ax
mov eax, dword [esi + 0x58]
mov dword [ebp - 0xc8], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0xc4], eax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0xbc], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0xb8], eax
mov eax, dword [esi + 0x74]
mov dword [ebp - 0xac], eax
mov eax, dword [esi + 0x78]
mov dword [ebp - 0xa8], eax
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0xb4], eax
mov eax, dword [esi + 0x70]
mov dword [ebp - 0xb0], eax
jb 0x40af73
push 0xc0
lea eax, [ebp - 0xe8]
mov dword [ebp - 0x13c], 0
push eax
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x138], 0x67452301
mov dword [ebp - 0x134], 0xefcdab89
mov dword [ebp - 0x130], 0x98badcfe
mov dword [ebp - 0x12c], 0x10325476
call fcn.004026f0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x140]
call fcn.00402820
mov ecx, dword [esi + 0x20]
lea eax, [ebp - 0xe8]
push edi
push 0
push 0
push eax
call fcn.00414dc0
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40ae03
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b3700
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x128]
shr ecx, 9
call fcn.00406530
mov ecx, eax
mov edx, 0x200
mov eax, dword [esi + 0x128]
shl edx, cl
cmp edx, eax
je 0x40add0
push eax
lea eax, [ebp - 0x168]
push str.m_options.sectorsize___d
push eax
call fcn.00439c20
add esp, 0xc
mov dword [ebp - 0x14], 0x4e9108
mov ecx, 0x4e9108
mov edx, eax
call fcn.00432940
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
cmp eax, 1
jne 0x40adbf
push 0
push 0x4c87fe
push edx
push str._512u____log2i__m_options.sectorsize___512______m_options.sectorsize
call fcn.0042d5c0
add esp, 0x10
mov ecx, 0x4e9108
mov dword [ebp - 4], 0xffffffff
call fcn.00432950
movzx eax, word [esi + 0x44]
cmp eax, 3
ja case.default.0x40add9
jmp dword [eax*4 + 0x40af98]
mov edi, 0x20
jmp 0x40ae52
mov edi, 0x2c
jmp 0x40ae52
mov edi, 0xd0
jmp 0x40ae52
push ecx
mov ecx, str.false
call fcn.0042d880
add esp, 4
mov ecx, 0x4e9108
mov dword [ebp - 0x14], 0x4e9108
call fcn.00432940
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
cmp eax, 1
jne 0x40ae3c
push 0
push 0x4c87fe
push 0x4c87fe
push str.false
call fcn.0042d5c0
add esp, 0x10
mov ecx, 0x4e9108
mov dword [ebp - 4], 0xffffffff
call fcn.00432950
mov edi, 0x44
lea ecx, [esi + 0x38]
lea eax, [ecx + 0xd0]
lea edx, [ebp - 0xe8]
cmp edx, eax
jae 0x40ae7c
lea eax, [ebp - 0x18]
cmp eax, ecx
jbe 0x40ae7c
push 0xd0
push ecx
mov eax, edx
push eax
call fcn.0048a330
jmp 0x40ae8e
push 0xd0
push ecx
lea eax, [ebp - 0xe8]
push eax
call fcn.00488cb0
mov ecx, dword [esi + 0x128]
add esp, 0xc
mov eax, dword [esi + 0x64]
shr ecx, 9
mov dword [ebp - 0xe8], 0x1a51504d
mov dword [ebp - 0xe4], edi
mov dword [ebp - 0xe0], eax
call fcn.00406530
cmp word [ebp - 0xdc], 2
mov word [ebp - 0xda], ax
mov eax, dword [esi + 0x58]
mov dword [ebp - 0xc8], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0xc4], eax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0xbc], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0xb8], eax
mov eax, dword [esi + 0x74]
mov dword [ebp - 0xac], eax
mov eax, dword [esi + 0x78]
mov dword [ebp - 0xa8], eax
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0xb4], eax
mov eax, dword [esi + 0x70]
mov dword [ebp - 0xb0], eax
jb 0x40af73
push 0xc0
lea eax, [ebp - 0xe8]
mov dword [ebp - 0x13c], 0
push eax
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x138], 0x67452301
mov dword [ebp - 0x134], 0xefcdab89
mov dword [ebp - 0x130], 0x98badcfe
mov dword [ebp - 0x12c], 0x10325476
call fcn.004026f0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x140]
call fcn.00402820
mov ecx, dword [esi + 0x20]
lea eax, [ebp - 0xe8]
push edi
push 0
push 0
push eax
call fcn.00414dc0
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40b8b0
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3be8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x88
cmp dword [ebx + 0x18], 0x10
push esi
push edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x2c], ecx
jg 0x40b93a
mov ecx, 0x4e9108
mov dword [ebp - 0x28], 0x4e9108
call fcn.00432940
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
cmp eax, 1
jne 0x40b929
push 0
push 0x4c87fe
push 0x4c87fe
push str.freq___Blizzard::Util::MD5::SIZE
call fcn.0042d5c0
add esp, 0x10
mov ecx, 0x4e9108
mov dword [ebp - 4], 0xffffffff
call fcn.00432950
mov edi, dword [ebx + 0x10]
mov esi, edi
mov eax, dword [ebx + 0x18]
sub esi, 1
mov ecx, dword [ebx + 0x14]
cdq
sbb ecx, 0
push edx
push eax
push ecx
push esi
call fcn.004b2920
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
test edx, edx
jle 0x40ba28
mov eax, dword [ebx + 0x18]
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
cmp eax, edi
mov dword [ebp - 0x94], 0
mov edx, edi
mov dword [ebp - 0x98], 0
cmovl edx, eax
mov dword [ebp - 0x90], 0x67452301
mov eax, dword [ebp - 0x14]
push edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x8c], 0xefcdab89
mov eax, dword [eax + 4]
add eax, ecx
mov dword [ebp - 0x88], 0x98badcfe
push eax
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x84], 0x10325476
call fcn.004026f0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x98]
call fcn.00402820
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x2c]
add ecx, esi
cmp ecx, eax
jae 0x40ba03
lea eax, [ecx + 0x10]
lea edx, [ebp - 0x3c]
cmp eax, edx
jbe 0x40ba03
push 0x10
mov eax, edx
push eax
push ecx
call fcn.0048a330
add esp, 0xc
jmp 0x40ba0a
movups xmm0, xmmword [ebp - 0x3c]
movups xmmword [ecx], xmm0
mov ecx, dword [ebp - 0x18]
add esi, 0x10
mov eax, dword [ebx + 0x18]
add ecx, eax
sub edi, dword [ebp - 0x20]
sub dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], ecx
jne 0x40b970
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
xor al, al
mov ecx, dword [ecx]
test ecx, ecx
je 0x40ba9f
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
shl edx, 4
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
mov eax, dword [eax + 4]
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0xc]
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x78], 0x14
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx + 0x68]
test eax, eax
je 0x40ba9d
lea ecx, [ebp - 0x78]
push ecx
push eax
mov eax, dword [eax + 0x14]
call eax
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x40e810
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x274
push ebx
mov eax, edx
mov ebx, ecx
push esi
push edi
xor edx, edx
mov dword [esp + 0x1c], eax
mov ecx, eax
mov dword [esp + 0x14], ebx
call fcn.00404d80
mov dword [esp + 0x18], eax
xor esi, esi
mov ecx, dword [ebx]
mov dword [esp + 0x10], esi
mov edx, dword [ecx + 0x280]
mov edi, dword [ecx + 0x27c]
sub edx, edi
sar edx, 4
xor ecx, ecx
lea ebx, [edx - 1]
mov eax, ebx
and eax, dword [esp + 0x18]
test edx, edx
je 0x40e87d
mov esi, eax
shl esi, 4
add esi, edi
cmp dword [esi + 0xc], 0xfffffffe
jae 0x40e902
inc eax
inc ecx
and eax, ebx
cmp ecx, edx
jb 0x40e860
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x40e9ae
lea esi, [edx + edx]
cmp esi, 0x10000
jbe 0x40e8de
cmp esi, 0x100000
jb 0x40e8e3
push 2
call fcn.00491aa6
add esp, 4
push eax
push str.SFileCreateFile:_warning___hash_table_about_to_exceed_224_items__n
call fcn.00499ec9
add esp, 8
lea ecx, [esp + 0x20]
push str.SFileCreateFile:_warning___hash_table_about_to_exceed_224_items__n
call fcn.00436a40
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
cmp eax, ecx
je 0x40e8e3
push eax
call fcn.00471372
add esp, 4
jmp 0x40e8e3
mov esi, 0x10000
mov ebx, dword [esp + 0x14]
mov edx, esi
mov ecx, dword [ebx]
call fcn.00405e50
test al, al
je 0x40e9ae
mov esi, 1
jmp 0x40e83a
mov ecx, dword [esp + 0x1c]
mov edx, 1
call fcn.00404d80
mov ecx, dword [esp + 0x1c]
mov edx, 2
mov edi, eax
call fcn.00404d80
mov edx, dword [esp + 0x14]
mov dword [esi + 4], eax
mov dword [esi], edi
mov eax, dword [edx]
mov ax, word [eax + 0x2a2]
mov word [esi + 8], ax
mov eax, dword [edx]
mov al, byte [eax + 0x2a4]
mov byte [esi + 0xa], al
mov eax, dword [ebp + 0xc]
mov byte [esi + 0xb], 0
mov dword [esi + 0xc], eax
mov edx, dword [edx]
mov ecx, dword [edx + 0x274]
cmp dword [edx + 0x278], ecx
je 0x40e996
mov eax, dword [ebp + 8]
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ecx + 0x20], xmm0
movq xmm0, qword [eax + 0x30]
movq qword [ecx + 0x30], xmm0
mov ax, word [eax + 0x38]
mov word [ecx + 0x38], ax
mov al, 1
add dword [edx + 0x274], 0x3a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
push ecx
lea ecx, [edx + 0x270]
call fcn.00440d40
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 2
call fcn.00491aa6
add esp, 4
push eax
push str.SFileCreateFile:_unable_to_insert_an_entry_into_the_hash_table__n
call fcn.00499ec9
add esp, 8
lea ecx, [esp + 0x20]
push str.SFileCreateFile:_unable_to_insert_an_entry_into_the_hash_table__n
call fcn.00436a40
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
cmp eax, ecx
je 0x40e9f2
push eax
call fcn.00471372
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c680
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4710
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x78
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [edi + 0x18]
cdq
push edx
push eax
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call fcn.004b2ab0
or eax, edx
je 0x41c715
mov ecx, 0x4e9108
mov dword [ebp - 0x20], 0x4e9108
call fcn.00432940
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
cmp eax, 1
jne 0x41c704
push 0
push 0x4c87fe
push 0x4c87fe
push str._startOffset___m_frequency___0
call fcn.0042d5c0
add esp, 0x10
mov ecx, 0x4e9108
mov dword [ebp - 4], 0xffffffff
call fcn.00432950
mov esi, dword [ebx + 0x14]
mov eax, esi
cdq
add eax, dword [ebx + 0xc]
adc edx, dword [ebx + 0x10]
cmp edx, dword [edi + 0x24]
jl 0x41c770
jg 0x41c72d
cmp eax, dword [edi + 0x20]
jbe 0x41c770
mov ecx, 0x4e9108
mov dword [ebp - 0x20], 0x4e9108
call fcn.00432940
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
cmp eax, 1
jne 0x41c766
push 0
push 0x4c87fe
push 0x4c87fe
push str._startOffset__length____m_length
call fcn.0042d5c0
add esp, 0x10
mov ecx, 0x4e9108
call fcn.00432950
mov edi, dword [edi + 0x18]
mov eax, edi
cdq
push edx
push eax
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call fcn.004b2920
shl eax, 4
mov dword [ebp - 0x14], eax
test esi, esi
jle 0x41c83b
cmp edi, esi
mov dword [ebp - 0x84], 0
mov eax, esi
mov dword [ebp - 0x88], 0
cmovl eax, edi
mov dword [ebp - 0x80], 0x67452301
push eax
push dword [ebx + 8]
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x7c], 0xefcdab89
mov dword [ebp - 0x78], 0x98badcfe
mov dword [ebp - 0x74], 0x10325476
call fcn.004026f0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x88]
call fcn.00402820
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x20]
add ecx, edi
cmp ecx, eax
jae 0x41c815
lea eax, [ecx + 0x10]
lea edx, [ebp - 0x30]
cmp eax, edx
jbe 0x41c815
push 0x10
mov eax, edx
push eax
push ecx
call fcn.0048a330
add esp, 0xc
jmp 0x41c81c
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [ecx], xmm0
mov eax, dword [ebx + 8]
add edi, 0x10
add eax, dword [ebp - 0x1c]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], edi
mov edi, dword [eax + 0x18]
sub esi, edi
test esi, esi
jg 0x41c791
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
Function at 0x41fa70
Capabilities:
Get number of processors

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b47d9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x48
push esi
mov esi, ecx
mov dword [ebp - 0x1c], esi
push edi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
mov dword [ebp - 4], 0
mov dword [esi], vtable.Blizzard::Streaming::Manifests::ServerItem.0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0xf
mov byte [esi + 0x1c], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x54], 0x7d0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 1
push str._d:_d
push str.0:00
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x50], 1
call fcn.00401da0
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x54]
add esp, 0x10
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x44], eax
call fcn.004389d0
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], 0x64
cmp dword [esi + 0x48], eax
je 0x41fb77
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [eax], xmm0
add dword [esi + 0x44], 0x10
jmp 0x41fb84
lea ecx, [ebp - 0x30]
push ecx
push eax
lea ecx, [esi + 0x40]
call fcn.0043fc80
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x54], 0xa
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [esi + 0x58], 1
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x428520
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b4e68
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x84], 0
je 0x428627
mov eax, dword [edi + 0x18]
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x70], 0x67452301
push dword [eax + 8]
mov dword [ebp - 0x6c], 0xefcdab89
push dword [eax]
mov dword [ebp - 0x68], 0x98badcfe
mov dword [ebp - 0x64], 0x10325476
call fcn.004026f0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x78]
call fcn.00402820
lea edx, [edi + 0x74]
mov esi, 0xc
lea ecx, [ebp - 0x20]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4285b3
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4285a0
jmp 0x4285dd
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 8]
mov ecx, dword [edi + 0xc]
sub esi, 1
cdq
push edx
push eax
sbb ecx, 0
push ecx
push esi
call fcn.004b2920
mov edx, dword [edi]
mov ecx, edi
push eax
push 0
call dword [edx + 0x50]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
mov esi, dword [edi + 0x40]
lea ecx, [ebp - 0x10]
call fcn.0043f620
mov dword [ebp - 4], 0
lea edx, [ebp - 0xc8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0xc8], 8
mov dword [ebp - 0xbc], esi
call fcn.004304e0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x428620
call fcn.0040cef0
mov byte [edi + 0x84], 0
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x429020
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4e68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push esi
push edi
mov edi, ecx
push dword [edi + 0xc]
mov eax, dword [edi]
push dword [edi + 8]
push 0
mov eax, dword [eax + 0x30]
push 0
call eax
mov esi, dword [edi + 0x40]
lea ecx, [ebp - 0x10]
mov byte [edi + 0x1c], al
call fcn.0043f620
mov dword [ebp - 4], 0
lea edx, [ebp - 0xb8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0xb8], 0x1c
mov dword [ebp - 0xac], esi
call fcn.004304e0
mov bl, al
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x42909c
call fcn.0040cef0
mov dword [ebp - 4], 0xffffffff
test bl, bl
je 0x4290db
push dword [edi + 0x18]
mov ecx, dword [edi + 0x44]
lea edx, [edi + 0x20]
push dword [edi + 0x14]
push dword [edi + 0x10]
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.004291f0
add esp, 0x14
test al, al
je 0x4290db
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d310
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5289
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0x28]
mov dword [edi], vtable.Blizzard::URL::HttpCallback.0
mov dword [edi + 4], 1
mov byte [edi + 8], 1
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], 0xffffffff
mov dword [edi + 0x20], 0xffffffff
mov dword [edi + 0x24], 0xffffffff
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0043ef20
mov dword [esi], eax
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x3c]
mov byte [ebp - 4], 1
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], eax
push 3
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x4cc528
mov byte [ecx], 0
call fcn.0043d0c0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
lea ecx, [edi + 0x5c]
mov byte [ebp - 4], 3
call fcn.00432960
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x42d960
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
push esi
mov esi, ecx
test esi, esi
je 0x42d9ac
push 2
call fcn.00491aa6
push eax
push esi
call fcn.00499ec9
add esp, 0xc
lea ecx, [esp + 8]
push esi
call fcn.00436a40
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
cmp eax, ecx
je 0x42d9ac
push eax
call fcn.00471372
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x430630
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b3798
push eax
mov dword fs:[0], esp
sub esp, 0x810
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x43069d
mov ecx, 0x4e9108
mov dword [ebp - 0x18], 0x4e9108
call fcn.00432940
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], edi
cmp eax, 1
jne 0x43068c
push edi
push 0x4c87fe
push 0x4c87fe
push str.file___NULL
call fcn.0042d5c0
add esp, 0x10
mov ecx, 0x4e9108
mov dword [ebp - 4], 0xffffffff
call fcn.00432950
cmp dword [edi], 0xffffffff
jne 0x4306f8
push 0x43b710
push ecx
mov edx, 0x43b770
mov ecx, 0x4e73dc
call fcn.00437550
mov dword [eax], 8
lea eax, [ebp - 0x41c]
push dword [edi + 0x54]
push str.Win32_Execute____s
push eax
call fcn.0043a7b0
add esp, 0x14
mov edx, eax
mov ecx, 8
push 1
call fcn.00430470
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x43070d
push ecx
mov ecx, str.amount___NULL
call fcn.0042d880
add esp, 4
mov eax, dword [esi]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4307ab
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp + 8]
push ebx
push ecx
push eax
push dword [ebp + 0xc]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 8]
mov dword [esi], ecx
test eax, eax
jne 0x4307ab
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x26
jne 0x4307be
lea eax, [ebp - 0x18]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4307be
mov eax, dword [ebx + 0xc]
xor ecx, ecx
or ecx, dword [ebx + 8]
cmp eax, dword [ebp - 0x14]
jg 0x4307be
jl 0x430768
cmp ecx, dword [ebp - 0x18]
ja 0x4307be
push 0x43b710
push ecx
mov edx, 0x43b770
mov ecx, 0x4e73dc
call fcn.00437550
mov dword [eax], 7
lea eax, [ebp - 0x41c]
push dword [edi + 0x54]
push str.Win32_Read___End_of_File____s
push eax
call fcn.0043a7b0
add esp, 0x14
mov edx, eax
mov ecx, 7
push 1
call fcn.00430470
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call esi
push 0x43b710
push ecx
mov edx, 0x43b770
mov ecx, 0x4e73dc
mov esi, eax
call fcn.00437550
add esp, 8
mov edx, 0x43b770
mov dword [eax + 4], esi
push 0x43b710
push ecx
mov ecx, 0x4e73dc
call fcn.00437550
mov dword [eax], 5
lea eax, [ebp - 0x81c]
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [edi + 0x54]
push esi
push str.Win32_Read___d_____s__u__u
push eax
call fcn.0043a7b0
push 1
mov edx, eax
mov ecx, 5
call fcn.00430470
mov ecx, dword [ebp - 0xc]
add esp, 0x24
xor al, al
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret