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

Disassembly:
push 0x304
mov eax, 0x47a157
call fcn.0045e1b1
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], esi
cmp dword [edi + 0x64], esi
je 0x40d7d6
lea eax, [edi + 0x68]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x30], vtable.CObjectVector_struct_NArchive::N7z::CUpdateItem_.0
mov ebx, dword [ebp + 0x14]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10]
jae 0x40dcb8
cmp ebx, esi
jne 0x40d81d
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.0040d056
mov eax, 0x80004005
jmp 0x40dffb
mov eax, dword [ebx]
lea ecx, [ebp - 0xf4]
push ecx
lea ecx, [ebp - 0xf8]
push ecx
lea ecx, [ebp - 0xfc]
push ecx
push dword [ebp - 0x14]
push ebx
call dword [eax + 0x14]
mov dword [ebp + 8], eax
cmp eax, esi
je 0x40d856
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.0040d056
mov eax, dword [ebp + 8]
jmp 0x40dffb
lea ecx, [ebp - 0x74]
call fcn.0040d134
cmp dword [ebp - 0xf8], esi
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0x14]
setne byte [ebp - 0x3b]
cmp dword [ebp - 0xfc], esi
mov byte [ebp - 4], 2
setne byte [ebp - 0x3c]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], ecx
mov byte [ebp - 0x3a], 0
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
cmp eax, 0xffffffff
je 0x40d91c
mov ecx, dword [ebp - 0x18]
cmp ecx, esi
je 0x40d9a6
cmp eax, dword [ecx + 0x6c]
jge 0x40d9a6
mov ecx, dword [ecx + 0x70]
mov esi, dword [ecx + eax*4]
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00408be8
mov al, byte [esi + 0x1d]
push dword [ebp - 0x74]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 0x39], al
mov eax, dword [esi]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x50], eax
call fcn.0040b206
mov esi, dword [ebp - 0x18]
mov byte [ebp - 0x3a], al
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
lea ecx, [esi + 0x78]
call fcn.0040b903
mov byte [ebp - 0x37], al
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x74]
lea ecx, [esi + 0xa0]
call fcn.0040b903
mov byte [ebp - 0x36], al
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x74]
lea ecx, [esi + 0xc8]
call fcn.0040b903
mov byte [ebp - 0x35], al
cmp byte [ebp - 0x3b], 0
je 0x40dc1e
xor eax, eax
mov word [ebp - 0xa4], ax
mov word [ebp - 0xa2], ax
mov eax, dword [ebx]
lea ecx, [ebp - 0xa4]
push ecx
push 9
push dword [ebp - 0x14]
mov byte [ebp - 4], 3
push ebx
call dword [eax + 0x18]
mov esi, eax
test esi, esi
je 0x40d97d
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 2
call fcn.0041e650
push dword [ebp - 0x4c]
call fcn.0040115b
pop ecx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.0040d056
mov eax, esi
jmp 0x40dffb
cmp word [ebp - 0xa4], 0
jne 0x40d98d
mov byte [ebp - 0x38], 0
jmp 0x40d9d2
cmp word [ebp - 0xa4], 0x13
je 0x40d9c5
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 2
call fcn.0041e650
push dword [ebp - 0x4c]
call fcn.0040115b
pop ecx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.0040d056
mov eax, 0x80070057
jmp 0x40dffb
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x38], 1
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 2
call fcn.0041e650
lea eax, [ebp - 0x37]
push eax
movzx eax, byte [edi + 0x3d]
push 0xa
push eax
push dword [ebp - 0x14]
lea esi, [ebp - 0x6c]
push ebx
call fcn.0040ce62
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x40d961
lea eax, [ebp - 0x36]
push eax
movzx eax, byte [edi + 0x3e]
push 0xb
push eax
push dword [ebp - 0x14]
lea esi, [ebp - 0x64]
push ebx
call fcn.0040ce62
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x40d961
lea eax, [ebp - 0x35]
push eax
push 0xc
push 1
push dword [ebp - 0x14]
lea esi, [ebp - 0x5c]
push ebx
call fcn.0040ce62
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x40d961
mov word [ebp - 0xc4], ax
mov word [ebp - 0xc2], ax
mov eax, dword [ebx]
lea ecx, [ebp - 0xc4]
push ecx
push 3
push dword [ebp - 0x14]
mov byte [ebp - 4], 4
push ebx
call dword [eax + 0x18]
mov esi, eax
test esi, esi
je 0x40da7f
lea ecx, [ebp - 0xc4]
jmp 0x40d958
cmp word [ebp - 0xc4], 0
je 0x40daed
cmp word [ebp - 0xc4], 8
je 0x40da9e
lea ecx, [ebp - 0xc4]
jmp 0x40d99d
push dword [ebp - 0xbc]
lea ecx, [ebp - 0x108]
call fcn.00407c64
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x150]
push eax
mov byte [ebp - 4], 5
call fcn.0041732f
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.00408be8
push dword [ebp - 0x150]
call fcn.0040115b
push dword [ebp - 0x108]
call fcn.0040115b
pop ecx
pop ecx
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 2
call fcn.0041e650
xor eax, eax
mov word [ebp - 0xb4], ax
mov word [ebp - 0xb2], ax
mov eax, dword [ebx]
lea ecx, [ebp - 0xb4]
push ecx
push 6
push dword [ebp - 0x14]
mov byte [ebp - 4], 7
push ebx
call dword [eax + 0x18]
mov esi, eax
test esi, esi
je 0x40db33
lea ecx, [ebp - 0xb4]
jmp 0x40d958
cmp word [ebp - 0xb4], 0
jne 0x40db43
mov byte [ebp + 0xb], 0
jmp 0x40db6a
cmp word [ebp - 0xb4], 0xb
je 0x40db58
lea ecx, [ebp - 0xb4]
jmp 0x40d99d
cmp word [ebp - 0xac], 0
mov byte [ebp + 0xb], 1
setne al
mov byte [ebp - 0x39], al
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 2
call fcn.0041e650
xor eax, eax
mov word [ebp - 0x94], ax
mov word [ebp - 0x92], ax
mov eax, dword [ebx]
lea ecx, [ebp - 0x94]
push ecx
push 0x15
push dword [ebp - 0x14]
mov byte [ebp - 4], 8
push ebx
call dword [eax + 0x18]
mov esi, eax
test esi, esi
je 0x40dbb0
lea ecx, [ebp - 0x94]
jmp 0x40d958
cmp word [ebp - 0x94], 0
jne 0x40dbc0
mov byte [ebp - 0x3a], 0
jmp 0x40dbe3
cmp word [ebp - 0x94], 0xb
je 0x40dbd5
lea ecx, [ebp - 0x94]
jmp 0x40d99d
cmp word [ebp - 0x8c], 0
setne al
mov byte [ebp - 0x3a], al
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.0041e650
cmp byte [ebp - 0x3a], 0
je 0x40dc07
and dword [ebp - 0x54], 0
and dword [ebp - 0x50], 0
mov dword [ebp - 0x38], 0
cmp byte [ebp + 0xb], 0
jne 0x40dc1e
cmp byte [ebp - 0x38], 0
je 0x40dc1e
mov eax, dword [ebp - 0x40]
shr eax, 4
and al, 1
mov byte [ebp - 0x39], al
cmp byte [ebp - 0x3c], 0
je 0x40dc95
xor eax, eax
mov word [ebp - 0x84], ax
mov word [ebp - 0x82], ax
mov eax, dword [ebx]
lea ecx, [ebp - 0x84]
push ecx
push 7
push dword [ebp - 0x14]
mov byte [ebp - 4], 9
push ebx
call dword [eax + 0x18]
mov esi, eax
test esi, esi
je 0x40dc5b
lea ecx, [ebp - 0x84]
jmp 0x40d958
cmp word [ebp - 0x84], 0x15
je 0x40dc70
lea ecx, [ebp - 0x84]
jmp 0x40d99d
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x54], eax
or eax, ecx
mov dword [ebp - 0x50], ecx
je 0x40dc86
cmp byte [ebp - 0x3a], 0
jne 0x40dc65
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 2
call fcn.0041e650
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040d33f
push dword [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.0040115b
inc dword [ebp - 0x14]
pop ecx
xor esi, esi
jmp 0x40d7f7
lea ecx, [ebp - 0x144]
call fcn.00409033
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0xa
call fcn.00409033
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x144]
push eax
lea ecx, [edi - 8]
mov byte [ebp - 4], 0xb
call fcn.0040d602
mov dword [ebp + 8], eax
cmp eax, esi
je 0x40dd25
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0xa
call fcn.00409094
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 1
call fcn.00409094
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.0040d056
mov eax, dword [ebp + 8]
jmp 0x40dffb
mov eax, dword [edi + 8]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x164], 1
mov dword [ebp - 0x1c], esi
mov eax, dword [ebx]
lea ecx, [ebp - 0x1c]
push ecx
push 0x47f54c
push ebx
mov byte [ebp - 4], 0xc
call dword [eax]
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x40ddf4
mov dword [ebp - 0x14], esi
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0xc8]
push edx
push eax
mov byte [ebp - 4], 0xd
call dword [ecx + 0xc]
mov ebx, eax
cmp ebx, esi
je 0x40ddc1
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xb
cmp eax, esi
je 0x40dd90
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0xa
call fcn.00409094
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 1
call fcn.00409094
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.0040d056
mov eax, ebx
jmp 0x40dffb
cmp dword [ebp - 0xc8], esi
setne byte [ebp - 0x118]
cmp byte [ebp - 0x118], 0
je 0x40dde5
push dword [ebp - 0x14]
lea ecx, [ebp - 0x114]
call fcn.0040cfdc
push dword [ebp - 0x14]
mov byte [ebp - 4], 0xc
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x40ddfb
mov byte [ebp - 0x118], 0
mov al, byte [ebp - 0x118]
mov bl, byte [edi + 0x3a]
mov byte [ebp + 0xb], 0
test al, al
je 0x40de3e
cmp byte [edi + 0x3b], 0
je 0x40de17
mov cl, byte [edi + 0x3c]
jmp 0x40de1d
mov cl, byte [edi + 0x238]
mov byte [ebp + 0xb], cl
mov bl, 1
test cl, cl
je 0x40de3e
mov byte [ebp - 0x160], al
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x15c]
call fcn.00408be8
cmp dword [ebp + 0x10], 2
jae 0x40de46
xor bl, bl
cmp byte [edi + 0x3a], 0
lea eax, [ebp - 0x144]
mov dword [ebp - 0xf0], eax
jne 0x40de67
cmp byte [ebp + 0xb], 0
jne 0x40de67
and dword [ebp - 0xec], 0
jmp 0x40de73
lea eax, [ebp - 0x18c]
mov dword [ebp - 0xec], eax
mov eax, dword [edi + 0x44]
test eax, eax
je 0x40de87
cmp byte [edi + 0x40], 0
mov byte [ebp - 0xe8], 1
jne 0x40de8e
mov byte [ebp - 0xe8], 0
cmp eax, 8
sbb al, al
inc al
mov byte [ebp - 0xe7], al
mov al, byte [edi + 0x3d]
mov byte [ebp - 0xe5], al
mov al, byte [edi + 0x3e]
mov byte [ebp - 0xe4], al
mov al, byte [edi + 0x3f]
mov byte [ebp - 0xe3], al
mov eax, dword [edi + 0x28]
mov dword [ebp - 0xe0], eax
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0xdc], eax
mov eax, dword [edi + 0x30]
mov dword [ebp - 0xd8], eax
mov eax, dword [edi + 0x34]
mov dword [ebp - 0xd4], eax
mov al, byte [edi + 0x39]
mov byte [ebp - 0xd0], al
mov al, byte [edi + 0x24]
mov byte [ebp - 0xcf], al
mov al, byte [edi + 0x48]
lea ecx, [ebp - 0x1e4]
mov byte [ebp - 0xe6], bl
mov byte [ebp - 0xce], al
call fcn.0040cf44
lea ecx, [ebp - 0x310]
call fcn.0040bdfc
and dword [ebp - 0x34], 0
mov esi, dword [ebp + 0x14]
mov eax, dword [esi]
lea ecx, [ebp - 0x34]
push ecx
push 0x47f53c
push esi
mov byte [ebp - 4], 0x10
call dword [eax]
push dword [ebp - 0x34]
mov edi, dword [edi + 0x64]
lea eax, [ebp - 0xf0]
push eax
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x18]
push edi
call fcn.00413973
mov esi, eax
add esp, 0x24
test esi, esi
je 0x40dfc2
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x40df70
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x310]
mov byte [ebp - 4], 0xe
call fcn.0040bd53
lea ecx, [ebp - 0x1e4]
mov byte [ebp - 4], 0xc
call fcn.0040cf94
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x40df9f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0xa
call fcn.00409094
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 1
call fcn.00409094
jmp 0x40d96a
lea ecx, [ebp - 0x30]
call fcn.0041e27a
lea eax, [ebp - 0xe6]
push eax
push dword [ebp - 0xec]
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0x1e4]
call fcn.00411c25
mov esi, eax
jmp 0x40df5f
call fcn.0045e256
ret 0x10