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

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x30]
push ebp
push esi
mov ebp, dword [ebx + 0x14]
push edi
mov dword [esp + 0x28], ebp
mov eax, dword [ebp + 0x160]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 0x1c]
mov al, byte [ebx + 0xb0]
mov dword [esp + 0x2c], ecx
xor ecx, ecx
test al, 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], ecx
je 0x4134dc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
cmp edi, ecx
jne 0x4134f0
cmp eax, ecx
je 0x413a8d
test byte [ebx + 0x54], 1
jne 0x413759
test eax, eax
je 0x413576
mov ecx, dword [eax]
test ecx, ecx
je 0x413523
push ecx
push ebp
call fcn.004151f0
add esp, 8
test eax, eax
je 0x41351f
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x41353d
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], 1
inc ecx
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
test ecx, ecx
je 0x413562
push ecx
push ebp
call fcn.00415420
add esp, 8
test eax, eax
je 0x41355e
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x413576
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x28
ret
mov ecx, dword [esp + 0x48]
xor esi, esi
test cl, 1
je 0x413586
mov esi, 2
test ch, 0x20
je 0x41358e
or esi, 4
test cl, 0x10
je 0x4135a5
mov edx, dword [ebx + 0xb0]
or edx, 8
or esi, 0x20
mov dword [ebx + 0xb0], edx
test byte [ebp + 0x394], 0x80
je 0x4135b1
or esi, 8
test eax, eax
je 0x41360c
mov edx, dword [ebp + 0x160]
mov ecx, dword [edx + 0x1c]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [edx]
test ecx, ecx
je 0x4135e6
push ecx
push ebp
call fcn.004151f0
add esp, 8
test eax, eax
je 0x4135e2
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
test dword [edx + 0x394], 0x40000
je 0x413600
mov edi, dword [eax + 0xc]
jmp 0x413608
mov edi, dword [ecx + 0x18]
mov ecx, dword [eax + 0xc]
add edi, ecx
mov dword [esp + 0x44], edi
lea eax, [esp + 0x18]
push eax
push 0
push 0
push edi
push 1
push ebp
call fcn.00411c20
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x413647
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x18]
push ebx
push ecx
push esi
push edx
push eax
push ebp
call fcn.0043c4a0
add esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x413680
mov ecx, dword [ebp + 0x160]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [edx + 0x1c]
mov ecx, dword [ecx]
test ecx, ecx
je 0x413680
push ecx
push ebp
call fcn.00415420
add esp, 8
test eax, eax
je 0x41367c
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4136b4
mov edx, dword [esp + 0x48]
test dh, 0x40
jne 0x413da4
push ecx
call fcn.00415de0
mov edx, dword [esp + 0x1c]
push eax
push edx
push str._s:__s
push ebp
call fcn.00415f80
add esp, 0x14
jmp 0x413da0
mov eax, dword [ebx]
mov dword [eax + 4], 1
mov ecx, dword [ebx]
push ecx
push 0x10
push 0xd
push ebp
call fcn.00441780
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x413da0
mov ecx, dword [ebx]
push eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x24]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
push ebp
call fcn.00451800
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
je 0x41371c
push eax
call fcn.00415de0
push eax
mov eax, dword [esp + 0x20]
push eax
push str._s:__s
push ebp
call fcn.00415f80
add esp, 0x14
jmp 0x413da0
test byte [ebx + 0xb0], 1
jne 0x41374d
mov edx, dword [esp + 0x18]
lea ecx, [ebx + 0x20]
push ecx
push 0
push edx
push ebp
call fcn.004526e0
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x413da0
mov dword [esp + 0x34], 1
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x413eca
mov eax, dword [ebp + 0x160]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx]
test eax, eax
je 0x413786
push eax
push ebp
call fcn.004151f0
add esp, 8
test eax, eax
je 0x413786
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x28
ret
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0xc]
cmp eax, 0xffffffff
jne 0x41379d
xor eax, eax
mov dword [esp + 0x40], eax
jmp 0x413a45
lea eax, [eax + ecx + 0xc]
test eax, eax
mov dword [esp + 0x40], eax
je 0x413a45
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x41397c
mov ecx, dword [eax + 0x80]
test ch, 2
jne 0x41397c
test byte [ebx + 0x54], 1
je 0x4138bd
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x41397c
mov ecx, dword [esp + 0x14]
mov ebp, dword [ecx + 0x1c]
mov edx, dword [ebp]
mov edx, dword [edx + 0x394]
and edx, 0x40000
je 0x4137f9
mov edi, dword [eax + 0xc]
jmp 0x413801
mov edi, dword [ebp + 0x18]
mov ecx, dword [eax + 0xc]
add edi, ecx
mov esi, dword [esp + 0x44]
mov bl, byte [esi]
mov cl, bl
cmp bl, byte [edi]
jne 0x413829
test cl, cl
je 0x413825
mov bl, byte [esi + 1]
mov cl, bl
cmp bl, byte [edi + 1]
jne 0x413829
add esi, 2
add edi, 2
test cl, cl
jne 0x413805
xor ecx, ecx
jmp 0x41382e
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x413974
mov ebx, dword [esp + 0x3c]
test byte [ebx + 0xb0], 1
jne 0x413862
test edx, edx
je 0x41384c
mov ecx, dword [eax + 0x74]
jmp 0x413854
mov ecx, dword [ebp + 0x18]
mov edx, dword [eax + 0x74]
add ecx, edx
push ecx
push ebx
call fcn.00414be0
mov eax, dword [esp + 0x48]
add esp, 8
mov ebp, dword [esp + 0x28]
test byte [esp + 0x48], 0x80
je 0x4138f6
mov ecx, dword [eax]
test ecx, ecx
je 0x41388d
push ecx
push ebp
call fcn.004151f0
add esp, 8
test eax, eax
jne 0x414168
mov eax, dword [esp + 0x40]
mov dword [eax + 0x20], 1
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
test ecx, ecx
je 0x41397c
push ecx
push ebp
call fcn.00415420
add esp, 8
test eax, eax
jne 0x414168
mov eax, dword [esp + 0x40]
jmp 0x41397c
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
test dword [edx + 0x394], 0x40000
je 0x4138d7
mov edi, dword [eax + 0x74]
jmp 0x4138df
mov edi, dword [ecx + 0x18]
mov ecx, dword [eax + 0x74]
add edi, ecx
mov ecx, 5
lea esi, [ebx + 0x20]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x41397c
jmp 0x413866
mov edx, dword [ebx + 0x1c]
cmp edx, 0xffffffff
je 0x41390e
mov ecx, dword [eax + 0x70]
cmp ecx, 0xffffffff
je 0x41390e
cmp edx, ecx
jne 0x413999
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x41391b
cmp ecx, dword [eax + 0x50]
jne 0x413999
mov edx, dword [ebx + 0x38]
cmp edx, 0xffffffff
je 0x41392f
mov ecx, dword [eax + 0x6c]
cmp ecx, 0xffffffff
je 0x41392f
cmp edx, ecx
jne 0x413999
mov ecx, dword [eax]
test ecx, ecx
je 0x41394b
push ecx
push ebp
call fcn.004151f0
add esp, 8
test eax, eax
jne 0x414168
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4139e1
mov ecx, dword [eax]
test ecx, ecx
je 0x41397c
push ecx
push ebp
call fcn.00415420
add esp, 8
test eax, eax
jne 0x414168
mov eax, dword [esp + 0x40]
jmp 0x41397c
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [eax + 0x24]
cmp ecx, 0xffffffff
je 0x413792
add eax, ecx
mov dword [esp + 0x40], eax
je 0x413a45
jmp 0x4137ad
mov eax, dword [esp + 0x44]
push eax
push str._s:_clear_length__page_size_or_LSN_location_changed
push ebp
call fcn.00415f80
mov ecx, dword [ebp + 0x160]
add esp, 0xc
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x413d98
push eax
push ebp
call fcn.00415420
add esp, 8
test eax, eax
je 0x413d98
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x28
ret
mov esi, dword [eax + 4]
mov dword [esp + 0x30], 1
inc esi
mov dword [eax + 4], esi
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
test ecx, ecx
je 0x413a19
push ecx
push ebp
call fcn.00415420
add esp, 8
test eax, eax
je 0x413a15
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 0x40]
mov ecx, dword [ebx + 0x34]
test ecx, ecx
je 0x413a27
mov dword [eax + 0x38], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xffffffff
je 0x413a36
mov dword [eax + 0x70], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [ebx + 0x38]
cmp ecx, 0xffffffff
je 0x413a45
mov dword [eax + 0x6c], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [ebp + 0x160]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [edx + 0x1c]
mov ecx, dword [ecx]
test ecx, ecx
je 0x413a76
push ecx
push ebp
call fcn.00415420
add esp, 8
test eax, eax
je 0x413a72
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x413eca
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x413a8d
or dword [ebx + 0xb0], 1
test byte [ebx + 0x54], 1
je 0x413aa7
test byte [esp + 0x48], 1
jne 0x413aa7
mov dword [esp + 0x10], 2
jmp 0x413da4
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x40]
push edx
push 0
mov ecx, dword [eax + 0x1c]
push 0x84
push 0
push ecx
push eax
call fcn.00452090
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x413da0
mov edi, dword [esp + 0x40]
mov ecx, 0x21
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x40]
mov edx, 1
mov dword [eax + 4], edx
mov eax, dword [esp + 0x40]
mov ecx, dword [ebx + 0x34]
mov dword [eax + 0x38], ecx
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x50]
mov dword [ecx + 0x50], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [ebx + 0x38]
mov dword [eax + 0x6c], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [ebx + 0x1c]
mov dword [eax + 0x70], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [ebx + 0x48]
mov dword [eax + 0x3c], ecx
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
jne 0x413b2a
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x413b5d
mov esi, dword [esp + 0x40]
mov eax, 0x40000000
xor edx, edx
div dword [esi + 0x50]
imul eax, ecx
mov dword [esi + 0x34], eax
mov ecx, dword [esp + 0x40]
mov edx, dword [ebx + 0x40]
mov esi, dword [ecx + 0x50]
lea eax, [edx + esi - 1]
xor edx, edx
div esi
mov edx, dword [ecx + 0x34]
add edx, eax
mov dword [ecx + 0x34], edx
mov edx, 1
test byte [ebx + 0x54], 1
je 0x413b6a
mov eax, dword [esp + 0x40]
mov dword [eax + 0x44], edx
test byte [ebx + 0x54], 2
je 0x413b77
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x48], edx
mov ecx, dword [esp + 0x48]
test cl, 0x12
je 0x413b8b
mov eax, dword [esp + 0x40]
or dword [eax + 0x80], 4
test ch, 0x20
je 0x413b9b
mov eax, dword [esp + 0x40]
or dword [eax + 0x80], 2
test ch, 0x40
je 0x413bab
mov eax, dword [esp + 0x40]
or dword [eax + 0x80], 8
test ch, 2
je 0x413bbe
mov eax, dword [esp + 0x40]
or dword [eax + 0x80], 0x100
mov eax, dword [esp + 0x40]
mov esi, dword [eax + 0x80]
or esi, edx
mov dword [eax + 0x80], esi
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x413bf0
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x80]
or ch, 2
mov dword [eax + 0x80], ecx
jmp 0x413c7c
test byte [ebx + 0x54], 1
je 0x413c08
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 4]
inc edx
mov dword [eax + 4], edx
mov al, byte [ebx + 0x54]
test al, 1
jne 0x413c7c
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x50]
mov eax, esi
xor edx, edx
div edi
test edx, edx
je 0x413c29
test ch, 0x80
je 0x413d85
sub esi, edx
mov dword [esp + 0x24], esi
mov eax, 0x100000
xor edx, edx
div edi
xor edx, edx
mov ecx, eax
mov eax, esi
div edi
imul ecx, dword [esp + 0x20]
add ecx, eax
je 0x413c44
dec ecx
mov eax, dword [esp + 0x40]
mov dword [eax + 0x2c], ecx
mov edx, dword [esp + 0x40]
mov dword [edx + 0x30], ecx
mov al, byte [ebx + 0xb0]
test al, 1
jne 0x413c85
mov ecx, dword [esp + 0x18]
lea eax, [ebx + 0x20]
push eax
push 0
push ecx
push ebp
call fcn.004526e0
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x413da0
test byte [ebx + 0xb0], 1
je 0x413cc1
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x1c]
add eax, 0x74
push edx
push eax
mov eax, dword [esp + 0x1c]
push 0x14
push 0
mov ecx, dword [eax + 0x1c]
push ecx
push eax
call fcn.00452090
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x413da0
mov edi, dword [esp + 0x1c]
lea esi, [ebx + 0x20]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x44]
test esi, esi
je 0x413d1b
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x1c]
add eax, 0xc
push edx
push eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x1c]
push ecx
push eax
call fcn.00452090
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x413da0
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x1c]
not ecx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x44]
xor ecx, ecx
cmp eax, ecx
je 0x413dd9
mov eax, dword [eax + 4]
cmp eax, ecx
je 0x413dd9
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
add edx, 0x7c
push ecx
push edx
push eax
mov eax, dword [esp + 0x20]
push 0
mov ecx, dword [eax + 0x1c]
push ecx
push eax
call fcn.00452090
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x413da0
mov eax, dword [ebx + 0x44]
mov edi, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x44]
mov edx, dword [esp + 0x40]
mov ecx, dword [eax + 4]
mov dword [edx + 0x78], ecx
jmp 0x413de7
mov edx, dword [esp + 0x18]
push edx
push str._s:_file_size_not_a_multiple_of_the_pagesize
push ebp
call fcn.00415f80
add esp, 0xc
mov dword [esp + 0x10], 0x16
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x414175
mov ecx, dword [eax]
test ecx, ecx
je 0x414149
push ecx
push ebp
call fcn.004151f0
add esp, 8
test eax, eax
je 0x414145
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 0x40]
mov dword [eax + 0x78], ecx
mov edx, dword [esp + 0x40]
mov dword [edx + 0x7c], ecx
mov eax, dword [esp + 0x40]
push eax
push 0
push 0xb
push ebp
call fcn.00441780
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x413da0
mov ecx, dword [ebp + 0x160]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x413e2e
push eax
push ebp
call fcn.004151f0
add esp, 8
test eax, eax
je 0x413e2e
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x28
ret
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
mov eax, dword [edx + 0xc]
cmp eax, 0xffffffff
je 0x413e6e
sub eax, ecx
lea eax, [eax + edx + 0xc]
mov dword [ecx + 0x24], eax
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 0x24]
cmp eax, 0xffffffff
jne 0x413e5e
mov eax, dword [edx + 0xc]
xor ecx, ecx
mov dword [edx + eax + 0x34], ecx
jmp 0x413e81
mov ecx, 0x24
sub ecx, eax
mov eax, dword [edx + 0xc]
mov dword [edx + eax + 0x34], ecx
jmp 0x413e81
sub ecx, edx
add ecx, 0x18
mov dword [edx + 0x10], ecx
mov eax, dword [esp + 0x40]
mov dword [eax + 0x24], 0xffffffff
mov ecx, dword [esp + 0x40]
sub ecx, edx
sub ecx, 0xc
mov dword [edx + 0xc], ecx
mov eax, dword [esp + 0x40]
sub edx, eax
add edx, 0xc
mov dword [eax + 0x28], edx
mov edx, dword [ebp + 0x160]
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
test eax, eax
je 0x413ec6
push eax
push ebp
call fcn.00415420
add esp, 8
test eax, eax
je 0x413ec6
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
test dl, 0x12
jne 0x413f07
mov ecx, dword [eax + 0x80]
test cl, 4
je 0x413f93
test dh, 1
je 0x413ef4
or ch, 1
mov dword [eax + 0x80], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x80]
and ecx, 0xfffffffb
mov dword [eax + 0x80], ecx
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x18], eax
mov ecx, dword [eax + 0x80]
test cl, 1
je 0x414085
mov edx, dword [esp + 0x44]
mov edi, 0xfffffffe
test edx, edx
je 0x41402c
test byte [ebx + 0x54], 1
jne 0x41402c
test byte [ebx + 0xb0], 8
je 0x41402c
mov edx, dword [ebx + 0x34]
test edx, edx
jne 0x41402c
test byte [esp + 0x48], 8
jne 0x41402c
mov edx, dword [ebp + 0x394]
test dh, 0x40
jne 0x41402c
mov edx, dword [ebp + 0x160]
mov ecx, dword [edx + 0x1c]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [edx]
test ecx, ecx
je 0x413fc4
push ecx
push ebp
call fcn.004151f0
add esp, 8
test eax, eax
je 0x413fc0
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x28
ret
not edx
shr edx, 1
not ecx
and edx, 0x100
and ecx, 0x100
xor edx, ecx
je 0x413f07
push str.Cannot_open_DURABLE_and_NOT_DURABLE_handles_in_the_same_file
push ebp
call fcn.00415f80
add esp, 8
jmp 0x413d98
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
mov esi, 0xa00000
mov ecx, dword [ecx + 0x14]
test ecx, ecx
je 0x413fd6
mov esi, ecx
mov edx, dword [ebp + 0x160]
mov ecx, dword [edx + 0x1c]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [edx]
test ecx, ecx
je 0x414007
push ecx
push ebp
call fcn.00415420
add esp, 8
test eax, eax
je 0x414003
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov ecx, esi
shr ecx, 0x14
cmp edx, ecx
ja 0x414026
cmp edx, ecx
jne 0x414038
mov ecx, dword [esp + 0x24]
and esi, 0xfffff
cmp ecx, esi
jb 0x414038
mov ecx, dword [eax + 0x80]
and ecx, edi
mov dword [eax + 0x80], ecx
mov eax, dword [esp + 0x40]
lea esi, [ebx + 0x4c]
mov dword [esi], 0
mov cl, byte [eax + 0x80]
test cl, 1
je 0x414085
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [ebx]
push esi
shl eax, 0x14
add eax, ecx
push 1
mov dword [ebx + 0x50], eax
push eax
mov eax, dword [esp + 0x24]
push edx
push eax
push ebp
call fcn.00451d80
add esp, 0x18
test eax, eax
je 0x414085
mov eax, dword [esp + 0x40]
mov dword [esi], 0
and dword [eax + 0x80], edi
mov edx, dword [ebx + 0xb0]
mov ecx, dword [esp + 0x14]
or edx, 4
mov dword [ebx + 0xb0], edx
mov eax, dword [ecx]
test eax, eax
je 0x4140b9
push eax
push ebp
call fcn.004151f0
add esp, 8
test eax, eax
je 0x4140b9
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x28
ret
mov eax, dword [ebx]
mov edi, dword [esp + 0x14]
test eax, eax
je 0x41410d
mov esi, dword [edi + 0xc]
test esi, esi
je 0x41410d
mov ecx, dword [ebx + 0x18]
cmp ecx, dword [esi + 0x18]
jne 0x4140e4
test byte [ebx + 0xb0], 8
jne 0x4140ed
test byte [esi + 0xb0], 8
je 0x4140ed
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x4140cd
jmp 0x41410d
push eax
push ebp
call fcn.004419b0
mov edx, dword [ebx]
push edx
push ebp
call fcn.00451b10
mov eax, dword [esi]
add esp, 0x10
mov ecx, dword [eax + 4]
inc ecx
mov dword [eax + 4], ecx
mov eax, dword [esi]
mov dword [ebx], eax
lea eax, [ebx + 0xc]
mov dword [eax], 0
mov ecx, dword [edi + 0x10]
mov dword [ebx + 0x10], ecx
mov edx, dword [edi + 0x10]
mov dword [edx], ebx
mov dword [edi + 0x10], eax
mov eax, dword [edi]
test eax, eax
je 0x414175
push eax
push ebp
call fcn.00415420
add esp, 8
test eax, eax
je 0x414175
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 4]
dec edx
mov dword [eax + 4], edx
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
test eax, eax
je 0x414175
push eax
push ebp
call fcn.00415420
add esp, 8
test eax, eax
je 0x414175
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 0x18]
test eax, eax
je 0x414187
push eax
push ebp
call fcn.00410cc0
add esp, 8
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret