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

Disassembly:
sub esp, 0x40
push ebx
mov ebx, dword [esp + 0x48]
xor eax, eax
push ebp
mov al, byte [ebx + 0x7c]
mov ebp, dword [esp + 0x70]
push esi
push edi
mov edi, dword [esp + 0x7c]
mov esi, eax
mov ecx, esi
mov eax, 1
xor edx, edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], edi
call fcn.00526fd0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x5c]
mov ecx, esi
call fcn.00526fd0
mov ecx, eax
cmp edi, edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
jl 0x454ebc
jg 0x454e9b
cmp ebp, ecx
jb 0x454ebc
mov eax, ebp
mov edx, edi
sub eax, ecx
mov ecx, dword [esp + 0x3c]
sbb edx, ecx
mov ecx, esi
call fcn.00526f40
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
jmp 0x454ee1
mov edx, dword [esp + 0x74]
mov eax, ecx
sub eax, ebp
add edx, eax
mov dword [esp + 0x74], edx
cdq
add eax, ebp
mov dword [esp + 0x28], eax
adc edx, edi
xor eax, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x80]
xor edx, edx
sub eax, ecx
mov ecx, dword [esp + 0x3c]
sbb edx, ecx
add eax, ebp
adc edx, edi
sub eax, 1
sbb edx, 0
mov ecx, esi
call fcn.00526f40
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
add eax, 1
adc edx, 0
cmp ecx, edx
ja 0x454f23
jb 0x454f1b
cmp esi, eax
jae 0x454f23
mov eax, esi
mov dword [esp + 0x38], eax
jmp 0x454f29
mov dword [esp + 0x38], eax
mov ecx, edx
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
cmp edx, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edx
jg 0x45512b
jl 0x454f55
cmp ebp, eax
jae 0x45512b
jmp 0x454f55
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x5c]
mov eax, ebp
add eax, edi
adc edx, esi
xor ecx, ecx
mov cl, byte [ebx + 0x7c]
call fcn.00526fd0
xor ecx, ecx
mov edi, edx
mov cl, byte [ebx + 0x100]
mov edx, 1
shl edx, cl
mov esi, eax
xor eax, eax
mov al, byte [ebx + 0x80]
push 0
mov dword [esp + 0x1c], ecx
mov ecx, eax
push edx
mov edx, 1
shl edx, cl
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x68]
lea ecx, [eax + ebp]
dec edx
and edx, ecx
mov ecx, dword [esp + 0x3c]
mov ebx, edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x1c], ebx
xor ebx, ebx
add eax, ebp
adc edx, ecx
mov ecx, dword [esp + 0x18]
call fcn.00526f40
mov edx, dword [esp + 0x5c]
push ebx
mov ecx, dword [edx + 0x58]
push ecx
push ebx
push eax
call fcn.00526dd0
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add ebp, eax
adc ebx, edx
mov eax, ebp
mov edx, ebx
call fcn.00526fd0
push edx
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [edx]
push eax
call fcn.00453990
add esp, 0x14
mov dword [esp + 0x18], eax
test eax, eax
je 0x455135
mov ecx, dword [eax + 0x18]
mov eax, dword [esp + 0x7c]
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
cmp edi, eax
mov ecx, esi
mov dword [esp + 0x44], edi
mov ebx, ebp
ja 0x455066
jb 0x455030
cmp esi, dword [esp + 0x78]
jae 0x455066
mov ebx, dword [esp + 0x78]
mov edx, esi
sub edx, ebx
mov ebx, edi
sbb ebx, eax
mov eax, dword [esp + 0x20]
add edx, eax
mov ecx, esi
adc ebx, ebp
sub ecx, edx
mov eax, edi
sbb eax, ebx
add ecx, dword [esp + 0x20]
adc eax, ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
sub eax, edx
add eax, ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x80]
mov ebp, dword [esp + 0x78]
add eax, ebp
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x48], eax
mov eax, 0
adc eax, ebp
add esi, dword [esp + 0x20]
adc edi, dword [esp + 0x24]
cmp edi, eax
jb 0x4550b2
ja 0x455096
cmp esi, dword [esp + 0x48]
jbe 0x4550b2
mov edx, dword [esp + 0x80]
mov esi, dword [esp + 0x44]
sub edx, ecx
mov ecx, dword [esp + 0x78]
mov ebx, 0
sbb ebx, esi
add edx, ecx
adc ebx, ebp
test ebx, ebx
jl 0x4550f0
jg 0x4550bc
test edx, edx
jbe 0x4550f0
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x10]
mov ecx, edx
mov edi, eax
mov ebp, ecx
add eax, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x2c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x28]
add ecx, edx
adc eax, ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00453900
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
add esp, 4
add ebp, 1
adc eax, 0
mov dword [esp + 0x30], ebp
cmp eax, ecx
mov dword [esp + 0x34], eax
jl 0x454f51
jg 0x45512b
cmp ebp, dword [esp + 0x38]
jb 0x454f51
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret
push str.Buffer_error_n
call fcn.00529206
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret