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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b20f0
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.00406680
mov ecx, eax
mov edx, 0x200
mov eax, dword [esi + 0x128]
shl edx, cl
cmp edx, eax
je 0x40af20
push eax
lea eax, [ebp - 0x168]
push str.m_options.sectorsize___d
push eax
call fcn.00439e50
add esp, 0xc
mov dword [ebp - 0x14], 0x4e7150
mov ecx, 0x4e7150
mov edx, eax
call fcn.00432b80
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
cmp eax, 1
jne 0x40af0f
push 0
push 0x4c7819
push edx
push str._512u____log2i__m_options.sectorsize___512______m_options.sectorsize
call fcn.0042d730
add esp, 0x10
mov ecx, 0x4e7150
mov dword [ebp - 4], 0xffffffff
call fcn.00432b90
movzx eax, word [esi + 0x44]
cmp eax, 3
ja case.default.0x40af29
jmp dword [eax*4 + 0x40b0e8]
mov edi, 0x20
jmp 0x40afa2
mov edi, 0x2c
jmp 0x40afa2
mov edi, 0xd0
jmp 0x40afa2
push ecx
mov ecx, str.false
call fcn.0042d9f0
add esp, 4
mov ecx, 0x4e7150
mov dword [ebp - 0x14], 0x4e7150
call fcn.00432b80
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
cmp eax, 1
jne 0x40af8c
push 0
push 0x4c7819
push 0x4c7819
push str.false
call fcn.0042d730
add esp, 0x10
mov ecx, 0x4e7150
mov dword [ebp - 4], 0xffffffff
call fcn.00432b90
mov edi, 0x44
lea ecx, [esi + 0x38]
lea eax, [ecx + 0xd0]
lea edx, [ebp - 0xe8]
cmp edx, eax
jae 0x40afcc
lea eax, [ebp - 0x18]
cmp eax, ecx
jbe 0x40afcc
push 0xd0
push ecx
mov eax, edx
push eax
call fcn.00488d20
jmp 0x40afde
push 0xd0
push ecx
lea eax, [ebp - 0xe8]
push eax
call fcn.004876a0
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.00406680
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 0x40b0c3
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.00402840
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x140]
call fcn.00402970
mov ecx, dword [esi + 0x20]
lea eax, [ebp - 0xe8]
push edi
push 0
push 0
push eax
call fcn.00414f10
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40ba00
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 0x4b25d8
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 0x40ba8a
mov ecx, 0x4e7150
mov dword [ebp - 0x28], 0x4e7150
call fcn.00432b80
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
cmp eax, 1
jne 0x40ba79
push 0
push 0x4c7819
push 0x4c7819
push str.freq___Blizzard::Util::MD5::SIZE
call fcn.0042d730
add esp, 0x10
mov ecx, 0x4e7150
mov dword [ebp - 4], 0xffffffff
call fcn.00432b90
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.004b1310
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
test edx, edx
jle 0x40bb78
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.00402840
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x98]
call fcn.00402970
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x2c]
add ecx, esi
cmp ecx, eax
jae 0x40bb53
lea eax, [ecx + 0x10]
lea edx, [ebp - 0x3c]
cmp eax, edx
jbe 0x40bb53
push 0x10
mov eax, edx
push eax
push ecx
call fcn.00488d20
add esp, 0xc
jmp 0x40bb5a
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 0x40bac0
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
xor al, al
mov ecx, dword [ecx]
test ecx, ecx
je 0x40bbef
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 0x40bbed
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 0x40e960
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.00404ed0
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 0x40e9cd
mov esi, eax
shl esi, 4
add esi, edi
cmp dword [esi + 0xc], 0xfffffffe
jae 0x40ea52
inc eax
inc ecx
and eax, ebx
cmp ecx, edx
jb 0x40e9b0
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x40eafe
lea esi, [edx + edx]
cmp esi, 0x10000
jbe 0x40ea2e
cmp esi, 0x100000
jb 0x40ea33
push 2
call fcn.00490575
add esp, 4
push eax
push str.SFileCreateFile:_warning___hash_table_about_to_exceed_224_items__n
call fcn.00498999
add esp, 8
lea ecx, [esp + 0x20]
push str.SFileCreateFile:_warning___hash_table_about_to_exceed_224_items__n
call fcn.00436c60
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
cmp eax, ecx
je 0x40ea33
push eax
call fcn.0046fd72
add esp, 4
jmp 0x40ea33
mov esi, 0x10000
mov ebx, dword [esp + 0x14]
mov edx, esi
mov ecx, dword [ebx]
call fcn.00405fa0
test al, al
je 0x40eafe
mov esi, 1
jmp 0x40e98a
mov ecx, dword [esp + 0x1c]
mov edx, 1
call fcn.00404ed0
mov ecx, dword [esp + 0x1c]
mov edx, 2
mov edi, eax
call fcn.00404ed0
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 0x40eae6
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.00440f70
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 2
call fcn.00490575
add esp, 4
push eax
push str.SFileCreateFile:_unable_to_insert_an_entry_into_the_hash_table__n
call fcn.00498999
add esp, 8
lea ecx, [esp + 0x20]
push str.SFileCreateFile:_unable_to_insert_an_entry_into_the_hash_table__n
call fcn.00436c60
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
cmp eax, ecx
je 0x40eb42
push eax
call fcn.0046fd72
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c7d0
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 0x4b3110
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.004b14a0
or eax, edx
je 0x41c865
mov ecx, 0x4e7150
mov dword [ebp - 0x20], 0x4e7150
call fcn.00432b80
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
cmp eax, 1
jne 0x41c854
push 0
push 0x4c7819
push 0x4c7819
push str._startOffset___m_frequency___0
call fcn.0042d730
add esp, 0x10
mov ecx, 0x4e7150
mov dword [ebp - 4], 0xffffffff
call fcn.00432b90
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 0x41c8c0
jg 0x41c87d
cmp eax, dword [edi + 0x20]
jbe 0x41c8c0
mov ecx, 0x4e7150
mov dword [ebp - 0x20], 0x4e7150
call fcn.00432b80
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
cmp eax, 1
jne 0x41c8b6
push 0
push 0x4c7819
push 0x4c7819
push str._startOffset__length____m_length
call fcn.0042d730
add esp, 0x10
mov ecx, 0x4e7150
call fcn.00432b90
mov edi, dword [edi + 0x18]
mov eax, edi
cdq
push edx
push eax
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call fcn.004b1310
shl eax, 4
mov dword [ebp - 0x14], eax
test esi, esi
jle 0x41c98b
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.00402840
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x88]
call fcn.00402970
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 0x41c965
lea eax, [ecx + 0x10]
lea edx, [ebp - 0x30]
cmp eax, edx
jbe 0x41c965
push 0x10
mov eax, edx
push eax
push ecx
call fcn.00488d20
add esp, 0xc
jmp 0x41c96c
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 0x41c8e1
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 0x41fbc0
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 0x4b31d9
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.00438c00
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 0x41fcc7
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [eax], xmm0
add dword [esi + 0x44], 0x10
jmp 0x41fcd4
lea ecx, [ebp - 0x30]
push ecx
push eax
lea ecx, [esi + 0x40]
call fcn.0043feb0
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 0x428680
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b3868
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x84], 0
je 0x428787
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.00402840
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x78]
call fcn.00402970
lea edx, [edi + 0x74]
mov esi, 0xc
lea ecx, [ebp - 0x20]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x428713
add ecx, 4
add edx, 4
sub esi, 4
jae 0x428700
jmp 0x42873d
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.004b1310
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.0043f850
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.00430710
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x428780
call fcn.0040d040
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 0x429180
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3868
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.0043f850
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.00430710
mov bl, al
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4291fc
call fcn.0040d040
mov dword [ebp - 4], 0xffffffff
test bl, bl
je 0x42923b
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.00429350
add esp, 0x14
test al, al
je 0x42923b
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 0x42d480
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3c89
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.0043f150
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 0x4cb548
mov byte [ecx], 0
call fcn.0043d2f0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
lea ecx, [edi + 0x5c]
mov byte [ebp - 4], 3
call fcn.00432ba0
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 0x42dad0
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 0x42db1c
push 2
call fcn.00490575
push eax
push esi
call fcn.00498999
add esp, 0xc
lea ecx, [esp + 8]
push esi
call fcn.00436c60
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
cmp eax, ecx
je 0x42db1c
push eax
call fcn.0046fd72
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x430860
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b2188
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 0x4308cd
mov ecx, 0x4e7150
mov dword [ebp - 0x18], 0x4e7150
call fcn.00432b80
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], edi
cmp eax, 1
jne 0x4308bc
push edi
push 0x4c7819
push 0x4c7819
push str.file___NULL
call fcn.0042d730
add esp, 0x10
mov ecx, 0x4e7150
mov dword [ebp - 4], 0xffffffff
call fcn.00432b90
cmp dword [edi], 0xffffffff
jne 0x430928
push 0x43b940
push ecx
mov edx, 0x43b9a0
mov ecx, 0x4e5424
call fcn.00437780
mov dword [eax], 8
lea eax, [ebp - 0x41c]
push dword [edi + 0x54]
push str.Win32_Execute____s
push eax
call fcn.0043a9e0
add esp, 0x14
mov edx, eax
mov ecx, 8
push 1
call fcn.004306a0
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 0x43093d
push ecx
mov ecx, str.amount___NULL
call fcn.0042d9f0
add esp, 4
mov eax, dword [esi]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4309db
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 0x4309db
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x26
jne 0x4309ee
lea eax, [ebp - 0x18]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4309ee
mov eax, dword [ebx + 0xc]
xor ecx, ecx
or ecx, dword [ebx + 8]
cmp eax, dword [ebp - 0x14]
jg 0x4309ee
jl 0x430998
cmp ecx, dword [ebp - 0x18]
ja 0x4309ee
push 0x43b940
push ecx
mov edx, 0x43b9a0
mov ecx, 0x4e5424
call fcn.00437780
mov dword [eax], 7
lea eax, [ebp - 0x41c]
push dword [edi + 0x54]
push str.Win32_Read___End_of_File____s
push eax
call fcn.0043a9e0
add esp, 0x14
mov edx, eax
mov ecx, 7
push 1
call fcn.004306a0
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 0x43b940
push ecx
mov edx, 0x43b9a0
mov ecx, 0x4e5424
mov esi, eax
call fcn.00437780
add esp, 8
mov edx, 0x43b9a0
mov dword [eax + 4], esi
push 0x43b940
push ecx
mov ecx, 0x4e5424
call fcn.00437780
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.0043a9e0
push 1
mov edx, eax
mov ecx, 5
call fcn.004306a0
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
Function at 0x430a70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b1f88
push eax
mov dword fs:[0], esp
sub esp, 0x808
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
jne 0x430adc
mov ecx, 0x4e7150
mov dword [ebp - 0x14], 0x4e7150
call fcn.00432b80
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], esi
cmp eax, 1
jne 0x430acb
push esi
push 0x4c7819
push 0x4c7819
push str.file___NULL
call fcn.0042d730
add esp, 0x10
mov ecx, 0x4e7150
mov dword [ebp - 4], 0xffffffff
call fcn.00432b90
cmp dword [esi], 0xffffffff
jne 0x430b11
push 0x43b940
push ecx
mov edx, 0x43b9a0
mov ecx, 0x4e5424
call fcn.00437780
add esp, 8
mov dword [eax], 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x14]
test edi, edi
jne 0x430b26
push ecx
mov ecx, str.amount___NULL
call fcn.0042d9f0
add esp, 4
cmp dword [edi], 0
je 0x430c0c
push dword [ebp + 0x10]
lea eax, [ebp + 8]
mov byte [esi + 8], 0
push eax
push dword [edi]
push dword [ebp + 0xc]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
mov dword [edi], ecx
test eax, eax
jne 0x430c0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x27
je 0x430bb9
cmp edi, 0x70
je 0x430bb9
push 0x43b940
push ecx
mov edx, 0x43b9a0
mov ecx, 0x4e5424
call fcn.00437780
mov dword [eax], 6
lea eax, [ebp - 0x414]
push dword [esi + 0x54]
push edi
push str.Win32_Write___d_____s
push eax
call fcn.0043a9e0
mov ecx, 6
mov edx, eax
push 1
call fcn.004306a0
add esp, 0x1c
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x43b940
push ecx
mov edx, 0x43b9a0
mov ecx, 0x4e5424
call fcn.00437780
mov dword [eax], 0xb
lea eax, [ebp - 0x814]
push dword [esi + 0x54]
push edi
push str.Win32_Write___d_____s
push eax
call fcn.0043a9e0
mov ecx, 0xb
mov edx, eax
push 1
call fcn.004306a0
add esp, 0x1c
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret