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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0xa4]
push 0
push edi
call fcn.0002b30a
test eax, eax
mov dword [ebp - 8], eax
jne 0x2d0b2
or eax, 0xffffffff
jmp 0x2d29f
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xc]
and dword [esi + 0x30], 0xfefee6ff
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x58]
cmp ecx, 0xffffffff
push ebx
mov dword [ebp + 8], eax
mov ebx, 0x80000
je 0x2d13b
cmp dword [esi + 0x40], 1
je 0x2d13b
push ecx
call fcn.0002b4d3
test eax, eax
jne 0x2d0eb
or eax, 0xffffffff
jmp 0x2d29e
test byte [eax + 0x14], 1
je 0x2d0f5
or byte [esi + 0x33], 1
movzx ecx, byte [eax + 0x88]
cmp ecx, dword [esi + 0x1ec]
mov dword [esi + 0x80], ecx
je 0x2d111
or dword [edi + 0x2c], ebx
or dword [edi + 0x34], 0x40
test byte [eax + 0x14], 8
je 0x2d11e
or dword [edi + 0x2c], ebx
or dword [esi + 0x30], 0x20
test byte [eax + 0x14], 0x10
je 0x2d12b
or dword [edi + 0x2c], ebx
or dword [esi + 0x30], 0x40
test byte [eax + 0x14], 0x80
mov eax, dword [ebp + 8]
je 0x2d13b
or dword [edi + 0x2c], ebx
or byte [esi + 0x31], 1
mov ecx, dword [ebp - 4]
test cl, 1
je 0x2d147
or byte [esi + 0x31], 0x10
test cl, 2
je 0x2d150
or byte [esi + 0x31], 8
test cl, 4
je 0x2d163
or dword [edi + 0x2c], ebx
or dword [edi + 0x34], 1
mov dword [esi + 0x40], 2
test ecx, 0x10000
je 0x2d16f
or byte [esi + 0x31], 1
test byte [esi + 0x31], 4
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x68], ecx
mov ecx, dword [eax + 0x24]
mov dword [esi + 0x6c], ecx
mov ecx, dword [eax]
mov dword [esi + 0x78], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0x7c], ecx
mov ecx, dword [eax]
mov dword [esi + 0x3c], ecx
je 0x2d1b4
push dword [ebp + 0xc]
push 1
push edi
call fcn.0002b30a
test eax, eax
je 0x2d0e3
test byte [eax + 0x20], 0x10
mov eax, dword [ebp + 8]
je 0x2d1b4
or dword [edi + 0x2c], ebx
or dword [edi + 0x34], 2
mov edx, dword [ebp - 4]
test edx, 0x20000
je 0x2d1c3
or byte [esi + 0x32], 1
mov ecx, edx
and ecx, 0x40000
jne 0x2d20b
test byte [esi + 0x1a5], 0x10
je 0x2d20b
push edx
lea eax, [esi + 0x88]
push eax
push str.merge_vol:_SFLAG_APP_RECOVER_cleared_for__s__sflag_0x_x_
push 0
push 0x50000
call fcn.00025e34
or dword [edi + 0x2c], ebx
or dword [edi + 0x34], 0x10
mov eax, dword [ebp + 8]
add esp, 0x14
cmp dword [ebp + 0xc], 0
je 0x2d237
and byte [esi + 0x1a5], 0xef
jmp 0x2d237
test ecx, ecx
je 0x2d237
test byte [esi + 0x1a5], 0x10
jne 0x2d237
push edx
lea eax, [esi + 0x88]
push eax
push str.merge_vol:_SFLAG_APP_RECOVER_set_by_kernel_for__s__sflag_0x_x_
push 0
push 0x50000
call fcn.00025e34
mov eax, dword [ebp + 8]
add esp, 0x14
mov ecx, dword [esi + 0x1e4]
xor edx, edx
cmp ecx, edx
je 0x2d263
cmp dword [eax + 0x28], edx
jne 0x2d25f
or dword [edi + 0x2c], ebx
or dword [edi + 0x34], 0x10
cmp dword [ebp + 0xc], edx
je 0x2d29c
mov eax, dword [eax + 0x28]
mov dword [esi + 0x1e4], eax
jmp 0x2d285
cmp ecx, edx
jne 0x2d285
mov eax, dword [eax + 0x28]
cmp eax, edx
je 0x2d285
push eax
add esi, 0x88
push esi
push str.merge_vol:_kernel_set_recover_seqno_for__s___l_
push edx
push 0x50000
call fcn.00025e34
add esp, 0x14
cmp dword [ebp + 0xc], 0
je 0x2d29c
push dword [ebp - 8]
push edi
call fcn.0002cc6d
test eax, eax
jl 0x2d0e3
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 8