joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41daa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x484016
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4a9750]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
push edi
mov eax, dword [0x4a9750]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov dword [edi], vtable.RC::RCFileHash.0
mov dword [edi + 4], 0
mov dword [esp + 0x14], edi
mov byte [edi + 8], 0
mov dword [esp + 0x38], 0
mov dword [edi], vtable.RC::RCFileHashCalc.0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [esp + 0x38], 2
xorps xmm0, xmm0
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x20], 0
mov dword [edi], vtable.RC::RCMD5.0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x38], 3
push 8
movq qword [esp + 0x28], xmm0
call fcn.00467355
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x38], 4
test eax, eax
je 0x41db74
xorps xmm0, xmm0
mov ecx, eax
movq qword [eax], xmm0
call fcn.0042c7c0
jmp 0x41db76
xor eax, eax
mov byte [esp + 0x38], 3
lea ecx, [esp + 0x24]
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.0041dfb0
mov byte [esp + 0x38], 5
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
call fcn.0041dd40
lea eax, [esp + 0x18]
push eax
lea ecx, [edi + 0xc]
call fcn.0042cab0
mov byte [esp + 0x38], 3
mov esi, dword [esp + 0x28]
test esi, esi
je 0x41dbe7
or ebx, 0xffffffff
lea ecx, [esi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x41dbe7
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x41dbe7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [esp + 0x38], 2
mov esi, dword [esp + 0x18]
test esi, esi
je 0x41dc25
push dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, esi
call fcn.0040f250
push esi
call fcn.00467305
add esp, 0xc
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x38], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00466b29
add esp, 0x2c
ret
Function at 0x41fe80
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x484473
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4a9750]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9750]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x6c]
push 4
call fcn.00467355
add esp, 4
mov dword [esp + 0x40], eax
mov dword [esp + 0x64], 0
test eax, eax
je 0x41fee0
mov dword [eax], 0
mov dword [eax], 0xffffffff
jmp 0x41fee2
xor eax, eax
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x3c], eax
mov dword [esp + 0x64], 1
lea eax, [esp + 0x3c]
push ecx
push 2
push 0
push 0x40000000
push esi
push eax
call fcn.004224b0
test al, al
je 0x42007a
lea eax, [esp + 0x44]
xorps xmm0, xmm0
push eax
lea ecx, [esp + 0x40]
movlpd qword [esp + 0x48], xmm0
call fcn.00415020
test al, al
je 0x41ff43
cmp dword [esp + 0x48], 0
ja 0x41ff3c
cmp dword [esp + 0x44], 0
jbe 0x41ff43
mov bl, 1
jmp 0x42007c
xorps xmm0, xmm0
mov dword [esp + 0x4c], 0
movq qword [esp + 0x44], xmm0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov byte [esp + 0x64], 2
lea ecx, [esp + 0x14]
call fcn.0041f180
mov byte [esp + 0x64], 3
lea esi, [edi + 0x24]
mov eax, dword [esi]
lea ecx, [esp + 0x14]
cmp eax, dword [esi + 4]
jne 0x41ff94
call fcn.0041f220
jmp 0x41ffbb
push esi
call fcn.004238e0
lea eax, [esi + 0xc]
push eax
lea ecx, [esp + 0x24]
call fcn.004238e0
lea eax, [esi + 0x18]
push eax
lea ecx, [esp + 0x30]
call fcn.004238e0
mov eax, dword [esi + 0x24]
mov dword [esp + 0x38], eax
lea edx, [esp + 0x44]
lea ecx, [esp + 0x14]
call fcn.0041fb60
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
sub ebp, edi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x40], 0
test esi, esi
jne 0x41ffe6
xor bl, bl
jmp 0x420030
test edi, edi
jne 0x41ffee
xor bl, bl
jmp 0x420018
mov eax, dword [esi]
cmp eax, 0xffffffff
jne 0x41fff9
xor bl, bl
jmp 0x420018
push 0
lea ecx, [esp + 0x44]
push ecx
push ebp
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x420011
xor bl, bl
jmp 0x420018
cmp ebp, dword [esp + 0x40]
sete bl
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x420030
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x420030
mov dword [esi], 0xffffffff
cmp dword [esp + 0x40], ebp
jne 0x42003e
test bl, bl
je 0x42003e
mov bl, 1
jmp 0x420040
xor bl, bl
mov byte [esp + 0x64], 2
lea ecx, [esp + 0x14]
call fcn.00422580
mov byte [esp + 0x64], 1
test edi, edi
je 0x420080
push edi
call fcn.00467305
add esp, 4
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
jmp 0x420080
xor bl, bl
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x64], 0xffffffff
test esi, esi
je 0x4200b5
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4200a4
test eax, eax
je 0x4200a4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push esi
call fcn.00467305
add esp, 4
mov dword [esp + 0x3c], 0
mov al, bl
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00466b29
add esp, 0x54
ret 4
Function at 0x4200e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4844c8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4a9750]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
mov eax, dword [0x4a9750]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x48], 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov byte [esp + 0x48], 2
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x48], 3
lea ecx, [esp + 8]
call fcn.0041f220
xorps xmm0, xmm0
mov dword [esp + 0x38], 0
movq qword [esp + 0x30], xmm0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov byte [esp + 0x48], 4
lea edx, [esp + 0x30]
lea ecx, [esp + 8]
call fcn.0041fb60
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
sub esi, eax
mov byte [esp + 0x48], 3
test eax, eax
je 0x4201f1
push eax
call fcn.00467305
add esp, 4
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 8]
call fcn.00422580
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00466b29
add esp, 0x44
ret
Function at 0x422370
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x484881
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4a9750]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x4a9750]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x38], 0
xor eax, eax
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], esi
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov dword [esp + 0x38], eax
mov dword [esp + 0xc], 1
cmp dword [edi + 0x10], eax
je 0x422482
push 0x26
push str.47FF0D24_E0A5_4163_8546_DE7217D2F141
mov ecx, esi
call fcn.00403a40
xor eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov dword [esp + 0x38], 1
lea edx, [esp + 0x14]
mov ecx, edi
call fcn.00408220
lea ecx, [esp + 0x14]
call fcn.0040fbd0
push 1
push 0x497420
mov ecx, esi
call fcn.00404e80
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.00404f60
mov byte [esp + 0x38], 0
cmp dword [esp + 0x28], 8
jb 0x42246b
push dword [esp + 0x14]
call fcn.00467305
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00466b29
add esp, 0x30
ret 8

