Function at 0x40a780
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421c74
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x4360c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x436e84]
mov ecx, 0x436e84
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 0
mov dword [ebp - fcn.0040cb10], vtable.CStaticDictionary.0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
push esi
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 1
call fcn.0040c990
or edi, 0xffffffff
test eax, eax
jns 0x40a84c
xor ebx, ebx
jmp 0x40b383
mov esi, dword [ebp - 0x100]
lea edx, [ebp - 0x80]
lea ecx, [esi + 8]
call fcn.00402be0
test eax, eax
je 0x40a91e
mov eax, dword [0x4397e4]
add eax, 0xfffffff0
push eax
call fcn.00407780
add eax, 0x10
add esp, 4
mov dword [ebp - 0x98], eax
push str..qpyd
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], 2
call fcn.00407400
add esp, 0xc
mov byte [ebp - 4], 3
mov eax, dword [eax]
lea ecx, [ebp - 0x98]
push dword [eax - 0xc]
push eax
call fcn.004021e0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x94]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a8d3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x98]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esi, 0xfffffff0
test eax, eax
mov byte [ebp - 4], 1
mov ecx, edi
lea eax, [esi + 0xc]
je 0x40a90b
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a901
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, 1
jmp 0x40b383
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a929
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40a929
lea edx, [ebp - 0x80]
lea ecx, [esi + 8]
call fcn.00403dc0
mov eax, dword [0x436e84]
mov esi, dword [ebp - 0x80]
mov ecx, 0x436e84
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0xa0], edi
mov byte [ebp - 4], 4
test esi, esi
je 0x40a973
test esi, 0xffff0000
jne 0x40a973
movzx esi, si
push 0
push esi
call fcn.00402780
add esp, 8
test eax, eax
je 0x40a985
push esi
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040c7b0
jmp 0x40a97f
push esi
lea ecx, [ebp - 0xa0]
call fcn.0040c5e0
mov edi, dword [ebp - 0xa0]
mov eax, dword [ebp - 0xfc]
add eax, eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x90], 0
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 6
call fcn.00409e20
push dword [ebp - 0x9c]
mov ebx, dword [ebp - 0x90]
push 0
push ebx
call fcn.00414e20
mov eax, dword [0x436e84]
add esp, 0xc
mov ecx, 0x436e84
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 7
mov eax, dword [0x436e84]
mov ecx, 0x436e84
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x100]
add esi, 0x18
push esi
lea ecx, [ebp - 0x94]
call fcn.00407070
lea ecx, [ebp - 0xb0]
push ecx
lea edx, [ebp - 0xac]
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00402ca0
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x94]
add eax, 0xfffffff0
add esp, 4
mov dword [ebp - 0x74], eax
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aa57
mov ecx, dword [eax]
push dword [ebp - 0x74]
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x84], 0
jne 0x40aa9e
test esi, esi
jne 0x40aa68
xor ecx, ecx
jmp 0x40aa7f
mov ecx, esi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40aa70
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0xb0]
call fcn.00402320
push 2
push 0x432634
lea ecx, [ebp - 0xac]
call fcn.00402320
mov eax, dword [0x436e84]
mov ecx, 0x436e84
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
push 6
push str.Name:
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xa
call fcn.004021e0
mov edx, dword [ebp - 0x100]
add edx, 0x38
jne 0x40aad3
xor ecx, ecx
jmp 0x40aaef
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x40aae0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40aae0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x78]
call fcn.004021e0
push 2
push 0x42e0c8
lea ecx, [ebp - 0x78]
call fcn.004021e0
push 6
push str.Type:
lea ecx, [ebp - 0x78]
call fcn.004021e0
mov eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0x78]
push dword [eax - 0xc]
push eax
call fcn.004021e0
push 2
push 0x42e0c8
lea ecx, [ebp - 0x78]
call fcn.004021e0
push 0xb
push str.FirstType:
lea ecx, [ebp - 0x78]
call fcn.004021e0
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0x78]
push dword [eax - 0xc]
push eax
call fcn.004021e0
push 2
push 0x42e0c8
lea ecx, [ebp - 0x78]
call fcn.004021e0
mov eax, dword [ebp - 0x78]
add ebx, 0x60
mov ecx, dword [eax - 0xc]
lea esi, [ecx*2 + 2]
push esi
push eax
push ebx
mov dword [ebp - 0x11c], esi
call fcn.00414f60
lea eax, [esi + 0x6f]
mov esi, dword [ebp - 0x9c]
and eax, 0xfffffff0
add esp, 0xc
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xa8], 0
push esi
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xb
call fcn.00409e20
push esi
mov esi, dword [ebp - 0xa8]
push 0
push esi
call fcn.00414e20
mov eax, dword [ebp - 0x100]
add esp, 0xc
mov eax, dword [eax + 0x94]
mov dword [ebp - 0xbc], eax
lea eax, [eax + eax*4]
mov ecx, 0x436e84
lea eax, [esi + eax*2]
mov dword [ebp - 0x88], eax
mov eax, dword [0x436e84]
mov dword [ebp - 0x94], esi
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0xa4], ebx
mov byte [ebp - 4], 0xc
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x100
or eax, ecx
jge 0x40ac2f
push 0x100
lea ecx, [ebp - 0xa4]
call fcn.004079c0
mov ebx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x80]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x100
or eax, ecx
jge 0x40ac53
push 0x100
lea ecx, [ebp - 0x80]
call fcn.00402440
mov eax, dword [ebp - 0xd8]
mov ecx, eax
mov dword [ebp - 0x8c], ecx
test eax, eax
je 0x40b0d4
lea esp, [esp]
mov eax, dword [0x4385d0]
cmp eax, dword [section.Shared]
jne 0x40b413
mov ecx, dword [ecx + 3]
shr ecx, 8
lea eax, [ecx*8]
sub eax, ecx
add eax, dword [ebp - 0xd0]
cdq
mov ecx, eax
or ecx, edx
mov dword [ebp - 0x7c], eax
je 0x40b0a1
mov ecx, dword [eax]
lea eax, [ecx + 3]
cmp eax, dword [ebp - 0xfc]
jae 0x40ace2
mov edx, dword [ebp - 0x100]
mov al, byte [edx + ecx]
test al, al
je 0x40ace2
movzx eax, al
mov dword [ebp - 0x84], eax
lea eax, [eax*2 + 1]
add eax, ecx
cmp eax, dword [ebp - 0xfc]
ja 0x40ace2
lea eax, [edx + 1]
add eax, ecx
mov dword [ebp - 0x74], eax
jmp 0x40acf3
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x74], 0
push 0
push 0x42861c
lea ecx, [ebp - 0x80]
call fcn.00402320
mov edx, dword [ebp - 0x84]
sub esp, 0xc
mov eax, esp
lea ecx, [ebp - 0x80]
mov dword [eax], edx
mov edx, dword [ebp - 0x74]
mov dword [eax + 4], edx
mov dword [eax + 8], 0
call fcn.0040d2f0
mov eax, dword [ebp - 0x80]
add esp, 0xc
mov dword [ebp - 0x84], eax
test eax, eax
je 0x40ada6
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea edx, [eax - 1]
mov dword [ebp - 0x74], edx
test edx, edx
jle 0x40ada6
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, edx
or eax, ecx
jge 0x40ad79
push edx
lea ecx, [ebp - 0xa4]
call fcn.004079c0
mov ebx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x74]
push 0
push 0
push edx
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x84]
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebx - 8]
jg 0x40b25d
mov dword [ebx - 0xc], eax
mov byte [eax + ebx], 0
jmp 0x40adf9
cmp dword [ebx - 0xc], 0
mov eax, dword [ebx - 0x10]
lea edx, [ebx - 0x10]
mov dword [ebp - 0x74], eax
je 0x40adf9
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x40add4
cmp dword [ebx - 8], 0
jl 0x40b25d
mov dword [ebx - 0xc], 0
mov byte [ebx], 0
jmp 0x40adf9
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40ade8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0xa4], ebx
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 3]
shr eax, 8
cmp eax, dword [ebp - 0xcc]
jae 0x40b02d
mov ecx, dword [ebp - 0xc8]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x40b02d
mov ecx, dword [ebp - 0xd4]
mov edi, dword [ebp - 0x74]
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [ebp - 0xd0]
add ecx, 0xfffffff9
add eax, ecx
mov dword [ebp - 0x120], eax
lea eax, [edi + 4]
mov dword [ebp - 0x74], eax
jmp 0x40ae50
mov ecx, dword [edi]
lea eax, [ecx + 7]
cmp eax, dword [ebp - 0xfc]
ja 0x40afac
mov eax, dword [ebp - 0x100]
mov al, byte [eax + ecx]
test al, 0xfc
je 0x40afac
movzx edx, al
shr edx, 2
lea eax, [edx*2 + 5]
add eax, ecx
cmp eax, dword [ebp - 0xfc]
ja 0x40afac
mov eax, dword [ebp - 0x100]
add eax, 5
add eax, ecx
mov dword [ebp - 0x118], eax
je 0x40afac
mov eax, dword [ebx - 0xc]
add dl, dl
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x114], al
lea eax, [ecx + 7]
mov byte [ebp - 0x113], dl
mov dword [ebp - 0xb4], edx
cmp eax, dword [ebp - 0xfc]
ja 0x40aef6
mov edx, dword [ebp - 0x100]
mov al, byte [edx + ecx]
test al, 0xfc
je 0x40aef6
movzx eax, al
shr eax, 2
lea eax, [eax*2 + 5]
add eax, ecx
cmp eax, dword [ebp - 0xfc]
ja 0x40aef6
mov eax, dword [edx + ecx + 1]
jmp 0x40aef8
xor eax, eax
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x94]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
add edx, 0xa
addsd xmm0, qword [eax*8 + 0x433ac0]
mov eax, ecx
sub eax, esi
mov dword [ebp - 0x10e], eax
mov ax, word [ebp - 0x10c]
cvtpd2ps xmm0, xmm0
mov dword [ebp - 0x94], edx
movss dword [ebp - 0x112], xmm0
movq xmm0, qword [ebp - 0x114]
movq qword [edx - 0xa], xmm0
mov word [edx - 2], ax
mov eax, dword [ebp - 0x84]
movzx eax, al
push eax
push ebx
push ecx
mov dword [ebp - 0x84], eax
call fcn.00414f60
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x88]
add ecx, dword [ebp - 0x84]
movzx eax, al
add esp, 0xc
mov dword [ebp - 0x88], ecx
push eax
push dword [ebp - 0x118]
mov dword [ebp - 0xb4], eax
push ecx
call fcn.00414f60
mov eax, dword [ebp - 0x88]
add esp, 0xc
add eax, dword [ebp - 0xb4]
mov dword [ebp - 0x88], eax
mov ecx, dword [0x43a534]
inc ecx
mov eax, 0x10624dd3
mul ecx
shr edx, 6
imul edx, edx, 0x3e8
mov eax, ecx
mov dword [0x43a534], ecx
sub eax, edx
jne 0x40afd7
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x7c]
cmp edx, dword [ebp - 0x120]
jae 0x40afff
mov eax, dword [edx + 0xa]
shr eax, 8
cmp eax, dword [ebp - 0xcc]
jae 0x40b027
mov ecx, dword [ebp - 0xc8]
lea eax, [ecx + eax*4]
cmp eax, edi
jb 0x40b027
jmp 0x40b00e
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xc8]
lea eax, [ecx + eax*4]
mov edx, dword [ebp - 0x74]
cmp edx, eax
jae 0x40b024
add edx, 4
mov dword [ebp - 0x74], edx
add edi, 4
jne 0x40ae50
mov edx, dword [ebp - 0x7c]
mov edi, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xdc]
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [ebp - 0xd8]
add ecx, 0xfffffff9
add eax, ecx
mov ecx, dword [ebp - 0x8c]
cmp ecx, eax
jae 0x40b074
mov ecx, dword [ecx + 0xa]
shr ecx, 8
cmp ecx, dword [ebp - 0xd4]
jae 0x40b0a1
lea eax, [ecx*8]
sub eax, ecx
add eax, dword [ebp - 0xd0]
cmp eax, edx
jb 0x40b0a1
jmp 0x40b089
mov ecx, dword [ebp - 0xd4]
lea eax, [ecx*8]
sub eax, ecx
add eax, dword [ebp - 0xd0]
lea ecx, [edx + 7]
cmp ecx, eax
jae 0x40b0a1
mov eax, ecx
cdq
mov dword [ebp - 0x7c], eax
or eax, edx
mov eax, dword [ebp - 0x7c]
jne 0x40aca4
mov ecx, dword [ebp - 0xdc]
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [ebp - 0xd8]
add ecx, 0xfffffff9
add eax, ecx
mov ecx, dword [ebp - 0x8c]
cmp ecx, eax
jae 0x40b0d4
add ecx, 7
mov dword [ebp - 0x8c], ecx
jne 0x40ac70
mov eax, dword [ebp - 0x88]
mov ecx, dword [0x438e88]
sub eax, esi
mov dword [ebp - 0x88], eax
test ecx, ecx
je 0x40b413
push 0xffffffffffffffff
push eax
push esi
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0x90]
add eax, dword [ebp - 0x98]
push eax
call ecx
add esp, 0x14
test eax, eax
jne 0x40b413
push 0x5c
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00414e20
add esp, 0xc
push dword [edi - 0xc]
lea eax, [ebp - 0x68]
push edi
push eax
mov dword [ebp - 0x70], 0x7d1ea609
mov dword [ebp - 0x6c], 1
call fcn.00414f60
mov ecx, dword [ebp - 0x100]
mov edx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x78]
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x50], eax
mov eax, dword [ecx + 0x7c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx + 0x78]
mov dword [ebp - 0x58], eax
mov eax, dword [ecx + 0x7c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x2c], eax
mov ecx, 0x17
lea esi, [ebp - 0x70]
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 0x60
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x28], 0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x9c]
add ecx, edx
mov edx, dword [ebp - 0x90]
add esp, 0xc
push ecx
call fcn.00410600
mov ecx, eax
mov eax, dword [ebp - 0x90]
add esp, 4
mov dword [eax + 0x48], ecx
mov eax, dword [0x4397e4]
add eax, 0xfffffff0
push eax
call fcn.00407780
add eax, 0x10
add esp, 4
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0xa0]
push edi
lea ecx, [ebp - 0x8c]
call fcn.0040c670
push str..qpyd
lea ecx, [ebp - 0x8c]
call fcn.004020f0
mov esi, dword [ebp - 0x8c]
push ecx
push 0
push 0x80
push 2
push 1
push 0x40000000
push esi
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
call fcn.00401ee0
test eax, eax
jns 0x40b267
xor eax, eax
mov dword [ebp - 0x7c], eax
jmp 0x40b28d
push 0x80070057
call fcn.00401e80
mov eax, dword [ebp - 0x9c]
add eax, dword [ebp - 0x98]
push ecx
push eax
push dword [ebp - 0x90]
lea ecx, [ebp - 0xc0]
call fcn.00401f80
mov dword [ebp - 0x7c], 1
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x40b29e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 0xfffffff0
mov byte [ebp - 4], 0xc
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40b2bc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0xa8]
add ebx, 0xfffffff0
mov byte [ebp - 4], 0xb
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40b2e0
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
call fcn.00414286
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x78]
add edx, 0xfffffff0
or ebx, 0xffffffff
add esp, 4
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40b30c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xb0]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40b32f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xac]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40b352
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x90]
call fcn.00414286
add edi, 0xfffffff0
add esp, 4
mov byte [ebp - 4], 1
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40b37d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x7c]
or edi, 0xffffffff
lea ecx, [ebp - 0x108]
mov dword [ebp - fcn.0040cb10], vtable.CStaticDictionary.0
call fcn.0040cb10
mov eax, dword [ebp - 0x100]
xor esi, esi
test eax, eax
je 0x40b3b6
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
jne 0x40b3b6
call fcn.00401ec0
mov esi, eax
mov ecx, dword [ebp - 0xf8]
test ecx, ecx
je 0x40b3d4
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x40b3d4
test esi, esi
js 0x40b3d4
call fcn.00401ec0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x80]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x40b3f5
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00413156
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x7c], eax
jmp 0x40b2c2