joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ea90
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47aa68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x47d42c]
push 0
lea ecx, [esp + 0x20]
call fcn.00471b69
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043e430
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00471a97
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0046e286
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0046e286
push 1
push 0
push 0
mov ecx, esi
call fcn.0046e22e
push 1
push 0
push 1
mov ecx, esi
call fcn.0046e22e
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00471bdb
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43ec10
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47aa88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00471b69
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043e430
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00471a97
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x47d42c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43ecd4
cmp dword [esp + 0x40], 1
jne 0x43ecd2
cmp ecx, eax
jge 0x43ecd4
mov eax, ecx
cmp eax, 0xc8
jge 0x43ece0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043ea90
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x47d430]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00471bdb
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43f460
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47aaf3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046c69e
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x55adf8
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x5593d8
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x47d0c0]
push eax
mov ecx, edi
call fcn.00471e11
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00473369
test eax, eax
je 0x43f57c
mov ecx, dword [esp + 0x3c]
call fcn.00471e3e
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x47d40c]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43f540
push edi
mov ecx, esi
call fcn.0046f405
mov ecx, esi
call fcn.0043f6e0
cmp dword [esp + 0x38], 1
jne 0x43f575
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046f56f
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x441fa0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x441fd3
push esi
call fcn.004450a0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x441fcc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x442059
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x442042
mov eax, dword [esi + 8]
test eax, eax
je 0x441ff7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44203e
cmp eax, 2
je 0x442042
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x441fea
cmp eax, 3
je 0x44201d
cmp eax, 1
jne 0x441fea
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x441fea
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x441fea
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00442080
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x442068
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00442080
add esp, 4
pop esi
ret
Function at 0x412bc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x43c
mov eax, dword [0x4d2248]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
mov ebx, ecx
push esi
push edi
lea edi, [ebx + 8]
push edi
call fcn.004174f0
add esp, 4
lea eax, [esp + 0x10]
lea esi, [ebx + 0xc]
mov ecx, esi
push eax
call fcn.00414e30
mov eax, dword [0x4e5dd8]
test eax, eax
je 0x412c29
lea ecx, [esp + 0x10]
push ecx
push dword [ebx + 0xa0]
push dword [ebx + 0xa8]
push dword [ebx + 0xa4]
push dword [ebx]
call eax
add esp, 0x14
test al, al
jne 0x412d1b
cmp dword [ebx], 2
jl 0x412c69
cmp dword [esp + 0x24], 0x10
lea edi, [esp + 0x10]
mov esi, dword [esp + 0x20]
cmovae edi, dword [esp + 0x10]
call fcn.0046c181
add eax, 0x40
push eax
push 1
push esi
push edi
call fcn.0046cb9e
call fcn.0046c181
add eax, 0x40
push eax
call fcn.0046c908
add esp, 0x14
lea esi, [ebx + 0xc]
lea edi, [ebx + 8]
call fcn.00412970
test al, al
je 0x412c98
cmp dword [esp + 0x24], 0x10
lea ecx, [esp + 0xc]
push 0
push ecx
push dword [esp + 0x28]
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
push eax
push dword [0x4e5ddc]
call 0x56c25d
cmp dword [ebx], 3
jne 0x412d1b
mov ecx, 0x400
lea eax, [esp + 0x10]
cmp dword [esp + 0x20], ecx
cmovb ecx, dword [esp + 0x20]
cmp dword [esp + 0x24], 0x10
cmovae eax, dword [esp + 0x10]
test ecx, ecx
je 0x412ccc
push ecx
push eax
lea eax, [esp + 0x48]
push eax
call fcn.004691e0
add esp, 0xc
lea eax, [esp + 0x40]
push eax
call fcn.00428970
add esp, 4
cmp dword [0x4e5dd4], 0
je 0x412d11
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.00414e30
lea eax, [esp + 0x28]
push eax
call dword [0x4e5dd4]
add esp, 4
cmp dword [esp + 0x3c], 0x10
jb 0x412d1b
push dword [esp + 0x28]
call fcn.00468a42
add esp, 4
jmp 0x412d1b
cmp byte [0x4ea544], 0
jne 0x412d68
int3
cmp dword [esp + 0x24], 0x10
jb 0x412d2e
push dword [esp + 0x10]
call fcn.00468a42
add esp, 4
push dword [ebx + 0xac]
push ebx
call 0x6be206
lea esi, [edi + 0x50]
mov ecx, esi
call fcn.00413f00
push esi
mov dword [esi], vtable.std::ios_base.0
call fcn.004685e4
mov ecx, dword [esp + 0x448]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046a331
mov esp, ebp
pop ebp
ret
push 1
call fcn.0046d7d0
int3
Function at 0x41a550
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x4d2248]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, ecx
mov dword [esp + 8], 0
mov ecx, str._t_n_v_f_r
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a592
sub ecx, edx
lea eax, [esp + 0xc]
sar ecx, 1
mov edx, 3
push ecx
push str._t_n_v_f_r
push eax
mov ecx, esi
call fcn.0041f110
add esp, 0xc
cmp dword [esp + 0x1c], 0
je 0x41a5f9
cmp dword [esp + 0x20], 8
lea ecx, [esp + 8]
lea eax, [esp + 0xc]
mov dword [esp + 8], 0
cmovae eax, dword [esp + 0xc]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov ecx, edi
push esi
push dword [esp + 0xc]
call fcn.00419b20
push esi
push eax
call 0x5a97ee
cmp dword [esp + 0x20], 8
jb 0x41a60c
push dword [esp + 0xc]
call fcn.00468a42
add esp, 4
mov ecx, dword [esp + 0x24]
pop edi
pop esi
xor ecx, esp
call fcn.0046a331
mov esp, ebp
pop ebp
ret 4

