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

Disassembly:
sub esp, 0x30
push ebx
mov ebx, dword [esp + 0x38]
push ebp
push esi
mov ebp, dword [ebx + 0x2c]
mov esi, dword [esp + 0x54]
push edi
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x44], eax
xor eax, eax
mov edx, dword [ecx + 0x18]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], edx
mov dword [ecx + 0xc], esi
mov ecx, dword [esp + 0x4c]
cmp ecx, eax
mov dword [esp + 0x28], eax
je 0x452d39
mov eax, dword [esp + 0x50]
xor edi, edi
test al, 1
je 0x452b9e
mov edi, 1
test ah, 8
je 0x452ba6
or edi, 2
test al, 0x10
je 0x452bb6
mov ecx, dword [ebx + 0x7c]
or ecx, 4
or edi, 0x10
mov dword [ebx + 0x7c], ecx
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
lea edx, [esp + 0x14]
push edx
push 0
push 0
push eax
push 1
push esi
call fcn.0043d1b0
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x452f3c
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
push ecx
push edx
push edi
push eax
push esi
call fcn.0046c460
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
je 0x452c2b
mov ecx, dword [esp + 0x50]
test ch, 0x10
jne 0x452f3c
push eax
call fcn.0043ed90
mov ecx, dword [esp + 0x18]
push eax
push ecx
push str._s:__s
push esi
call fcn.0043eea0
add esp, 0x14
jmp 0x452f3c
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x1c]
push 0
lea eax, [esp + 0x24]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
push esi
call fcn.0046c210
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
je 0x452c70
push eax
call fcn.0043ed90
push eax
mov eax, dword [esp + 0x1c]
push eax
push str._s:__s
push esi
call fcn.0043eea0
add esp, 0x14
jmp 0x452f3c
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x452c9f
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push ecx
push 0
push edx
push esi
call fcn.0048ce70
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x452f3c
lea eax, [esp + 0x2c]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x452ce3
test byte [eax + 0x24], 1
jne 0x452cbb
push eax
push esi
call fcn.0044c830
mov eax, dword [esp + 0x50]
add esp, 8
mov edx, dword [eax + 0x28]
inc edx
mov dword [eax + 0x28], edx
mov eax, dword [esp + 0x48]
test byte [eax + 0x24], 1
jne 0x453176
mov ecx, dword [esp + 0x44]
push eax
push ecx
call fcn.0044c910
add esp, 8
jmp 0x453172
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0xc]
test byte [eax + 0x24], 1
jne 0x452cf9
push eax
push esi
call fcn.0044c830
add esp, 8
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 8]
cmp eax, 0xffffffff
jne 0x452df2
xor eax, eax
mov dword [esp + 0x48], eax
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 0xc]
test byte [ecx + 0x24], 1
jne 0x452d2d
mov edx, dword [esp + 0x44]
push ecx
push edx
call fcn.0044c910
mov eax, dword [esp + 0x50]
add esp, 8
test eax, eax
jne 0x453176
mov esi, dword [esp + 0x58]
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x48]
push eax
push 0
push 0x84
push 0
push ecx
push ebp
call fcn.0048b4e0
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x452f3c
mov edi, dword [esp + 0x48]
mov ecx, 0x21
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x48]
mov edx, 1
mov dword [esp + 0x28], edx
mov dword [eax + 0x28], edx
mov eax, dword [esp + 0x48]
mov ecx, dword [ebx + 0x18]
mov dword [eax + 0x44], ecx
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x50], esi
mov ecx, dword [esp + 0x48]
mov eax, dword [ebx + 0x24]
mov dword [ecx + 0x6c], eax
mov ecx, dword [esp + 0x48]
mov eax, dword [ebx + 0x28]
mov dword [ecx + 0x70], eax
mov ecx, dword [esp + 0x50]
test ch, 8
je 0x452db4
mov eax, dword [esp + 0x48]
or dword [eax + 0x80], 4
test ch, 0x10
je 0x452dc4
mov eax, dword [esp + 0x48]
or dword [eax + 0x80], 8
mov eax, dword [esp + 0x48]
mov edi, dword [eax + 0x80]
or edi, edx
mov dword [eax + 0x80], edi
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x452f5c
mov eax, dword [esp + 0x48]
or dword [eax + 0x80], 0x10
jmp 0x45302e
lea eax, [eax + ecx + 8]
test eax, eax
mov dword [esp + 0x48], eax
je 0x452d0f
test byte [eax + 0x80], 0x12
jne 0x452e79
mov edx, dword [ebp + 0x18]
mov esi, dword [ebx + 0x20]
mov ecx, 5
mov edi, dword [edx + 0x14]
mov edx, dword [eax + 0x74]
add edi, edx
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x452e79
test byte [esp + 0x50], 0x80
je 0x452e96
test byte [eax + 0x24], 1
jne 0x452e43
push eax
mov eax, dword [esp + 0x48]
push eax
call fcn.0044c830
mov eax, dword [esp + 0x50]
add esp, 8
mov dword [eax + 0x44], 0
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 0x80]
or edx, 2
mov dword [eax + 0x80], edx
mov eax, dword [esp + 0x48]
test byte [eax + 0x24], 1
jne 0x452e79
mov ecx, dword [esp + 0x44]
push eax
push ecx
call fcn.0044c910
mov eax, dword [esp + 0x50]
add esp, 8
mov ecx, dword [eax + 0x34]
cmp ecx, 0xffffffff
je 0x452d09
add eax, ecx
mov dword [esp + 0x48], eax
je 0x452d0f
jmp 0x452e02
mov edx, dword [ebx + 0x28]
mov ecx, dword [eax + 0x70]
cmp edx, ecx
jne 0x452f07
mov ecx, dword [esp + 0x58]
mov edx, dword [eax + 0x50]
cmp ecx, edx
jne 0x452f07
mov edx, dword [ebx + 0x24]
mov ecx, dword [eax + 0x6c]
cmp edx, ecx
jne 0x452f07
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x452ec3
mov dword [eax + 0x44], ecx
mov eax, dword [esp + 0x48]
test byte [eax + 0x24], 1
jne 0x452edb
push eax
mov eax, dword [esp + 0x48]
push eax
call fcn.0044c830
mov eax, dword [esp + 0x50]
add esp, 8
mov edx, dword [eax + 0x28]
inc edx
mov dword [eax + 0x28], edx
mov eax, dword [esp + 0x48]
test byte [eax + 0x24], 1
jne 0x452d0f
mov ecx, dword [esp + 0x44]
push eax
push ecx
call fcn.0044c910
mov eax, dword [esp + 0x50]
add esp, 8
jmp 0x452d0f
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
push edx
push str._s:_clear_length__page_size_or_LSN_location_changed
push esi
call fcn.0043eea0
mov eax, dword [ebp + 0x18]
add esp, 0xc
mov eax, dword [eax + 0xc]
test byte [eax + 0x24], 1
jne 0x452f34
push eax
push esi
call fcn.0044c910
add esp, 8
mov dword [esp + 0x10], 0x16
mov ebx, dword [ebx + 4]
test byte [ebx + 0x20], 4
je 0x4532e6
mov esi, dword [esp + 0x44]
push ebx
push esi
call fcn.00472dc0
add esp, 8
jmp 0x4532ea
mov edi, dword [esp + 0x1c]
xor edx, edx
mov eax, edi
div esi
test edx, edx
je 0x452f79
test ch, 0x20
je 0x453090
sub edi, edx
mov dword [esp + 0x1c], edi
mov eax, 0x100000
xor edx, edx
div esi
xor edx, edx
mov ecx, eax
mov eax, edi
div esi
imul ecx, dword [esp + 0x20]
add ecx, eax
je 0x452f94
dec ecx
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov dword [edx + 0x3c], ecx
mov eax, dword [esp + 0x48]
mov dword [eax + 0x40], ecx
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x18]
xor eax, eax
push ecx
or ecx, 0xffffffff
add edx, 0x30
repne scasb al, byte es:[edi]
not ecx
push edx
push ecx
push eax
mov eax, dword [ebp + 0x18]
push eax
push ebp
call fcn.0048b4e0
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x452f3c
mov esi, dword [esp + 0x4c]
or ecx, 0xffffffff
mov edi, esi
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x18]
not ecx
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ebp + 0x18]
add ecx, 0x74
push ecx
push 0x14
push 0
push edx
push ebp
call fcn.0048b4e0
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x452f3c
mov esi, dword [ebx + 0x20]
mov edi, dword [esp + 0x18]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x1c]
xor ecx, ecx
cmp eax, ecx
je 0x4530ac
mov eax, dword [eax + 4]
cmp eax, ecx
je 0x4530ac
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x18]
add edx, 0x7c
push ecx
push edx
push eax
mov eax, dword [ebp + 0x18]
push 0
push eax
push ebp
call fcn.0048b4e0
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x452f3c
mov eax, dword [ebx + 0x1c]
mov edi, dword [esp + 0x18]
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 + 0x1c]
mov edx, dword [esp + 0x48]
mov ecx, dword [eax + 4]
mov dword [edx + 0x78], ecx
jmp 0x4530ba
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
push edx
push str._s:_file_size_not_a_multiple_of_the_pagesize
push eax
call fcn.0043eea0
add esp, 0xc
jmp 0x452f34
mov eax, dword [esp + 0x48]
mov dword [eax + 0x78], ecx
mov edx, dword [esp + 0x48]
mov dword [edx + 0x7c], ecx
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0xc]
test byte [eax + 0x24], 1
jne 0x4530d6
mov edi, dword [esp + 0x44]
push eax
push edi
call fcn.0044c830
add esp, 8
jmp 0x4530da
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [ebp + 0x18]
push 0x400
push ecx
push edx
push edi
call fcn.0045c010
mov esi, eax
add esp, 0x10
test esi, esi
mov dword [esp + 0x10], esi
jne 0x453154
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x48]
mov ecx, dword [eax + 8]
cmp ecx, 0xffffffff
je 0x453129
sub ecx, edx
lea ecx, [ecx + eax + 8]
mov dword [edx + 0x34], ecx
mov ecx, dword [esp + 0x48]
mov edx, 0x34
sub edx, dword [ecx + 0x34]
mov ecx, dword [eax + 8]
mov dword [ecx + eax + 0x40], edx
jmp 0x45313c
mov dword [edx + 0x34], 0xffffffff
mov ecx, dword [esp + 0x48]
sub ecx, eax
add ecx, 0x2c
mov dword [eax + 0xc], ecx
mov edx, dword [esp + 0x48]
sub edx, eax
sub edx, 8
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x48]
sub eax, ecx
add eax, 8
mov dword [ecx + 0x38], eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0xc]
test byte [eax + 0x24], 1
jne 0x45316a
push eax
push edi
call fcn.0044c910
add esp, 8
test esi, esi
jne 0x452f3c
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x80]
test cl, 1
je 0x45328b
mov edx, dword [esp + 0x4c]
mov esi, 0xfffffffe
test edx, edx
jne 0x45319e
and ecx, esi
mov dword [eax + 0x80], ecx
mov eax, dword [esp + 0x48]
test byte [ebx + 0x7c], 4
jne 0x4531b6
mov ecx, dword [eax + 0x80]
and ecx, esi
mov dword [eax + 0x80], ecx
mov eax, dword [esp + 0x48]
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x4531cf
mov ecx, dword [eax + 0x80]
and ecx, esi
mov dword [eax + 0x80], ecx
mov eax, dword [esp + 0x48]
mov cl, byte [esp + 0x50]
mov edi, dword [esp + 0x44]
test cl, 8
jne 0x4531e7
mov ecx, dword [edi + 0x23c]
test ch, 4
je 0x4531f9
mov ecx, dword [eax + 0x80]
and ecx, esi
mov dword [eax + 0x80], ecx
mov eax, dword [esp + 0x48]
mov esi, dword [edi + 0x64]
test esi, esi
jne 0x453205
mov esi, 0xa00000
mov ecx, dword [esp + 0x20]
mov edx, esi
shr edx, 0x14
cmp ecx, edx
ja 0x453222
jne 0x453239
mov edx, dword [esp + 0x1c]
and esi, 0xfffff
cmp edx, esi
jb 0x453239
mov ecx, dword [eax + 0x80]
and ecx, 0xfffffffe
mov dword [eax + 0x80], ecx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
lea esi, [ebx + 0x34]
mov dword [esi], 0
mov dl, byte [eax + 0x80]
test dl, 1
je 0x45328f
mov edx, dword [esp + 0x1c]
push esi
shl ecx, 0x14
push 1
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x38], eax
push eax
mov eax, dword [ebx + 4]
push eax
push ecx
push edi
call fcn.0048cb50
add esp, 0x18
test eax, eax
je 0x453285
mov eax, dword [esp + 0x48]
mov dword [esi], 0
and dword [eax + 0x80], 0xfffffffe
mov eax, dword [esp + 0x48]
jmp 0x45328f
mov edi, dword [esp + 0x44]
mov edx, dword [ebx + 0x7c]
mov dword [ebx + 0x30], eax
or edx, 2
mov dword [ebx + 0x7c], edx
mov eax, dword [ebp]
test eax, eax
je 0x4532b2
test byte [eax + 0x24], 1
jne 0x4532b2
push eax
push edi
call fcn.0044c830
add esp, 8
lea eax, [ebx + 0x10]
mov dword [eax], 0
mov edx, dword [ebp + 0xc]
mov dword [ebx + 0x14], edx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], ebx
mov dword [ebp + 0xc], eax
mov ebp, dword [ebp]
test ebp, ebp
je 0x45336c
test byte [ebp + 0x24], 1
jne 0x45336c
mov edx, dword [esp + 0x44]
push ebp
push edx
jmp 0x453364
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x45336c
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0xc]
test byte [eax + 0x24], 1
jne 0x453308
push eax
push esi
call fcn.0044c830
add esp, 8
mov ecx, dword [esp + 0x48]
mov ecx, dword [ecx + 0x30]
test ecx, ecx
je 0x453325
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x14]
add ecx, eax
push ecx
push eax
call fcn.0048a640
add esp, 8
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x453342
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x14]
add ecx, eax
push ecx
push eax
call fcn.0048a640
add esp, 8
mov ecx, dword [ebp + 0x18]
mov eax, dword [esp + 0x48]
push eax
mov edx, dword [ecx + 0x14]
push edx
call fcn.0048a640
mov eax, dword [ebp + 0x18]
add esp, 8
mov eax, dword [eax + 0xc]
test byte [eax + 0x24], 1
jne 0x45336c
push eax
push esi
call fcn.0044c910
add esp, 8
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x453386
mov ecx, dword [esp + 0x34]
push eax
push ecx
call fcn.0043ab30
add esp, 8
mov eax, dword [esp]
add esp, 0x30
ret