Function at 0x451150
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x88
push ebx
mov ebx, dword [esp + 0x94]
push ebp
push edi
cmp ebx, 0xa
jae 0x451174
mov eax, 0xffffffec
pop edi
pop ebp
pop ebx
add esp, 0x88
ret
mov edx, dword [esp + 0x98]
add edx, ecx
mov dword [esp + 0x20], edx
movzx edx, word [eax]
movzx edi, dx
movzx edx, word [eax + 2]
movzx ebp, dx
movzx edx, word [eax + 4]
add eax, 6
mov dword [esp + 0x8c], eax
add eax, edi
mov dword [esp + 0x88], eax
add eax, ebp
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x98]
sub ebx, edx
add eax, 3
shr eax, 2
mov dword [esp + 0x84], edx
lea edx, [eax + ecx]
mov dword [esp + 0x54], edx
add edx, eax
add eax, edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esi]
sub ebx, ebp
shr edx, 0x10
sub ebx, edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x50], eax
movzx eax, dl
sub ebx, 6
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
cmp ebx, dword [esp + 0x9c]
ja 0x451165
mov edx, dword [esp + 0x8c]
lea ecx, [esp + 0x28]
call fcn.0045ef30
cmp eax, 0xffffff88
ja 0x451c1e
mov edx, dword [esp + 0x88]
mov edi, ebp
lea ecx, [esp + 0x3c]
call fcn.0045ef30
cmp eax, 0xffffff88
ja 0x451c1e
mov ebp, dword [esp + 0x90]
mov edi, dword [esp + 0x84]
mov edx, ebp
lea ecx, [esp + 0x5c]
call fcn.0045ef30
cmp eax, 0xffffff88
ja 0x451c1e
lea edx, [edi + ebp]
mov edi, ebx
lea ecx, [esp + 0x70]
call fcn.0045ef30
cmp eax, 0xffffff88
ja 0x451c1e
mov eax, dword [esp + 0x20]
add eax, 0xfffffffd
cmp dword [esp + 0x24], eax
sbb ecx, ecx
neg ecx
test cl, 1
je 0x451537
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x74]
neg eax
and eax, 0x1f
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
and ecx, 0x1f
shl edx, cl
mov ebp, dword [esp + 0x14]
mov ecx, eax
shr edx, cl
movzx ecx, word [esi + edx*4 + 4]
mov word [ebp], cx
movzx ecx, byte [esi + edx*4 + 6]
add dword [esp + 0x2c], ecx
movzx edx, byte [esi + edx*4 + 7]
add dword [esp + 0x14], edx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
and ecx, 0x1f
shl edx, cl
mov ebp, dword [esp + 0x18]
mov ecx, eax
shr edx, cl
movzx ecx, word [esi + edx*4 + 4]
mov word [ebp], cx
movzx ecx, byte [esi + edx*4 + 6]
add dword [esp + 0x40], ecx
movzx edx, byte [esi + edx*4 + 7]
add dword [esp + 0x18], edx
mov edx, dword [esp + 0x5c]
mov ecx, ebx
and ecx, 0x1f
shl edx, cl
mov ecx, eax
shr edx, cl
mov ecx, dword [esp + 0x1c]
mov bp, word [esi + edx*4 + 4]
mov word [ecx], bp
movzx ebp, byte [esi + edx*4 + 6]
movzx edx, byte [esi + edx*4 + 7]
add ecx, edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x1c], ecx
mov ecx, edi
and ecx, 0x1f
shl edx, cl
mov ecx, eax
add ebx, ebp
shr edx, cl
mov ecx, dword [esp + 0x50]
mov bp, word [esi + edx*4 + 4]
mov word [ecx], bp
movzx ebp, byte [esi + edx*4 + 6]
movzx edx, byte [esi + edx*4 + 7]
add ecx, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x2c]
and ecx, 0x1f
shl edx, cl
mov ecx, eax
add edi, ebp
mov ebp, dword [esp + 0x14]
shr edx, cl
movzx ecx, word [esi + edx*4 + 4]
mov word [ebp], cx
movzx ecx, byte [esi + edx*4 + 6]
movzx edx, byte [esi + edx*4 + 7]
add dword [esp + 0x2c], ecx
add dword [esp + 0x14], edx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x18]
and ecx, 0x1f
shl edx, cl
mov ecx, eax
shr edx, cl
movzx ecx, word [esi + edx*4 + 4]
mov word [ebp], cx
movzx ecx, byte [esi + edx*4 + 6]
movzx edx, byte [esi + edx*4 + 7]
add dword [esp + 0x40], ecx
add dword [esp + 0x18], edx
mov ecx, ebx
mov edx, dword [esp + 0x5c]
and ecx, 0x1f
shl edx, cl
mov ecx, eax
shr edx, cl
mov ecx, dword [esp + 0x1c]
mov bp, word [esi + edx*4 + 4]
mov word [ecx], bp
movzx ebp, byte [esi + edx*4 + 6]
movzx edx, byte [esi + edx*4 + 7]
add ecx, edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x1c], ecx
mov ecx, edi
and ecx, 0x1f
shl edx, cl
mov ecx, eax
add ebx, ebp
shr edx, cl
mov ecx, dword [esp + 0x50]
mov bp, word [esi + edx*4 + 4]
mov word [ecx], bp
movzx ebp, byte [esi + edx*4 + 6]
movzx edx, byte [esi + edx*4 + 7]
add ecx, edx
mov edx, dword [esp + 0x30]
add edi, ebp
mov dword [esp + 0x50], ecx
cmp edx, dword [esp + 0x38]
jae 0x45142c
mov dword [esp + 0x8c], 3
jmp 0x45144f
mov ebp, dword [esp + 0x2c]
shr ebp, 3
sub edx, ebp
and dword [esp + 0x2c], 7
mov dword [esp + 0x30], edx
mov edx, dword [edx]
mov dword [esp + 0x28], edx
mov dword [esp + 0x8c], 0
mov edx, dword [esp + 0x44]
cmp edx, dword [esp + 0x4c]
jae 0x451466
mov dword [esp + 0x88], 3
jmp 0x451489
mov ebp, dword [esp + 0x40]
shr ebp, 3
sub edx, ebp
and dword [esp + 0x40], 7
mov dword [esp + 0x44], edx
mov edx, dword [edx]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x88], 0
mov edx, dword [esp + 0x64]
cmp edx, dword [esp + 0x6c]
jae 0x4514a0
mov dword [esp + 0x84], 3
jmp 0x4514bf
mov ebp, ebx
shr ebp, 3
sub edx, ebp
mov dword [esp + 0x64], edx
mov edx, dword [edx]
and ebx, 7
mov dword [esp + 0x5c], edx
mov dword [esp + 0x84], 0
mov edx, dword [esp + 0x78]
cmp edx, dword [esp + 0x80]
jae 0x4514d3
mov ebp, 3
jmp 0x4514e9
mov ebp, edi
shr ebp, 3
sub edx, ebp
mov dword [esp + 0x78], edx
mov edx, dword [edx]
and edi, 7
mov dword [esp + 0x70], edx
xor ebp, ebp
mov edx, dword [esp + 0x20]
add edx, 0xfffffffd
cmp ecx, edx
sbb ecx, ecx
xor edx, edx
neg ecx
test ebp, ebp
sete dl
and ecx, edx
xor edx, edx
cmp dword [esp + 0x84], edx
sete dl
and ecx, edx
xor edx, edx
cmp dword [esp + 0x88], edx
sete dl
and ecx, edx
xor edx, edx
cmp dword [esp + 0x8c], edx
sete dl
test edx, ecx
jne 0x4512a1
mov dword [esp + 0x74], edi
mov dword [esp + 0x60], ebx
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x54]
cmp edi, ebp
ja 0x451165
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x58]
ja 0x451165
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x24]
ja 0x451165
lea ecx, [esp + 0x28]
lea ebx, [ebp - 3]
call fcn.0044fc10
neg eax
sbb eax, eax
inc eax
cmp edi, ebx
sbb edx, edx
neg edx
test edx, eax
je 0x451605
mov ebp, dword [esp + 0x10]
neg ebp
and ebp, 0x1f
jmp 0x451590
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, ebx
and ecx, 0x1f
mov eax, edx
shl eax, cl
mov ecx, ebp
shr eax, cl
movzx ecx, word [esi + eax*4 + 4]
mov word [edi], cx
movzx ecx, byte [esi + eax*4 + 6]
movzx eax, byte [esi + eax*4 + 7]
add ebx, ecx
mov ecx, ebx
and ecx, 0x1f
shl edx, cl
mov ecx, ebp
add edi, eax
shr edx, cl
movzx ecx, word [esi + edx*4 + 4]
mov word [edi], cx
movzx ecx, byte [esi + edx*4 + 7]
movzx eax, byte [esi + edx*4 + 6]
add ebx, eax
add edi, ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], ebx
call fcn.0044fc10
mov edx, eax
mov eax, dword [esp + 0x54]
neg edx
sbb edx, edx
add eax, 0xfffffffd
inc edx
cmp edi, eax
sbb eax, eax
neg eax
test eax, edx
jne 0x451590
mov ebp, dword [esp + 0x54]
lea ecx, [esp + 0x28]
add ebp, 0xfffffffe
call fcn.0044fc10
neg eax
sbb eax, eax
inc eax
cmp ebp, edi
sbb ecx, ecx
inc ecx
test ecx, eax
je 0x45166c
mov ebx, dword [esp + 0x10]
neg ebx
and ebx, 0x1f
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, edx
and ecx, 0x1f
shl eax, cl
mov ecx, ebx
shr eax, cl
mov cx, word [esi + eax*4 + 4]
mov word [edi], cx
movzx ecx, byte [esi + eax*4 + 6]
add edx, ecx
mov dword [esp + 0x2c], edx
movzx edx, byte [esi + eax*4 + 7]
lea ecx, [esp + 0x28]
add edi, edx
call fcn.0044fc10
neg eax
sbb eax, eax
inc eax
cmp ebp, edi
sbb ecx, ecx
inc ecx
test ecx, eax
jne 0x451628
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
cmp edi, ebp
ja 0x4516b2
mov eax, dword [esp + 0x10]
neg eax
and eax, 0x1f
mov dword [esp + 0x14], eax
mov ecx, edx
and ecx, 0x1f
mov eax, ebx
shl eax, cl
mov ecx, dword [esp + 0x14]
shr eax, cl
mov cx, word [esi + eax*4 + 4]
mov word [edi], cx
movzx ecx, byte [esi + eax*4 + 6]
movzx eax, byte [esi + eax*4 + 7]
add edi, eax
add edx, ecx
cmp edi, ebp
jbe 0x451685
mov dword [esp + 0x2c], edx
cmp edi, dword [esp + 0x54]
jae 0x451701
mov ecx, edx
and ecx, 0x1f
shl ebx, cl
mov ecx, dword [esp + 0x10]
neg ecx
and ecx, 0x1f
shr ebx, cl
mov cl, byte [esi + ebx*4 + 4]
mov byte [edi], cl
cmp byte [esi + ebx*4 + 7], 1
jne 0x4516e4
movzx eax, byte [esi + ebx*4 + 6]
add edx, eax
mov dword [esp + 0x2c], edx
jmp 0x451701
cmp edx, 0x20
jae 0x451701
movzx ecx, byte [esi + ebx*4 + 6]
add edx, ecx
mov dword [esp + 0x2c], edx
cmp edx, 0x20
jbe 0x451701
mov dword [esp + 0x2c], 0x20
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
add ebx, 0xfffffffd
call fcn.0044fc10
neg eax
sbb eax, eax
inc eax
cmp edi, ebx
sbb edx, edx
neg edx
test edx, eax
je 0x4517a2
mov ebp, dword [esp + 0x10]
neg ebp
and ebp, 0x1f
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ecx, ebx
and ecx, 0x1f
mov eax, edx
shl eax, cl
mov ecx, ebp
shr eax, cl
movzx ecx, word [esi + eax*4 + 4]
mov word [edi], cx
movzx ecx, byte [esi + eax*4 + 6]
movzx eax, byte [esi + eax*4 + 7]
add ebx, ecx
mov ecx, ebx
and ecx, 0x1f
shl edx, cl
mov ecx, ebp
add edi, eax
shr edx, cl
movzx ecx, word [esi + edx*4 + 4]
mov word [edi], cx
movzx ecx, byte [esi + edx*4 + 7]
movzx eax, byte [esi + edx*4 + 6]
add ebx, eax
add edi, ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x40], ebx
call fcn.0044fc10
mov edx, eax
mov eax, dword [esp + 0x58]
neg edx
sbb edx, edx
add eax, 0xfffffffd
inc edx
cmp edi, eax
sbb eax, eax
neg eax
test eax, edx
jne 0x451731
mov ebp, dword [esp + 0x58]
lea ecx, [esp + 0x3c]
add ebp, 0xfffffffe
call fcn.0044fc10
neg eax
sbb eax, eax
inc eax
cmp ebp, edi
sbb ecx, ecx
inc ecx
test ecx, eax
je 0x45180d
mov ebx, dword [esp + 0x10]
neg ebx
and ebx, 0x1f
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov ecx, edx
and ecx, 0x1f
shl eax, cl
mov ecx, ebx
shr eax, cl
mov cx, word [esi + eax*4 + 4]
mov word [edi], cx
movzx ecx, byte [esi + eax*4 + 6]
add edx, ecx
mov dword [esp + 0x40], edx
movzx edx, byte [esi + eax*4 + 7]
lea ecx, [esp + 0x3c]
add edi, edx
call fcn.0044fc10
neg eax
sbb eax, eax
inc eax
cmp ebp, edi
sbb ecx, ecx
inc ecx
test ecx, eax
jne 0x4517c9
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
cmp edi, ebp
ja 0x451853
mov eax, dword [esp + 0x10]
neg eax
and eax, 0x1f
mov dword [esp + 0x14], eax
mov ecx, edx
and ecx, 0x1f
mov eax, ebx
shl eax, cl
mov ecx, dword [esp + 0x14]
shr eax, cl
mov cx, word [esi + eax*4 + 4]
mov word [edi], cx
movzx ecx, byte [esi + eax*4 + 6]
movzx eax, byte [esi + eax*4 + 7]
add edi, eax
add edx, ecx
cmp edi, ebp
jbe 0x451826
mov dword [esp + 0x40], edx
cmp edi, dword [esp + 0x58]
jae 0x4518a2
mov ecx, edx
and ecx, 0x1f
shl ebx, cl
mov ecx, dword [esp + 0x10]
neg ecx
and ecx, 0x1f
shr ebx, cl
mov cl, byte [esi + ebx*4 + 4]
mov byte [edi], cl
cmp byte [esi + ebx*4 + 7], 1
jne 0x451885
movzx eax, byte [esi + ebx*4 + 6]
add edx, eax
mov dword [esp + 0x40], edx
jmp 0x4518a2
cmp edx, 0x20
jae 0x4518a2
movzx ecx, byte [esi + ebx*4 + 6]
add edx, ecx
mov dword [esp + 0x40], edx
cmp edx, 0x20
jbe 0x4518a2
mov dword [esp + 0x40], 0x20
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x5c]
add ebx, 0xfffffffd
call fcn.0044fc10
neg eax
sbb eax, eax
inc eax
cmp edi, ebx
sbb edx, edx
neg edx
test edx, eax
je 0x451943
mov ebp, dword [esp + 0x10]
neg ebp
and ebp, 0x1f
mov ebx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov ecx, ebx
and ecx, 0x1f
mov eax, edx
shl eax, cl
mov ecx, ebp
shr eax, cl
movzx ecx, word [esi + eax*4 + 4]
mov word [edi], cx
movzx ecx, byte [esi + eax*4 + 6]
movzx eax, byte [esi + eax*4 + 7]
add ebx, ecx
mov ecx, ebx
and ecx, 0x1f
shl edx, cl
mov ecx, ebp
add edi, eax
shr edx, cl
movzx ecx, word [esi + edx*4 + 4]
mov word [edi], cx
movzx ecx, byte [esi + edx*4 + 7]
movzx eax, byte [esi + edx*4 + 6]
add ebx, eax
add edi, ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x60], ebx
call fcn.0044fc10
mov edx, eax
mov eax, dword [esp + 0x24]
neg edx
sbb edx, edx
add eax, 0xfffffffd
inc edx
cmp edi, eax
sbb eax, eax
neg eax
test eax, edx
jne 0x4518d2
mov ebp, dword [esp + 0x24]
lea ecx, [esp + 0x5c]
add ebp, 0xfffffffe
call fcn.0044fc10
neg eax
sbb eax, eax
inc eax
cmp ebp, edi
sbb ecx, ecx
inc ecx
test ecx, eax
je 0x4519ae
mov ebx, dword [esp + 0x10]
neg ebx
and ebx, 0x1f
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
mov ecx, edx
and ecx, 0x1f
shl eax, cl
mov ecx, ebx
shr eax, cl
mov cx, word [esi + eax*4 + 4]
mov word [edi], cx
movzx ecx, byte [esi + eax*4 + 6]
add edx, ecx
mov dword [esp + 0x60], edx
movzx edx, byte [esi + eax*4 + 7]
lea ecx, [esp + 0x5c]
add edi, edx
call fcn.0044fc10
neg eax
sbb eax, eax
inc eax
cmp ebp, edi
sbb ecx, ecx
inc ecx
test ecx, eax
jne 0x45196a
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
cmp edi, ebp
ja 0x4519f4
mov eax, dword [esp + 0x10]
neg eax
and eax, 0x1f
mov dword [esp + 0x14], eax
mov ecx, edx
and ecx, 0x1f
mov eax, ebx
shl eax, cl
mov ecx, dword [esp + 0x14]
shr eax, cl
mov cx, word [esi + eax*4 + 4]
mov word [edi], cx
movzx ecx, byte [esi + eax*4 + 6]
movzx eax, byte [esi + eax*4 + 7]
add edi, eax
add edx, ecx
cmp edi, ebp
jbe 0x4519c7
mov dword [esp + 0x60], edx
cmp edi, dword [esp + 0x24]
jae 0x451a43
mov ecx, edx
and ecx, 0x1f
shl ebx, cl
mov ecx, dword [esp + 0x10]
neg ecx
and ecx, 0x1f
shr ebx, cl
mov cl, byte [esi + ebx*4 + 4]
mov byte [edi], cl
cmp byte [esi + ebx*4 + 7], 1
jne 0x451a26
movzx eax, byte [esi + ebx*4 + 6]
add edx, eax
mov dword [esp + 0x60], edx
jmp 0x451a43
cmp edx, 0x20
jae 0x451a43
movzx ecx, byte [esi + ebx*4 + 6]
add edx, ecx
mov dword [esp + 0x60], edx
cmp edx, 0x20
jbe 0x451a43
mov dword [esp + 0x60], 0x20
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x50]
lea ecx, [esp + 0x70]
add ebx, 0xfffffffd
call fcn.0044fc10
neg eax
sbb eax, eax
inc eax
cmp edi, ebx
sbb edx, edx
neg edx
test edx, eax
je 0x451ae4
mov ebp, dword [esp + 0x10]
neg ebp
and ebp, 0x1f
mov ebx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov ecx, ebx
and ecx, 0x1f
mov eax, edx
shl eax, cl
mov ecx, ebp
shr eax, cl
movzx ecx, word [esi + eax*4 + 4]
mov word [edi], cx
movzx ecx, byte [esi + eax*4 + 6]
movzx eax, byte [esi + eax*4 + 7]
add ebx, ecx
mov ecx, ebx
and ecx, 0x1f
shl edx, cl
mov ecx, ebp
add edi, eax
shr edx, cl
movzx ecx, word [esi + edx*4 + 4]
mov word [edi], cx
movzx ecx, byte [esi + edx*4 + 7]
movzx eax, byte [esi + edx*4 + 6]
add ebx, eax
add edi, ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x74], ebx
call fcn.0044fc10
mov edx, eax
mov eax, dword [esp + 0x20]
neg edx
sbb edx, edx
add eax, 0xfffffffd
inc edx
cmp edi, eax
sbb eax, eax
neg eax
test eax, edx
jne 0x451a73
mov ebp, dword [esp + 0x20]
lea ecx, [esp + 0x70]
add ebp, 0xfffffffe
call fcn.0044fc10
neg eax
sbb eax, eax
inc eax
cmp ebp, edi
sbb ecx, ecx
inc ecx
test ecx, eax
je 0x451b4f
mov ebx, dword [esp + 0x10]
neg ebx
and ebx, 0x1f
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov ecx, edx
and ecx, 0x1f
shl eax, cl
mov ecx, ebx
shr eax, cl
mov cx, word [esi + eax*4 + 4]
mov word [edi], cx
movzx ecx, byte [esi + eax*4 + 6]
add edx, ecx
mov dword [esp + 0x74], edx
movzx edx, byte [esi + eax*4 + 7]
lea ecx, [esp + 0x70]
add edi, edx
call fcn.0044fc10
neg eax
sbb eax, eax
inc eax
cmp ebp, edi
sbb ecx, ecx
inc ecx
test ecx, eax
jne 0x451b0b
mov ebx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
cmp edi, ebp
ja 0x451b95
mov eax, dword [esp + 0x10]
neg eax
and eax, 0x1f
mov dword [esp + 0x14], eax
mov ecx, edx
and ecx, 0x1f
mov eax, ebx
shl eax, cl
mov ecx, dword [esp + 0x14]
shr eax, cl
mov cx, word [esi + eax*4 + 4]
mov word [edi], cx
movzx ecx, byte [esi + eax*4 + 6]
movzx eax, byte [esi + eax*4 + 7]
add edi, eax
add edx, ecx
cmp edi, ebp
jbe 0x451b68
mov dword [esp + 0x74], edx
cmp edi, dword [esp + 0x20]
jae 0x451be4
mov ecx, edx
and ecx, 0x1f
shl ebx, cl
mov ecx, dword [esp + 0x10]
neg ecx
and ecx, 0x1f
shr ebx, cl
mov cl, byte [esi + ebx*4 + 4]
mov byte [edi], cl
cmp byte [esi + ebx*4 + 7], 1
jne 0x451bc7
movzx eax, byte [esi + ebx*4 + 6]
add edx, eax
mov dword [esp + 0x74], edx
jmp 0x451be4
cmp edx, 0x20
jae 0x451be4
movzx ecx, byte [esi + ebx*4 + 6]
add edx, ecx
mov dword [esp + 0x74], edx
cmp edx, 0x20
jbe 0x451be4
mov dword [esp + 0x74], 0x20
lea eax, [esp + 0x70]
call fcn.00458a00
mov edx, eax
lea eax, [esp + 0x5c]
call fcn.00458a00
and edx, eax
lea eax, [esp + 0x3c]
call fcn.00458a00
and edx, eax
lea eax, [esp + 0x28]
call fcn.00458a00
test eax, edx
mov eax, 0xffffffec
je 0x451c1e
mov eax, dword [esp + 0x98]
pop edi
pop ebp
pop ebx
add esp, 0x88
ret