Function at 0x422ff0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
mov esi, dword [edi + 0x14]
imul ecx, edx, 0x1000193
mov edx, esi
xor ecx, eax
imul eax, ecx, 0x1000193
and edx, eax
cmp dword [edi + 0x18], edx
ja 0x423048
shr esi, 1
or ecx, 0xffffffff
sub ecx, esi
pop edi
pop esi
lea eax, [ecx + edx]
pop ebp
ret 4
pop edi
mov eax, edx
pop esi
pop ebp
ret 4
Function at 0x426eb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4d2248]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x210]
mov esi, ecx
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x426f5b
cmp word [ebp - 0x210], 0
je 0x426f5b
sub esp, 8
lea eax, [ebp - 0x210]
mov edx, esp
mov dword [edx], eax
cmp word [ebp - 0x210], 0
jne 0x426f1f
xor ecx, ecx
mov dword [edx + 4], ecx
mov ecx, esi
call fcn.0041dcd0
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046a331
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x210]
lea edi, [ecx + 2]
jmp 0x426f30
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426f30
sub ecx, edi
sar ecx, 1
mov dword [edx + 4], ecx
mov ecx, esi
call fcn.0041dcd0
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046a331
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x214], 7
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x218], 0
mov word [ebp - 0x228], ax
call fcn.00426d70
mov ecx, esi
test al, al
je 0x426fad
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
mov dword [esi + 0x10], 0
push eax
mov word [esi], ax
lea eax, [ebp - 0x228]
push eax
call fcn.00414be0
jmp 0x426fc4
sub esp, 8
mov eax, esp
mov dword [eax], 0x4c750c
mov dword [eax + 4], 3
call fcn.0041dcd0
cmp dword [ebp - 0x214], 8
jb 0x426fdb
push dword [ebp - 0x228]
call fcn.00468a42
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0046a331
mov esp, ebp
pop ebp
ret

