Function at 0x47f860
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6508
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push esi
push edi
mov eax, dword [0x508164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
call fcn.00480440
test eax, eax
jne 0x480238
cmp dword [ebx + 0xc], eax
jne 0x47f8b4
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.0047f320
test eax, eax
jne 0x480238
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
call dword [eax + 0x10]
xor esi, esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x80], esi
xor edi, edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x84], edi
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 4
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x5c]
cmp eax, 1
jbe 0x47fa89
lea edi, [esi + 1]
push 0x30
call fcn.0048d8f9
mov ebx, eax
mov dword [ebp + 0xc], ebx
mov byte [ebp - 4], 5
mov byte [ebx], 0
push 8
mov dword [ebx + 4], 0
call fcn.0048d929
xor ecx, ecx
mov dword [ebx + 4], eax
mov dword [ebx + 8], 0
add esp, 8
mov dword [ebx + 0xc], 3
mov word [eax], cx
mov dword [ebx + 0x10], 0xffffffff
mov dword [ebx + 0x14], ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.00403f20
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
mov dword [ecx + esi*4], ebx
inc esi
cmp dword [ebx + 0x14], 0
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x4c], esi
jne 0x47f98c
push 0x100000
call fcn.0048d929
mov ecx, dword [ebp - 0x50]
add esp, 4
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], 0
inc edi
mov byte [ebx + 0x2c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0xffffffff
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x5c]
cmp edi, eax
jb 0x47f913
xor esi, esi
xor edi, edi
cmp eax, 1
jbe 0x47fa89
mov edi, ecx
mov esi, 1
nop
push 0x10
call fcn.0048d8f9
mov ebx, eax
add esp, 4
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebx + 4], 0
push ebx
mov dword [ebx], vtable.NArchive::N7z::CSequentialOutTempBufferImp2.0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
call fcn.00402b30
mov byte [ebp - 4], 6
mov eax, dword [edi]
push 4
mov dword [ebx + 8], eax
call fcn.0048d8f9
mov ebx, eax
add esp, 4
mov eax, dword [ebp + 0xc]
mov dword [ebx], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea ecx, [ebp - 0x7c]
call fcn.00403f20
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x78]
push 4
mov dword [ebp - 0x18], eax
mov dword [eax + ecx*4], ebx
inc ecx
mov dword [ebp - 0x78], ecx
call fcn.0048d8f9
mov ebx, eax
lea ecx, [ebp - 0x68]
mov eax, dword [ebp + 0xc]
add esp, 4
mov dword [ebx], eax
call fcn.00403f20
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
mov dword [ecx + eax*4], ebx
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
mov ebx, dword [ebp - 0x1c]
lea edi, [edi + 4]
inc esi
mov byte [ebp - 4], 4
cmp esi, dword [ebx + 0x5c]
jb 0x47f9d0
xor esi, esi
xor edi, edi
cmp dword [ebp - 0x28], 0
jbe 0x47faaa
mov edi, dword [ebp - 0x28]
xor esi, esi
mov ecx, dword [ebx + 8]
push 0
push 0
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
inc esi
cmp esi, edi
jb 0x47fa94
xor esi, esi
xor edi, edi
push 0x20
call fcn.0048d8f9
mov ecx, eax
add esp, 4
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0x8c], ecx
mov dword [ecx + 4], vtable.ICompressGetSubStreamSize.0
mov dword [ecx + 8], 0
mov dword [ecx], vtable.CSequentialInStreamSizeCount2.1.0
mov dword [ecx + 4], vtable.CSequentialInStreamSizeCount2.0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x47fb28
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x10], 0
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x47fb35
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x47fb48
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
mov dword [eax + 0xc], edx
push ecx
mov eax, dword [edx]
push 0x4f24a0
push edx
call dword [eax]
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 0x88], eax
xor eax, eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x54], eax
push dword [ebp + 0x10]
mov ecx, ebx
mov byte [ebp - 4], 0xa
call fcn.0047f170
mov eax, dword [ebp - 0x28]
mov esi, 0
test eax, eax
je 0x47fd30
lea esi, [eax + eax*2]
shl esi, 3
xor edi, edi
mov ecx, dword [ebx + 8]
push edi
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
test ecx, ecx
jne 0x47fbb9
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x38], 0
lea edx, [ebp - 0x38]
mov byte [ebp - 4], 0xb
mov eax, dword [ecx]
push edx
push 0x4f2560
push ecx
call dword [eax]
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x47fbdf
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x24]
push edx
mov byte [ebp - 4], 0xc
push 0x4f24c0
mov eax, dword [ecx]
push ecx
call dword [eax]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
add eax, 0xfffffff0
add eax, esi
cmp dword [ebp - 0x24], 0
mov dword [ebp - 0x14], eax
je 0x47fcda
push 0x14
call fcn.0048d8f9
mov ecx, eax
add esp, 4
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x90], ecx
mov dword [ecx + 4], 0
mov dword [ecx], vtable.CDynBufSeqOutStream.0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov edx, dword [ebp - 0x34]
mov byte [ebp - 4], 0xd
push edx
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x6c], eax
cmp eax, dword [ecx + 4]
je 0x47fcbb
mov edx, dword [ecx]
test edx, edx
je 0x47fc99
push edx
call fcn.0048d8c3
mov ecx, dword [ebp - 0x14]
add esp, 4
mov eax, dword [ebp - 0x6c]
mov dword [ecx], 0
mov dword [ecx + 4], 0
test eax, eax
je 0x47fccb
push eax
call fcn.0048d929
mov ecx, dword [ebp - 0x14]
add esp, 4
mov edx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x6c]
mov dword [ecx + 4], eax
test eax, eax
je 0x47fccb
push eax
push edx
push dword [ecx]
call fcn.004a5400
add esp, 0xc
mov edx, dword [ebp - 0x34]
mov byte [ebp - 4], 0xe
push edx
mov eax, dword [edx]
call dword [eax + 8]
jmp 0x47fcf9
mov ecx, dword [eax]
test ecx, ecx
je 0x47fcf2
push ecx
call fcn.0048d8c3
mov eax, dword [ebp - 0x14]
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x47fd0a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x47fd1b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc edi
mov byte [ebp - 4], 0xa
sub esi, 0x18
cmp edi, dword [ebp - 0x28]
jb 0x47fba1
xor esi, esi
xor edi, edi
mov ecx, dword [ebx + 8]
push 0
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebx + 8]
push dword [ecx + 0x60]
call fcn.0047c5f0
test al, al
jne 0x47fe35
push 0x30
call fcn.0048d8f9
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
mov dword [ebp + 0x10], esi
mov dword [esi + 4], 0
lea ecx, [esi + 0xc]
mov dword [esi], vtable.NArchive::N7z::CMtEncMultiProgress.0
mov dword [esi + 8], 0
call fcn.004679b0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov edi, dword [ebp + 0x24]
mov dword [ebp - 0x80], esi
test edi, edi
je 0x47fd9f
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x47fdac
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 8], edi
push 0x10
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.0048d8f9
mov edi, eax
add esp, 4
mov dword [ebp - 0x3c], edi
mov dword [ebp + 0x10], edi
mov dword [edi + 4], 0
mov dword [edi], vtable.NArchive::N7z::CSequentialOutMtNotify.0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x84], edi
test ecx, ecx
je 0x47fe03
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x47fe10
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 0x1c]
xor ecx, ecx
mov edx, dword [ebp - 0x40]
mov dword [edi + 8], eax
mov dword [edi + 0xc], esi
test edx, edx
je 0x47fe35
mov ebx, dword [ebp - 0x68]
mov eax, dword [ebx + ecx*4]
inc ecx
mov eax, dword [eax]
mov dword [eax + 0xc], esi
cmp ecx, edx
jb 0x47fe25
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x47fee5
push 0x18
call fcn.0048d8f9
mov ecx, eax
add esp, 4
mov dword [ebp + 8], ecx
mov dword [ebp - 0x10], ecx
mov dword [ecx + 4], 0
mov dword [ecx], vtable.CSequentialOutStreamSizeCount.0
mov dword [ecx + 8], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp + 0x1c]
test edi, edi
mov eax, dword [ebp - 0x10]
cmovne ecx, edi
mov dword [ebp - 0x44], eax
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x47fe8a
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x47fe97
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
push 4
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0048d929
push 0
mov dword [ebp + 8], eax
call fcn.0048d8c3
mov ecx, dword [ebp + 8]
mov eax, 1
mov dword [ebp - 0x70], eax
mov edx, 1
mov dword [ebp - 0x54], eax
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], edx
jmp 0x47fee7
xor edx, edx
mov ecx, 1
mov dword [ebp + 0x10], ecx
cmp eax, ecx
jbe 0x47ff8b
mov edi, dword [ebp - 0x70]
mov esi, dword [ebp - 0x18]
nop dword [eax]
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
cmp edx, edi
jne 0x47ff68
mov eax, edi
xor ecx, ecx
shr eax, 2
mov edx, 4
inc eax
add edi, eax
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048d929
mov ecx, dword [ebp - 0x58]
add esp, 4
mov dword [ebp - 0x20], eax
test ecx, ecx
je 0x47ff48
shl ecx, 2
push ecx
push dword [ebp + 8]
push eax
call fcn.004a5400
add esp, 0xc
push dword [ebp + 8]
call fcn.0048d8c3
mov eax, dword [ebp - 0x20]
add esp, 4
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x58]
mov dword [ebp + 8], eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x54], edi
mov ebx, dword [ebp + 8]
inc ecx
add esi, 4
mov dword [ebp + 0x10], ecx
mov dword [ebx + edx*4], eax
inc edx
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x58], edx
cmp ecx, dword [ebx + 0x5c]
jb 0x47ff00
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x3c]
mov edx, dword [ebp + 0x24]
test esi, esi
mov ecx, dword [ebx + 8]
cmovne edx, esi
push edx
push dword [ebp + 8]
mov eax, dword [ecx]
lea edx, [ebp - 0x88]
push edx
call dword [eax + 0x18]
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x4800eb
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x47ffea
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x20]
mov ebx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp + 0x10], eax
call fcn.004600e0
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ecx + eax*8], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ecx + eax*8 + 4], edx
mov eax, dword [ebp + 0x20]
inc dword [eax + 4]
mov eax, dword [ebx + 0x5c]
mov dword [ebp + 0x24], 1
cmp eax, 1
jbe 0x48005e
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x18], eax
nop dword [eax]
mov ebx, dword [eax]
mov ecx, ebx
push dword [ebp + 0x1c]
mov dword [ebp - 0x20], ebx
call fcn.00481130
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x4800eb
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x20]
mov ebx, dword [ebx + 0x20]
mov eax, dword [eax + 0x24]
mov dword [ebp + 0x10], eax
call fcn.004600e0
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ecx + eax*8], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ecx + eax*8 + 4], edx
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
inc ecx
mov dword [ebp + 0x24], ecx
inc dword [eax + 4]
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
cmp ecx, dword [ebx + 0x5c]
jb 0x480000
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov dword [eax + 4], 0
cmp dword [ebx + 0x44], 0
jbe 0x4800e4
xor edi, edi
mov esi, eax
xor edx, edx
cmp dword [ebx + 0x50], edx
jbe 0x4800a1
mov eax, dword [ebx + 0xa4]
mov ecx, dword [eax + edi*4]
mov eax, dword [ebx + 0x4c]
add eax, 4
nop
cmp dword [eax], ecx
je 0x4801bf
inc edx
add eax, 8
cmp edx, dword [ebx + 0x50]
jb 0x480090
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
mov dword [ebp + 0x1c], ecx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp + 0x20], eax
call fcn.004600e0
mov eax, dword [ebp + 0x14]
inc edi
mov edx, dword [ebp + 0x20]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ecx + eax*8], edx
mov edx, dword [ebp + 0x1c]
mov dword [ecx + eax*8 + 4], edx
mov eax, dword [ebp + 0x14]
inc dword [eax + 4]
cmp edi, dword [ebx + 0x44]
jb 0x480078
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x3c]
mov dword [ebp + 0x10], 0
push dword [ebp + 8]
call fcn.0048d8c3
add esp, 4
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0x19
test ecx, ecx
je 0x480107
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x7c]
call fcn.00471b80
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x48013b
mov esi, dword [ebp - 0x68]
dec ebx
push 4
push dword [esi + ebx*4]
call fcn.0048d8eb
add esp, 8
test ebx, ebx
jne 0x480126
mov esi, dword [ebp - 0x2c]
push dword [ebp - 0x68]
call fcn.0048d8c3
mov ecx, dword [ebp - 0x30]
add esp, 4
test ecx, ecx
je 0x48020b
mov eax, dword [ebp - 0x50]
mov ebx, dword [eax + ecx*4 - 4]
dec ecx
mov dword [ebp - 0x30], ecx
test ebx, ebx
je 0x480203
push dword [ebx + 0x14]
call fcn.0048d8c3
mov eax, dword [ebx + 0x10]
add esp, 4
cmp eax, 0xffffffff
je 0x480189
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x480189
mov dword [ebx + 0x10], 0xffffffff
cmp byte [ebx], 0
je 0x4801ea
mov eax, dword [ebx + 4]
push eax
mov dword [ebp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4801da
mov ecx, eax
and cl, 0x11
cmp cl, 1
jne 0x4801da
and eax, 0xfffffffe
push eax
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4801da
mov al, 1
jmp 0x4801e8
test edx, edx
js 0x4800a1
mov ecx, dword [ebx + 8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov dword [ebp + 0x1c], edx
jmp 0x4800b2
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
sete al
mov byte [ebx], al
push dword [ebx + 4]
call fcn.0048d8c3
push 0x30
push ebx
call fcn.0048d8eb
mov ecx, dword [ebp - 0x30]
add esp, 0xc
mov eax, dword [ebp - 0x50]
test ecx, ecx
jne 0x480154
push dword [ebp - 0x50]
call fcn.0048d8c3
add esp, 4
mov byte [ebp - 4], 0x1b
test edi, edi
je 0x480224
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov dword [ebp - 4], 0x1c
test esi, esi
je 0x480235
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20