Function at 0x425c30
Capabilities:
Check os version

Disassembly:
sub esp, 0x10
push esi
push 0x11c
mov esi, ecx
push 0
push esi
call fcn.0046ab60
add esp, 0xc
mov dword [esi], 0x11c
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x425cc1
mov eax, dword [esi + 4]
cmp eax, 6
ja 0x425c67
jne 0x425cba
cmp dword [esi + 8], 2
jb 0x425cba
lea eax, [esp + 0x10]
mov dword [esp + 4], 0
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0
push eax
lea edx, [esp + 0x10]
mov dword [esp + 0x14], 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.00425cd0
add esp, 8
test al, al
je 0x425cba
mov eax, dword [esp + 4]
mov dword [esi + 4], eax
mov eax, dword [esp + 8]
mov dword [esi + 8], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0xc], eax
mov al, 1
pop esi
add esp, 0x10
ret
xor al, al
pop esi
add esp, 0x10
ret
Function at 0x425cd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x28
mov eax, dword [0x4a9750]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
push ebx
push ebp
mov ebp, dword [esp + 0x34]
mov ebx, edx
push esi
push edi
push str.kernel32.dll
mov edi, ecx
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x425d9a
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x425d9a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x425d9a
movdqu xmm0, xmmword [0x497454]
push eax
movdqu xmmword [esp + 0x18], xmm0
movdqu xmm0, xmmword [0x497464]
movdqu xmmword [esp + 0x28], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x425d9a
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x425d9a
cmp word [esi + 2], ax
jbe 0x425d9a
movzx eax, word [esi + 0x32]
mov ecx, dword [esp + 0x10]
mov dword [edi], eax
movzx eax, word [esi + 0x30]
mov dword [ebx], eax
movzx eax, word [esi + 0x36]
mov dword [ebp], eax
movzx eax, word [esi + 0x34]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov al, 1
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00466b29
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00466b29
add esp, 0x28
ret
Function at 0x425db0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x485166
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x4a9750]
xor eax, esp
mov dword [esp + 0x828], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9750]
xor eax, esp
push eax
lea eax, [esp + 0x840]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea eax, [esp + 0x3c]
push eax
push 0x3fe
call edi
mov ebp, eax
test ebp, ebp
je 0x425e79
lea eax, [esp + 0x3c]
xor esi, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x848], esi
cmp ebp, 0x3fe
jbe 0x425ea3
xor ecx, ecx
lea eax, [ebp + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00462e56
add esp, 4
mov ebx, eax
mov esi, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], esi
push ebx
push ebp
call edi
test eax, eax
je 0x425e61
cmp eax, ebp
ja 0x425e61
xor ecx, ecx
mov ebp, eax
mov dword [ebx + eax*2], ecx
jmp 0x425ecf
mov dword [esp + 0x848], 0xffffffff
test ebx, ebx
je 0x425e79
push ebx
call fcn.004679bc
add esp, 4
xor al, al
mov ecx, dword [esp + 0x840]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x828]
xor ecx, esp
call fcn.00466b29
add esp, 0x838
ret
lea eax, [ebp*2]
cmp eax, 0x800
jae 0x425f6f
xor ecx, ecx
mov word [esp + eax + 0x3c], cx
add eax, 2
cmp eax, 0x800
jae 0x425f6f
mov word [esp + eax + 0x3c], cx
xor eax, eax
xor edi, edi
test ebp, ebp
je 0x425f50
mov esi, dword [esp + 0x18]
mov ebx, 2
cmp word [esi + ebx - 2], 0
jne 0x425f44
cmp eax, edi
je 0x425f44
lea eax, [esi + eax*2]
push eax
lea ecx, [esp + 0x24]
call fcn.004031e0
mov byte [esp + 0x848], 1
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.00407010
mov byte [esp + 0x848], 0
cmp dword [esp + 0x34], 8
jb 0x425f2a
push dword [esp + 0x20]
call fcn.00467305
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov word [esp + 0x20], ax
lea eax, [edi + 1]
mov dword [esp + 0x30], 0
inc edi
add ebx, 2
cmp edi, ebp
jb 0x425ee0
mov esi, dword [esp + 0x38]
mov dword [esp + 0x848], 0xffffffff
test esi, esi
je 0x425f68
push esi
call fcn.004679bc
add esp, 4
mov al, 1
jmp 0x425e7b
call fcn.0046788d
int3
Function at 0x425f80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push esi
mov dword [esp + 4], 0x10d040e
xor esi, esi
mov dword [esp + 8], 0x80b0f02
mov dword [esp + 0xc], 0xc060a03
mov dword [esp + 0x10], 0x7000905
mov dword [esp + 0x14], 0xe08010f
mov dword [esp + 0x18], 0x4030b06
mov dword [esp + 0x1c], 0xd020709
mov dword [esp + 0x20], 0xa05000c
mov dword [esp + 0x24], 0xe09000a
mov dword [esp + 0x28], 0x50f0306
mov dword [esp + 0x2c], 0x70c0d01
mov dword [esp + 0x30], 0x802040b
mov dword [esp + 0x34], 0x30e0d07
mov dword [esp + 0x38], 0xa090600
mov dword [esp + 0x3c], 0x5080201
mov dword [esp + 0x40], 0xf040c0b
mov dword [esp + 0x44], 0x1040c02
mov dword [esp + 0x48], 0x60b0a07
mov dword [esp + 0x4c], 0xf030508
mov dword [esp + 0x50], 0x90e000d
mov dword [esp + 0x54], 0xf0a010c
mov dword [esp + 0x58], 0x8060209
mov dword [esp + 0x5c], 0x4030d00
mov dword [esp + 0x60], 0xb05070e
mov dword [esp + 0x64], 0xe020b04
mov dword [esp + 0x68], 0xd08000f
mov dword [esp + 0x6c], 0x7090c03
mov dword [esp + 0x70], 0x1060a05
mov dword [esp + 0x74], 0x408020d
mov dword [esp + 0x78], 0x10b0f06
mov dword [esp + 0x7c], 0xe03090a
mov dword [esp + 0x80], 0x70c0005
lea esp, [esp]
mov ecx, esi
mov edx, esi
sar ecx, 4
and edx, 0xf
movzx eax, byte [esp + ecx + 4]
shl al, 4
or al, byte [esp + edx + 0x14]
mov byte [esi + 0x4ac720], al
movzx eax, byte [esp + ecx + 0x24]
shl al, 4
or al, byte [esp + edx + 0x34]
mov byte [esi + 0x4ac820], al
movzx eax, byte [esp + ecx + 0x44]
shl al, 4
or al, byte [esp + edx + 0x54]
mov byte [esi + 0x4ac920], al
movzx eax, byte [esp + ecx + 0x64]
shl al, 4
or al, byte [esp + edx + 0x74]
mov byte [esi + 0x4ac620], al
inc esi
cmp esi, 0x100
jl 0x426090
pop esi
add esp, 0x80
ret
Function at 0x428280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48538b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a9750]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.004035e0
mov dword [esp + 0x18], 0
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.004035e0
mov byte [esp + 0x18], 1
lea ecx, [edi + 0x30]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x30]
push eax
call fcn.004035e0
mov byte [esp + 0x18], 2
lea ecx, [edi + 0x48]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x48]
push eax
call fcn.004035e0
mov byte [esp + 0x18], 3
lea ecx, [edi + 0x60]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x60]
push eax
call fcn.004035e0
mov byte [esp + 0x18], 4
lea ecx, [edi + 0x78]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x78]
push eax
call fcn.004035e0
mov byte [esp + 0x18], 5
lea ecx, [edi + 0x90]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x90]
push eax
call fcn.004035e0
mov byte [esp + 0x18], 6
lea ecx, [edi + 0xb8]
movzx eax, byte [esi + 0xa8]
mov byte [edi + 0xa8], al
movzx eax, byte [esi + 0xa9]
mov byte [edi + 0xa9], al
mov eax, dword [esi + 0xb0]
mov dword [edi + 0xb0], eax
mov eax, dword [esi + 0xb4]
mov dword [edi + 0xb4], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0xb8]
push eax
call fcn.004035e0
mov dword [esp + 0x18], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x428ba0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4855d5
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push edi
mov eax, dword [0x4a9750]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x10], ebx
mov dword [ebx], vtable.RC::IRefCount.0
mov dword [esp + 0x38], 0
mov dword [ebx], vtable.DL::ISimpleDownloadHandler.0
mov dword [esp + 0x38], 1
mov dword [ebx + 4], vtable.RC::RCRefCounted.0
mov dword [ebx + 8], 0
mov byte [esp + 0x38], 2
mov dword [ebx], vtable.RC::RCRefCountImpl1_class_DL::ISimpleDownloadHandler_.0
mov dword [ebx + 4], vtable.RC::RCRefCountImpl1_class_DL::ISimpleDownloadHandler_.1.0
mov dword [esp + 0x38], 3
lea ecx, [ebx + 0x10]
mov dword [ebx], vtable.DL::RCSimpleDownloadHandler.0
mov dword [ebx + 4], vtable.DL::RCSimpleDownloadHandler.1.0
call fcn.0041cca0
mov byte [esp + 0x38], 4
mov dword [ebx + 0xa0], 0
mov byte [ebx + 0xa4], 0
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0xac], 0
mov dword [ebx + 0xb0], 0
mov byte [esp + 0x38], 5
push 0x18
call fcn.00467355
add esp, 4
mov dword [ebx + 0xb4], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esp + 0x38], 6
lea edi, [ebx + 0xc8]
mov dword [ebx + 0xb8], 0
xor eax, eax
mov dword [ebx + 0xbc], 0
mov dword [ebx + 0xc0], 0
mov dword [ebx + 0xc4], 0
mov dword [edi], 0
mov byte [edi + 4], 0
mov dword [edi + 0x1c], 7
mov dword [edi + 0x18], 0
mov dword [esp + 0x14], edi
mov word [edi + 8], ax
mov byte [esp + 0x38], 8
push 0x18
mov dword [ebx + 0xe8], eax
call fcn.00467355
add esp, 4
mov dword [ebx + 0xec], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esp + 0x38], 9
mov dword [ebx + 0xf0], 0
mov dword [ebx + 0xf4], 0
mov byte [esp + 0x38], 0xa
mov byte [ebx + 0xf8], 0
mov dword [ebx + 0xfc], 0
mov dword [ebx + 0x100], 0
mov byte [esp + 0x38], 0xb
xor eax, eax
push eax
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0
push 0x493a78
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call fcn.00403a40
mov byte [esp + 0x38], 0xc
sub esp, 8
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.00434080
mov byte [esp + 0x38], 0xb
cmp dword [esp + 0x2c], 8
jb 0x428d8b
push dword [esp + 0x18]
call fcn.00467305
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
mov dword [esp + 0x38], 0xffffffff
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x30
ret
Function at 0x42b3d0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x485b48
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4a9750]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9750]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x58]
xorps xmm0, xmm0
mov esi, dword [esp + 0x54]
mov ecx, esi
mov dword [esp + 0x28], eax
lea eax, [esp + 0x2c]
push eax
push 2
push 0xffffffffffffffff
push 0xffff8000
movlpd qword [esp + 0x3c], xmm0
call fcn.004150b0
test al, al
jne 0x42b43c
mov eax, 1
jmp 0x42b5d1
push 0x10000
call fcn.00462e56
mov ebx, eax
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], 0
push 0x10000
push 0
push ebx
call fcn.0046ab60
mov eax, dword [esi]
add esp, 0xc
mov dword [esp + 0x34], 0
test eax, eax
je 0x42b5a9
test ebx, ebx
je 0x42b5a9
cmp dword [eax], 0xffffffff
je 0x42b5a9
push 0
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0
push ecx
push 0x8000
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42b5a9
mov esi, dword [esp + 0x18]
mov ecx, 0x8000
xor ebp, ebp
mov dword [esp + 0x20], ecx
xor ebx, ebx
add esi, ecx
jmp 0x42b4d0
cmp byte [edi + 0xa4], 0
jne 0x42b59e
lea edx, [esp + 0x24]
mov dword [esp + 0x24], 0
push edx
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 0
push edx
push ecx
mov ecx, dword [esp + 0x34]
lea eax, [esi + ebx]
push eax
call fcn.00437b90
test al, al
je 0x42b58f
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x42b53b
mov eax, dword [edi + 0xc8]
test eax, eax
je 0x42b52b
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi + 0xa4], 0
jne 0x42b59e
mov eax, dword [esp + 0x1c]
inc ebp
jmp 0x42b545
add ebx, eax
cmp ebx, 0x8000
je 0x42b55a
cmp ebp, 0xf
ja 0x42b584
mov ecx, dword [esp + 0x20]
sub ecx, eax
mov dword [esp + 0x20], ecx
jne 0x42b4d0
mov ebx, dword [esp + 0x18]
mov edx, 0x7ffc
mov ecx, ebx
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x42b57d
add ecx, 4
add esi, 4
sub edx, 4
jae 0x42b565
mov esi, 4
jmp 0x42b5ba
mov esi, 5
jmp 0x42b5ba
mov ebx, dword [esp + 0x18]
mov esi, 3
jmp 0x42b5ba
mov eax, dword [esp + 0x24]
mov esi, 3
mov ebx, dword [esp + 0x18]
jmp 0x42b5b4
mov ebx, dword [esp + 0x18]
mov esi, 2
jmp 0x42b5ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 1
mov dword [edi + 0xb8], eax
mov dword [esp + 0x4c], 0xffffffff
test ebx, ebx
je 0x42b5cf
push ebx
call fcn.004679bc
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00466b29
add esp, 0x3c
ret 0xc