Function at 0x427d40
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
mov dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 0xc]
test bl, 1
push esi
mov esi, ecx
mov ecx, 3
cmovne eax, ecx
test bl, 2
mov ecx, 1
cmovne eax, ecx
mov ecx, ebx
and ecx, 4
mov dword [ebp - 4], ecx
mov ecx, 4
cmovne eax, ecx
test bl, 8
mov ecx, 2
cmovne eax, ecx
mov dword [ebp + 0xc], eax
push edi
test bl, 0x10
je 0x427d97
mov dword [ebp + 0xc], 5
jmp 0x427d9f
test eax, eax
je 0x427ec9
xor edx, edx
mov edi, 0x40000000
test bl, 0x40
mov eax, 4
cmovne edx, edi
test bl, 0x80
cmovne edx, eax
test bl, 0x20
je 0x427dc2
or edx, 0x80000000
test ebx, 0x4000
je 0x427dd0
or edx, 0x100
test ebx, 0x40000
je 0x427dde
or edx, 0x20000000
mov ecx, ebx
shr ecx, 8
not ecx
and ecx, 1
test ebx, 0x200
jne 0x427df3
or ecx, 2
test ebx, 0x8000
je 0x427dfd
or ecx, eax
xor eax, eax
test ebx, 0x400
cmovne eax, edi
test ebx, 0x800
je 0x427e15
or eax, 0x100
test ebx, 0x1000
je 0x427e20
or eax, 2
test ebx, 0x2000
je 0x427e2d
or eax, 0x4000000
test ebx, 0x20000
je 0x427e3a
or eax, 0x2000000
test ebx, 0x80000
je 0x427e47
or eax, 0x8000000
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x427e52
mov edi, dword [edi]
push 0
push eax
push dword [ebp + 0xc]
push 0
push ecx
push edx
push edi
call 0x65009b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42a940
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x4d2248]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x40], 0
je 0x42aa84
cmp byte [ebx + 0x45], 0
je 0x42aa84
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x42a98d
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0046a331
mov esp, ebp
pop ebp
ret
mov ecx, 0xf
mov byte [esp + 0x14], 0
xorps xmm0, xmm0
mov dword [esp + 0x28], ecx
cmp ecx, 0x10
movq qword [esp + 0x14], xmm0
lea eax, [esp + 0x14]
mov dword [esp + 0x24], 8
cmovae eax, dword [esp + 0x14]
mov byte [eax + 8], 0
lea esp, [esp]
cmp dword [esp + 0x28], 0x10
lea eax, [esp + 0x10]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x14]
cmovae edi, dword [esp + 0x14]
lea esi, [esp + 0x14]
cmovae esi, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x28]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x42aa01
dec eax
je 0x42aa05
sub eax, 2
je 0x42aa5b
xor bl, bl
jmp 0x42aa5d
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x14]
mov edx, dword [esp + 0x14]
cmp ecx, 0x10
mov esi, dword [esp + 0x10]
cmovae eax, edx
sub esi, eax
je 0x42aa3c
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x18]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0046cb9e
add esp, 0x10
cmp esi, eax
jne 0x42a9fd
cmp byte [ebx + 0x45], 0
je 0x42aa5b
test esi, esi
jne 0x42a9c0
push esi
push 8
lea ecx, [esp + 0x1c]
call fcn.0041ff10
jmp 0x42a9c0
mov bl, 1
cmp dword [esp + 0x28], 0x10
jb 0x42aa70
push dword [esp + 0x14]
call fcn.00468a42
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0046a331
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x2c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046a331
mov esp, ebp
pop ebp
ret

Function at 0x42d950
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x4d2248]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
jb 0x42d96b
mov ecx, dword [ecx]
mov dword [ebp - 0x68], ecx
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x64], eax
call fcn.0042f2a0
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x70]
call fcn.0042f3c0
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
call fcn.0042d8b0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
call fcn.0046a331
mov esp, ebp
pop ebp
ret
Function at 0x42f5e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ecx + 4]
xor edx, edx
push edi
mov dword [ebp - 4], esi
mov ebx, dword [esi + 0x3c]
add ebx, esi
xor edi, edi
movzx ecx, word [ebx + 6]
cmp edx, ecx
jae 0x42f63b
movzx eax, word [ebx + 0x14]
lea ecx, [ebx + 0x18]
add eax, edi
add ecx, eax
je 0x42f63b
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x42f616
xor esi, esi
jmp 0x42f61d
add esi, eax
cmp esi, dword [ebp + 8]
ja 0x42f627
mov eax, dword [ecx + 8]
add eax, esi
cmp eax, dword [ebp + 8]
ja 0x42f630
mov esi, dword [ebp - 4]
inc edx
add edi, 0x28
jmp 0x42f5f6
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42f7e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 4], ebx
test edi, edi
jne 0x42f7fe
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx + 4]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov eax, dword [ebx]
push dword [ecx + 0x78]
mov ecx, ebx
call dword [eax + 4]
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
je 0x42f89b
mov eax, dword [ebp + 8]
cmp eax, 0xffff
ja 0x42f836
pop esi
mov word [edi], ax
mov al, 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx]
mov ecx, ebx
push dword [esi + 0x20]
call dword [eax + 4]
mov ecx, dword [esi + 0x18]
mov ebx, eax
mov dword [ebp - 0xc], eax
lea edi, [eax + ecx*4]
cmp eax, edi
je 0x42f89b
nop
mov ecx, dword [ebp - 4]
mov eax, edi
sub eax, ebx
sar eax, 2
cdq
sub eax, edx
sar eax, 1
push dword [ebx + eax*4]
lea esi, [ebx + eax*4]
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
mov ecx, edx
mov dl, byte [edx]
test dl, dl
je 0x42f882
cmp dl, byte [eax]
jne 0x42f882
mov dl, byte [ecx + 1]
inc ecx
inc eax
test dl, dl
jne 0x42f875
movzx eax, byte [eax]
movzx ecx, byte [ecx]
sub ecx, eax
je 0x42f8a6
test ecx, ecx
jle 0x42f895
lea ebx, [esi + 4]
jmp 0x42f897
mov edi, esi
cmp ebx, edi
jne 0x42f850
pop esi
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov eax, dword [ecx]
push dword [edi + 0x24]
call dword [eax + 4]
sub esi, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
sar esi, 2
mov ax, word [eax + esi*2]
add ax, word [edi + 0x10]
pop esi
pop edi
mov word [ecx], ax
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42f8e0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [ecx + 4]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x42f8f0
xor al, al
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x42f8ed
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x42f8ed
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete al
ret
Function at 0x464e2f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4d2248]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x48], ebx
lea ecx, [edi + 0x18]
call fcn.0048e7f5
lea ecx, [ebp - 0x44]
push ecx
push ebx
push 0x40
push edx
push eax
mov ecx, edi
call fcn.00465aad
test al, al
jne 0x464ec8
push 1
call fcn.00412ae0
pop ecx
test al, al
je 0x464eb1
push 1
push 0x118
push str.e:liuhaochromium49_src_third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea ecx, [ebp - 0x104]
inc ebx
call fcn.00412b70
push edi
add eax, 8
push str.could_not_read_dos_header_from
push eax
call fcn.00417220
pop ecx
pop ecx
push eax
call fcn.00416fa0
pop ecx
pop ecx
test bl, 1
je 0x464ec1
lea ecx, [ebp - 0x104]
call fcn.00412bc0
xor al, al
jmp 0x464ff1
mov eax, 0x5a4d
cmp word [ebp - 0x44], ax
je 0x464f17
push 1
call fcn.00412ae0
pop ecx
test al, al
je 0x464f12
push 2
pop ebx
push 1
push 0x11e
push str.e:liuhaochromium49_src_third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea ecx, [ebp - 0x104]
call fcn.00412b70
push edi
add eax, 8
push str.invalid_e_magic_in_dos_header_of
push eax
call fcn.00417220
pop ecx
pop ecx
push eax
call fcn.00416fa0
pop ecx
pop ecx
test bl, 2
jmp 0x464eb4
lea ecx, [edi + 0x18]
call fcn.0048e7f5
mov ecx, eax
mov esi, edx
mov eax, dword [ebp - 8]
cdq
add eax, ecx
mov ecx, edi
mov dword [ebp - 0x4c], eax
adc edx, esi
mov esi, dword [ebp - 0x50]
push esi
push ebx
push 0x108
push edx
push eax
mov dword [ebp - 0x48], edx
call fcn.00465aad
test al, al
jne 0x464f8f
push 1
call fcn.00412ae0
pop ecx
test al, al
je 0x464f87
push 4
pop ebx
push 1
push 0x126
push str.e:liuhaochromium49_src_third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea ecx, [ebp - 0x104]
call fcn.00412b70
push edi
add eax, 8
push str.could_not_read_nt_headers_from
push eax
call fcn.00417220
pop ecx
pop ecx
push eax
call fcn.00416fa0
pop ecx
pop ecx
test bl, 4
jmp 0x464eb4
cmp dword [esi], 0x4550
je 0x464fdd
push 1
call fcn.00412ae0
pop ecx
test al, al
je 0x464fd5
push 8
pop ebx
push 1
push 0x12c
push str.e:liuhaochromium49_src_third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea ecx, [ebp - 0x104]
call fcn.00412b70
push edi
add eax, ebx
push str.invalid_signature_in_nt_headers_of
push eax
call fcn.00417220
pop ecx
pop ecx
push eax
call fcn.00416fa0
pop ecx
pop ecx
test bl, 8
jmp 0x464eb4
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x464fef
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x48]
mov dword [eax + 4], ecx
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a331
mov esp, ebp
pop ebp
ret 8